CN115731019A - Flexible transaction data processing method and device - Google Patents

Flexible transaction data processing method and device Download PDF

Info

Publication number
CN115731019A
CN115731019A CN202211518042.5A CN202211518042A CN115731019A CN 115731019 A CN115731019 A CN 115731019A CN 202211518042 A CN202211518042 A CN 202211518042A CN 115731019 A CN115731019 A CN 115731019A
Authority
CN
China
Prior art keywords
transaction
sub
query
service
inquiry
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
CN202211518042.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.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202211518042.5A priority Critical patent/CN115731019A/en
Publication of CN115731019A publication Critical patent/CN115731019A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the application provides a flexible transaction data processing method and a device, wherein the method comprises the following steps: acquiring user transaction data and synchronously calling pre-inquiry transactions of all sub-services so as to enable all sub-services to perform transaction account number pre-inquiry operation according to the pre-inquiry transactions and the user transaction data; receiving a transaction account number pre-query operation result sent by each sub-service, and executing corresponding service operation according to the transaction account number pre-query operation result; the method and the device can improve the consistency of the flexible affairs on the basis of reducing time and resource waste caused by the environment to the affairs.

Description

Flexible transaction data processing method and device
Technical Field
The application relates to the field of data processing, in particular to a flexible transaction data processing method and device.
Background
The bank has flexible transaction scenes under the traditional architecture, such as inter-bank transfer, fund purchase, bank certificate transfer and the like, the problem is more prominent particularly under the micro-service architecture, a lot of local transactions in a single system can also become cross-product distributed transactions, products even belong to different enterprises or units, and the problem of inconsistent transaction under the condition of cross-enterprise products is caused.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides a flexible transaction data processing method and device, which can improve the consistency of flexible transactions on the basis of reducing time and resource waste caused by the environment to the transactions.
In order to solve at least one of the above problems, the present application provides the following technical solutions:
in a first aspect, the present application provides a flexible transaction data processing method, including:
acquiring user transaction data and synchronously calling pre-inquiry transactions of all sub-services so as to enable all sub-services to perform transaction account number pre-inquiry operation according to the pre-inquiry transactions and the user transaction data;
and receiving the transaction account number pre-query operation result sent by each sub-service, and executing corresponding service operation according to the transaction account number pre-query operation result.
Further, the acquiring user transaction data and synchronously invoking pre-query transactions of each sub-service to enable each sub-service to perform transaction account pre-query operation according to the pre-query transactions and the user transaction data includes:
acquiring account information in user transaction data and synchronously calling pre-inquiry transactions of each sub-service;
and each sub-service carries out account authority and payment receiving information pre-inquiry operation according to the pre-inquiry transaction and the account information.
Further, the acquiring user transaction data and synchronously invoking pre-inquiry transactions of each sub-service to enable each sub-service to perform transaction account pre-inquiry operation according to the pre-inquiry transactions and the user transaction data includes:
acquiring transaction amount information in user transaction data and synchronously calling pre-inquiry transactions of all sub-services;
and each sub-service carries out transaction amount pre-inquiry operation according to the pre-inquiry transaction and the transaction amount information.
Further, the executing the corresponding business operation according to the transaction account number pre-query operation result includes:
if the transaction account number pre-inquiry operation result is passed, executing a preset transaction processing operation;
and if the transaction account number pre-inquiry operation result is that the transaction account number pre-inquiry operation result does not pass, returning a transaction failure signal.
In a second aspect, the present application provides a flexible transaction data processing apparatus, comprising:
the pre-query module is used for acquiring user transaction data and synchronously calling pre-query transactions of each sub-service so as to enable each sub-service to perform transaction account pre-query operation according to the pre-query transactions and the user transaction data;
and the flexible execution module is used for receiving the transaction account number pre-query operation result sent by each sub-service and executing corresponding service operation according to the transaction account number pre-query operation result.
Further, the pre-query module comprises:
the account information acquisition unit is used for acquiring account information in user transaction data and synchronously calling pre-inquiry transactions of each sub-service;
and the account number pre-query unit is used for pre-query operation of account number authority and payment information by each sub-service according to the pre-query transaction and the account number information.
Further, the pre-query module comprises:
the amount information acquisition unit is used for acquiring transaction amount information in the user transaction data and synchronously calling pre-inquiry transactions of all sub-services;
and the money pre-query unit is used for carrying out transaction money pre-query operation on each sub-service according to the pre-query transaction and the transaction money information.
Further, the flexible execution module comprises:
the transaction success unit is used for executing preset transaction processing operation if the transaction account number pre-inquiry operation result is passed;
and the transaction failure unit is used for returning a transaction failure signal if the transaction account number pre-inquiry operation result is failed.
In a third aspect, the present application provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the flexible transaction data processing method.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the flexible transaction data processing method described herein.
In a fifth aspect, the present application provides a computer program product comprising computer programs/instructions which, when executed by a processor, implement the steps of the flexible transaction data processing method.
According to the technical scheme, the method and the device for processing the flexible transaction data are characterized in that pre-inquiry transactions of sub-services are synchronously called by acquiring user transaction data, so that the sub-services perform transaction account pre-inquiry operation according to the pre-inquiry transactions and the user transaction data; and receiving the transaction account number pre-query operation result sent by each sub-service, and executing corresponding service operation according to the transaction account number pre-query operation result, so that the consistency of flexible transactions can be improved on the basis of reducing time and resource waste caused by the environment to the transactions.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following descriptions are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart of a flexible transaction data processing method according to an embodiment of the present application;
FIG. 2 is a second flowchart of a flexible transaction data processing method according to an embodiment of the present application;
fig. 3 is a third schematic flowchart of a flexible transaction data processing method in an embodiment of the present application;
FIG. 4 is a fourth flowchart illustrating a flexible transaction data processing method according to an embodiment of the present application;
FIG. 5 is a block diagram of one embodiment of a flexible transaction data processing device;
FIG. 6 is a second block diagram of the flexible transaction data processing device in the embodiment of the present application;
FIG. 7 is a third block diagram of a flexible transaction data processing device in an embodiment of the present application;
FIG. 8 is a fourth block diagram of a flexible transaction data processing device in the embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
According to the technical scheme, the data acquisition, storage, use, processing and the like meet the relevant regulations of national laws and regulations.
In view of the problems in the prior art, the application provides a flexible transaction data processing method and device, which are used for performing transaction account pre-query operation on each sub-service according to pre-query transactions and user transaction data by acquiring the user transaction data and synchronously calling the pre-query transactions of each sub-service; and receiving the transaction account number pre-query operation result sent by each sub-service, and executing corresponding service operation according to the transaction account number pre-query operation result, so that the consistency of flexible transactions can be improved on the basis of reducing time and resource waste caused by the environment to the transactions.
In order to improve the consistency of flexible transactions on the basis of reducing time and resource waste caused by the environment to transactions, the present application provides an embodiment of a flexible transaction data processing method, which specifically includes the following contents, with reference to fig. 1:
step S101: and acquiring user transaction data and synchronously calling pre-inquiry transactions of all sub-services so that all sub-services perform transaction account pre-inquiry operation according to the pre-inquiry transactions and the user transaction data.
Optionally, the application may obtain transaction data of the user, including but not limited to: and synchronously calling the pre-inquiry transaction of each sub-service so that each sub-service carries out the pre-inquiry operation of the transaction account number according to the pre-inquiry transaction and the user transaction data.
Optionally, each sub-service of the application may synchronously invoke test transactions (i.e., transaction account number pre-query) of the sub-service a and the sub-service B (across rows) according to the subdivision of the main service.
Specifically, after each sub-service receives the schedule, for example, sub-service A, B may perform a test pre-query transaction. The sub-service A is used as a transfer party, and can inquire whether the transferred account is frozen or not, whether the transferred account has enough money or not and the like according to the account. The sub-service B is used as a transfer party and can inquire whether the account number and the information of the payee are consistent or not.
Step S102: and receiving the transaction account number pre-query operation result sent by each sub-service, and executing corresponding service operation according to the transaction account number pre-query operation result.
Optionally, if the sub-service test transaction fails (including a failure caused by a service failure and an environmental problem), directly returning to the main service, and ending the transaction by the service failure; if the sub-service test transaction is completely successful, the main service sends a command for executing the service operation to the activity management module; and the activity management module synchronously calls the service transaction of the sub-service module and completes loan operation according to the transaction information.
As can be seen from the above description, the flexible transaction data processing method provided in the embodiment of the present application can obtain the user transaction data and synchronously invoke the pre-query transactions of each sub-service, so that each sub-service performs the transaction account pre-query operation according to the pre-query transactions and the user transaction data; and receiving the transaction account number pre-query operation result sent by each sub-service, and executing corresponding service operation according to the transaction account number pre-query operation result, so that the consistency of flexible transactions can be improved on the basis of reducing time and resource waste caused by the environment to the transactions.
In an embodiment of the flexible transaction data processing method of the present application, referring to fig. 2, the following may be further specifically included:
step S201: and acquiring account information in user transaction data and synchronously calling pre-inquiry transactions of each sub-service.
Step S202: and each sub-service carries out account authority and payment receiving information pre-inquiry operation according to the pre-inquiry transaction and the account information.
In an embodiment of the flexible transaction data processing method of the present application, referring to fig. 3, the following may be further specifically included:
step S301: and acquiring transaction amount information in the user transaction data and synchronously calling the pre-inquiry transaction of each sub-service.
Step S302: and each sub-service carries out transaction amount pre-inquiry operation according to the pre-inquiry transaction and the transaction amount information.
Specifically, after each sub-service receives the schedule, for example, sub-service A, B may perform a test pre-query transaction. The sub-service A is used as a transfer party, and can inquire whether the transferred account is frozen or not, whether the transferred account has enough money or not and the like according to the account. The sub-service B is used as a transfer party and can inquire whether the account number and the information of the payee are consistent or not.
In an embodiment of the flexible transaction data processing method of the present application, referring to fig. 4, the following may be further specifically included:
step S401: and if the transaction account number pre-inquiry operation result is passed, executing a preset transaction processing operation.
Step S402: and if the transaction account number pre-inquiry operation result is that the transaction account number pre-inquiry operation result does not pass, returning a transaction failure signal.
Optionally, if the sub-service test transaction fails (including a failure caused by a service failure and an environmental problem), directly returning to the main service, and ending the transaction by the service failure; if the sub-service test transaction is completely successful, the main service sends a command for executing the service operation to the activity management module; and the activity management module synchronously calls the service transaction of the sub-service module and completes loan operation according to the transaction information.
In order to improve the consistency of the flexible transaction on the basis of reducing the time and resource waste caused by the environment to the transaction, the present application provides an embodiment of a flexible transaction data processing apparatus for implementing all or part of the contents of the flexible transaction data processing method, and referring to fig. 5, the flexible transaction data processing apparatus specifically includes the following contents:
the pre-query module 10 is configured to acquire user transaction data and synchronously invoke pre-query transactions of each sub-service, so that each sub-service performs a transaction account pre-query operation according to the pre-query transactions and the user transaction data.
And the flexible execution module 20 is configured to receive the transaction account number pre-query operation result sent by each sub-service, and execute a corresponding service operation according to the transaction account number pre-query operation result.
As can be seen from the above description, the flexible transaction data processing apparatus provided in the embodiment of the present application can obtain the user transaction data and synchronously invoke the pre-query transactions of the sub-services, so that the sub-services perform the transaction account pre-query operation according to the pre-query transactions and the user transaction data; and receiving the transaction account number pre-query operation result sent by each sub-service, and executing corresponding service operation according to the transaction account number pre-query operation result, so that the consistency of flexible transactions can be improved on the basis of reducing time and resource waste caused by the environment to the transactions.
In an embodiment of the flexible transaction data processing device of the present application, referring to fig. 6, the pre-query module 10 includes:
and the account information acquisition unit 11 is used for acquiring account information in user transaction data and synchronously calling pre-inquiry transactions of each sub-service.
And the account number pre-query unit 12 is used for performing account number authority and payment receiving information pre-query operation on each sub-service according to the pre-query transaction and the account number information.
In an embodiment of the flexible transaction data processing device of the present application, referring to fig. 7, the pre-query module 10 includes:
and the amount information acquisition unit 13 is used for acquiring transaction amount information in the user transaction data and synchronously calling pre-inquiry transactions of each sub-service.
And the amount pre-inquiry unit 14 is used for performing transaction amount pre-inquiry operation on each sub-service according to the pre-inquiry transaction and the transaction amount information.
In an embodiment of the flexible transaction data processing device of the present application, referring to fig. 8, the flexible execution module 20 includes:
and the transaction success unit 21 is configured to execute a preset transaction processing operation if the transaction account number pre-inquiry operation result is that the transaction account number pre-inquiry operation result passes.
And the transaction failure unit 22 is used for returning a transaction failure signal if the transaction account number pre-inquiry operation result is that the transaction account number pre-inquiry operation result is not passed.
In terms of hardware, in order to improve the consistency of flexible transactions on the basis of reducing time and resource waste caused by the environment on transactions, the present application provides an embodiment of an electronic device for implementing all or part of contents in the flexible transaction data processing method, where the electronic device specifically includes the following contents:
a processor (processor), a memory (memory), a communication Interface (Communications Interface), and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the communication interface is used for realizing information transmission between the flexible transaction data processing device and relevant equipment such as a core service system, a user terminal, a relevant database and the like; the logic controller may be a desktop computer, a tablet computer, a mobile terminal, and the like, but the embodiment is not limited thereto. In this embodiment, the logic controller may be implemented with reference to the embodiments of the flexible transaction data processing method and the embodiments of the flexible transaction data processing apparatus in the embodiments, and the contents thereof are incorporated herein, and repeated details are not repeated herein.
It is understood that the user terminal may include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a Personal Digital Assistant (PDA), a vehicle-mounted device, a smart wearable device, and the like. Wherein, intelligence wearing equipment can include intelligent glasses, intelligent wrist-watch, intelligent bracelet etc..
In practical applications, part of the flexible transaction data processing method may be executed on the electronic device side as described above, or all operations may be completed in the client device. The selection may be specifically performed according to the processing capability of the client device, the limitation of the user usage scenario, and the like. This is not a limitation of the present application. The client device may further include a processor if all operations are performed in the client device.
The client device may have a communication module (i.e., a communication unit), and may be communicatively connected to a remote server to implement data transmission with the server. The server may include a server on the task scheduling center side, and in other implementation scenarios, the server may also include a server on an intermediate platform, for example, a server on a third-party server platform that is communicatively linked to the task scheduling center server. The server may include a single computer device, or may include a server cluster formed by a plurality of servers, or a server structure of a distributed apparatus.
Fig. 9 is a schematic block diagram of a system configuration of an electronic device 9600 according to the embodiment of the present application. As shown in fig. 9, the electronic device 9600 can include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. Notably, this fig. 9 is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
In one embodiment, the flexible transactional data processing method functionality can be integrated into the central processor 9100.
The central processor 9100 may be configured to control as follows:
step S101: and acquiring user transaction data and synchronously calling pre-inquiry transactions of all sub-services so that all sub-services perform transaction account pre-inquiry operation according to the pre-inquiry transactions and the user transaction data.
Step S102: and receiving the transaction account number pre-query operation result sent by each sub-service, and executing corresponding service operation according to the transaction account number pre-query operation result.
As can be seen from the above description, the electronic device provided in the embodiment of the present application obtains the user transaction data and synchronously invokes the pre-inquiry transaction of each sub-service, so that each sub-service performs the transaction account pre-inquiry operation according to the pre-inquiry transaction and the user transaction data; and receiving the transaction account number pre-query operation result sent by each sub-service, and executing corresponding service operation according to the transaction account number pre-query operation result, so that the consistency of flexible transactions can be improved on the basis of reducing time and resource waste caused by the environment to the transactions.
In another embodiment, the flexible transaction data processing apparatus may be configured separately from the central processor 9100, for example, the flexible transaction data processing apparatus may be configured as a chip connected to the central processor 9100, and the flexible transaction data processing method function is realized by the control of the central processor.
As shown in fig. 9, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 also does not necessarily include all of the components shown in fig. 9; in addition, the electronic device 9600 may further include components not shown in fig. 9, which may be referred to in the prior art.
As shown in fig. 9, a central processor 9100, sometimes referred to as a controller or operational control, can include a microprocessor or other processor device and/or logic device, which central processor 9100 receives input and controls the operation of the various components of the electronic device 9600.
The memory 9140 can be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 9100 can execute the program stored in the memory 9140 to realize information storage or processing, or the like.
The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. Power supply 9170 is used to provide power to electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, but is not limited to, an LCD display.
The memory 9140 can be a solid state memory, e.g., read Only Memory (ROM), random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 9140 could also be some other type of device. Memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 being used for storing application programs and function programs or for executing a flow of operations of the electronic device 9600 by the central processor 9100.
The memory 9140 can also include a data store 9143, the data store 9143 being used to store data, such as contacts, digital data, pictures, sounds, and/or any other data used by an electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers for the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, contact book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. The communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and receive audio input from the microphone 9132, thereby implementing ordinary telecommunications functions. The audio processor 9130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100, thereby enabling recording locally through the microphone 9132 and enabling locally stored sounds to be played through the speaker 9131.
Embodiments of the present application further provide a computer-readable storage medium capable of implementing all steps in the flexible transaction data processing method with a server or a client as an execution subject in the foregoing embodiments, where the computer-readable storage medium stores thereon a computer program, and when the computer program is executed by a processor, the computer program implements all steps of the flexible transaction data processing method with a server or a client as an execution subject in the foregoing embodiments, for example, when the processor executes the computer program, the processor implements the following steps:
step S101: and acquiring user transaction data and synchronously calling pre-inquiry transactions of all sub-services so that all sub-services perform transaction account pre-inquiry operation according to the pre-inquiry transactions and the user transaction data.
Step S102: and receiving the transaction account number pre-query operation result sent by each sub-service, and executing corresponding service operation according to the transaction account number pre-query operation result.
As can be seen from the above description, the computer-readable storage medium provided in this embodiment of the present application, by obtaining user transaction data and synchronously invoking pre-inquiry transactions of each sub-service, enables each sub-service to perform a transaction account pre-inquiry operation according to the pre-inquiry transactions and the user transaction data; and receiving the transaction account number pre-query operation result sent by each sub-service, and executing corresponding service operation according to the transaction account number pre-query operation result, so that the consistency of flexible transactions can be improved on the basis of reducing time and resource waste caused by the environment to the transactions.
Embodiments of the present application further provide a computer program product capable of implementing all steps of the flexible transaction data processing method whose execution subject is a server or a client in the foregoing embodiments, and when being executed by a processor, the computer program/instruction implements the steps of the flexible transaction data processing method, for example, the computer program/instruction implements the following steps:
step S101: and acquiring user transaction data and synchronously calling pre-inquiry transactions of all sub-services so that all sub-services perform transaction account pre-inquiry operation according to the pre-inquiry transactions and the user transaction data.
Step S102: and receiving the transaction account number pre-query operation result sent by each sub-service, and executing corresponding service operation according to the transaction account number pre-query operation result.
As can be seen from the above description, in the computer program product provided in the embodiment of the present application, by acquiring user transaction data and synchronously invoking pre-inquiry transactions of each sub-service, each sub-service performs a transaction account pre-inquiry operation according to the pre-inquiry transactions and the user transaction data; and receiving the transaction account number pre-query operation result sent by each sub-service, and executing corresponding service operation according to the transaction account number pre-query operation result, so that the consistency of flexible transactions can be improved on the basis of reducing time and resource waste caused by the environment to the transactions.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may 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, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may 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, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (11)

1. A method of flexible transactional data processing, the method comprising:
acquiring user transaction data and synchronously calling pre-inquiry transactions of all sub-services so as to enable all sub-services to perform transaction account number pre-inquiry operation according to the pre-inquiry transactions and the user transaction data;
and receiving the transaction account number pre-query operation result sent by each sub-service, and executing corresponding service operation according to the transaction account number pre-query operation result.
2. The method for processing flexible transaction data according to claim 1, wherein the acquiring user transaction data and synchronously invoking the pre-query transaction of each sub-service, so that each sub-service performs a transaction account pre-query operation according to the pre-query transaction and the user transaction data, comprises:
acquiring account information in user transaction data and synchronously calling pre-inquiry transactions of each sub-service;
and each sub-service carries out account authority and payment receiving information pre-inquiry operation according to the pre-inquiry transaction and the account information.
3. The method for processing flexible transaction data according to claim 1, wherein the acquiring user transaction data and synchronously invoking the pre-query transaction of each sub-service so that each sub-service performs a transaction account pre-query operation according to the pre-query transaction and the user transaction data comprises:
acquiring transaction amount information in user transaction data and synchronously calling pre-inquiry transactions of all sub-services;
and each sub-service carries out transaction amount pre-inquiry operation according to the pre-inquiry transaction and the transaction amount information.
4. The flexible transaction data processing method according to claim 1, wherein the executing of the corresponding business operation according to the transaction account number pre-query operation result comprises:
if the transaction account number pre-inquiry operation result is passed, executing a preset transaction processing operation;
and if the transaction account number pre-inquiry operation result is that the transaction account number pre-inquiry operation result does not pass, returning a transaction failure signal.
5. A flexible transaction data processing apparatus, comprising:
the pre-query module is used for acquiring user transaction data and synchronously calling pre-query transactions of each sub-service so as to enable each sub-service to perform transaction account pre-query operation according to the pre-query transactions and the user transaction data;
and the flexible execution module is used for receiving the transaction account number pre-query operation result sent by each sub-service and executing corresponding service operation according to the transaction account number pre-query operation result.
6. The flexible transactional data processing apparatus of claim 5, wherein said pre-query module comprises:
the account information acquisition unit is used for acquiring account information in user transaction data and synchronously calling pre-inquiry transactions of each sub-service;
and the account number pre-query unit is used for pre-query operation of account number authority and payment receiving information by each sub-service according to the pre-query transaction and the account number information.
7. The flexible transactional data processing apparatus of claim 5, wherein said pre-query module comprises:
the amount information acquisition unit is used for acquiring transaction amount information in the user transaction data and synchronously calling pre-inquiry transactions of all sub-services;
and the money pre-query unit is used for carrying out transaction money pre-query operation on each sub-service according to the pre-query transaction and the transaction money information.
8. The flexible transactional data processing apparatus of claim 5, wherein said flexible execution module comprises:
the transaction success unit is used for executing preset transaction processing operation if the transaction account number pre-inquiry operation result is passed;
and the transaction failure unit is used for returning a transaction failure signal if the transaction account number pre-inquiry operation result is failed.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the flexible transaction data processing method according to any of claims 1 to 4 are implemented when the processor executes the program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the flexible transaction data processing method according to any one of claims 1 to 4.
11. A computer program product comprising computer programs/instructions, characterized in that the computer programs/instructions, when executed by a processor, implement the steps of the flexible transaction data processing method according to any of claims 1 to 4.
CN202211518042.5A 2022-11-29 2022-11-29 Flexible transaction data processing method and device Pending CN115731019A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211518042.5A CN115731019A (en) 2022-11-29 2022-11-29 Flexible transaction data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211518042.5A CN115731019A (en) 2022-11-29 2022-11-29 Flexible transaction data processing method and device

Publications (1)

Publication Number Publication Date
CN115731019A true CN115731019A (en) 2023-03-03

Family

ID=85299322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211518042.5A Pending CN115731019A (en) 2022-11-29 2022-11-29 Flexible transaction data processing method and device

Country Status (1)

Country Link
CN (1) CN115731019A (en)

Similar Documents

Publication Publication Date Title
CN111031058A (en) Websocket-based distributed server cluster interaction method and device
CN110764881A (en) Distributed system background retry method and device
CN113435989A (en) Financial data processing method and device
CN111445331A (en) Transaction matching method and device
CN112689012A (en) Cross-network proxy communication method and device
CN115562898A (en) Distributed payment system exception handling method and device
CN115099930A (en) Financial business data processing method and device
CN111338905A (en) Application node data processing method and device
CN115422584A (en) Data deformation method and device
CN115731019A (en) Flexible transaction data processing method and device
CN111352719B (en) Transaction bookkeeping service data processing method, device and system
CN115205009A (en) Account opening business processing method and device based on virtual technology
CN112184248B (en) Card organization rejection adjustment single data processing method and device
CN111930624B (en) Test link message data processing method and device
CN113434423A (en) Interface test method and device
CN112559158A (en) Micro-service timing task scheduling method and device
CN112101915A (en) Financial service management and control data processing method and device
CN114860832A (en) Credit card integral data processing method and device
CN114090489B (en) IO expansion method and device based on virtio
CN114881643A (en) Loss reporting method, device and system for bank card
CN115099859A (en) Marketing method and device for customers
CN115563137A (en) Stationary point data processing method and device
CN115373848A (en) Batch operation and maintenance method and device for servers
CN115271716A (en) Cross-domain financial transaction verification method, device and system
CN114880229A (en) Batch file testing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination