CN117632140A - Business process processing method, device and storage medium - Google Patents

Business process processing method, device and storage medium Download PDF

Info

Publication number
CN117632140A
CN117632140A CN202311680549.5A CN202311680549A CN117632140A CN 117632140 A CN117632140 A CN 117632140A CN 202311680549 A CN202311680549 A CN 202311680549A CN 117632140 A CN117632140 A CN 117632140A
Authority
CN
China
Prior art keywords
processor
processing
data
context object
context
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
CN202311680549.5A
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.)
E Fund Management Co ltd
Original Assignee
E Fund Management 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 E Fund Management Co ltd filed Critical E Fund Management Co ltd
Priority to CN202311680549.5A priority Critical patent/CN117632140A/en
Publication of CN117632140A publication Critical patent/CN117632140A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a business process processing method, a device and a storage medium, wherein the method comprises the following steps: responding to a request processed by the business process, wherein the request comprises at least one request data, and each request data is respectively converted into a context object; inputting the context objects into a processor list in sequence to perform execution operation of data processing; the processor list comprises a plurality of processor groups; each processor group comprises a first processor and a second processor; the first processor is used for carrying out data verification on the context object; the second processor is used for performing data operation on the context object; each time the execution operation of a first context object in the processor list is successful, the first context object is submitted to the transaction; or after the execution operation of all the context objects in the processor list is successful, the transaction submission is carried out on all the context objects, so that the development efficiency of the business processing flow is improved, and the test complexity is reduced.

Description

Business process processing method, device and storage medium
Technical Field
The present invention relates to the field of application service development technologies, and in particular, to a business process processing method, a device, and a storage medium.
Background
Currently, most business processing flows of Java application services are controlled in the application services through code logic based on business rules, or flow routing or state conversion is performed through business rule configuration. Since data verification of business operations involves business contexts, it cannot be solved by simple configuration. If each service flow needs to implement the data validity verification rule by itself, a large number of repeated verification logics exist in different service processing processes: such as instruction issue, instruction modification, belong to two different business operations, but both require verification of the validity of the instruction data, and the verification rules of both for the instruction data should be kept consistent. When the follow-up business flow is changed, repeated codes bring a large number of code reconstruction, and the data volume of development and test work is increased.
In addition, in the batch business processing process, two types of transaction control granularity mainly exist: processing by pen and processing by batch. In the processing process of each business request, each business request is used as a transaction, and is not influenced by the processing results of other requests. In the batch processing, as long as one request fails, the whole batch of data processing fails. In the existing business process processing method, a unified business process processing frame does not exist, different business processes are required to be developed according to different business processing rules and transaction control logic, the testing complexity is high, and the business process development efficiency is low.
Disclosure of Invention
The invention provides a business process processing method, a business process processing device and a storage medium, which are used for improving the development efficiency of business process and reducing the test complexity.
The invention provides a business process processing method, which comprises the following steps:
responding to a request processed by a business process, wherein the request comprises at least one request data, and each request data is respectively converted into a context object to obtain a plurality of context objects; inputting the context objects into a processor list in sequence to perform execution operation of data processing; the processor list comprises a plurality of processor groups; each processor group comprises a first processor and a second processor; the first processor is used for performing data verification on the context object; the second processor is used for performing data operation on the context object;
each time a first context object is successfully executed in the processor list, performing transaction commit on the first context object; or after all the context objects in the processor list are successfully executed, performing transaction commit on all the context objects.
Further, the executing operation of sequentially inputting the context objects into the processor list for data processing specifically includes:
inputting the context objects into a processor group in a processor list in sequence, so that the processor group performs data verification on the context objects by using a first processor, after the data verification is successful, starting corresponding transactions, and performing data operation on the context objects by using a second processor in the transactions;
the first processor comprises a plurality of verification processing units, wherein each verification processing unit is used for verifying a business rule of the context object; the second processor comprises a plurality of service processing units, and each service processing unit is used for carrying out changing operation on one item of transaction data of the context object.
Further, the executing operation of sequentially inputting the context objects into the processor list for data processing further includes:
when any one of the verification processing units in the first processor group fails to verify the data of the context object, the execution operation of the data processing of the context object is terminated, the failure reason is recorded in the context object, and a failure result is returned.
Further, the executing operation of sequentially inputting the context objects into the processor list for data processing further includes:
when any service processing unit in the second processor group fails to change the context object, terminating the execution operation of the second processor group on the data processing of the context object, recording the failure reason in the context object, returning a failure result, and rolling back the executed processor in the second processor group;
or, terminating the execution operation of all the processor groups on the data processing of the context object; the reason of failure is recorded in the context object, the failure result is returned, and the executed processors in all the processor groups are rolled back.
Further, the processing mode of the request data is pen-by-pen processing or batch processing, and specifically includes:
if the processing mode of the request data is the processing of each stroke, when the changing operation of any business processing unit in the second processor group to the context object fails, stopping the execution operation of the second processor group to the data processing of the context object, recording the failure reason in the context object, returning a failure result, and rolling back the executed processor in the second processor group;
if the processing mode of the request data is batch processing, when the changing operation of any business processing unit in the second processor group to the context object fails, stopping the executing operation of all the processor groups to the data processing of the context object; the reason of failure is recorded in the context object, the failure result is returned, and the executed processors in all the processor groups are rolled back.
Further, the processing mode of the request data is pen-by-pen processing or batch processing, and the method further comprises:
if the processing mode of the request data is pen-by-pen processing, each time after the execution operation of a first context object in the processor list is successful, carrying out transaction submission on the first context object;
if the processing mode of the request data is batch processing, after the execution operation of all the context objects in the processor list is successful, performing transaction submission on all the context objects.
Further, each request data is converted into a context object, so as to obtain a plurality of context objects, specifically:
according to the processing mode of the request data, converting each request data into a context object by utilizing a corresponding data converter; wherein, a processing mode of the request data corresponds to a preset data converter.
Further, the method further comprises the following steps:
converting the verification result or the operation result in each context object into an output result by using a data converter corresponding to each context object, and sending the output result to a front-end user or a background application service for display; the verification result is written into the context object by the first processor according to the execution condition, and the operation result is written into the context object by the second processor according to the execution condition.
As a preferred scheme, the invention constructs a unified business process processing framework, and a developer only needs to focus on the verification rule and the business rule and develop the verifier and the processing unit in the processor without paying attention to the transaction control processing logic. The invention encapsulates the atomic-level business verification and the data processing, and each processing unit can perform quick test verification through unit test, thereby solving the problems of data verification, flow control, transaction management and the like in the business processing flow, improving the development efficiency of the business processing flow and reducing the test complexity.
In addition, the verifier and the processor abstracted by the invention can support arrangement according to different business processes, thereby realizing multiplexing of verification logic and processing logic, effectively reducing repeated codes and improving development efficiency. The invention utilizes the processor to carry out transaction control on various business flow processes, simultaneously provides the business rollback capability, can reduce the development difficulty and improves the overall code quality.
Correspondingly, the invention also provides a business process processing device, which comprises: a data converter and a processing module;
the data converter is used for responding to a request of business process processing, the request comprises at least one request data, each request data is converted into a context object, and a plurality of context objects are obtained;
the processing module is used for sequentially inputting the context objects into a processor list to perform execution operation of data processing; the processor list comprises a plurality of processor groups; each processor group comprises a first processor and a second processor; the first processor is used for performing data verification on the context object; the second processor is used for performing data operation on the context object;
each time a first context object is successfully executed in the processor list, performing transaction commit on the first context object; or after all the context objects in the processor list are successfully executed, performing transaction commit on all the context objects.
Accordingly, the present invention also provides a computer-readable storage medium including a stored computer program; wherein, the computer program controls the equipment of the computer readable storage medium to execute a business flow processing method according to the invention when running.
Drawings
FIG. 1 is a flow diagram of an embodiment of a business process method provided by the present invention;
FIG. 2 is a schematic diagram of a flow template for pen-by-pen processing and batch-by-batch processing according to one embodiment of the business flow processing method provided by the present invention;
fig. 3 is a schematic structural diagram of an embodiment of a business process processing device provided in the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but 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.
Example 1
Referring to fig. 1, a business process processing method provided in an embodiment of the present invention includes steps S101 to S103:
step S101: responding to a request processed by a business process, wherein the request comprises at least one request data, and each request data is respectively converted into a context object to obtain a plurality of context objects;
in this embodiment, the request for processing the business process includes data that needs to be processed by the business process, and is typically uploaded by the user terminal or other application service. The terminal refers to hardware equipment such as a computer, a notebook and the like which are used for daily office work of a user. Other application services refer to background service applications developed in any programming language. The request of business process processing also comprises a processing mode of request data; the processing mode of the request data is pen-by-pen processing or batch processing;
further, each request data is converted into a context object, so as to obtain a plurality of context objects, specifically:
according to the processing mode of the request data, converting each request data into a context object by utilizing a corresponding data converter; wherein, a processing mode of the request data corresponds to a preset data converter.
As a preferred implementation manner, the embodiment respectively constructs two business process templates for two processing modes, and the template types are divided into a 'pen-by-pen processing process template' and a 'batch processing process template'. Which template is used specifically needs to consider the actual service scenario, and the template type can be configured for each service by programming or by parameter configuration. In practical application, corresponding flow templates are obtained from a template factory according to the processing mode of the request data for use.
Wherein each flow template requires a data Converter (Converter) required to specify the requests for business flow processing. The flow framework provides a Converter interface, and different business flows can be realized by providing corresponding data converters according to own request data.
The flow framework converts the request data (business data) into a Context object (Context) through a data Converter. For a single request containing multiple pieces of business data, one Context is generated per piece of business data. The Context is used as an input parameter of all processors (Handler) for the Handler to acquire service data from the Context for data verification or data operation.
Step S102: inputting the context objects into a processor list in sequence to perform execution operation of data processing; the processor list comprises a plurality of processor groups; each processor group comprises a first processor and a second processor; the first processor is used for performing data verification on the context object; the second processor is used for performing data operation on the context object;
further, the executing operation of sequentially inputting the context objects into the processor list for data processing specifically includes:
inputting the context objects into a processor group in a processor list in sequence, so that the processor group performs data verification on the context objects by using a first processor, after the data verification is successful, starting corresponding transactions, and performing data operation on the context objects by using a second processor in the transactions;
the first processor comprises a plurality of verification processing units, wherein each verification processing unit is used for verifying a business rule of the context object; the second processor comprises a plurality of service processing units, and each service processing unit is used for carrying out changing operation on one item of transaction data of the context object.
Further, the executing operation of sequentially inputting the context objects into the processor list for data processing further includes:
when any one of the verification processing units in the first processor group fails to verify the data of the context object, the execution operation of the data processing of the context object is terminated, the failure reason is recorded in the context object, and a failure result is returned.
Further, the executing operation of sequentially inputting the context objects into the processor list for data processing further includes:
when any service processing unit in the second processor group fails to change the context object, terminating the execution operation of the second processor group on the data processing of the context object, recording the failure reason in the context object, returning a failure result, and rolling back the executed processor in the second processor group;
or, terminating the execution operation of all the processor groups on the data processing of the context object; the reason of failure is recorded in the context object, the failure result is returned, and the executed processors in all the processor groups are rolled back.
Further, the processing mode of the request data is pen-by-pen processing or batch processing, and specifically includes:
if the processing mode of the request data is the processing of each stroke, when the changing operation of any business processing unit in the second processor group to the context object fails, stopping the execution operation of the second processor group to the data processing of the context object, recording the failure reason in the context object, returning a failure result, and rolling back the executed processor in the second processor group;
if the processing mode of the request data is batch processing, when the changing operation of any business processing unit in the second processor group to the context object fails, stopping the executing operation of all the processor groups to the data processing of the context object; the reason of failure is recorded in the context object, the failure result is returned, and the executed processors in all the processor groups are rolled back.
Step S103: each time a first context object is successfully executed in the processor list, performing transaction commit on the first context object; or after all the context objects in the processor list are successfully executed, performing transaction commit on all the context objects.
Further, the processing mode of the request data is pen-by-pen processing or batch processing, and the method further comprises:
if the processing mode of the request data is pen-by-pen processing, each time after the execution operation of a first context object in the processor list is successful, carrying out transaction submission on the first context object;
if the processing mode of the request data is batch processing, after the execution operation of all the context objects in the processor list is successful, performing transaction submission on all the context objects.
Further, the method further comprises the following steps:
converting the verification result or the operation result in each context object into an output result by using a data converter corresponding to each context object, and sending the output result to a front-end user or a background application service for display; the verification result is written into the context object by the first processor according to the execution condition, and the operation result is written into the context object by the second processor according to the execution condition.
As one embodiment, please refer to fig. 2, which is a schematic diagram of a flow template for pen-by-pen processing and batch processing; the pen-by-pen processing flow template comprises a plurality of first processors (validateHandler) and a plurality of second processors (bussineHandler), in this embodiment, three validateHandler and six bussineHandler, and one validateHandler and two bussineHandler are arranged into a group to perform data processing on a Context, and the three groups are used as arranged Handler lists. Both BusineHandler and ValidateHandler inherit processor Handler. When the request processed by the business flow contains N business data, N contexts are generated and sequentially input into each processor group, and N is a positive integer. When N is greater than 3, three Context objects Context are input into the three processor sets respectively, and then the rest Context objects Context wait for the execution of the Context objects in the three processor sets, and when the idle processor sets exist, the rest Context objects are input into the idle processor sets for operation.
The validateHandler is formed by assembling a plurality of verification processing units validators, and each Validator is responsible for verifying a business rule, such as whether the data verification instruction issuing date is filled in after the instruction issuing is acquired, whether the corresponding market belongs to a transaction date, and the like. By arranging the validators, different validatehanders can be constructed to implement multiplexing of the validation logic.
The busin handler is assembled by a plurality of service processing units processors, and each Processor is responsible for an atomic level transaction data change operation, i.e. a database list table maintenance operation, such as changing an instruction state field of an instruction table. And starting the transaction in the BusineHandler by using the transactionTemplate of the Spring framework, and executing the processors in the transaction respectively, so that the transaction consistency of all the Processor business processing operations is ensured, and the transaction consistency is not required among different Handlers. If abnormality or failure occurs in the BusineHandler execution process, the framework can forward execute the rolling-back method of the Handler, so that the final consistency of service data is ensured.
The processing mode of the request processed by the business flow A is to process each time, and a processing flow module is selected each time; for each Context passing the data verification, each processor group respectively starts a transaction in a BusineHandler, and three processor groups respectively start a transaction 1, a transaction 2 and a transaction 3; each time when the execution operation of a BusineHandler of a first context object in a corresponding processor group is successful, the processor group submits the first context object after the operation; if the business fails in the execution process, if a certain Processor is abnormal or returns a failure result, recording failure information in Context, terminating the processing of the business, and rolling back forward the Handler already executed on the business. The processing of each business data does not affect the processing results of other business data, namely, three states of successful whole execution, successful partial execution and failure whole execution exist in the flow template.
The processing mode of the request processed by the business flow B is according to batch processing, and a module according to batch processing flow is selected; for each Context passing the data verification, all processor groups start a transaction in the BusineHandler; when the execution operation of the BusineHandler of all the context objects in the corresponding processor group is successful, all the processor groups carry out transaction submission on all the context objects after the operation; if a failure occurs during execution, the batch of business processes will be terminated while rolling back the already executed hander. Each service data processing result affects the processing results of other data, that is, in the flow template, all the service data processing results are not executed successfully, and all the service data processing results are not executed failed. There may not be a state in which the partial execution is successful.
In this embodiment, the data Converter converts the verification or processing result filled in the Context by the Handler into a unified output result Response for the front-end user or the background application service to determine the execution condition of the service processing request.
The implementation of the embodiment of the invention has the following effects:
the invention constructs a unified business process processing framework, and a developer only needs to focus on the verification rule and the business rule and develop the processing units in the verifier and the processor without paying attention to transaction control processing logic. The invention encapsulates the atomic-level business verification and the data processing, and each processing unit can perform quick test verification through unit test, thereby solving the problems of data verification, flow control, transaction management and the like in the business processing flow, improving the development efficiency of the business processing flow and reducing the test complexity.
In addition, the verifier and the processor abstracted by the invention can support arrangement according to different business processes, thereby realizing multiplexing of verification logic and processing logic, effectively reducing repeated codes and improving development efficiency. The invention utilizes the processor to carry out transaction control on various business flow processes, simultaneously provides the business rollback capability, can reduce the development difficulty and improves the overall code quality.
Example two
Referring to fig. 3, a business process processing device provided in an embodiment of the present invention includes: a data converter 201 and a processing module 202;
the data converter is used for responding to a request of business process processing, the request comprises at least one request data, each request data is converted into a context object, and a plurality of context objects are obtained;
the processing module is used for sequentially inputting the context objects into a processor list to perform execution operation of data processing; the processor list comprises a plurality of processor groups; each processor group comprises a first processor and a second processor; the first processor is used for performing data verification on the context object; the second processor is used for performing data operation on the context object;
each time a first context object is successfully executed in the processor list, performing transaction commit on the first context object; or after all the context objects in the processor list are successfully executed, performing transaction commit on all the context objects.
The data converter is also used for converting the verification result or the operation result in each context object into an output result, and sending the output result to a front-end user or a background application service for display; the verification result is written into the context object by the first processor according to the execution condition, and the operation result is written into the context object by the second processor according to the execution condition.
The business process processing device can implement the business process processing method of the method embodiment. The options in the method embodiments described above are also applicable to this embodiment and will not be described in detail here. The rest of the embodiments of the present application may refer to the content of the method embodiments described above, and in this embodiment, no further description is given.
Example III
Correspondingly, the invention further provides a computer readable storage medium, which comprises a stored computer program, wherein when the computer program runs, the equipment where the computer readable storage medium is located is controlled to execute the business flow processing method according to any one of the embodiments.
The computer program may be divided into one or more modules/units, which are stored in the memory and executed by the processor to accomplish the present invention, for example. The one or more modules/units may be a series of computer program instruction segments capable of performing the specified functions, which instruction segments are used for describing the execution of the computer program in the terminal device.
The terminal equipment can be computing equipment such as a desktop computer, a notebook computer, a palm computer, a cloud server and the like. The terminal device may include, but is not limited to, a processor, a memory.
The processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is a control center of the terminal device, and which connects various parts of the entire terminal device using various interfaces and lines.
The memory may be used to store the computer program and/or the module, and the processor may implement various functions of the terminal device by running or executing the computer program and/or the module stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile terminal, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
Wherein the terminal device integrated modules/units may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as stand alone products. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
The foregoing embodiments have been provided for the purpose of illustrating the general principles of the present invention, and are not to be construed as limiting the scope of the invention. It should be noted that any modifications, equivalent substitutions, improvements, etc. made by those skilled in the art without departing from the spirit and principles of the present invention are intended to be included in the scope of the present invention.

Claims (10)

1. A business process processing method, comprising:
responding to a request processed by a business process, wherein the request comprises at least one request data, and each request data is respectively converted into a context object to obtain a plurality of context objects; inputting the context objects into a processor list in sequence to perform execution operation of data processing; the processor list comprises a plurality of processor groups; each processor group comprises a first processor and a second processor; the first processor is used for performing data verification on the context object; the second processor is used for performing data operation on the context object;
each time a first context object is successfully executed in the processor list, performing transaction commit on the first context object; or after all the context objects in the processor list are successfully executed, performing transaction commit on all the context objects.
2. The business process processing method of claim 1, wherein the executing operation of sequentially inputting the context object into the processor list for data processing comprises:
inputting the context objects into a processor group in a processor list in sequence, so that the processor group performs data verification on the context objects by using a first processor, after the data verification is successful, starting corresponding transactions, and performing data operation on the context objects by using a second processor in the transactions;
the first processor comprises a plurality of verification processing units, wherein each verification processing unit is used for verifying a business rule of the context object; the second processor comprises a plurality of service processing units, and each service processing unit is used for carrying out changing operation on one item of transaction data of the context object.
3. The business process processing method of claim 2, wherein said sequentially inputting said context objects into a processor list for data processing execution operations further comprises:
when any one of the verification processing units in the first processor group fails to verify the data of the context object, the execution operation of the data processing of the context object is terminated, the failure reason is recorded in the context object, and a failure result is returned.
4. The business process processing method of claim 2, wherein said sequentially inputting said context objects into a processor list for data processing execution operations further comprises:
when any service processing unit in the second processor group fails to change the context object, terminating the execution operation of the second processor group on the data processing of the context object, recording the failure reason in the context object, returning a failure result, and rolling back the executed processor in the second processor group;
or, terminating the execution operation of all the processor groups on the data processing of the context object; the reason of failure is recorded in the context object, the failure result is returned, and the executed processors in all the processor groups are rolled back.
5. The business process processing method of claim 4, wherein the processing mode of the request data is pen-by-pen processing or batch processing, and specifically comprises:
if the processing mode of the request data is the processing of each stroke, when the changing operation of any business processing unit in the second processor group to the context object fails, stopping the execution operation of the second processor group to the data processing of the context object, recording the failure reason in the context object, returning a failure result, and rolling back the executed processor in the second processor group;
if the processing mode of the request data is batch processing, when the changing operation of any business processing unit in the second processor group to the context object fails, stopping the executing operation of all the processor groups to the data processing of the context object; the reason of failure is recorded in the context object, the failure result is returned, and the executed processors in all the processor groups are rolled back.
6. The business process processing method of claim 5, wherein the processing mode of the request data is pen-by-pen processing or batch processing, further comprising:
if the processing mode of the request data is pen-by-pen processing, each time after the execution operation of a first context object in the processor list is successful, carrying out transaction submission on the first context object;
if the processing mode of the request data is batch processing, after the execution operation of all the context objects in the processor list is successful, performing transaction submission on all the context objects.
7. The business process processing method of claim 6, wherein each request data is converted into a context object to obtain a plurality of context objects, specifically:
according to the processing mode of the request data, converting each request data into a context object by utilizing a corresponding data converter; wherein, a processing mode of the request data corresponds to a preset data converter.
8. The business process processing method of claim 7, further comprising:
converting the verification result or the operation result in each context object into an output result by using a data converter corresponding to each context object, and sending the output result to a front-end user or a background application service for display; the verification result is written into the context object by the first processor according to the execution condition, and the operation result is written into the context object by the second processor according to the execution condition.
9. A business process processing apparatus, comprising: a data converter and a processing module;
the data converter is used for responding to a request of business process processing, the request comprises at least one request data, each request data is converted into a context object, and a plurality of context objects are obtained;
the processing module is used for sequentially inputting the context objects into a processor list to perform execution operation of data processing; the processor list comprises a plurality of processor groups; each processor group comprises a first processor and a second processor; the first processor is used for performing data verification on the context object; the second processor is used for performing data operation on the context object;
each time a first context object is successfully executed in the processor list, performing transaction commit on the first context object; or after all the context objects in the processor list are successfully executed, performing transaction commit on all the context objects.
10. A computer readable storage medium, wherein the computer readable storage medium comprises a stored computer program; wherein the computer program, when run, controls a device in which the computer readable storage medium is located to perform a business process processing method according to any one of claims 1 to 8.
CN202311680549.5A 2023-12-07 2023-12-07 Business process processing method, device and storage medium Pending CN117632140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311680549.5A CN117632140A (en) 2023-12-07 2023-12-07 Business process processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311680549.5A CN117632140A (en) 2023-12-07 2023-12-07 Business process processing method, device and storage medium

Publications (1)

Publication Number Publication Date
CN117632140A true CN117632140A (en) 2024-03-01

Family

ID=90037431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311680549.5A Pending CN117632140A (en) 2023-12-07 2023-12-07 Business process processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN117632140A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090158246A1 (en) * 2007-12-18 2009-06-18 Kabira Technologies, Inc. Method and system for building transactional applications using an integrated development environment
US20130139164A1 (en) * 2011-11-28 2013-05-30 Sap Ag Business Process Optimization
US20130159199A1 (en) * 2011-12-14 2013-06-20 Ulrich Keil Correlation-based dynamic determination of transactional instance contexts
CN103546440A (en) * 2012-07-16 2014-01-29 上海宝信软件股份有限公司 Transaction implementation method and system for initiating transactions by client
CN103902560A (en) * 2012-12-25 2014-07-02 中国移动通信集团福建有限公司 Distributed transaction processing method and system
CN104967630A (en) * 2014-04-10 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for processing webpage access request
US9250869B1 (en) * 2012-03-30 2016-02-02 Emc Corporation Synchronous business process execution engine for action orchestration in a single execution transaction context
WO2021169243A1 (en) * 2020-02-29 2021-09-02 华为技术有限公司 Method, apparatus and system for processing distributed transaction
CN113986941A (en) * 2021-11-26 2022-01-28 中国银行股份有限公司 Transaction batch processing method and device
CN114816684A (en) * 2022-05-06 2022-07-29 中国工商银行股份有限公司 Business processing method, device, equipment, readable storage medium and product
CN115756494A (en) * 2022-12-14 2023-03-07 上海识装信息科技有限公司 Business data processing method and device, electronic equipment and storage medium
CN116881270A (en) * 2023-07-24 2023-10-13 湖南快乐阳光互动娱乐传媒有限公司 Method and device for guaranteeing consistency of message data

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090158246A1 (en) * 2007-12-18 2009-06-18 Kabira Technologies, Inc. Method and system for building transactional applications using an integrated development environment
US20130139164A1 (en) * 2011-11-28 2013-05-30 Sap Ag Business Process Optimization
US20130159199A1 (en) * 2011-12-14 2013-06-20 Ulrich Keil Correlation-based dynamic determination of transactional instance contexts
US9250869B1 (en) * 2012-03-30 2016-02-02 Emc Corporation Synchronous business process execution engine for action orchestration in a single execution transaction context
CN103546440A (en) * 2012-07-16 2014-01-29 上海宝信软件股份有限公司 Transaction implementation method and system for initiating transactions by client
CN103902560A (en) * 2012-12-25 2014-07-02 中国移动通信集团福建有限公司 Distributed transaction processing method and system
CN104967630A (en) * 2014-04-10 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for processing webpage access request
WO2021169243A1 (en) * 2020-02-29 2021-09-02 华为技术有限公司 Method, apparatus and system for processing distributed transaction
CN113986941A (en) * 2021-11-26 2022-01-28 中国银行股份有限公司 Transaction batch processing method and device
CN114816684A (en) * 2022-05-06 2022-07-29 中国工商银行股份有限公司 Business processing method, device, equipment, readable storage medium and product
CN115756494A (en) * 2022-12-14 2023-03-07 上海识装信息科技有限公司 Business data processing method and device, electronic equipment and storage medium
CN116881270A (en) * 2023-07-24 2023-10-13 湖南快乐阳光互动娱乐传媒有限公司 Method and device for guaranteeing consistency of message data

Similar Documents

Publication Publication Date Title
CN108415832B (en) Interface automation test method, device, equipment and storage medium
CN109582301B (en) Service processing method, device, equipment and medium based on task scheduling system
CN109614102A (en) Code automatic generation method, device, electronic equipment and storage medium
CN110851253B (en) Remote operation and maintenance method, system, storage medium and electronic equipment
CN106503974B (en) Transaction data processing method and device
CN107016029B (en) Method, device and system for processing service data
US8799861B2 (en) Performance-testing a system with functional-test software and a transformation-accelerator
CN108599973B (en) Log association method, device and equipment
CN110688828A (en) File processing method and device, file processing system and computer equipment
CN111787171B (en) Automatic outbound method, device, electronic equipment and computer readable storage medium
CN110750440A (en) Data testing method and terminal equipment
WO2021013057A1 (en) Data management method and apparatus, and device and computer-readable storage medium
US20090248186A1 (en) Methods and Systems for Matching Configurable Manufacturing Capacity Requirements and Availability
CN110716975A (en) Data interface generation method and data interface sharing platform
KR20210040322A (en) Scheduling method and apparatus, device and storage medium
CN110941655A (en) Data format conversion method and device
CN111190750B (en) Data processing method and system
CN109324838B (en) Execution method and execution device of single chip microcomputer program and terminal
CA3203549A1 (en) Unified verification method, device, equipment and storage medium
CN117632140A (en) Business process processing method, device and storage medium
CN116820714A (en) Scheduling method, device, equipment and storage medium of computing equipment
CN116594887A (en) CFD software-based automatic test method and system
US11372633B2 (en) Method, device and terminal apparatus for code execution and computer readable storage medium
CN115934537A (en) Interface test tool generation method, device, equipment, medium and product
CN116226078A (en) Data migration method, device, equipment and storage medium

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