CN115526722B - Method and device for processing positive flushing transaction - Google Patents

Method and device for processing positive flushing transaction Download PDF

Info

Publication number
CN115526722B
CN115526722B CN202211215894.7A CN202211215894A CN115526722B CN 115526722 B CN115526722 B CN 115526722B CN 202211215894 A CN202211215894 A CN 202211215894A CN 115526722 B CN115526722 B CN 115526722B
Authority
CN
China
Prior art keywords
positive
transaction
service
processed
processing
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.)
Active
Application number
CN202211215894.7A
Other languages
Chinese (zh)
Other versions
CN115526722A (en
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.)
Zhongdian Jinxin Software Co Ltd
Original Assignee
Zhongdian Jinxin Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongdian Jinxin Software Co Ltd filed Critical Zhongdian Jinxin Software Co Ltd
Priority to CN202211215894.7A priority Critical patent/CN115526722B/en
Publication of CN115526722A publication Critical patent/CN115526722A/en
Application granted granted Critical
Publication of CN115526722B publication Critical patent/CN115526722B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/906Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/125Finance or payroll

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention provides a method and a device for processing a positive transaction, wherein the method for processing the positive transaction comprises the following steps: receiving an easy-to-cross request, and acquiring flow information of the easy-to-cross to be processed in the easy-to-cross request; according to the flow information, matching with a preset keyword table of the flushing orthogonal easy type mapping to obtain the flushing orthogonal easy type of the flushing transaction to be processed; and locking the to-be-processed positive transaction, inquiring the corresponding relation between the positive-to-be-processed orthogonal easy type and the positive-to-be-processed positive micro service component set, and sequentially calling each positive-to-be-processed positive micro service component in the obtained positive-to-be-processed positive micro service component set mapped by the positive-to-be-processed orthogonal easy type. Maintenance cost can be reduced, and efficiency of flushing orthogonal easiness is improved.

Description

Method and device for processing positive flushing transaction
Technical Field
The invention relates to the technical field of positive punching, in particular to a method and a device for processing positive punching transaction.
Background
For transactions in the financial domain, when a transaction request is ambiguous for some reason, such as network anomalies, the transaction request needs to be cancelled by flushing the transaction. But in the current financial field, different financial institutions adopt the technique of positive customization to realize positive transaction, different financial institutions can customize different positive techniques, and along with the development of business, positive customization also becomes more and more complex, and the maintenance cost continuously rises, so that the efficiency of positive transaction is not high.
Disclosure of Invention
Accordingly, the present invention is directed to a method and apparatus for processing a punch transaction, so as to reduce maintenance cost and improve the efficiency of the punch transaction.
In a first aspect, an embodiment of the present invention provides a method for processing a positive transaction, including:
receiving an easy-to-cross request, and acquiring flow information of the easy-to-cross to be processed in the easy-to-cross request;
according to the flow information, matching with a preset keyword table of the flushing orthogonal easy type mapping to obtain the flushing orthogonal easy type of the flushing transaction to be processed;
and locking the to-be-processed positive transaction, inquiring the corresponding relation between the positive and negative transaction types and the positive and negative transaction component set, and sequentially calling each positive and negative transaction component in the obtained positive and negative transaction component set mapped by the positive and negative transaction types.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where after obtaining the flowing information of the pending flushing transaction in the flushing orthogonal easy request, before matching with a preset keyword table of the flushing orthogonal easy type mapping according to the flowing information, the method further includes:
judging whether the flow information accords with a preset flushing strategy according to the keywords of the flow information, and executing the step of matching with a preset flushing orthogonal easy type mapping keyword list according to the flow information if the judgment result is that flushing is allowed.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the matching, according to the flowing information, with a keyword table of a preset flushing orthogonal easy type mapping, to obtain a flushing orthogonal easy type of the to-be-processed flushing transaction includes:
and extracting keywords in the flow information, if the keywords are contained in the keyword list, determining that the orthogonal easy type of the to-be-processed positive transaction is special positive, otherwise, determining that the orthogonal easy type of the to-be-processed positive transaction is common positive.
With reference to the first aspect or the second possible implementation manner of the first aspect, the embodiment of the present invention provides a third possible implementation manner of the first aspect, wherein the flushing orthogonal easy type is a normal flushing, the sequentially calling each flushing micro service component in the acquired flushing micro service component set mapped by the flushing orthogonal easy type, and performing a flushing process on the to-be-processed flushing orthogonal easy, including:
calling a positive micro service public component in the positive micro service component set, and determining the positive transaction to be processed as the transaction needing positive processing;
After confirming that the processing of the public components of the positive micro service is finished, calling the asset components of the positive micro service in the set of the positive micro service components, and carrying out asset positive processing on the account which is easy to correspond to the orthogonal to-be-processed;
after confirming that the processing of the positive micro-service asset component is finished, calling a positive micro-service liability component in the set of positive micro-service components, and carrying out liability positive processing on the account corresponding to the orthogonal easy to be processed;
and after confirming that the processing of the positive micro-service liability component is finished, calling a positive micro-service accounting component in the set of the positive micro-service components, and carrying out accounting positive processing on the financial system corresponding to the orthogonal easy to be processed.
With reference to the third possible implementation manner of the first aspect, the embodiment of the present invention provides a fourth possible implementation manner of the first aspect, wherein the determining, by the call to the positive micro service public component in the set of positive micro service components, the to-be-processed positive transaction as a transaction requiring positive processing includes:
invoking an accounting processing assembly in the positive micro-service public assembly, inquiring an accounting event table in a database according to the flow information and the date information of the positive transaction to be processed, and acquiring an original transaction matched with the flow information and the date information;
Invoking an accounting reverse processing component in the flushing micro-service public component, and clearing accounting information from the original transaction to the flushing orthogonal easy to be processed;
generating a transaction and positive-impact event carrying the flow information of the original transaction, so that after the database receives the transaction and positive-impact event, the event state of the original transaction is set as positive-impact;
invoking a mark-remaining processing component in the positive micro-service public component, and inquiring a mark-remaining record information table stored in a database according to the flow information and the date information of the positive transaction to be processed;
and if the mark record information corresponding to the running water information and the date information exists, calling a mark reverse processing component in the mark punching micro-service public component, and clearing the mark record information between the to-be-processed mark punching orthogonal easy-to-the-original transaction according to the existing mark record information.
With reference to the first aspect or the second possible implementation manner of the first aspect, the embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where the flushing orthogonal easy type is a special flushing, and after the acquiring the flushing orthogonal easy type of the to-be-processed flushing transaction, the method further includes:
Setting an amount control mark for the orthogonal easy-to-process punch to control the amount;
and sequentially calling all the positive micro service components in the set of the positive micro service components of the obtained positive micro service component mapping of the orthogonal easy type, and performing positive processing on the orthogonal easy to be processed, wherein the method comprises the following steps of:
calling a positive micro service public component in the positive micro service component set, and determining the positive transaction to be processed as the transaction needing positive processing;
after confirming that the processing of the public components of the positive micro service is finished, calling the asset components of the positive micro service in the set of the positive micro service components, and carrying out asset positive processing on the account which is easy to correspond to the orthogonal to-be-processed;
after confirming that the processing of the positive micro-service asset component is finished, calling a positive micro-service liability component in the set of positive micro-service components, and carrying out liability positive processing on the account corresponding to the orthogonal easy to be processed;
after confirming that the processing of the positive micro-service liability component is finished, calling a positive micro-service accounting component in the set of the positive micro-service components, and performing accounting positive processing on the financial system corresponding to the orthogonal to-be-processed positive micro-service liability component;
after confirming that the processing of the punching micro-service accounting component is finished, calling a punching micro-service solution control component centralized by the punching micro-service component, and performing sum solution control processing on the to-be-processed punching quadrature;
Inquiring a transaction code event table in a database according to the transaction code corresponding to the flow information of the to-be-processed transaction to obtain an original transaction matched with the transaction code;
and calling a positive micro service reverse transaction code component in the set of positive micro service components, clearing the accounting information between the original transaction and the to-be-processed positive transaction, and clearing the amount control mark of the to-be-processed positive transaction to cancel the amount control after the accounting information is cleared.
With reference to the first aspect, the first possible implementation manner of the first aspect, and any one of the first possible implementation manner to the fifth possible implementation manner of the first aspect, the embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where the method further includes:
acquiring a positive flushing execution result of the positive flushing transaction to be processed;
if the flushing executing result represents that the flushing processing of the to-be-processed flushing transaction is abnormal, acquiring abnormal information with the abnormality, generating notification information containing the abnormal information, and sending the notification information to a preset terminal, so that the preset terminal can perform flushing processing on the to-be-processed flushing orthogonal easily again.
In a second aspect, an embodiment of the present invention further provides an apparatus for processing a positive transaction, including:
The flow acquisition module is used for receiving the flushing orthogonal easy request and acquiring flow information of the flushing orthogonal easy to be processed in the flushing orthogonal easy request;
the type determining module is used for matching with a preset keyword table of the flushing orthogonal easy type mapping according to the flow information to obtain the flushing orthogonal easy type of the flushing transaction to be processed;
and the positive processing module is used for locking the positive transaction to be processed, inquiring the corresponding relation between the positive transaction type and the positive micro-service component set, sequentially calling each positive micro-service component in the positive micro-service component set mapped by the obtained positive transaction type, and carrying out positive processing on the positive transaction to be processed.
In a third aspect, embodiments of the present application provide a computer device including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method when executing the computer program.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method described above.
According to the method and the device for processing the towards transaction, provided by the embodiment of the invention, the flow information of towards the orthogonal easiness to be processed in the towards orthogonal easiness request is obtained by receiving the towards orthogonal easiness request; according to the flow information, matching with a preset keyword table of the flushing orthogonal easy type mapping to obtain the flushing orthogonal easy type of the flushing transaction to be processed; and locking the to-be-processed positive transaction, inquiring the corresponding relation between the positive and negative transaction types and the positive and negative transaction component set, and sequentially calling each positive and negative transaction component in the obtained positive and negative transaction component set mapped by the positive and negative transaction types. In this way, the orthogonalization easiness of each financial institution is classified, corresponding micro-service components are arranged for each orthogonalization easiness type to conduct orthogonalization processing, each micro-service component can process orthogonalization transactions of one orthogonalization easiness type, so that the orthogonalization process of each financial institution is planned uniformly, the orthogonalization easiness method applicable to each financial institution is provided based on the orthogonalization easiness classification and the micro-service components, maintenance cost can be reduced, and orthogonalization easiness efficiency can be improved.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for processing a positive transaction according to an embodiment of the present invention;
fig. 2 is a schematic flow diagram of a method for orthogonal processing based on microservices according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a platform layer calling micro-service according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a micro-service architecture provided by an embodiment of the present invention;
FIG. 5 illustrates a schematic diagram of the micro-services and reverse components provided by an embodiment of the present invention;
FIG. 6 is a schematic diagram of an apparatus for processing a positive transaction according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present invention.
The transaction flushing processing is to sequentially perform flushing processing on the transaction corresponding to each transaction flowing water according to the transaction flowing water of which the transaction is easy to flush, and restore the transaction flowing water before the transaction to the transaction flowing water according to the sequence of transaction operation. At present, a method for realizing the transaction of the charging by the charging customization is adopted by a financial institution, and the charging methods customized by different financial institutions are substantially similar, but the program code language of the component for the charging transaction formed by encapsulation is different according to different financial institutions. Therefore, in the embodiment of the invention, the process of punching is planned uniformly, and different financial institutions can share the method of the embodiment of the invention, so that the maintenance cost of punching is effectively reduced, and the efficiency of punching orthogonal easiness is improved.
The embodiment of the invention provides a method and a device for processing a punch transaction, and the method and the device are described below through the embodiment.
Fig. 1 is a flow chart of a method for processing a positive flushing transaction according to an embodiment of the present invention.
As shown in fig. 1, the method is applied to a platform server, and comprises the following steps:
step 101, receiving a flushing orthogonal easy request, and acquiring flow information of to-be-processed flushing orthogonal easy in the flushing orthogonal easy request;
In the embodiment of the invention, channel end equipment, such as a mobile phone, an automatic teller machine and the like, which is directly or indirectly connected with the platform server, determines that the normal transaction is abnormal in the normal transaction process, for example, no response is received after timeout, and initiates a flushing orthogonal easy request for the normal transaction to the platform server.
In the embodiment of the invention, in the financial field, the transaction can be divided into a forward transaction (normal transaction) and a forward transaction, wherein the forward transaction is a reverse transaction corresponding to a transaction request, and when the forward transaction is abnormal, the reverse transaction is called for the executed transaction, so that the transaction in the forward transaction system is restored to a state before the forward transaction operation. For example, taking a transaction request as an example of automatic teller, the teller server sends the teller request to the background server, but because the background server is abnormally not responded, all data of the teller transaction needs to be canceled by flushing the transaction, so that the data corresponding to the transaction request managed in the database is restored to a state before the transaction request is not executed, and the inconsistent transaction states recorded by the teller server and the background server are avoided.
102, matching with a preset keyword table of the flushing orthogonal easy type mapping according to the flow information to obtain the flushing orthogonal easy type of the flushing transaction to be processed;
wherein, towards the quadrature easy type including: normal punching and special punching.
In the embodiment of the invention, the normal transaction orthogonal easiness is a transaction positive mode of a single account of a single financial system or a multi-financial system established for an original transaction scene, relates to the single account or the multi-account of the single financial system and the single account of the multi-financial system, and can be applied to transactions comprising peripheral accounting types, such as transaction positive and counter manual accounting types of the same account of current day and alternate day of network connection type transaction, such as general manual accounting transaction of counter accounting, error processing transaction and the like. The special transaction is a transaction which spans multiple financial systems and has multiple debit accounts (multiple accounts), and the transaction is completed in a unified amount after the transaction is finally completed because the original debit account is successfully credited and the subsequent anti-transaction processing is failed, so that the transaction cannot be completed through the reverse anti-transaction call.
In the embodiment of the present invention, as an optional embodiment, after obtaining the flow information of the to-be-processed flushing transaction in the flushing orthogonal easy request, before matching with the preset keyword table of the flushing orthogonal easy type mapping according to the flow information, the method further includes:
judging whether the flow information accords with a preset flushing strategy according to the keywords of the flow information, and executing the step of matching with a preset flushing orthogonal easy type mapping keyword list according to the flow information if the judgment result is that flushing is allowed.
In the embodiment of the invention, whether the flow information accords with the flushing strategy can be judged according to the preset flushing strategy, and if the flow information accords with the preset flushing strategy, the flow checking result is indicated to be the allowable flushing.
In the embodiment of the present invention, as an optional embodiment, if the determination result is that the flushing is not allowed, the flow is ended.
In the embodiment of the present invention, as an optional embodiment, according to the flowing information, matching with a keyword table mapped by a preset flushing orthogonal easy type to obtain the flushing orthogonal easy type of the to-be-processed flushing transaction, including:
and extracting keywords in the flow information, if the keywords are contained in the keyword list, determining that the orthogonal easy type of the to-be-processed positive transaction is special positive, otherwise, determining that the orthogonal easy type of the to-be-processed positive transaction is common positive.
In the embodiment of the invention, the flushing orthogonal easy type is determined according to the word matching mode. For example, if the extracted keyword contains the balance in the keyword table, the extracted keyword is a special positive.
And step 103, locking the to-be-processed positive transaction, inquiring the corresponding relation between the positive micro-service components and the positive micro-service components, sequentially calling all the positive micro-service components in the positive micro-service components, which are mapped by the obtained positive micro-service components, and carrying out positive processing on the to-be-processed positive micro-service components.
In the embodiment of the present invention, as an optional embodiment, when locking, when flushing a transaction flow (flowing information) in a to-be-processed flushing transaction, locking a transaction corresponding to the transaction flow, so as to prevent other components from operating the transaction.
In the embodiment of the invention, micro Services (Micro Services) is a software architecture, based on small functional blocks (components) with single responsibility and functions, complex functions are realized by combining in a modularized manner, and each functional block uses an application programming interface (API, application Programming Interface) irrelevant to language for communication, so that each financial institution can share the functional blocks in the Micro Services, and each functional block is provided with a positive processing function for positive computing logic.
In the embodiment of the invention, the platform server is utilized to perform normal alignment and special alignment classification on the alignment easiness of each financial institution, and corresponding micro-service components are arranged for each alignment easiness type to perform alignment treatment, so that each financial institution can be supported. The unified calling mode is adopted, whether the to-be-processed positive transaction or the original transaction belongs to the common positive transaction or the special positive transaction is judged through the flow information, so that the corresponding micro-service components are called for processing, and as only the micro-service components corresponding to the common positive transaction and the micro-service components corresponding to the special positive transaction are required to be maintained, each financial institution is not required to maintain the positive processing components customized respectively, the maintenance cost of each financial institution can be effectively reduced, meanwhile, different financial institutions are not required, and the positive customization is not required to be updated one by one when the service changes, so that the positive transaction efficiency is improved. And as only the micro service component is required to be called, the utilization rate of the computing resources can be improved, and the waste of the computing resources is reduced.
In the embodiment of the invention, for each flushing orthogonal easy type, a flushing normal micro-service component set for processing the flushing orthogonal easy type flow is preset in a corresponding relation, corresponding flushing normal micro-service components are set in the flushing normal micro-service component set according to the processing sequence of the flushing orthogonal easy type flow, and component sequences are constructed by the flushing normal micro-service components which are sequentially arranged, so that when components are called, automatic flushing normal processing of flushing normal transaction can be completed according to the components arranged in the component sequences, and the flushing orthogonal easy processing efficiency is high.
In the embodiment of the invention, as an alternative embodiment, the punching quadrature easy type is a common punching, sequentially calling all the positive microservices components in the set of the positive microservices components of the obtained positive microservices component mapping of the orthogonal easy type, and carrying out positive processing on the orthogonal easy to be processed, wherein the method comprises the following steps:
calling a positive micro service public component in the set of positive micro service components, and performing positive processing on the to-be-processed positive orthogonal component;
after confirming that the processing of the public components of the positive micro-service is finished, calling the asset components of the positive micro-service in the set of the positive micro-service components, and carrying out positive processing on the orthogonal to-be-processed positive easily;
after confirming that the processing of the positive micro-service asset components is finished, calling a positive micro-service liability component concentrated by the positive micro-service component, and carrying out positive processing on the orthogonal to-be-processed positive easily;
and after confirming that the processing of the positive micro-service liability component is finished, calling a positive micro-service accounting component in the set of the positive micro-service components, and carrying out positive processing on the to-be-processed positive quadrature easily.
In the embodiment of the invention, the positive punching process sequentially comprises the following steps: public impact processing, asset impact processing, liability impact processing, accounting impact processing. The public credit processing is used for determining whether credit processing can be performed according to the flow information and a preset credit policy, the asset credit processing is used for credit processing of assets of an account, for example, account deposit, the liability credit processing is used for credit processing of liabilities of the account, for example, credits bound with the account, and the accounting credit processing is used for accounting credit processing of financial systems corresponding to orthogonal easiness to be processed, for example, credit processing of accounts (assets and liabilities) in the financial systems.
As an optional embodiment, calling the positive micro service public component in the positive micro service component set, and performing positive processing on the to-be-processed positive orthogonal easy to be performed, including:
invoking an accounting processing assembly in the positive micro-service public assembly, inquiring an accounting event table in a database according to the flow information and the date information of the positive transaction to be processed, and acquiring an original transaction matched with the flow information and the date information;
invoking an accounting reverse processing component in the flushing micro-service public component, and clearing accounting information from the original transaction to the flushing orthogonal easy to be processed;
generating a transaction and positive-impact event carrying the flow information of the original transaction, so that after the database receives the transaction and positive-impact event, the event state of the original transaction is set as positive-impact;
invoking a mark-remaining processing component in the positive micro-service public component, and inquiring a mark-remaining record information table stored in a database according to the flow information and the date information of the positive transaction to be processed;
and if the mark record information corresponding to the running water information and the date information exists, calling a mark reverse processing component in the mark punching micro-service public component, and clearing the mark record information between the to-be-processed mark punching orthogonal easy-to-the-original transaction according to the existing mark record information.
In the embodiment of the invention, when accounting processing is performed, the event processing information of the original transaction is obtained from the accounting event table of the database, and the accounting reverse processing is performed on the account related to the event processing information according to the event processing information. As an alternative embodiment, accounting reversal includes, but is not limited to: balance addition and subtraction processing, newly added red letter punch positive account detail processing, quota processing, charging processing, account freezing control processing and interest tax processing, wherein the newly added red letter punch positive account detail processing comprises but is not limited to common account detail real-time processing and hot account detail day end processing; for quota processing, including but not limited to: inquiring limit details according to the original transaction date or the original transaction serial number, and carrying out piece-by-piece processing on each limit detail obtained by inquiry; the charging process is optional and corresponds to a charging event; the account freeze control process may be, as an alternative embodiment, thawing and settlement of the transfer transaction delayed for 24 hours, account control of a non-special process, or the like; for the processing of payable interest and interest tax, the "value added interest", "normal interest/default interest", "overdue interest/advanced interest", "offset interest" may be acquired according to the interest type in the payment details, and the payment details may be logically deleted.
In the embodiment of the invention, after the accounting is reversely processed, namely, the accounting information between the original transaction and the orthogonal transaction to be processed is cleared, the accounting is restored to the original state, a new transaction and transaction event is generated, and the event is registered with the flow information of the original transaction so as to set the event state of the original transaction as being flushed.
In the embodiment of the invention, if the accounting event table is inquired and the event processing information of the original transaction is not acquired, the flow is ended. If the mark record information table stored in the database is inquired, and mark record information corresponding to the running water information and the date information does not exist, ending the flow.
In the embodiment of the invention, after the accounting processing is finished, trace processing is carried out to remove other information except accounting information between the orthogonal easy-to-reach original transaction to be processed, and the orthogonal easy-to-reach original transaction to be processed is restored.
In the embodiment of the invention, for common towards the quadrature is easy, call public, asset, liability, accounting corresponding towards the plus micro service assembly sequentially, to treat towards the quadrature is easy to towards the plus processing, towards asset, liability, accounting towards the plus processing, also include corresponding accounting processing and mark remaining processing. Regarding the process of sequentially calling the asset, liability and accounting corresponding positive micro service components, the process of easily performing positive treatment on the orthogonal to be treated is similar to the process of easily performing positive treatment on the orthogonal to be treated by calling the common corresponding positive micro service components, and is not repeated here.
In this embodiment of the present invention, as another optional embodiment, the flushing orthogonal easy type is a special flushing, and after the acquiring the flushing orthogonal easy type of the to-be-processed flushing transaction, the method further includes:
setting an amount control mark for the orthogonal easy-to-process punch to control the amount;
and sequentially calling all the positive micro service components in the set of the positive micro service components of the obtained positive micro service component mapping of the orthogonal easy type, and performing positive processing on the orthogonal easy to be processed, wherein the method comprises the following steps of:
calling a positive micro service public component in the positive micro service component set, and determining the positive transaction to be processed as the transaction needing positive processing;
after confirming that the processing of the public components of the positive micro service is finished, calling the asset components of the positive micro service in the set of the positive micro service components, and carrying out asset positive processing on the account which is easy to correspond to the orthogonal to-be-processed;
after confirming that the processing of the positive micro-service asset component is finished, calling a positive micro-service liability component in the set of positive micro-service components, and carrying out liability positive processing on the account corresponding to the orthogonal easy to be processed;
after confirming that the processing of the positive micro-service liability component is finished, calling a positive micro-service accounting component in the set of the positive micro-service components, and performing accounting positive processing on the financial system corresponding to the orthogonal to-be-processed positive micro-service liability component;
After confirming that the processing of the punching micro-service accounting component is finished, calling a punching micro-service solution control component centralized by the punching micro-service component, and performing sum solution control processing on the to-be-processed punching quadrature;
inquiring a transaction code event table in a database according to the transaction code corresponding to the flow information of the to-be-processed transaction to obtain an original transaction matched with the transaction code;
and calling a positive micro service reverse transaction code component in the set of positive micro service components, clearing the accounting information between the original transaction and the to-be-processed positive transaction, and clearing the amount control mark of the to-be-processed positive transaction to cancel the amount control after the accounting information is cleared.
In the embodiment of the invention, for the special punch, the method is easy to carry out the amount control processing during the reverse calling and the solution control after the reverse processing. The positive micro-service solution control component and the positive micro-service reverse transaction code component form a special processing component (account control component), and in the embodiment of the invention, after the mark processing component is processed, the special processing component is used for processing, and the special processing component is used for controlling the processing of a plurality of borrowed accounts for the special positive transaction.
In the embodiment of the invention, the special processing component is used when the accounting processing component and the trace processing component cannot process, and basically no special processing component is needed under normal conditions. In this way, special conditions that the transaction can be processed easily can be ensured, and program logic and readability can be ensured.
In the embodiment of the invention, according to the saga transaction model standard of the distributed core, common transaction orthogonal easiness such as a loan and a lending (including a loan) or subscription and state change can be uniformly processed according to a reverse processing mode, the original transaction is a first debit (balance deduction) of the credit, and finally the credit processing (balance supplement) of the account of the original transaction debit account is completed.
In the embodiment of the invention, when the transaction processing component, the trace processing component and the special processing component are called, the transaction processing micro-service has a reverse component call inside each component.
In the embodiment of the invention, the call flow of the general positive transaction and the control flow of the complex positive transaction are defined by providing the unified detail processing method of the opposite positive transaction, so that the reforming efficiency of the positive transaction is effectively improved; meanwhile, through setting the use including transaction mark, the range of transaction is allowed to be flushed, so that the risk easily brought by flushing orthogonality is reduced, and particularly, the risk that the channel end initiates transaction flushing is reduced.
In an embodiment of the present invention, as an optional embodiment, the method further includes:
acquiring a positive flushing execution result of the positive flushing transaction to be processed;
if the flushing executing result represents that the flushing processing of the to-be-processed flushing transaction is abnormal, acquiring abnormal information with the abnormality, generating notification information containing the abnormal information, and sending the notification information to a preset terminal, so that the preset terminal can perform flushing processing on the to-be-processed flushing orthogonal easily again.
In the embodiment of the invention, the punching processing is monitored, and when the abnormal occurrence of the punching processing is monitored, relevant technicians can be notified, and the punching processing is easily carried out again on the orthogonality to be processed in a manual mode, so that the reliability of the punching processing is ensured.
The invention will now be described in more detail with reference to a few specific examples,
fig. 2 shows a flowchart of a method for orthogonal processing based on microservices according to an embodiment of the present invention. As shown in fig. 2, the method is applied to the channel end, the platform layer and the micro service, and comprises the following steps:
step 201, a channel end initiates a flushing orthogonal easy request;
in the embodiment of the invention, the channel end initiates the orthogonal easy request through a unified entry set by a platform layer (a platform server).
Step 202, the platform layer judges whether the orthogonal easy request is a special positive, if yes, step 203 is executed, and if not, step 204 is executed;
in the embodiment of the invention, the platform layer judges whether the flushing orthogonal easy request accessed from the unified entrance is a special flushing.
Step 203, the platform layer performs special positive money amount control, and step 204 is executed;
step 204, the platform layer obtains the first service corresponding to the orthogonal easy request and calls the micro service;
in the embodiment of the invention, the platform layer inquires and acquires the corresponding to-be-processed orthogonal easy (first service) according to the orthogonal easy request, and calls the micro service to perform the positive processing.
Step 205, the micro-service performs a running water check of the first service;
in the embodiment of the invention, the micro-service acquires the flow information of the first service and determines whether the acquired flow information accords with a preset flushing strategy.
Step 206, the micro-service determines whether the flow state allows the flushing according to the acquired flow information, if not, the flow is ended, if yes, step 207 is executed;
in the embodiment of the invention, the flow state of the flushing orthogonal easy-to-request is determined according to the acquired flow information, and if the flow state accords with the flushing strategy, the flushing is allowed.
Step 207, the microservice performs state locking on the account which is easy to request in the punching direction;
in the embodiment of the invention, after the status lock is performed, the account can not execute other transaction requests temporarily.
Step 208, the micro-service returns the original transaction code to the platform layer;
step 209, the platform layer invokes the positive microservice;
in the embodiment of the invention, the platform layer sequentially calls the positive micro service corresponding to public, asset, liability and accounting.
Step 210, the positive microservice performs positive punching treatment;
in the embodiment of the invention, public, asset, liability, accounting and positive processing are sequentially carried out.
Step 211, the positive microservice confirms that the positive processing is successful, and returns to the platform layer;
in the embodiment of the invention, the positive micro-service returns the successful positive processing information to the platform layer.
Step 212, the platform layer determines whether to perform special positive flushing processing, if yes, step 213 is executed, and if not, step 214 is executed;
step 213, the platform layer performs a solution control process of the special positive amount, and executes step 214;
in the embodiment of the present invention, for the special trimming, the special trimming amount is controlled in step 203, and after trimming is completed, the special trimming amount is required to be controlled.
In step 214, the platform layer returns a positive transaction request response to the channel side through the unified portal.
FIG. 3 is a schematic diagram of a platform layer calling micro-service according to an embodiment of the present invention. As shown in fig. 3, for normal punching, the platform layer firstly calls the common component of the punching micro-service, and carries out internal processing after judging through the transaction code; then calling the punching micro service asset component, judging through the transaction code and then carrying out internal processing; then calling the positive micro-service liability component, judging through the transaction code and then carrying out internal processing; and finally, calling a positive microservice accounting component, and performing internal processing after judging through the transaction code. For special positive, after calling the positive micro service liability component to carry out internal processing, a notification is output to the positive micro service solution control component, after calling the positive micro service accounting component to carry out internal processing, the positive micro service solution control component is also called, and after judging through a transaction code, the notification is carried out according to the received notification.
Fig. 4 shows a schematic diagram of a micro service structure provided by an embodiment of the present invention. As shown in fig. 4, the structure of the micro service includes: an accounting processing layer, a trace-keeping processing layer and a special processing layer. Wherein, the liquid crystal display device comprises a liquid crystal display device,
and the accounting processing layer is used for inquiring the accounting event according to the running water and the date of the teller, ending the flow if no corresponding accounting event exists, registering the reverse event according to the running water information of the accounting event if the corresponding accounting event exists, and ending the process after determining the account related to the accounting event after registering.
The mark processing layer is used for inquiring mark record information according to the transaction, the flowing water, the date and the system identification, ending the flow if the corresponding mark record information does not exist, and ending the process after carrying out reverse processing according to the preset configuration if the corresponding mark record information does not exist.
And the special processing layer is used for controlling the amount of money, calling the transaction code judgment by the transaction processing component, calling the reverse transaction code processing component to process the transaction code if the transaction code is determined to be the transaction code which needs to be processed by transaction processing, and ending the flow if the transaction code is not the transaction code which needs to be processed by transaction processing.
Fig. 5 shows a schematic diagram of the micro-services and reverse components provided by an embodiment of the present invention. As shown in fig. 5, with respect to fig. 4, the device further comprises a plurality of reversing components for performing, and the accounting processing layer, the trace processing layer and the special processing layer are respectively connected with one reversing component.
Fig. 6 is a schematic diagram of an apparatus for processing a positive transaction according to an embodiment of the present invention.
As shown in fig. 6, the apparatus includes:
the flow acquisition module 601 is configured to receive a flushing orthogonal easy request, and acquire flow information of a flushing orthogonal easy to be processed in the flushing orthogonal easy request;
the type determining module 602 is configured to match the keyword table mapped by the preset flushing orthogonal easy type according to the flowing water information, and obtain the flushing orthogonal easy type of the flushing transaction to be processed;
In an embodiment of the present invention, as an optional embodiment, the type determining module 602 includes:
an extracting unit (not shown in the figure) for extracting keywords in the pipeline information;
and the type judging unit is used for determining that the orthogonal easy type of the to-be-processed positive transaction is special positive if the keyword list contains the keyword, otherwise, determining that the orthogonal easy type of the to-be-processed positive transaction is common positive.
And the positive processing module 603 is configured to lock the positive transaction to be processed, query a corresponding relationship between the positive transaction type and the positive micro service component set, and sequentially call each positive micro service component in the positive micro service component set mapped by the obtained positive transaction type, so as to perform positive processing on the positive transaction to be processed.
In an embodiment of the present invention, as an optional embodiment, the positive flushing processing module 603 includes:
a first calling unit (not shown in the figure) for calling the positive micro service public components in the positive micro service component set, and determining the positive transaction to be processed as the transaction needing positive processing;
the second calling unit is used for calling the positive micro-service asset components in the positive micro-service component set after confirming that the positive micro-service public components are processed, and carrying out asset positive processing on the account which is easy to correspond to the to-be-processed positive micro-service;
The third calling unit is used for calling the positive and negative service liability component concentrated by the positive and negative service component after confirming that the positive and negative service asset component is processed, and carrying out liability positive processing on the account which is to be processed and corresponds to the orthogonal easy to be processed;
and the fourth calling unit is used for calling the positive micro-service accounting component in the positive micro-service component set after confirming that the positive micro-service liability component is processed, and carrying out accounting positive processing on the financial system which is easy to correspond to the orthogonal to-be-processed positive micro-service component.
In the embodiment of the present invention, as an optional embodiment, the calling the positive micro service public component in the set of positive micro service components, determining that the to-be-processed positive transaction is a transaction requiring positive processing, includes:
invoking an accounting processing assembly in the positive micro-service public assembly, inquiring an accounting event table in a database according to the flow information and the date information of the positive transaction to be processed, and acquiring an original transaction matched with the flow information and the date information;
invoking an accounting reverse processing component in the flushing micro-service public component, and clearing accounting information from the original transaction to the flushing orthogonal easy to be processed;
Generating a transaction and positive-impact event carrying the flow information of the original transaction, so that after the database receives the transaction and positive-impact event, the event state of the original transaction is set as positive-impact;
invoking a mark-remaining processing component in the positive micro-service public component, and inquiring a mark-remaining record information table stored in a database according to the flow information and the date information of the positive transaction to be processed;
and if the mark record information corresponding to the running water information and the date information exists, calling a mark reverse processing component in the mark punching micro-service public component, and clearing the mark record information between the to-be-processed mark punching orthogonal easy-to-the-original transaction according to the existing mark record information.
In an embodiment of the present invention, as another alternative embodiment, the positive flushing processing module 603 includes:
a marking unit (not shown in the figure) for setting an amount control mark for the orthogonal easy to-be-processed punch to control the amount;
a fifth calling unit, configured to call a positive micro service public component in the set of positive micro service components, and perform positive processing on the to-be-processed positive easily;
a sixth calling unit, configured to call the positive micro service asset component in the set of positive micro service components after confirming that the positive micro service public component is processed, and perform asset positive processing on the account corresponding to the to-be-processed positive quadrature;
A seventh calling unit, configured to call a positive micro service liability component in the set of positive micro service components after confirming that the positive micro service asset component is processed, and perform liability positive processing on the account corresponding to the orthogonal easy to be processed;
an eighth calling unit, configured to call a positive micro service accounting component in the set of positive micro service components after confirming that the positive micro service liability component is processed, and perform accounting positive processing on the financial system corresponding to the orthogonal easy to be processed;
a ninth calling unit, configured to call a positive micro service solution control component in the set of positive micro service components after confirming that the positive micro service accounting component is processed, and perform an amount solution control process on the to-be-processed positive micro service component;
the code matching unit is used for inquiring a transaction code event table in a database according to the transaction code corresponding to the flow information of the to-be-processed transaction to obtain an original transaction matched with the transaction code;
and a tenth calling unit, configured to call the positive micro service reverse transaction code component in the set of positive micro service components, perform reverse processing on the orthogonal to-be-processed positive transaction easily, and clear the monetary control mark of the to-be-processed positive transaction after the reverse processing is completed so as to cancel monetary control.
In an embodiment of the present invention, as an optional embodiment, the apparatus further includes:
and a flushing processing judging module (not shown in the figure) for performing running water inspection on the running water information, and executing the step of matching with a preset keyword table of flushing orthogonal easy type mapping according to the running water information if the running water inspection result is that flushing is allowed.
In an embodiment of the present invention, as another optional embodiment, the apparatus further includes:
the result processing module is used for acquiring the positive punching execution result of the positive punching transaction to be processed;
if the flushing executing result represents that the flushing processing of the to-be-processed flushing transaction is abnormal, acquiring abnormal information with the abnormality, generating notification information containing the abnormal information, and sending the notification information to a preset terminal, so that the preset terminal can perform flushing processing on the to-be-processed flushing orthogonal easily again.
As shown in fig. 7, an embodiment of the present application provides a computer device 700 for executing the method for processing a transaction in fig. 1, where the device includes a memory 701, a processor 702 connected to the memory 701 through a bus, and a computer program stored on the memory 701 and capable of running on the processor 702, where the processor 702 executes the steps of the method for processing a transaction.
Specifically, the memory 701 and the processor 702 can be general-purpose memories and processors, which are not limited herein, and the method of processing the flushing transaction described above can be performed when the processor 702 runs a computer program stored in the memory 701.
Corresponding to the method of processing a positive transaction in fig. 1, the embodiment of the present application further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor performs the steps of the method of processing a positive transaction described above.
In particular, the storage medium can be a general-purpose storage medium, such as a removable disk, a hard disk, etc., on which a computer program is executed that is capable of performing the above-described method of processing a flushing transaction.
In the embodiments provided herein, it should be understood that the disclosed systems and methods may be implemented in other ways. The system embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical functional division, and there may be additional divisions in actual implementation, and e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, system or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments provided in the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It should be noted that: like reference numerals and letters in the following figures denote like items, and thus once an item is defined in one figure, no further definition or explanation of it is required in the following figures, and furthermore, the terms "first," "second," "third," etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the foregoing examples are merely specific embodiments of the present application, and are not intended to limit the scope of the present application, but the present application is not limited thereto, and those skilled in the art will appreciate that while the foregoing examples are described in detail, the present application is not limited thereto. Any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or make equivalent substitutions for some of the technical features within the technical scope of the disclosure of the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the corresponding technical solutions. Are intended to be encompassed within the scope of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. A method of processing a punch-through transaction, comprising:
receiving an easy-to-cross request, and acquiring flow information of the easy-to-cross to be processed in the easy-to-cross request;
according to the flow information, matching with a preset keyword table of the flushing orthogonal easy type mapping to obtain the flushing orthogonal easy type of the flushing transaction to be processed;
locking the to-be-processed positive transaction, inquiring the corresponding relation between the positive-to-be-processed orthogonal easy type and the positive-to-be-processed positive micro service component set, and sequentially calling each positive-to-be-processed positive micro service component in the obtained positive-to-be-processed positive micro service component set mapped by the positive-to-be-processed orthogonal easy type;
the easy type of the flushing orthogonal is normal flushing, each flushing micro-service component in the flushing micro-service component set of the acquired mapping of the easy type of the flushing orthogonal is called in sequence, and the flushing orthogonal easy to be processed is subjected to flushing processing, which comprises the following steps:
calling a positive micro service public component in the positive micro service component set, and determining the positive transaction to be processed as the transaction needing positive processing;
after confirming that the processing of the public components of the positive micro service is finished, calling the asset components of the positive micro service in the set of the positive micro service components, and carrying out asset positive processing on the account which is easy to correspond to the orthogonal to-be-processed;
After confirming that the processing of the positive micro-service asset component is finished, calling a positive micro-service liability component in the set of positive micro-service components, and carrying out liability positive processing on the account corresponding to the orthogonal easy to be processed;
and after confirming that the processing of the positive micro-service liability component is finished, calling a positive micro-service accounting component in the set of the positive micro-service components, and carrying out accounting positive processing on the financial system corresponding to the orthogonal easy to be processed.
2. The method of claim 1, wherein after obtaining the flowing information of the pending flushing transaction in the flushing orthogonal easy request, before matching with the keyword table of the preset flushing orthogonal easy type mapping according to the flowing information, the method further comprises:
judging whether the flow information accords with a preset flushing strategy according to the keywords of the flow information, and executing the step of matching with a preset flushing orthogonal easy type mapping keyword list according to the flow information if the judgment result is that flushing is allowed.
3. The method of claim 1, wherein the matching with a keyword table of a preset flushing orthogonal easy type mapping according to the flowing water information to obtain the flushing orthogonal easy type of the to-be-processed flushing transaction includes:
And extracting keywords in the flow information, if the keywords are contained in the keyword list, determining that the orthogonal easy type of the to-be-processed positive transaction is special positive, otherwise, determining that the orthogonal easy type of the to-be-processed positive transaction is common positive.
4. The method of claim 1, wherein the calling the positive micro service common component in the set of positive micro service components to determine the pending positive transaction as a transaction requiring positive processing comprises:
invoking an accounting processing assembly in the positive micro-service public assembly, inquiring an accounting event table in a database according to the flow information and the date information of the positive transaction to be processed, and acquiring an original transaction matched with the flow information and the date information;
invoking an accounting reverse processing component in the flushing micro-service public component, and clearing accounting information from the original transaction to the flushing orthogonal easy to be processed;
generating a transaction and positive-impact event carrying the flow information of the original transaction, so that after the database receives the transaction and positive-impact event, the event state of the original transaction is set as positive-impact;
Invoking a mark-remaining processing component in the positive micro-service public component, and inquiring a mark-remaining record information table stored in a database according to the flow information and the date information of the positive transaction to be processed;
and if the mark record information corresponding to the running water information and the date information exists, calling a mark reverse processing component in the mark punching micro-service public component, and clearing the mark record information between the to-be-processed mark punching orthogonal easy-to-the-original transaction according to the existing mark record information.
5. A method according to claim 1 or 3, wherein the flushing orthogonal easy type is a special flushing, the method further comprising, after the obtaining of the flushing orthogonal easy type of the flushing transaction to be processed:
setting an amount control mark for the orthogonal easy-to-process punch to control the amount;
and sequentially calling all the positive micro service components in the set of the positive micro service components of the obtained positive micro service component mapping of the orthogonal easy type, and performing positive processing on the orthogonal easy to be processed, wherein the method comprises the following steps of:
calling a positive micro service public component in the positive micro service component set, and determining the positive transaction to be processed as the transaction needing positive processing;
After confirming that the processing of the public components of the positive micro service is finished, calling the asset components of the positive micro service in the set of the positive micro service components, and carrying out asset positive processing on the account which is easy to correspond to the orthogonal to-be-processed;
after confirming that the processing of the positive micro-service asset component is finished, calling a positive micro-service liability component in the set of positive micro-service components, and carrying out liability positive processing on the account corresponding to the orthogonal easy to be processed;
after confirming that the processing of the positive micro-service liability component is finished, calling a positive micro-service accounting component in the set of the positive micro-service components, and performing accounting positive processing on the financial system corresponding to the orthogonal to-be-processed positive micro-service liability component;
after confirming that the processing of the punching micro-service accounting component is finished, calling a punching micro-service solution control component centralized by the punching micro-service component, and performing sum solution control processing on the to-be-processed punching quadrature;
inquiring a transaction code event table in a database according to the transaction code corresponding to the flow information of the to-be-processed transaction to obtain an original transaction matched with the transaction code;
and calling a positive micro service reverse transaction code component in the set of positive micro service components, clearing the accounting information between the original transaction and the to-be-processed positive transaction, and clearing the amount control mark of the to-be-processed positive transaction to cancel the amount control after the accounting information is cleared.
6. The method according to any one of claims 1 to 4, further comprising:
acquiring a positive flushing execution result of the positive flushing transaction to be processed;
if the flushing executing result represents that the flushing processing of the to-be-processed flushing transaction is abnormal, acquiring abnormal information with the abnormality, generating notification information containing the abnormal information, and sending the notification information to a preset terminal, so that the preset terminal can perform flushing processing on the to-be-processed flushing orthogonal easily again.
7. An apparatus for processing a punch transaction, comprising:
the flow acquisition module is used for receiving the flushing orthogonal easy request and acquiring flow information of the flushing orthogonal easy to be processed in the flushing orthogonal easy request;
the type determining module is used for matching with a preset keyword table of the flushing orthogonal easy type mapping according to the flow information to obtain the flushing orthogonal easy type of the flushing transaction to be processed;
the positive processing module is used for locking the positive transaction to be processed, inquiring the corresponding relation between the positive easy type and the positive micro-service assembly set, sequentially calling all positive micro-service assemblies in the positive micro-service assembly set mapped by the obtained positive easy type, and carrying out positive processing on the positive easy to be processed positive;
The normal easy type of flushing is normal flushing, the normal processing module is used for sequentially calling all normal micro-service components in the normal micro-service component set mapped by the acquired normal easy type of flushing, and when normal processing is carried out on the normal easy to be processed flushing, the normal processing module comprises:
calling a positive micro service public component in the positive micro service component set, and determining the positive transaction to be processed as the transaction needing positive processing;
after confirming that the processing of the public components of the positive micro service is finished, calling the asset components of the positive micro service in the set of the positive micro service components, and carrying out asset positive processing on the account which is easy to correspond to the orthogonal to-be-processed;
after confirming that the processing of the positive micro-service asset component is finished, calling a positive micro-service liability component in the set of positive micro-service components, and carrying out liability positive processing on the account corresponding to the orthogonal easy to be processed;
and after confirming that the processing of the positive micro-service liability component is finished, calling a positive micro-service accounting component in the set of the positive micro-service components, and carrying out accounting positive processing on the financial system corresponding to the orthogonal easy to be processed.
8. A computer device, comprising: a processor, a memory and a bus, said memory storing machine-readable instructions executable by said processor, said processor and said memory communicating over the bus when the computer device is running, said machine-readable instructions when executed by said processor performing the steps of the method of processing a transaction as claimed in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, performs the steps of the method of processing a positive transaction according to any one of claims 1 to 6.
CN202211215894.7A 2022-09-30 2022-09-30 Method and device for processing positive flushing transaction Active CN115526722B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211215894.7A CN115526722B (en) 2022-09-30 2022-09-30 Method and device for processing positive flushing transaction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211215894.7A CN115526722B (en) 2022-09-30 2022-09-30 Method and device for processing positive flushing transaction

Publications (2)

Publication Number Publication Date
CN115526722A CN115526722A (en) 2022-12-27
CN115526722B true CN115526722B (en) 2023-05-23

Family

ID=84701988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211215894.7A Active CN115526722B (en) 2022-09-30 2022-09-30 Method and device for processing positive flushing transaction

Country Status (1)

Country Link
CN (1) CN115526722B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111369350A (en) * 2020-03-31 2020-07-03 中国建设银行股份有限公司 Orthogonal punching easy processing method and device
CN111651244A (en) * 2020-07-01 2020-09-11 中国银行股份有限公司 Processing system for distributed transactions
CN114170007A (en) * 2021-12-14 2022-03-11 中国建设银行股份有限公司 Orthogonal easy return message assembly method, program product, medium, and electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140040097A1 (en) * 2012-07-31 2014-02-06 The Clearing Corporation Firm trade processing system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111369350A (en) * 2020-03-31 2020-07-03 中国建设银行股份有限公司 Orthogonal punching easy processing method and device
CN111651244A (en) * 2020-07-01 2020-09-11 中国银行股份有限公司 Processing system for distributed transactions
CN114170007A (en) * 2021-12-14 2022-03-11 中国建设银行股份有限公司 Orthogonal easy return message assembly method, program product, medium, and electronic device

Also Published As

Publication number Publication date
CN115526722A (en) 2022-12-27

Similar Documents

Publication Publication Date Title
CN110363665B (en) Credit right data processing method, device, equipment and medium
US11823201B2 (en) Intelligent recurring transaction processing and fraud detection
CN103714625B (en) A kind of charging intelligent card method and system
CN106101179B (en) Resource processing method, device and system
CN110298644B (en) Account additional money method, account additional money device, server and readable storage medium
CN112184240A (en) Refund request processing method and device
CN114912925A (en) Fraud detection method, device, electronic equipment and computer readable medium
CN108762895B (en) Method and device for processing distributed transaction
CN115526722B (en) Method and device for processing positive flushing transaction
CN111796854B (en) Module hot upgrading method and device, electronic equipment and readable storage medium
CN114971637A (en) Risk early warning method, device, equipment and medium
CN111429125B (en) Account management method and device, storage medium and electronic equipment
CN114066615A (en) Trusted payment method, device, electronic equipment and storage medium
KR101503132B1 (en) Method for providing project financing loan service and server performing the same
CN111768293B (en) Transaction information processing method, device, equipment and storage medium
KR20010069969A (en) Method and apparatus for a personal credit management service
CN114785875B (en) Message processing method and system
CN111582851B (en) Platform money printing method and device based on big data, electronic equipment and storage medium
CN117273641A (en) Method, device, equipment and medium for processing business of the same industry
CN116167848A (en) Business processing method and device based on fund flow, computer equipment and storage medium
CN117252684A (en) Money transfer system and method
CN115511615A (en) Method and device for determining unit loan guarantee mode
JP6426573B2 (en) Payment agent support system and payment agent support method
CN115496581A (en) Account amount transferring method and device
CN116645198A (en) Credit card limit adjustment method, credit card limit adjustment device, electronic equipment and storage medium

Legal Events

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