CN116542768A - Method for processing batch transaction, electronic device, storage medium and program product - Google Patents

Method for processing batch transaction, electronic device, storage medium and program product Download PDF

Info

Publication number
CN116542768A
CN116542768A CN202210089445.6A CN202210089445A CN116542768A CN 116542768 A CN116542768 A CN 116542768A CN 202210089445 A CN202210089445 A CN 202210089445A CN 116542768 A CN116542768 A CN 116542768A
Authority
CN
China
Prior art keywords
node
processing
batch transaction
flow
batch
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.)
Pending
Application number
CN202210089445.6A
Other languages
Chinese (zh)
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 Financial Technology Co Ltd
Original Assignee
Bank of China Financial Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Financial Technology Co Ltd filed Critical Bank of China Financial Technology Co Ltd
Priority to CN202210089445.6A priority Critical patent/CN116542768A/en
Publication of CN116542768A publication Critical patent/CN116542768A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method for processing batch transactions, electronic equipment, storage medium and program product, wherein the method comprises the following steps: acquiring a batch transaction request and determining a batch transaction file indicated by the batch transaction request; determining a serial connection flow for processing the batch transaction files, wherein the serial connection flow is obtained based on the configurational operation of a user; and executing the series connection flow on the batch transaction files. The serial connection flow for processing the batch transaction files is obtained based on the configuration operation of the user, so that the serial connection flow can be customized and configured, namely, multiple business logics can be realized for the same batch transaction, the corresponding serial connection flow can be newly added only through the configuration operation without restarting the development processing flow when the newly added business logics are faced, and the processing efficiency of the batch transaction is finally improved.

Description

Method for processing batch transaction, electronic device, storage medium and program product
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method for processing batch transactions, an electronic device, a storage medium, and a program product.
Background
In the current banking financial transactions, two types of transactions, online transactions and batch transactions, are mainly included. And because batch transactions can realize multiple transactions for the same transaction type, the application range of batch transactions in the financial field is becoming wider and wider.
Currently, the process flow for batch transactions is fixed, i.e. professional developers develop a fixed process flow in advance for users to use. However, the batch transaction mostly needs to complete different business logics at one time, the fixed processing flow cannot meet the requirements of various business logics, and in order to meet the newly added business logics, professional developers are required to re-develop the corresponding processing flow, so that the processing efficiency of the batch transaction is greatly reduced.
Disclosure of Invention
The invention provides a batch transaction processing method, electronic equipment, storage medium and program product, which are used for solving the defect of fixed processing flow of batch transactions in the prior art and realizing efficient batch transaction processing.
The invention provides a method for processing batch transactions, which comprises the following steps:
acquiring a batch transaction request and determining a batch transaction file indicated by the batch transaction request;
Determining a serial connection flow for processing the batch transaction files, wherein the serial connection flow is obtained based on the configurational operation of a user;
and executing the series connection flow on the batch transaction files.
According to the method for processing batch transactions provided by the invention, the serial connection process is executed on the batch transaction files, and the method comprises the following steps:
determining the processing flow of the batch transaction files based on the serial connection flow;
performing type detection on each executable node in the processing flow to obtain the node type of each executable node;
and executing each executable node based on the node type of each executable node.
According to the method for processing batch transactions provided by the invention, the process flow of the batch transaction file is determined based on the serial connection flow, and the method comprises the following steps:
based on the file identification nodes in the serial connection flow, identifying the batch transaction files to obtain file identification parameters;
and loading the serial connection flow based on the file identification parameters to obtain the processing flow of the batch transaction files.
According to the method for processing batch transactions provided by the invention, the determining the serial connection flow for processing the batch transaction files further comprises the following steps:
Acquiring a configurational operation instruction acting on a flow assembly interface;
executing the operation corresponding to the configurating operation instruction on the target node indicated by the configurating operation instruction so as to perform serial flow assembly;
and generating the series flow based on the flow chart determined by each configurational operation instruction.
According to the method for processing batch transactions provided by the invention, if the configured operation instruction is a node insertion instruction, the executing the operation corresponding to the configured operation instruction on the target node indicated by the configured operation instruction includes:
determining a new node indicated by the node insertion instruction, wherein the new node is packaged with a processing algorithm of batch transactions;
and inserting the newly added node into an insertion position indicated by the node insertion instruction so as to provide a processing node for the series flow.
According to the method for processing batch transactions provided by the invention, if the configured operation instruction is a node expansion instruction, the executing the operation corresponding to the configured operation instruction on the target node indicated by the configured operation instruction includes:
determining a node to be expanded indicated by the node expansion instruction, wherein the node to be expanded is used for customized expansion by a user;
And obtaining the expanded node to be expanded, and updating the expanded node to be expanded to the flow chart.
According to the method for processing batch transactions provided by the invention, if the configuration operation instruction is a node parameter configuration instruction, the executing the operation corresponding to the configuration operation instruction on the target node indicated by the configuration operation instruction includes:
determining a node to be configured indicated by the node parameter configuration instruction and a configuration parameter indicated by the node parameter configuration instruction;
and carrying out parameter configuration on the node to be configured based on the configuration parameters.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of processing bulk transactions as described in any of the above when the program is executed.
The invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of processing bulk transactions as described in any of the above.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of a method of processing a batch transaction as described in any of the above.
The invention provides a batch transaction processing method, electronic equipment, storage medium and program product, which are used for acquiring a batch transaction request and determining a batch transaction file indicated by the batch transaction request; determining a serial connection flow for processing batch transaction files, wherein the serial connection flow is obtained based on configuration operation of a user; and executing a series connection flow on the batch transaction files. By the method, the serial connection flow for processing the batch transaction files is obtained based on the configuration operation of the user, so that the serial connection flow can be customized and configured, namely, multiple business logics can be realized for the same batch transaction, the corresponding serial connection flow can be newly added only through the configuration operation without restarting the development processing flow when the newly added business logics are faced, and finally, the processing efficiency of the batch transaction is improved.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for processing batch transactions according to the present invention;
FIG. 2 is a second flow chart of the method for processing batch transactions according to the present invention;
FIG. 3 is a third flow chart of the method for processing batch transactions according to the present invention;
fig. 4 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the current banking financial transactions, two types of transactions, online transactions and batch transactions, are mainly included. And because the batch transaction can realize a plurality of transactions aiming at the same transaction type, namely, the batch transaction can be realized simultaneously by initiating one transaction, the convenience of the batch transaction is higher, and the application range of the batch transaction in the financial field is wider and wider based on the convenience of the batch transaction.
Currently, the process flow for batch transactions is fixed, i.e. professional developers develop a fixed process flow in advance for users to use. However, in batch transaction, different business logics are required to be completed at one time, the fixed processing flow cannot meet the requirements of various business logics, and even if professional developers develop various processing flows in advance, new business requirements can be added, and in order to meet the newly added business logics, the professional developers are required to develop corresponding processing flows again, so that the difficulty of code development is improved, a longer development period is required, and the processing efficiency of batch transaction is greatly reduced.
The invention provides a batch transaction processing method aiming at the problems. Fig. 1 is a schematic flow chart of a method for processing batch transactions according to the present invention, as shown in fig. 1, the method includes:
step 110, a batch transaction request is obtained, and a batch transaction file indicated by the batch transaction request is determined.
Here, the batch transaction request is a request received by the application terminal of the embodiment of the present invention. In practical application, when a merchant needs to conduct batch transaction, a batch transaction request is initiated to the application terminal, so that the application terminal receives the batch transaction request, and meanwhile, the batch transaction request indicates that a batch transaction file exists, so that the corresponding batch transaction file can be obtained based on the batch transaction request.
It should be noted that, the batch transaction is a financial transaction mode using text files as carriers, merchants can upload text files meeting the requirements of the standard format of banks through specified channels of banks, and the banking background system can complete financial transactions after analyzing and processing the text files. The application scene of the batch transaction comprises a collection transaction, a transmission transaction and the like.
In addition, it should be further noted that, the merchant (such as a company, an enterprise, etc.) may perform unique identification through the merchant number, that is, the merchant number is the unique identification number of the merchant, so that the merchant may perform batch transactions such as a transaction (such as a transaction payroll, a transaction prize, etc.) or a transaction to be received (such as a transaction for collecting water, electricity, coal, communication fee, etc.) based on the merchant number. The merchant numbers correspond to the merchants one by one, namely one merchant only has one merchant number, one merchant number corresponds to one merchant, and in addition, a plurality of accounts which are opened by the merchant at a bank can be arranged under one merchant number.
Here, the batch transaction file is a file that needs to be processed, which is uploaded by the merchant. The file types of the batch transaction file may include, but are not limited to: EXCEL tables, text, pictures, etc.
Step 120, determining a concatenation flow for processing the batch transaction file, where the concatenation flow is obtained based on a user's configurational operation.
Here, the concatenation flow includes a service processing node, and in addition, the concatenation flow may further include a file identification node and/or a file interaction node and/or a precursor decision node and/or a subsequent decision node, and so on.
It should be noted that, in a batch transaction file, a plurality of processing actions need to be completed, and a front-back dependency relationship exists, and a relationship of sequentially executing is referred to herein as a concatenation, and a corresponding execution flow is referred to as a concatenation flow.
The service processing nodes are developed by professional developers and visually displayed for the user to perform configuration operation. Specifically, professional developers encapsulate the service processing method and perform visual processing to obtain different service processing nodes. More specifically, professional developers can package processing methods such as public processing, flow calling, error processing, abnormal jump and the like, and perform visual processing to obtain a business processing template, wherein specific processing contents, processing flows, business errors, abnormal triggering and the like are determined by the types of batch transaction files, so that the high abstraction of the package is ensured; and then, the user can perform node expansion operation on the basis of the business processing template, namely, special business logic is realized through logic codes, so that the customization requirement of the serial connection flow of batch transaction files is met. Professional developers can realize most business processing methods, so that batch transaction files can be efficiently processed; meanwhile, professional developers can select an optimal business processing method to package, so that the processing efficiency and the processing performance of batch transactions can be improved.
The file identification node is developed by a professional developer and visually displayed for a user to perform configuration operation. Specifically, professional developers encapsulate the file identification method and perform visualization processing to obtain different file identification nodes. Professional developers can realize most file identification methods, so that batch transaction files with different file types can be identified, and the batch transaction files can be efficiently processed; meanwhile, professional developers can select an optimal file identification method to package, so that the processing efficiency and the processing performance of batch transactions can be improved.
The file interaction node is developed by a professional developer and visually displayed for a user to perform configuration operation. Specifically, professional developers encapsulate the file interaction method and perform visualization processing to obtain the file interaction node. Professional developers can realize most file interaction methods, so that batch transaction files can be efficiently processed; meanwhile, professional developers can select an optimal file interaction method to package, so that the processing efficiency and the processing performance of batch transactions can be improved. In addition, the file interaction node needs to perform node parameter configuration, such as external system interaction parameters of external system addresses, paths and the like.
The precursor judging node is used for judging whether the current node executes or not, namely, setting the executing condition of the current node. The precursor judgment node is developed by a professional developer and visually displayed for a user to perform configuration operation. Specifically, professional developers encapsulate the precursor judgment method and perform visualization processing to obtain different precursor judgment nodes. More specifically, professional developers can package processing methods such as public processing, flow calling, error processing, abnormal jump and the like, and perform visual processing to obtain a precursor judgment template, wherein specific processing contents, processing flows, business errors, abnormal triggering and the like are determined by the types of batch transaction files, so that the high abstraction of the package is ensured; and then, the user can perform node expansion operation on the basis of the precursor judgment template, namely, special precursor judgment is realized through logic codes, so that the customization requirement of the serial connection flow of batch transaction files is met. Professional developers can realize most of precursor judging methods, so that batch transaction files can be efficiently processed; meanwhile, professional developers can select an optimal precursor judgment method to package, so that the processing efficiency and the processing performance of batch transactions can be improved.
The subsequent judging node is used for judging whether the subsequent flow is executed or not, namely, setting the condition for executing the subsequent flow. The subsequent judging nodes are developed by professional developers and visually displayed for the user to perform configuration operation. Specifically, professional developers encapsulate the subsequent judging method and perform visualization processing to obtain different subsequent judging nodes. More specifically, professional developers can package processing methods such as public processing, flow calling, error processing, abnormal jump and the like, and perform visual processing to obtain a subsequent judgment template, wherein specific processing contents, processing flows, business errors, abnormal triggering and the like are determined by the types of batch transaction files, so that the high abstraction of the package is ensured; and then, the user can perform node expansion operation on the basis of the subsequent judgment template, namely, special subsequent judgment is realized through the logic code, so that the customization requirement of the serial connection flow of batch transaction files is met. Professional developers can realize most subsequent judging methods, so that batch transaction files can be efficiently processed; meanwhile, professional developers can select the optimal subsequent judging method for packaging, so that the processing efficiency and the processing performance of batch transactions can be improved.
In addition, it should be noted that there is only one file identification node in a concatenation process; the number of the file interaction nodes in a series flow can be several, namely, the whole processing flow of batch transaction files can relate to the condition of multiple interactions with an external system; the number of the precursor judging nodes in a serial flow can be several; the number of the subsequent judging nodes in a series connection flow can be several; the number of the service processing nodes in a series flow can be several, that is, the whole processing flow of batch transaction files can be subjected to multiple file processing or service processing can be performed according to the result of interaction with an external system.
Here, the configuring operation is a drag and/or secondary development operation, i.e., the user can perform a visualization operation and a customization operation. Specifically, the configuring operation may include, but is not limited to, one or more of the following: node insert operations (also known as node add operations), node extend operations, node parameter configuration operations, node connect operations, and so on.
And 130, executing the series connection flow on the batch transaction files.
Specifically, a serial connection process is executed on batch transaction files, and a processing result is obtained. The content of the processing result is determined according to the service requirement, for example, the serial flow is a transaction situation for generating batch transactions, and the processing result may be a transaction report, which is not limited in detail in the embodiment of the present invention.
The batch transaction processing method provided by the embodiment of the invention obtains the batch transaction request and determines the batch transaction file indicated by the batch transaction request; determining a serial connection flow for processing batch transaction files, wherein the serial connection flow is obtained based on configuration operation of a user; and executing a series connection flow on the batch transaction files. By the method, the serial connection flow for processing the batch transaction files is obtained based on the configuration operation of the user, so that the serial connection flow can be customized and configured, namely, multiple business logics can be realized for the same batch transaction, the corresponding serial connection flow can be newly added only through the configuration operation without restarting the development processing flow when the newly added business logics are faced, and finally, the processing efficiency of the batch transaction is improved.
Based on the above embodiment, fig. 2 is a second flowchart of a method for processing batch transactions according to the present invention, as shown in fig. 2, in which the step 130 includes:
step 131, determining a processing flow of the batch transaction file based on the concatenation flow.
Specifically, the serial connection flow is loaded to obtain the processing flow of batch transaction files. Here, the serial flow is an assembled flow, and the serial flow is loaded to obtain a corresponding executable processing flow.
In one embodiment, a concatenated flow corresponds to a plurality of processing flows, a batch transaction file type corresponds to a processing flow, and specifically, the processing flow of the batch transaction file is determined based on the file type of the batch transaction file.
In another embodiment, a concatenation flow corresponds to a processing flow, and the processing flow is obtained by directly loading the concatenation flow.
In one embodiment, a process flow of the batch transaction file is determined based on the concatenated flow by a flow loading engine. Specifically, the serial flows are loaded through a flow loading engine, so that the processing flows of batch transaction files are obtained.
And 132, performing type detection on each executable node in the processing flow to obtain the node type of each executable node.
Here, executable nodes include, but are not limited to: service processing nodes, file interaction nodes, precursor decision nodes, successor decision nodes, and the like.
Accordingly, the node types of the executable nodes include, but are not limited to: service processing node type, file interaction node type, predecessor decision node type, successor decision node type, and so forth.
It should be noted that, the number of the file interaction nodes in the process flow may be several, that is, the whole process flow of batch transaction files may involve multiple interactions with an external system; the number of the precursor judging nodes in the processing flow can be several; the number of the subsequent judging nodes in the processing flow can be several; the number of the service processing nodes in the processing flow can be several, namely the whole processing flow of batch transaction files can be subjected to multiple file processing or service processing can be performed according to the result of interaction with an external system.
In a specific embodiment, through a process execution engine, type detection is performed on each executable node in the processing process, so as to obtain a node type of each executable node.
Step 133, executing each executable node based on the node type of each executable node.
Specifically, determining an execution engine of each executable node based on the node type of each executable node; each executable node is executed based on each execution engine.
Among them, execution engines include, but are not limited to: a flow jump engine, a service processing engine, an external interaction engine, etc. For example, if the node type of any executable node is the precursor determination node type, executing the any executable node through a flow jump engine; if the node type of any executable node is the subsequent judging node type, executing the any executable node through a flow jump engine; if the node type of any executable node is the service processing node type, executing the any executable node through a service processing engine; if the node type of any executable node is the file interaction node type, executing the any executable node through an external interaction engine.
According to the batch transaction processing method provided by the embodiment of the invention, the node type of each executable node in the processing flow is determined, so that each executable node is executed, the execution confusion of each executable node is prevented, and the batch transaction processing efficiency is further improved.
Based on any one of the above embodiments, the method further includes the step 131:
based on the file identification nodes in the serial connection flow, identifying the batch transaction files to obtain file identification parameters;
and loading the serial connection flow based on the file identification parameters to obtain the processing flow of the batch transaction files.
Here, the file identification parameter is used to characterize the file type of the batch transaction file, which may include, but is not limited to: EXCEL tables, text, pictures, etc.
Specifically, determining file types of batch transaction files based on file identification parameters; based on the file type, loading the processing flow of the file from the processing flow set corresponding to the serial flow, and finally obtaining the processing flow of the batch transaction file.
In one embodiment, a process flow of the batch transaction file is determined based on the concatenated flow by a flow loading engine. Specifically, the process loading engine is used for loading the serial connection process based on the file identification parameters to obtain the processing flow of the batch transaction files.
According to the batch transaction processing method provided by the embodiment of the invention, the corresponding processing flow is loaded by the file identification parameters of the batch transaction file, so that the batch transaction file can be accurately executed through the processing flow of the corresponding type of the batch transaction file.
Based on any of the above embodiments, fig. 3 is a third flowchart of a method for processing batch transactions according to the present invention, as shown in fig. 3, in the method, before the step 120, further includes:
step 310, obtain the configurational operation instruction acting on the process assembly interface.
Here, the process assembly interface is an assembly interface of a serial process, which is used for a user to perform process assembly based on the process assembly interface, that is, perform configuration of the serial process, and specifically, is used for the user to trigger a configuration operation instruction on the process assembly interface.
Here, the configured operation instruction is an instruction generated in response to an operation of the user through the application terminal of the embodiment of the present invention. The configured operation instruction is used for operating the target node, and specifically, the configured operation instruction may be used for indicating the target node to be operated, for example, the indicated target node is a service processing node, a file identification node, a file interaction node, a precursor determination node, a subsequent determination node, and the like, and the configured operation instruction may also be used for indicating other operation information, which is not described herein in detail.
The configuration operation instructions include, but are not limited to, one or more of the following: node insert instructions, node expand instructions, node connect instructions, node parameter configuration instructions, and the like. The node insert instruction includes, but is not limited to, one or more of the following: service processing node insertion instructions, file identification node insertion instructions, file interaction node insertion instructions, precursor decision node insertion instructions, successor decision node insertion instructions, and the like.
Step 320, executing the operation corresponding to the configurational operation instruction on the target node indicated by the configurational operation instruction, so as to perform serial flow assembly.
Here, the target node indicated by the configuration operation instruction may be any one or more of the following: service processing nodes, file identification nodes, file interaction nodes, precursor judgment nodes, subsequent judgment nodes and the like. Specifically, if the configuration operation instruction is a node insertion instruction, the target node indicated by the node insertion instruction is any one of a service processing node, a file identification node, a file interaction node, a precursor judgment node and a subsequent judgment node; if the configured operation instruction is a node expansion instruction, the target node indicated by the node expansion instruction is a node to be expanded, and the node to be expanded can be any one of a service processing node, a file identification node, a file interaction node, a precursor judgment node and a subsequent judgment node; if the configuration operation instruction is a node connection instruction, the target node indicated by the node connection instruction is a node to be connected, and the node to be connected comprises two nodes; if the configuration operation instruction is a node parameter configuration instruction, the target node indicated by the node parameter configuration instruction is a node to be configured, and the node to be configured can be any one of a service processing node, a file identification node, a file interaction node, a precursor judgment node and a subsequent judgment node.
The service processing nodes are developed by professional developers and visually displayed for the user to perform configuration operation. Specifically, professional developers encapsulate the service processing method and perform visual processing to obtain different service processing nodes. More specifically, professional developers can package processing methods such as public processing, flow calling, error processing, abnormal jump and the like, and perform visual processing to obtain a business processing template, wherein specific processing contents, processing flows, business errors, abnormal triggering and the like are determined by the types of batch transaction files, so that the high abstraction of the package is ensured; and then, the user can perform node expansion operation on the basis of the business processing template, namely, special business logic is realized through logic codes, so that the customization requirement of the serial connection flow of batch transaction files is met. Professional developers can realize most business processing methods, so that batch transaction files can be efficiently processed; meanwhile, professional developers can select an optimal business processing method to package, so that the processing efficiency and the processing performance of batch transactions can be improved.
The file identification node is developed by a professional developer and visually displayed for a user to perform configuration operation. Specifically, professional developers encapsulate the file identification method and perform visualization processing to obtain different file identification nodes. Professional developers can realize most file identification methods, so that batch transaction files with different file types can be identified, and the batch transaction files can be efficiently processed; meanwhile, professional developers can select an optimal file identification method to package, so that the processing efficiency and the processing performance of batch transactions can be improved.
The file interaction node is developed by a professional developer and visually displayed for a user to perform configuration operation. Specifically, professional developers encapsulate the file interaction method and perform visualization processing to obtain the file interaction node. Professional developers can realize most file interaction methods, so that batch transaction files can be efficiently processed; meanwhile, professional developers can select an optimal file interaction method to package, so that the processing efficiency and the processing performance of batch transactions can be improved. In addition, the file interaction node needs to perform node parameter configuration, such as external system interaction parameters of external system addresses, paths and the like.
The precursor judging node is used for judging whether the current node executes or not, namely, setting the executing condition of the current node. The precursor judgment node is developed by a professional developer and visually displayed for a user to perform configuration operation. Specifically, professional developers encapsulate the precursor judgment method and perform visualization processing to obtain different precursor judgment nodes. More specifically, professional developers can package processing methods such as public processing, flow calling, error processing, abnormal jump and the like, and perform visual processing to obtain a precursor judgment template, wherein specific processing contents, processing flows, business errors, abnormal triggering and the like are determined by the types of batch transaction files, so that the high abstraction of the package is ensured; and then, the user can perform node expansion operation on the basis of the precursor judgment template, namely, special precursor judgment is realized through logic codes, so that the customization requirement of the serial connection flow of batch transaction files is met. Professional developers can realize most of precursor judging methods, so that batch transaction files can be efficiently processed; meanwhile, professional developers can select an optimal precursor judgment method to package, so that the processing efficiency and the processing performance of batch transactions can be improved.
The subsequent judging node is used for judging whether the subsequent flow is executed or not, namely, setting the condition for executing the subsequent flow. The subsequent judging nodes are developed by professional developers and visually displayed for the user to perform configuration operation. Specifically, professional developers encapsulate the subsequent judging method and perform visualization processing to obtain different subsequent judging nodes. More specifically, professional developers can package processing methods such as public processing, flow calling, error processing, abnormal jump and the like, and perform visual processing to obtain a subsequent judgment template, wherein specific processing contents, processing flows, business errors, abnormal triggering and the like are determined by the types of batch transaction files, so that the high abstraction of the package is ensured; and then, the user can perform node expansion operation on the basis of the subsequent judgment template, namely, special subsequent judgment is realized through the logic code, so that the customization requirement of the serial connection flow of batch transaction files is met. Professional developers can realize most subsequent judging methods, so that batch transaction files can be efficiently processed; meanwhile, professional developers can select the optimal subsequent judging method for packaging, so that the processing efficiency and the processing performance of batch transactions can be improved.
Step 330, generating the concatenation flow based on the flow diagrams determined by the configuration operation instructions.
Specifically, steps 310 and 320 are performed several times, and finally, a flowchart is determined based on each configuration operation instruction. The flow chart for generating the tandem flow is a directed acyclic graph, that is, the flow chart includes a plurality of nodes, and connection relations exist between the nodes, based on which the tandem flow can be generated.
The batch transaction processing method provided by the embodiment of the invention obtains the configurational operation instruction acted on the flow assembly interface; executing the operation corresponding to the configurational operation instruction on the target node indicated by the configurational operation instruction so as to perform serial flow assembly; based on the flow chart determined by each configuration operation instruction, a series connection flow for processing batch transaction files is generated. By the method, support is provided for configuration operation, so that each node and configuration serial flow can be customized, namely, multiple business logics can be realized for the same batch of transactions, the process flow does not need to be re-developed when the newly added business logics are faced, the corresponding serial flow can be newly added only through the configuration operation, and finally, the processing efficiency of the batch of transactions is improved.
Based on any one of the above embodiments, in the method, if the configuration operation instruction is a node insertion instruction, step 320 includes:
determining a new node indicated by the node insertion instruction, wherein the new node is packaged with a processing algorithm of batch transactions;
and inserting the newly added node into an insertion position indicated by the node insertion instruction so as to provide a processing node for the series flow.
Here, the node insertion instruction is used to insert a new node on the flow assembly interface. Specifically, the node insertion instruction may be used to indicate a corresponding newly added node, and may also be used to indicate an insertion position of the newly added node.
The node insertion instruction is an instruction generated in response to a user through node insertion operation of the application terminal according to the embodiment of the present invention, for example, the user triggers a corresponding node insertion instruction by selecting any node in the node library, and at this time, the application terminal acquires the node insertion instruction.
Here, the processing algorithm may include, but is not limited to: business processing algorithms, file identification algorithms, file interaction algorithms, precursor decision algorithms, successor decision algorithms, and the like.
In addition, a node connection instruction, a node parameter configuration instruction, a node expansion instruction, and the like can be triggered for the newly added node later.
According to the batch transaction processing method provided by the embodiment of the invention, the newly added node indicated by the node insertion instruction is determined, and the newly added node is packaged with a batch transaction processing algorithm; and inserting the newly added node into an insertion position indicated by the node insertion instruction so as to provide a processing node for the tandem flow. By the method, each preset node can be directly selected for insertion, a user is not required to re-head the processing flow of developing batch processing files, the development of the code of the bottom redundancy is reduced, the rapid and convenient construction of the serial connection flow is facilitated, and therefore the processing efficiency of batch transactions is further improved.
Based on any one of the above embodiments, in the method, if the configuration operation instruction is a node expansion instruction, step 320 includes:
determining a node to be expanded indicated by the node expansion instruction, wherein the node to be expanded is used for customized expansion by a user;
and obtaining the expanded node to be expanded, and updating the expanded node to be expanded to the flow chart.
Here, the node expansion instruction is used to expand the nodes in the flow chart on the flow assembly interface, that is, to perform secondary development, so as to perform specialized customization, for example, to implement a special processing method through code logic. Specifically, the node expansion instruction may be used to indicate a corresponding node to be expanded.
The node expansion instruction is an instruction generated in response to a node expansion operation of the user through the application terminal of the embodiment of the present invention.
The batch transaction processing method provided by the embodiment of the invention determines the node to be expanded indicated by the node expansion instruction, wherein the node to be expanded is used for customized expansion of a user; and obtaining the expanded node to be expanded, and updating the expanded node to be expanded to the flow chart. By the method, a user can perform node expansion operation on the basis of the nodes to be expanded, namely special business logic is realized through logic codes, so that the customization requirement of serial connection flows of batch transaction files is met, multiple business logics can be realized for the same batch transaction, the process flow does not need to be re-developed when the newly added business logics are faced, the corresponding serial connection flows can be newly added only through the node expansion operation, and finally the processing efficiency of batch transactions is improved.
Based on any one of the above embodiments, in the method, if the configuration operation instruction is a node parameter configuration instruction, step 320 includes:
determining a node to be configured indicated by the node parameter configuration instruction and a configuration parameter indicated by the node parameter configuration instruction;
And carrying out parameter configuration on the node to be configured based on the configuration parameters.
Here, the node parameter configuration instruction is used for parameter configuration in the flow assembly interface. In particular, the node parameter configuration instruction may be used to indicate a node to be configured, and may also be used to indicate a configuration parameter to be configured.
The node parameter configuration instruction is an instruction generated in response to a user through node parameter configuration operation of the application terminal according to the embodiment of the present invention, for example, the user triggers a corresponding node parameter configuration instruction by inputting a configuration parameter, and at this time, the application terminal acquires the node parameter configuration instruction.
For ease of understanding, for example, in the file interaction node, external system interaction parameters may be set, such as setting external system addresses and external system paths, and so forth. Of course, other parameters are also included, and are specifically set according to actual situations, and are not described in detail herein.
The batch transaction processing method provided by the embodiment of the invention determines the node to be configured indicated by the node parameter configuration instruction and the configuration parameter indicated by the node parameter configuration instruction; and carrying out parameter configuration on the nodes to be configured based on the configuration parameters. By the method, the user can perform node parameter configuration on the basis of the nodes to be configured, so that the customization requirement of the serial connection flow of batch transaction files is met, multiple business logics can be realized for the same batch transaction, the corresponding serial connection flow can be newly added only through node expansion operation without restarting the development processing flow when the newly added business logics are faced, and finally the processing efficiency of batch transaction is improved.
The batch transaction processing device provided by the invention is described below, and the batch transaction processing device described below and the batch transaction processing method described above can be referred to correspondingly.
In this embodiment, the processing apparatus for batch transaction includes:
the acquisition module is used for acquiring the batch transaction request and determining a batch transaction file indicated by the batch transaction request;
the determining module is used for determining a serial connection flow for processing the batch transaction files, wherein the serial connection flow is obtained based on the configurational operation of a user;
and the execution module is used for executing the series connection flow on the batch transaction files.
The batch transaction processing device provided by the embodiment of the invention acquires a batch transaction request and determines a batch transaction file indicated by the batch transaction request; determining a serial connection flow for processing batch transaction files, wherein the serial connection flow is obtained based on configuration operation of a user; and executing a series connection flow on the batch transaction files. By the method, the serial connection flow for processing the batch transaction files is obtained based on the configuration operation of the user, so that the serial connection flow can be customized and configured, namely, multiple business logics can be realized for the same batch transaction, the corresponding serial connection flow can be newly added only through the configuration operation without restarting the development processing flow when the newly added business logics are faced, and finally, the processing efficiency of the batch transaction is improved.
Based on any of the above embodiments, the execution module is further configured to:
determining the processing flow of the batch transaction files based on the serial connection flow;
performing type detection on each executable node in the processing flow to obtain the node type of each executable node;
and executing each executable node based on the node type of each executable node.
Based on any of the above embodiments, the execution module is further configured to:
based on the file identification nodes in the serial connection flow, identifying the batch transaction files to obtain file identification parameters;
and loading the serial connection flow based on the file identification parameters to obtain the processing flow of the batch transaction files.
Based on any of the above embodiments, the apparatus further comprises:
the instruction acquisition module is used for acquiring a configurational operation instruction acting on the flow assembly interface;
the instruction execution module is used for executing the operation corresponding to the configurational operation instruction on the target node indicated by the configurational operation instruction so as to carry out serial flow assembly;
and the flow generating module is used for generating the series flow based on the flow chart determined by each configuration operation instruction.
Based on any of the foregoing embodiments, if the configuration operation instruction is a node insertion instruction, the instruction execution module is further configured to:
determining a new node indicated by the node insertion instruction, wherein the new node is packaged with a processing algorithm of batch transactions;
and inserting the newly added node into an insertion position indicated by the node insertion instruction so as to provide a processing node for the series flow.
Based on any of the above embodiments, if the configuration operation instruction is a node expansion instruction, the instruction execution module is further configured to:
determining a node to be expanded indicated by the node expansion instruction, wherein the node to be expanded is used for customized expansion by a user;
and obtaining the expanded node to be expanded, and updating the expanded node to be expanded to the flow chart.
Based on any of the foregoing embodiments, if the configuration operation instruction is a node parameter configuration instruction, the instruction execution module is further configured to:
determining a node to be configured indicated by the node parameter configuration instruction and a configuration parameter indicated by the node parameter configuration instruction;
and carrying out parameter configuration on the node to be configured based on the configuration parameters.
Fig. 4 illustrates a physical schematic diagram of an electronic device, as shown in fig. 4, which may include: processor 410, communication interface (Communications Interface) 420, memory 430 and communication bus 440, wherein processor 410, communication interface 420 and memory 430 communicate with each other via communication bus 440. Processor 410 may invoke logic instructions in memory 430 to perform a method of processing a batch transaction, the method comprising: acquiring a batch transaction request and determining a batch transaction file indicated by the batch transaction request; determining a serial connection flow for processing the batch transaction files, wherein the serial connection flow is obtained based on the configurational operation of a user; and executing the series connection flow on the batch transaction files.
Further, the logic instructions in the memory 430 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program, the computer program being storable on a non-transitory computer readable storage medium, the computer program when executed by a processor being capable of performing a method of processing a batch transaction provided by the methods described above, the method comprising: acquiring a batch transaction request and determining a batch transaction file indicated by the batch transaction request; determining a serial connection flow for processing the batch transaction files, wherein the serial connection flow is obtained based on the configurational operation of a user; and executing the series connection flow on the batch transaction files.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform a method of processing a batch transaction provided by the methods described above, the method comprising: acquiring a batch transaction request and determining a batch transaction file indicated by the batch transaction request; determining a serial connection flow for processing the batch transaction files, wherein the serial connection flow is obtained based on the configurational operation of a user; and executing the series connection flow on the batch transaction files.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of processing a batch transaction, comprising:
acquiring a batch transaction request and determining a batch transaction file indicated by the batch transaction request;
determining a serial connection flow for processing the batch transaction files, wherein the serial connection flow is obtained based on the configurational operation of a user;
and executing the series connection flow on the batch transaction files.
2. The method of claim 1, wherein performing the concatenation process on the batch transaction file comprises:
determining the processing flow of the batch transaction files based on the serial connection flow;
Performing type detection on each executable node in the processing flow to obtain the node type of each executable node;
and executing each executable node based on the node type of each executable node.
3. The method for processing batch transactions according to claim 2, wherein said determining a process flow of said batch transaction file based on said concatenated flow includes:
based on the file identification nodes in the serial connection flow, identifying the batch transaction files to obtain file identification parameters;
and loading the serial connection flow based on the file identification parameters to obtain the processing flow of the batch transaction files.
4. A method of processing a batch transaction according to any one of claims 1 to 3, wherein the determining a concatenation flow for processing the batch transaction file further comprises:
acquiring a configurational operation instruction acting on a flow assembly interface;
executing the operation corresponding to the configurating operation instruction on the target node indicated by the configurating operation instruction so as to perform serial flow assembly;
and generating the series flow based on the flow chart determined by each configurational operation instruction.
5. The method according to claim 4, wherein if the configured operation instruction is a node insertion instruction, the executing, on the target node indicated by the configured operation instruction, an operation corresponding to the configured operation instruction includes:
determining a new node indicated by the node insertion instruction, wherein the new node is packaged with a processing algorithm of batch transactions;
and inserting the newly added node into an insertion position indicated by the node insertion instruction so as to provide a processing node for the series flow.
6. The method according to claim 4, wherein if the configured operation instruction is a node expansion instruction, the executing, on the target node indicated by the configured operation instruction, an operation corresponding to the configured operation instruction includes:
determining a node to be expanded indicated by the node expansion instruction, wherein the node to be expanded is used for customized expansion by a user;
and obtaining the expanded node to be expanded, and updating the expanded node to be expanded to the flow chart.
7. The method according to claim 4, wherein if the configuration operation instruction is a node parameter configuration instruction, the executing, on the target node indicated by the configuration operation instruction, an operation corresponding to the configuration operation instruction includes:
Determining a node to be configured indicated by the node parameter configuration instruction and a configuration parameter indicated by the node parameter configuration instruction;
and carrying out parameter configuration on the node to be configured based on the configuration parameters.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method for processing a batch transaction according to any one of claims 1 to 7 when the program is executed.
9. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of processing a batch transaction according to any one of claims 1 to 7.
10. A computer program product comprising a computer program which, when executed by a processor, implements the steps of the method of processing a batch transaction as claimed in any one of claims 1 to 7.
CN202210089445.6A 2022-01-25 2022-01-25 Method for processing batch transaction, electronic device, storage medium and program product Pending CN116542768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210089445.6A CN116542768A (en) 2022-01-25 2022-01-25 Method for processing batch transaction, electronic device, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210089445.6A CN116542768A (en) 2022-01-25 2022-01-25 Method for processing batch transaction, electronic device, storage medium and program product

Publications (1)

Publication Number Publication Date
CN116542768A true CN116542768A (en) 2023-08-04

Family

ID=87442233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210089445.6A Pending CN116542768A (en) 2022-01-25 2022-01-25 Method for processing batch transaction, electronic device, storage medium and program product

Country Status (1)

Country Link
CN (1) CN116542768A (en)

Similar Documents

Publication Publication Date Title
US8010844B2 (en) File mutation method and system using file section information and mutation rules
CN110633200A (en) Method and device for testing intelligent contracts
US20110016452A1 (en) Method and system for identifying regression test cases for a software
CN110532182B (en) Automatic testing method and device for virtualization platform
CN112783568B (en) Initialization method, device, equipment and storage medium of application program
CN110599341A (en) Transaction calling method and system
CN113157315A (en) Method, device, equipment and medium for identifying difference information of different versions of software
CN111427578B (en) Data conversion method, device and equipment
CN113535141A (en) Database operation code generation method and device
CN115525534A (en) Test case generation method and platform based on swagger interface test
CN113468212A (en) Event execution method and device and electronic equipment
CN111506305A (en) Tool kit generation method and device, computer equipment and readable storage medium
CN116542768A (en) Method for processing batch transaction, electronic device, storage medium and program product
CN112148353B (en) Data processing method and device
CN110889574A (en) Uncertainty factor detection device, method and medium for intelligent contract
CN114416547A (en) Test case based test method
CN113704123A (en) Interface test method, device, equipment and storage medium
CN114493360A (en) Process creative evaluation method, device, equipment and medium based on RPA and AI
CN114371866A (en) Version reconfiguration test method, device and equipment of service system
CN113590488B (en) System test method and test platform for simulating financial data support
CN111324368A (en) Data sharing method and server
CN113608841A (en) Cross-platform automatic test script generation method and device
CN114253867B (en) Automatic testing method, device and system based on neural network model
CN111352845A (en) Test sequence scene generation method and device
CN110716855B (en) Processor instruction set testing 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