A process adjustment method, device, equipment and medium
By receiving change requests, identifying the target transaction process, obtaining the target transaction process, and adjusting the target sub-transaction processes in its processing results, this method solves the problem of directly terminating the original transaction process in existing technologies, thereby improving resource utilization and processing efficiency.
Patent Information
- Application Number
- CN202211522998.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-30
- Publication Date
- 2026-01-06
- Estimated Expiration
- 2042-11-30
AI Technical Summary
Existing technologies lead to resource waste when transaction events change, especially when the original transaction is terminated and a new process is initiated directly in the transaction process, resulting in resource waste and low processing efficiency.
By receiving change requests, the system obtains each sub-transaction process with the target transaction identifier, determines the target sub-transaction process based on the pre-saved correspondence between the type and the affected sub-transaction processes, adjusts the information in its processing results, and only adjusts the affected sub-transaction processes to avoid duplicate execution.
It improved resource utilization, avoided resource waste, increased processing efficiency, reduced the workload of business personnel, and reduced the risk of duplicate accounting and reporting.
Smart Images

Figure CN115983991B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing, and more particularly to a process adjustment method, apparatus, device, and medium. Background Technology
[0002] In financial market transactions, there are instances where transactions are altered. A typical approach to handling these alterations is to terminate the original transaction process and initiate a new one, where the original process includes multiple sub-transactions. For example, if Bank A lends funds to Bank B, the electronic device executes sub-transactions such as "generating a contract account" and "determining the details of installment payments." If Bank B subsequently discovers that it no longer needs to lend the corresponding amount and negotiates with Bank A to adjust the loan amount, the original transaction process will be terminated to prevent further execution of the sub-transactions, and a new process will be initiated. Therefore, the current transaction process generation technology results in a certain degree of resource waste. Summary of the Invention
[0003] This application provides a process adjustment method, apparatus, device, and medium to solve the problem of resource waste caused by changes in transaction events in the prior art.
[0004] This application provides a process adjustment method, the method including:
[0005] Receive a change request carrying a target transaction identifier, target adjustment information, and the information type of the target adjustment information, and obtain each sub-transaction process saved for the target transaction identifier;
[0006] Based on the pre-saved correspondence between the information type and the affected sub-transaction process, determine the target sub-transaction process corresponding to the information type;
[0007] Obtain the target type that is pre-saved for the target sub-transaction process and the information type; adjust the information corresponding to the target type in the processing result corresponding to the target sub-transaction process according to the target adjustment information.
[0008] Furthermore, adjusting the information corresponding to the target type in the processing result corresponding to the target sub-transaction process based on the target adjustment information includes:
[0009] Obtain the processing methods that have been pre-saved for the target sub-transaction process and the corresponding information type;
[0010] The target adjustment information is processed using the aforementioned processing method to obtain target information;
[0011] Adjust the information corresponding to the target type in the processing result of the target sub-transaction process to the target information.
[0012] Furthermore, determining the target sub-transaction process corresponding to the information type based on the pre-saved correspondence between the types and the affected sub-transaction processes includes:
[0013] Based on the pre-saved correspondence between the information type and the affected sub-transaction processes, determine each candidate sub-transaction process corresponding to the information type;
[0014] The sub-transaction process that is completed in each candidate sub-transaction process is determined as the target sub-transaction process.
[0015] Furthermore, after obtaining each sub-transaction process saved for the target transaction identifier, and before determining the target sub-transaction process corresponding to the information type based on the pre-saved correspondence between the type and the affected sub-transaction processes, the method further includes:
[0016] If there is a sub-transaction process being executed in each of the sub-transaction processes, then the executing sub-transaction process is terminated.
[0017] Furthermore, the method also includes:
[0018] The terminated sub-transaction process is identified as an unexecuted sub-transaction process.
[0019] Furthermore, the method also includes:
[0020] If there are unexecuted sub-transaction processes in each sub-transaction process, then according to the pre-saved execution order of the sub-transaction processes, each unexecuted sub-transaction process is obtained in sequence. For each unexecuted sub-transaction process, each sub-transaction process saved for that unexecuted sub-transaction process is obtained in sequence. Based on the processing result of each sub-transaction process, the unexecuted sub-transaction process is executed.
[0021] This application embodiment also provides a process adjustment device, the device comprising:
[0022] The receiving and acquiring module is used to receive a change request carrying a target transaction identifier, target adjustment information and the information type of the target adjustment information, and to acquire each sub-transaction process saved for the target transaction identifier;
[0023] The determination module is used to determine the target sub-transaction process corresponding to the information type based on the pre-saved correspondence between the type and the affected sub-transaction processes;
[0024] The processing module is used to obtain the target type that is pre-saved for the target sub-transaction process and the information type; and to adjust the information corresponding to the target type in the processing result corresponding to the target sub-transaction process according to the target adjustment information.
[0025] Furthermore, the processing module is specifically used to obtain the processing method pre-saved for the target sub-transaction process and the information type; process the target adjustment information using the processing method to obtain the target information; and adjust the information corresponding to the target type in the processing result corresponding to the target sub-transaction process to the target information.
[0026] Furthermore, the determining module is specifically used to determine each candidate sub-transaction process corresponding to the information type based on the pre-saved correspondence between the type and the affected sub-transaction processes; and to determine the sub-transaction process that has been completed in each candidate sub-transaction process as the target sub-transaction process.
[0027] Furthermore, the processing module is also configured to terminate the executing sub-transaction process if there is an executing sub-transaction process in each sub-transaction process.
[0028] Furthermore, the processing module is also configured to determine the terminated sub-transaction process as an unexecuted sub-transaction process.
[0029] Furthermore, the processing module is also configured to, if there are unexecuted sub-transaction processes in each sub-transaction process, sequentially obtain each unexecuted sub-transaction process according to the pre-saved execution order of the sub-transaction processes, sequentially obtain each sub-transaction process saved for each unexecuted sub-transaction process, and execute the unexecuted sub-transaction process according to the processing result of each sub-transaction process.
[0030] This application also provides an electronic device, which includes at least a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the steps of the process adjustment method as described in any of the above claims.
[0031] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the process adjustment method described in any of the preceding claims.
[0032] This application also provides a computer program product, which includes: computer program code, which, when run on a computer, causes the computer to perform the steps of the process adjustment method described in any of the above embodiments.
[0033] In this embodiment, the electronic device receives a change request carrying a target transaction identifier, target adjustment information, and the information type of the target adjustment information. It retrieves each sub-transaction process saved for the target transaction identifier, determines the target sub-transaction process corresponding to the information type based on the pre-saved correspondence between the type and the affected sub-transaction processes, retrieves the target type pre-saved for the target sub-transaction process and the corresponding information type, and adjusts the information corresponding to the target type in the processing result of the target sub-transaction process according to the target adjustment information. Because in this embodiment, after receiving a change request, the electronic device retrieves each sub-transaction process saved for the target transaction identifier carried in the change request, and determines the target sub-transaction process corresponding to the information type carried in the change request based on the pre-saved correspondence between the type and the affected sub-transaction processes, it only adjusts the target sub-transaction processes affected by the change request, thereby improving resource utilization and avoiding resource waste. Attached Figure Description
[0034] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0035] Figure 1 A schematic diagram of a process adjustment procedure provided in an embodiment of this application;
[0036] Figure 2 This application provides a schematic diagram of a transaction event change processing procedure as an embodiment of the present application.
[0037] Figure 3 This is a schematic diagram of a process adjustment device provided in an embodiment of this application;
[0038] Figure 4 This is a schematic diagram of an electronic device structure provided in an embodiment of this application. Detailed Implementation
[0039] The present application will now be described in further detail with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present application.
[0040] To improve resource utilization, embodiments of this application provide a process adjustment method, apparatus, device, and medium. The process adjustment method includes: an electronic device receiving a change request carrying a target transaction identifier, target adjustment information, and the information type of the target adjustment information; obtaining each sub-transaction process stored for the target transaction identifier; determining the target sub-transaction process corresponding to the information type based on a pre-stored correspondence between the type and the affected sub-transaction processes; obtaining the target type pre-stored for the target sub-transaction process and the corresponding information type; and adjusting the information corresponding to the target type in the processing result of the target sub-transaction process based on the target adjustment information, thereby improving resource utilization and avoiding resource waste.
[0041] Example 1:
[0042] Figure 1 A schematic diagram of a process adjustment procedure provided in this application embodiment is shown, which includes the following steps:
[0043] S101: Receive a change request carrying a target transaction identifier, target adjustment information and the information type of the target adjustment information, and obtain each sub-transaction process saved for the target transaction identifier.
[0044] The process adjustment method provided in this application is applied to an electronic device, which can be a smart device such as a PC or a server.
[0045] In this embodiment, when both parties to a transaction need to modify the transaction, they can inform a staff member, who can then operate their own device. This device can recognize the staff member's operation and obtain a modification request. This modification request carries a target transaction identifier, target adjustment information, and the type of information for the target adjustment information. Each transaction has a corresponding transaction identifier, and each transaction has a unique transaction identifier. The target adjustment information is the information to be adjusted; for example, if the original information is name A, and the goal is to change name A to name B, then the target adjustment information is name B. Specifically, the staff member can select the target transaction identifier, target adjustment information, and the type of information for the target adjustment information on a preset page of their device and click a preset button. The staff member's device will then obtain the modification request. After obtaining the modification request, the staff member's device can send it to an electronic device, which will then receive the modification request carrying the target transaction identifier, target adjustment information, and the type of information for the target adjustment information.
[0046] To enable adjustments to the process, the electronic device pre-stores the mapping between transaction identifiers and sub-transaction processes. A sub-transaction process refers to the specific execution steps involved in processing a transaction. For example, a sub-transaction process corresponding to a particular transaction identifier might include generating a contract account and determining the details of installment payments. A single transaction identifier can correspond to multiple sub-transaction processes or just one. Upon receiving a change request, the electronic device can retrieve each sub-transaction process corresponding to the target transaction identifier based on the pre-stored mapping.
[0047] S102: Determine the target sub-transaction process corresponding to the information type based on the pre-saved correspondence between the type and the affected sub-transaction process.
[0048] In this embodiment, different information types of the target adjustment information may correspond to different affected sub-transaction processes, thus requiring different adjustments to the sub-transaction processes. For example, information type A corresponds to sub-transaction process A, and information type B corresponds to sub-transaction process B. To obtain the target sub-transaction process requiring adjustment, the electronic device pre-stores the correspondence between types and affected sub-transaction processes. The electronic device can then use this pre-stored correspondence to obtain the sub-transaction process corresponding to the information type carried in the received change request, and identify the obtained sub-transaction process as the target sub-transaction process affected by the change request. The electronic device can then adjust the information in the subsequent processing result of this target sub-transaction process.
[0049] S103: Obtain the target type that is pre-saved for the target sub-transaction process and the information type; adjust the information corresponding to the target type in the processing result corresponding to the target sub-transaction process according to the target adjustment information.
[0050] In this embodiment, after obtaining the target sub-transaction process, the electronic device adjusts the information in the processing result of the target sub-transaction process. Specifically, the electronic device locally stores the correspondence between sub-transaction processes and information types. The type corresponding to a certain sub-transaction process and a certain information type refers to the type of information that needs to be adjusted in the processing result of the sub-transaction process when the information of that information type changes. The electronic device can obtain the target type corresponding to the target sub-transaction process and information type, and adjust the information corresponding to the target type in the processing result of the target sub-transaction process according to the target adjustment information carried in the change request. Specifically, the electronic device stores the correspondence between each piece of information and type in the processing result of the target sub-transaction. The electronic device can determine the information corresponding to the target type based on this correspondence, and the electronic device stores a corresponding processing method for the target type. It uses the obtained processing method to process the target adjustment information, obtains the processed information, and uses this information to adjust the information corresponding to the target type in the processing result of the target sub-transaction process.
[0051] Each sub-transaction process corresponding to the target transaction identifier obtained by the electronic device can be referred to as the sub-transaction process corresponding to the main transaction event. The sub-transaction process adjusted by the method provided in the embodiments of this application, and the sub-transaction process that does not need to be adjusted, can be referred to as the sub-transaction process corresponding to the secondary transaction event.
[0052] The method provided in this application embodiment allows an electronic device to systematically adjust overall business information and business processing results upon receiving a change request, i.e., when a transaction event changes. Specifically, it adjusts the target type information in the processing results of sub-transaction processes. The method provided in this application embodiment improves upon existing technology and is applicable to financial market back-office business systems with complex processing procedures and numerous sub-transaction processes. The solution provided in this application embodiment only adjusts the processing results of affected sub-transaction processes, leaving the results of unaffected sub-transaction processes unchanged, thereby improving resource utilization.
[0053] In this embodiment of the application, after receiving a change request, the electronic device obtains each sub-transaction process corresponding to the target transaction identifier carried in the change request and determines the target sub-transaction process corresponding to the information type carried in the change request based on the pre-saved correspondence between the type and the affected sub-transaction process. Only the target sub-transaction process affected by the change request is adjusted, thereby improving resource utilization and avoiding resource waste.
[0054] Example 2:
[0055] In order to accurately adjust the information in the processing result of the target sub-transaction process, based on the above embodiments, in this embodiment, adjusting the information corresponding to the target type in the processing result of the target sub-transaction process according to the target adjustment information includes:
[0056] Obtain the processing methods that have been pre-saved for the target sub-transaction process and the corresponding information type;
[0057] The target adjustment information is processed using the aforementioned processing method to obtain target information;
[0058] Adjust the information corresponding to the target type in the processing result of the target sub-transaction process to the target information.
[0059] In this embodiment, the electronic device pre-stores the correspondence between the types of sub-transaction processes and information, and the processing methods. The electronic device can obtain the stored processing method corresponding to the target sub-transaction type and the information type carried in the change request, and use the processing method to process the target adjustment information to obtain the processing result. This processing result is the target information. The target information is the accurate information corresponding to the target type in the processing result of the target sub-transaction process after the information is adjusted to the target adjustment information. Therefore, after obtaining the target information, the electronic device can obtain the information corresponding to the target type in the processing result of the target sub-transaction process and adjust the obtained information to the target information. The processing result corresponding to the target sub-transaction process refers to the result obtained after processing using the target sub-transaction process. A sub-transaction process can include multiple processing results or only one processing result.
[0060] In practical applications, some sub-transaction processes may require review by business personnel. In this embodiment, if a sub-transaction process requiring review is an affected target sub-transaction process, then after the processing result of that sub-transaction process is adjusted, review by business personnel is required. If a sub-transaction process is unaffected but still requires review by business personnel, then review by business personnel is unnecessary. However, by re-executing each sub-transaction process using existing methods, if any of these re-executed sub-transaction processes require review by business personnel, then such review is necessary. Therefore, the method provided in this embodiment can reduce the workload for business personnel.
[0061] This application provides a design concept and model for implementing transaction event changes in a fund back-end business system. By modeling, it improves upon existing methods for executing sub-transaction processes, eliminating the need to re-execute already executed sub-transaction processes, thus improving processing efficiency and avoiding the risk of duplicate accounting and reporting. Furthermore, the method provided in this application is simple, effective, and logically consistent.
[0062] Example 3:
[0063] To accurately determine the target sub-transaction process, based on the above embodiments, in this embodiment, determining the target sub-transaction process corresponding to the information type according to the pre-saved correspondence between the type and the affected sub-transaction processes includes:
[0064] Based on the pre-saved correspondence between the information type and the affected sub-transaction processes, determine each candidate sub-transaction process corresponding to the information type;
[0065] The sub-transaction process that is completed in each candidate sub-transaction process is determined as the target sub-transaction process.
[0066] In practical applications, after obtaining each sub-transaction process corresponding to the target transaction identifier, the electronic device may have sub-transaction processes that have not been executed. Therefore, in this embodiment, the electronic device determines the target sub-transaction process affected by the change request from among the completed sub-transaction processes. Specifically, in this embodiment, the electronic device locally stores a correspondence between types and affected sub-transaction processes. The number of affected sub-transaction processes corresponding to a certain type can be one or more. When the information of a certain type is adjusted, some information in the processing results of the affected sub-transaction processes corresponding to that type will change. Based on the pre-stored correspondence between types and affected sub-transaction processes, the electronic device determines each candidate sub-transaction process corresponding to the information type carried in the change request. After obtaining each candidate sub-transaction process, it obtains the completed sub-transaction processes in each candidate sub-transaction process and determines the completed sub-transaction processes in each candidate sub-transaction process as the target sub-transaction process.
[0067] It is worth noting that existing solutions directly terminate the original transaction process and re-execute a new one. When the transaction process contains numerous sub-transactions, this is inefficient, simplistic, and prone to losing the normal business status of the transaction, hindering the continuity of business status. Business status refers to states such as pending payment or payment completed. When a change request is received, the business status does not change. However, existing methods require re-determining the corresponding business status, thus hindering the continuity of business status. Furthermore, re-executing many already executed sub-transactions can lead to the duplicate execution of important sub-transactions, potentially affecting the corresponding accounting and messaging if not properly controlled. Messages refer to the information sent to both parties after all sub-transactions have been completed. This application provides an improved overall logic implementation technique that, based on existing technology, performs segmented continuation processing, eliminating the need to re-execute already executed sub-transactions, improving processing efficiency, avoiding the risk of duplicate accounting and messaging, and making it suitable for financial market back-end transactions with numerous sub-transactions.
[0068] Example 4:
[0069] To improve resource utilization, based on the above embodiments, in this embodiment, after obtaining each sub-transaction process saved for the target transaction identifier, and before determining the target sub-transaction process corresponding to the information type according to the pre-saved correspondence between the type and the affected sub-transaction processes, the method further includes:
[0070] If there is a sub-transaction process being executed in each of the sub-transaction processes, then the sub-transaction process being executed is terminated.
[0071] In this embodiment, after obtaining each sub-transaction process corresponding to the target transaction identifier carried in the change request, it is determined whether there is a sub-transaction process being executed in each sub-transaction process. If there is a sub-transaction process being executed, the electronic device terminates the executing sub-transaction process, which is equivalent to freezing the executing sub-transaction process. Once a sub-transaction process is terminated, no staff member can operate on that sub-transaction process, and the electronic device no longer has the authority to operate on that sub-transaction process.
[0072] To improve resource utilization, based on the above embodiments, the method in this application embodiment further includes:
[0073] The terminated sub-transaction process is identified as an unexecuted sub-transaction process.
[0074] In this embodiment of the application, after terminating a sub-transaction process that is being executed, the electronic device determines the terminated sub-transaction process as an unexecuted sub-transaction process.
[0075] The smallest unit of change in the transaction process is a sub-transaction process or a grandchild transaction process. In this embodiment, they are all referred to as sub-transaction processes. The electronic device determines which sub-transaction processes will be affected based on the type of information carried in the change request, and adjusts the information in the processing results of the affected sub-transaction processes, which is equivalent to creating new sub-transaction processes. Unaffected sub-transaction processes are not adjusted, which is equivalent to reusing them. In this embodiment, when a transaction event changes, the transaction record under the target transaction identifier is first located, and the correspondence between the transaction identifier and the sub-transaction process can be stored in this transaction record.
[0076] One common business scenario faced by financial market fund trading back-end systems is that a single transaction event involves multiple sub-transaction processes. When a new transaction event is received, a new sub-transaction process is added, which can be called the forward process. When changes are made to the transaction event, there are two approaches: modifying the corresponding sub-transaction process or terminating it. Modifying and terminating the corresponding sub-transaction process can be called the reverse process. Sub-transaction processes need to be correctly connected and controlled. When a reverse process occurs, the entire forward process that has already been processed needs to be frozen first. That is, the currently executing sub-transaction process is terminated, and any unexecuted sub-transaction processes are prevented from being executed. Then, the completed sub-transaction processes are retrieved to determine if they have been affected. If they have been affected, the information in the processing result of the sub-transaction process is adjusted; otherwise, no adjustment is made to the information in the processing result of the sub-transaction process.
[0077] Example 5:
[0078] In order to accurately execute the sub-transaction process, based on the above embodiments, the method in this application embodiment further includes:
[0079] If there are unexecuted sub-transaction processes in each sub-transaction process, then according to the pre-saved execution order of the sub-transaction processes, each unexecuted sub-transaction process is obtained in sequence. For each unexecuted sub-transaction process, each sub-transaction process saved for that unexecuted sub-transaction process is obtained in sequence. Based on the processing result of each sub-transaction process, the unexecuted sub-transaction process is executed.
[0080] In this embodiment, after obtaining each sub-transaction process corresponding to the target transaction identifier, the electronic device determines whether there are any unexecuted sub-transaction processes within each sub-transaction process. If there are unexecuted sub-transaction processes, the electronic device obtains the saved execution order of each sub-transaction process. Based on the obtained execution order, it sequentially obtains each unexecuted sub-transaction process, and for each unexecuted sub-transaction process, it obtains the saved sub-transaction process for that sub-transaction process and the processing result of each sub-transaction process. The processing result of each sub-transaction process is the processing result required for the execution of that sub-transaction process. Therefore, the electronic device can execute the unexecuted sub-transaction process based on the obtained processing result of each sub-transaction process. Specifically, how to execute the sub-transaction process based on the required processing result is prior art and will not be elaborated here.
[0081] In this embodiment, after adjusting the information in the processing result of the target sub-transaction process, the electronic device can generate a version number and save the correspondence between the target transaction identifier and the version number. The electronic device also saves the correspondence between the target transaction identifier and the version number when no change request is received, and the two version numbers are different. Different version numbers can be generated incrementally. For a transaction event, each transaction change affects the current transaction event, forming corresponding transaction information. To accurately express and record each difference, this embodiment uses different version numbers to distinguish the forward or reverse flow of each transaction event. Therefore, each accessed transaction event is defined with a version number, and the version number changes each time the forward or reverse flow of a transaction event occurs. Based on the transaction identifier and the version number, a valid transaction can be uniquely identified.
[0082] Figure 2 This is a schematic diagram of a transaction event change processing procedure provided in an embodiment of this application.
[0083] Figure 2 The nodes in the process represent different sub-transaction processes. Figure 2 The nodes marked as "completed" represent each sub-transaction process that has been completed when the change request is received. Figure 2 The nodes marked as incomplete represent each sub-transaction process that was not executed when a change request was received. Figure 2 It can be seen that each sub-transaction process saved for the target transaction identifier carried in the change request includes transaction access, confirmation access check, fast transaction confirmation, clearing and settlement access check, fast clearing and settlement delivery cash flow, transaction review, ordinary clearing and settlement transaction confirmation, balance management, accounting management, clearing and settlement, and message sending and receiving. Figure 2The arrows between nodes indicate the execution order of the corresponding sub-transaction processes. When the arrow points to a sub-transaction process, its processing result needs to be obtained. Figure 2 The pruning mechanism in this context refers to pausing the execution of unexecuted sub-transaction processes upon receiving a change request. Figure 2 It can be seen that, Figure 2 In each sub-transaction process shown, the following sub-transaction processes require the following processing results: * **Confirmation of Access Check:** Requires obtaining the processing result of the *Transaction Access* sub-transaction process. * **Fast Transaction Confirmation:** Requires obtaining the processing result of the *Confirmation of Access Check* sub-transaction process. * **Clearing and Settlement Access Check:** Requires obtaining the processing result of the *Confirmation of Access Check* sub-transaction process. * **Fast Clearing and Settlement Cash Flow:** Requires obtaining the processing result of the *Clearing and Settlement Access Check* sub-transaction process and the *Transaction Review* sub-transaction process. * **Transaction Review:** Requires obtaining the processing result of the *Clearing and Settlement Access Check* sub-transaction process. The *Ordinary Clearing and Settlement Transaction Confirmation* sub-transaction process... When the process is executed, it needs to obtain the processing results of the transaction review sub-process; when the balance management sub-process is executed, it needs to obtain the processing results of the transaction review sub-process; when the accounting management sub-process is executed, it needs to obtain the processing results of the transaction review sub-process, the balance management sub-process, and the clearing and settlement sub-process; when the clearing and settlement sub-process is executed, it needs to obtain the processing results of the fast transaction confirmation sub-process, the fast clearing and settlement cash flow delivery sub-process, and the ordinary clearing and settlement transaction confirmation sub-process; when the message sending and receiving sub-process is executed, it needs to obtain the processing results of the clearing and settlement sub-process.
[0084] In this embodiment, the operational characteristics of the financial market fund trading back-end are intensive operation and inherent unified operation characteristics across business products. Through refinement, the staff has summarized a standard operation process system. The entire process is divided into three levels. When a transaction event is accessed, the electronic device creates the main transaction process. This process does not perform specific operations, but rather realizes scheduling and coordination between various sub-transaction processes. After the main transaction process is created, sub-transaction processes responsible for module operations are automatically created, such as confirmation sub-transaction process, clearing and settlement sub-transaction process, and balance management sub-transaction process. Within the sub-transaction process, subordinate sub-transaction processes can be created according to different channels or scenarios to be responsible for specific channel or scenario operations.
[0085] Example 6:
[0086] Figure 3This application provides a schematic diagram of a process adjustment device, which includes:
[0087] The receiving and acquiring module 301 is used to receive a change request carrying a target transaction identifier, target adjustment information and the information type of the target adjustment information, and to acquire each sub-transaction process saved for the target transaction identifier;
[0088] The determining module 302 is used to determine the target sub-transaction process corresponding to the information type based on the pre-saved correspondence between the type and the affected sub-transaction process;
[0089] The processing module 303 is used to obtain the target type that is pre-saved for the target sub-transaction process and the information type; and to adjust the information corresponding to the target type in the processing result corresponding to the target sub-transaction process according to the target adjustment information.
[0090] In one possible implementation, the processing module 303 is specifically used to obtain a processing method that is pre-saved for the target sub-transaction process and the information type; process the target adjustment information using the processing method to obtain target information; and adjust the information corresponding to the target type in the processing result corresponding to the target sub-transaction process to the target information.
[0091] In one possible implementation, the determining module 302 is specifically used to determine each candidate sub-transaction process corresponding to the information type based on the pre-saved correspondence between the type and the affected sub-transaction processes; and to determine the sub-transaction process that has been completed in each candidate sub-transaction process as the target sub-transaction process.
[0092] In one possible implementation, the processing module 303 is further configured to terminate the executing sub-transaction process if there is an executing sub-transaction process in each sub-transaction process.
[0093] In one possible implementation, the processing module 303 is further configured to determine the terminated sub-transaction process as an unexecuted sub-transaction process.
[0094] In one possible implementation, the processing module 303 is further configured to, if there is an unexecuted sub-transaction process in each sub-transaction process, sequentially obtain each unexecuted sub-transaction process according to the pre-saved execution order of the sub-transaction processes, sequentially obtain each sub-transaction process saved for each unexecuted sub-transaction process, and execute the unexecuted sub-transaction process according to the processing result of each sub-transaction process.
[0095] Example 7:
[0096] Figure 4 This application provides a schematic diagram of an electronic device structure based on an embodiment of the present application. In addition to the above embodiments, this application also provides an electronic device, such as... Figure 4 As shown, it includes: processor 401, communication interface 402, memory 403 and communication bus 404, wherein processor 401, communication interface 402 and memory 403 communicate with each other through communication bus 404.
[0097] The memory 403 stores a computer program, which, when executed by the processor 401, causes the processor 401 to perform the following steps:
[0098] Receive a change request carrying a target transaction identifier, target adjustment information, and the information type of the target adjustment information, and obtain each sub-transaction process saved for the target transaction identifier;
[0099] Based on the pre-saved correspondence between the information type and the affected sub-transaction process, determine the target sub-transaction process corresponding to the information type;
[0100] Obtain the target type that is pre-saved for the target sub-transaction process and the information type; adjust the information corresponding to the target type in the processing result corresponding to the target sub-transaction process according to the target adjustment information.
[0101] Furthermore, the processor 401 is specifically used to obtain the processing method that is pre-saved for the target sub-transaction process and the information type;
[0102] The target adjustment information is processed using the aforementioned processing method to obtain target information;
[0103] Adjust the information corresponding to the target type in the processing result of the target sub-transaction process to the target information.
[0104] Furthermore, the processor 401 is specifically configured to determine each candidate sub-transaction process corresponding to the information type based on the pre-saved correspondence between the type and the affected sub-transaction processes;
[0105] The sub-transaction process that is completed in each candidate sub-transaction process is determined as the target sub-transaction process.
[0106] Furthermore, the processor 401 is also configured to terminate the executing sub-transaction process if there is an executing sub-transaction process in each sub-transaction process.
[0107] Furthermore, the processor 401 is also configured to determine the terminated sub-transaction process as an unexecuted sub-transaction process.
[0108] Furthermore, the processor 401 is also configured to, if there is an unexecuted sub-transaction process in each sub-transaction process, sequentially obtain each unexecuted sub-transaction process according to the pre-saved execution order of the sub-transaction processes, sequentially obtain each sub-transaction process saved for each unexecuted sub-transaction process, and execute the unexecuted sub-transaction process according to the processing result of each sub-transaction process.
[0109] The communication bus mentioned in the above server can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0110] The communication interface is used for communication between the aforementioned electronic devices and other devices.
[0111] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0112] The processors mentioned above can be general-purpose processors, including central processing units, network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits, field-programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0113] Example 8:
[0114] Based on the above embodiments, this application also provides a computer-readable storage medium storing a computer program executable by an electronic device. When the program is run on the electronic device, the electronic device performs the following steps:
[0115] The memory stores a computer program that, when executed by the processor, causes the processor to perform the following steps:
[0116] Receive a change request carrying a target transaction identifier, target adjustment information, and the information type of the target adjustment information, and obtain each sub-transaction process saved for the target transaction identifier;
[0117] Based on the pre-saved correspondence between the information type and the affected sub-transaction process, determine the target sub-transaction process corresponding to the information type;
[0118] Obtain the target type that is pre-saved for the target sub-transaction process and the information type; adjust the information corresponding to the target type in the processing result corresponding to the target sub-transaction process according to the target adjustment information.
[0119] In one possible implementation, adjusting the information corresponding to the target type in the processing result corresponding to the target sub-transaction process according to the target adjustment information includes:
[0120] Obtain the processing methods that have been pre-saved for the target sub-transaction process and the corresponding information type;
[0121] The target adjustment information is processed using the aforementioned processing method to obtain target information;
[0122] Adjust the information corresponding to the target type in the processing result of the target sub-transaction process to the target information.
[0123] In one possible implementation, determining the target sub-transaction process corresponding to the information type based on a pre-saved correspondence between the type and the affected sub-transaction processes includes:
[0124] Based on the pre-saved correspondence between the information type and the affected sub-transaction processes, determine each candidate sub-transaction process corresponding to the information type;
[0125] The sub-transaction process that is completed in each candidate sub-transaction process is determined as the target sub-transaction process.
[0126] In one possible implementation, after obtaining each sub-transaction process saved for the target transaction identifier, and before determining the target sub-transaction process corresponding to the information type based on the pre-saved correspondence between the type and the affected sub-transaction processes, the method further includes:
[0127] If there is a sub-transaction process being executed in each of the sub-transaction processes, then the executing sub-transaction process is terminated.
[0128] In one possible implementation, the method further includes:
[0129] The terminated sub-transaction process is identified as an unexecuted sub-transaction process.
[0130] In one possible implementation, the method further includes:
[0131] If there are unexecuted sub-transaction processes in each sub-transaction process, then according to the pre-saved execution order of the sub-transaction processes, each unexecuted sub-transaction process is obtained in sequence. For each unexecuted sub-transaction process, each sub-transaction process saved for that unexecuted sub-transaction process is obtained in sequence. Based on the processing result of each sub-transaction process, the unexecuted sub-transaction process is executed.
[0132] Example 9:
[0133] This application also provides a computer program product that, when executed by a computer, implements the process adjustment method described in any of the method embodiments applied to electronic devices.
[0134] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof, or in whole or in part, as a computer program product. The computer program product includes one or more computer instructions, which, when loaded and executed on a computer, generate, in whole or in part, the processes or functions described in the embodiments of this application.
[0135] In this embodiment of the application, after receiving a change request, the electronic device obtains each sub-transaction process corresponding to the target transaction identifier carried in the change request and determines the target sub-transaction process corresponding to the information type carried in the change request based on the pre-saved correspondence between the type and the affected sub-transaction process. Only the target sub-transaction process affected by the change request is adjusted, thereby improving resource utilization and avoiding resource waste.
[0136] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0137] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0138] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0139] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0140] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A process adjustment method characterized by, The method comprises: receiving a change request carrying a target transaction identifier, target adjustment information and an information type of the target adjustment information, and obtaining each sub-transaction process saved for the target transaction identifier; determining a target sub-transaction process corresponding to the information type according to a pre-stored correspondence between the type and the affected sub-transaction process; obtaining a target type pre-stored for the target sub-transaction process and the information type, and adjusting information corresponding to the target type in a processing result corresponding to the target sub-transaction process according to the target adjustment information.
2. The method of claim 1, wherein, The adjusting information corresponding to the target type in the processing result corresponding to the target sub-transaction process according to the target adjustment information comprises: obtaining a processing mode pre-stored for the target sub-transaction process and the information type; processing the target adjustment information by using the processing mode to obtain target information; adjusting the information corresponding to the target type in the processing result corresponding to the target sub-transaction process to the target information.
3. The method of claim 1, wherein, The determining the target sub-transaction process corresponding to the information type according to the pre-stored correspondence between the type and the affected sub-transaction process comprises: determining each candidate sub-transaction process corresponding to the information type according to the pre-stored correspondence between the type and the affected sub-transaction process; determining a sub-transaction process that is executed in each candidate sub-transaction process as the target sub-transaction process.
4. The method of claim 3, wherein, After the obtaining each sub-transaction process saved for the target transaction identifier, and before the determining the target sub-transaction process corresponding to the information type according to the pre-stored correspondence between the type and the affected sub-transaction process, the method further comprises: if there is a sub-transaction process being executed in each sub-transaction process, terminating the sub-transaction process being executed.
5. The method of claim 4, wherein, The method further comprises: determining the sub-transaction process being executed that is terminated as a sub-transaction process not being executed.
6. The method of claim 1, wherein, The method further comprises: if there is a sub-transaction process not being executed in each sub-transaction process, obtaining each sub-transaction process not being executed in sequence according to a pre-stored execution order of the sub-transaction process, obtaining each sub-transaction process saved for the sub-transaction process not being executed in sequence for each sub-transaction process not being executed, and executing the sub-transaction process not being executed according to a processing result of the each sub-transaction process.
7. A flow adjustment device, characterized by The device comprises: a receiving and obtaining module configured to receive a change request carrying a target transaction identifier, target adjustment information and an information type of the target adjustment information, and obtain each sub-transaction process saved for the target transaction identifier; a determining module configured to determine a target sub-transaction process corresponding to the information type according to a pre-stored correspondence between the type and the affected sub-transaction process; a processing module configured to obtain a target type pre-stored for the target sub-transaction process and the information type, and adjust information corresponding to the target type in a processing result corresponding to the target sub-transaction process according to the target adjustment information.
8. The apparatus of claim 7, wherein, The processing module is specifically configured to acquire a processing mode corresponding to the target sub-transaction process and the information type, and process the target adjustment information by using the processing mode to acquire target information; and adjust information corresponding to the target type in a processing result corresponding to the target sub-transaction process to the target information.
9. The apparatus of claim 7, wherein, The determining module is specifically configured to determine each candidate sub-transaction process corresponding to the information type according to a pre-stored correspondence relationship between a type and an affected sub-transaction process, and determine a sub-transaction process that has been executed in each candidate sub-transaction process as a target sub-transaction process.
10. The apparatus of claim 9, wherein, The processing module is further configured to terminate an executing sub-transaction process if there is an executing sub-transaction process in each sub-transaction process.
11. The apparatus of claim 10, wherein, The processing module is further configured to determine the executing sub-transaction process that is terminated as an unexecuted sub-transaction process.
12. The apparatus of claim 7, wherein, The processing module is further configured to acquire each unexecuted sub-transaction process according to a pre-stored execution order of the sub-transaction process if there is an unexecuted sub-transaction process in each sub-transaction process, acquire each sub-transaction process saved for the unexecuted sub-transaction process for each unexecuted sub-transaction process in sequence, and execute the unexecuted sub-transaction process according to a processing result of the each sub-transaction process.
13. An electronic device, comprising: The electronic device at least includes a processor and a memory, and the processor is configured to implement the steps of the process adjustment method according to any one of claims 1-6 when executing a computer program stored in the memory.
14. A computer-readable storage medium, characterized in that, The computer program stored in the memory is executed by the processor to implement the steps of the process adjustment method according to any one of claims 1-6.
15. A computer program product, characterised in that, The computer program product includes computer program code, which, when executed on a computer, causes the computer to perform the steps of the process adjustment method according to any one of claims 1-6.
Citation Information
Patent Citations
Business processing method, business processing device, storage medium and electronic equipment
CN111626602A
Business and process engine mapping management method and device, electronic equipment and medium
CN112418720A