CN112785201A - Heterogeneous system quasi-real-time high-reliability interaction system and method - Google Patents

Heterogeneous system quasi-real-time high-reliability interaction system and method Download PDF

Info

Publication number
CN112785201A
CN112785201A CN202110180548.9A CN202110180548A CN112785201A CN 112785201 A CN112785201 A CN 112785201A CN 202110180548 A CN202110180548 A CN 202110180548A CN 112785201 A CN112785201 A CN 112785201A
Authority
CN
China
Prior art keywords
service
data
locking data
message middleware
database
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.)
Granted
Application number
CN202110180548.9A
Other languages
Chinese (zh)
Other versions
CN112785201B (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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110180548.9A priority Critical patent/CN112785201B/en
Publication of CN112785201A publication Critical patent/CN112785201A/en
Application granted granted Critical
Publication of CN112785201B publication Critical patent/CN112785201B/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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • 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/03Credit; Loans; Processing thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A heterogeneous system quasi-real-time high-reliability interaction system and method belongs to the field of data interaction, and can be applied to the financial field and other fields, wherein the system comprises an upstream device cluster, a database, a message middleware and a downstream device cluster; the upstream device cluster acquires a plurality of service requests, processes the service requests one by one to generate corresponding service locking data, and uploads the service locking data to the database; obtaining the service processing result through the message middleware, and unlocking or performing the back flushing processing on the corresponding service locking data according to the service processing result; the database extracts the service locking data according to a preset period and writes the service locking data into the message middleware; the downstream device cluster obtains the service locking data through the message middleware, and performs corresponding service processing according to the service locking data to generate a service processing result; and writing the service processing result into the message middleware.

Description

Heterogeneous system quasi-real-time high-reliability interaction system and method
Technical Field
The invention relates to the field of cross-platform batch interaction of enterprise-level IT architecture background systems, which can be applied to the field of data interaction and the field of server cluster communication and finance, in particular to a quasi-real-time high-reliability interaction method and a system for a heterogeneous system.
Background
The batch job processing belongs to background automatic operation without user interaction, and is operated according to a preset plan, and is characterized in that a large amount of data needs to be intensively accessed to complete expected processing or generate a corresponding report.
In recent years, as large commercial banks gradually transform from a traditional large host centralized architecture to a development platform distributed architecture, the bank internal system evolves into a plurality of independent development platform subsystems. A batch job processing flow relates to information transmission and data interaction among a plurality of heterogeneous subsystems, and according to the traditional business processing flow and file interaction mode, each processing link is nested layer by layer and depends back and forth, so that the file interaction efficiency is low, the overall batch operation timeliness of the system is influenced, and the business processing efficiency is influenced.
In order to solve the problems of low batch interaction efficiency and tight coupling of business processing links among diversified subsystems of a large enterprise at present, a quasi-real-time and high-reliability interaction scheme and a business processing flow of a heterogeneous system are urgently needed.
Disclosure of Invention
The invention aims to provide a quasi-real-time high-reliability interaction method and a system for a heterogeneous system, which are suitable for an enterprise-level IT system, provide a general efficient interaction mode without platform difference and provide a brand-new service processing flow; the high-efficiency and high-reliability batch interaction of the heterogeneous system is realized.
In order to achieve the above object, the present invention provides a quasi-real-time highly reliable interactive system for heterogeneous systems, which comprises an upstream device cluster, a database, a message middleware, and a downstream device cluster; the upstream device cluster is used for acquiring a plurality of service requests, processing the service requests one by one to generate corresponding service locking data, and uploading the service locking data to the database; obtaining the service processing result through the message middleware, and unlocking or performing the back flushing processing on the corresponding service locking data according to the service processing result; the database is used for extracting the service locking data according to a preset period and writing the service locking data into the message middleware; the downstream device cluster is used for acquiring the service locking data through the message middleware, performing corresponding service processing according to the service locking data and generating a service processing result; and writing the service processing result into the message middleware.
In the quasi-real-time high-reliability interactive system of the heterogeneous system, preferably, the database includes a detection module, and the detection module is configured to read and analyze database logs in batches according to a preset period, obtain the service locking data uploaded to the database in the preset period according to an analysis result, and write the service locking data into the message middleware.
In the quasi-real-time high-reliability interactive system of the heterogeneous system, preferably, the upstream device cluster includes a share locking module, and the share locking module is configured to obtain data to be deducted through a preset service processing logic according to the service request, compare the data to be deducted with a preset share, and generate service locking data according to the data to be deducted when the data to be deducted is smaller than the preset share.
In the quasi-real-time high-reliability interactive system of the heterogeneous system, preferably, the upstream device cluster includes a processing module, and the processing module is configured to collect the service processing result on the message middleware, obtain the corresponding service locking data according to the service processing result, and perform share confirmation or recall processing on the data to be deducted in the service locking data.
The invention also provides a quasi-real-time high-reliability interaction method for the heterogeneous system, which comprises the following steps: the method comprises the steps that an upstream device cluster obtains a plurality of service requests, processes the service requests one by one to generate corresponding service locking data, and uploads the service locking data to a database; extracting the service locking data in the database according to a preset period, and writing the service locking data into a message middleware; the downstream device cluster obtains the service locking data through the message middleware, performs corresponding service processing according to the service locking data to generate a service processing result, and writes the service processing result into the message middleware; and the upstream device cluster obtains the service processing result through the message middleware and unlocks or flushes the corresponding service locking data according to the service processing result.
In the above method for quasi-real-time highly reliable interaction in a heterogeneous system, preferably, the extracting the service locking data in the database according to a preset period includes: reading and analyzing database logs in batches according to a preset period; and obtaining the service locking data uploaded to the database in a preset period according to the analysis result, and writing the service locking data into the message middleware.
In the above method for quasi-real-time highly reliable interaction in a heterogeneous system, preferably, the step of processing the service requests one by one to generate corresponding service locking data includes: obtaining data to be deducted through preset service processing logic according to the service request, and comparing the data to be deducted with a preset share; and when the data to be deducted is smaller than the preset share, generating service locking data according to the data to be deducted.
In the above method for quasi-real-time highly reliable interaction in a heterogeneous system, preferably, the unlocking or flushing back the corresponding service locking data according to the service processing result includes: and inquiring to obtain the corresponding service locking data according to the service processing result, and performing share confirmation or back flushing processing on the data to be deducted in the service locking data.
The invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method when executing the computer program.
The present invention also provides a computer-readable storage medium storing a computer program for executing the above method.
The invention has the beneficial technical effects that: by analyzing the database logs and using the message middleware as a bridge, batch interaction among heterogeneous systems has high efficiency and high reliability; meanwhile, a brand new service processing flow is adopted, and a service compensation processing mechanism is introduced, so that each service processing link is loosely coupled, the responsibility is clear, and the whole batch service processing time is greatly shortened.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
fig. 1 is a schematic structural diagram of a quasi-real-time high-reliability interactive system of a heterogeneous system according to an embodiment of the present invention;
fig. 2 is a schematic application flow diagram of a quasi-real-time high-reliability interactive system of a heterogeneous system according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a database structure according to an embodiment of the present invention;
FIG. 4 is a block diagram of an upstream device cluster according to an embodiment of the present invention;
FIG. 5 is a flow diagram illustrating a business scenario for purchasing a financial product as provided in the prior art;
FIG. 6 is a data flow diagram of a business scenario for purchasing a financial product according to an embodiment of the present invention;
fig. 7 is a schematic flowchart illustrating a quasi-real-time high-reliability interaction method for a heterogeneous system according to an embodiment of the present invention;
FIG. 8 is a schematic flow chart of a financial product purchasing service according to an embodiment of the present invention;
FIG. 9 is a data flow diagram of a service scenario for multiple application interactions provided by an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented. It should be noted that, unless otherwise specified, the embodiments and features of the embodiments of the present invention may be combined with each other, and the technical solutions formed are within the scope of the present invention.
Additionally, the steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions and, although a logical order is illustrated in the flow charts, in some cases, the steps illustrated or described may be performed in an order different than here.
As shown in fig. 1, the heterogeneous system quasi-real-time high-reliability interactive system provided by the present invention includes an upstream device cluster, a database, a message middleware, and a downstream device cluster; the upstream device cluster is used for acquiring a plurality of service requests, processing the service requests one by one to generate corresponding service locking data, and uploading the service locking data to the database; obtaining the service processing result through the message middleware, and unlocking or performing the back flushing processing on the corresponding service locking data according to the service processing result; the database is used for extracting the service locking data according to a preset period and writing the service locking data into the message middleware; the downstream device cluster is used for acquiring the service locking data through the message middleware, performing corresponding service processing according to the service locking data and generating a service processing result; and writing the service processing result into the message middleware.
Referring to fig. 2 again, in practical operation, the overall process of the system may include the following steps:
1. after the upstream device cluster finishes partial service processing, writing service data needing to be processed by the downstream device cluster into a database;
2. the background resident batch operation reads and analyzes the database log, and writes the data into the message middleware;
3. the downstream device cluster acquires data through the message middleware;
4. the downstream device cluster processes the business link according to the received data;
5. the downstream device cluster writes the service processing result into the message middleware;
6. and the upstream device cluster acquires the result and performs service compensation processing.
In an embodiment of the present invention, referring to fig. 3, the database includes a detection module, and the detection module is configured to read and analyze database logs in batches according to a preset period, obtain the service locking data uploaded to the database in the preset period according to an analysis result, and write the service locking data into the message middleware. In actual work, the detection module can read and analyze database logs in batches according to a preset time period, determine that all service locking data uploaded by an upstream device cluster in the period are written into corresponding message middleware in a unified mode, so that a subsequent downstream device cluster can obtain and call the service locking data, and at the moment, the upstream device cluster can continue to process a next service request without waiting for a subsequent service processing result, so that interaction efficiency is improved, and service processing link decoupling is realized.
Referring to fig. 4, in an embodiment of the present invention, the upstream device cluster includes a share locking module and a processing module, where the share locking module is configured to obtain data to be deducted through a preset service processing logic according to the service request, compare the data to be deducted with a preset share, and generate service locking data according to the data to be deducted when the data to be deducted is smaller than the preset share; the processing module is used for collecting the service processing result on the message middleware, inquiring and acquiring the corresponding service locking data according to the service processing result, and performing share confirmation or back flushing processing on the data to be deducted in the service locking data.
To sum up, please refer to fig. 5, taking a traditional business of purchasing a financial product as an example, completing one financial product purchase transaction involves interaction of two applications, where in the traditional way, a file is used for interaction, and an account application must be sent for processing after the financial application generates all business data to be deducted into a file, and during the file generation, the account application is in a waiting state, which causes idle and waste of business processing time. When the account application deducts accounts, the financing application is also in a waiting state. Referring to fig. 6 again, with the adoption of the heterogeneous system quasi-real-time high-reliability interactive system provided by the present invention, the financing application and the settlement application perform data exchange by using a message middleware, and the two clusters operate simultaneously and respectively perform various service processes simultaneously.
Referring to fig. 7, the present invention further provides a quasi-real-time high-reliability interaction method for a heterogeneous system, the method comprising:
s701, an upstream device cluster acquires a plurality of service requests, processes the service requests one by one to generate corresponding service locking data, and uploads the service locking data to a database;
s702, extracting the service locking data in the database according to a preset period, and writing the service locking data into a message middleware;
s703, the downstream device cluster obtains the service locking data through the message middleware, performs corresponding service processing according to the service locking data to generate a service processing result, and writes the service processing result into the message middleware;
s704, the upstream device cluster obtains the service processing result through the message middleware, and unlocks or flushes the corresponding service locking data according to the service processing result.
In the above embodiment, extracting the service locking data in the database according to a preset period includes: reading and analyzing database logs in batches according to a preset period; and obtaining the service locking data uploaded to the database in a preset period according to the analysis result, and writing the service locking data into the message middleware. The specific implementation principle of the method is described in detail in the foregoing embodiments, and thus, detailed description is omitted here.
In another embodiment of the present invention, processing the service requests one by one to generate corresponding service locking data includes: obtaining data to be deducted through preset service processing logic according to the service request, and comparing the data to be deducted with a preset share; and when the data to be deducted is smaller than the preset share, generating service locking data according to the data to be deducted. Further, the unlocking or the back flushing processing of the corresponding service locking data according to the service processing result comprises: and inquiring to obtain the corresponding service locking data according to the service processing result, and performing share confirmation or back flushing processing on the data to be deducted in the service locking data.
Referring to fig. 8, taking a process of purchasing a financial product service as an example, in actual work, an embodiment of the quasi-real-time high-reliability interaction method for a heterogeneous system provided by the present invention has the following process:
1. the financing application locks the share in advance;
2. the financing application writes the account data to be deducted into the database and continues to process the next transaction;
3. the background batch analysis database log writes the withholding data into the message middleware in a quasi-real-time manner;
4. the settlement application acquires data from the message middleware in a quasi-real time manner without waiting for all the data to be deducted to be in order;
5. after the settlement application processes and deducts accounts one by one, immediately writing the result into the message middleware;
6. and the financing application acquires the account deduction result from the message middleware in a quasi-real-time manner and performs share confirmation or recourse according to the success or failure of account deduction.
Compared with the traditional processing flow, the invention adopts a service compensation processing mechanism, and the financing application can lock the share first and then carry out service compensation processing according to the processing result of the settlement application. The settlement application does not need to wait for all the account deduction data to be processed and then start the processing, and the financing application does not need to wait for all the account deduction results and then start the subsequent processing. The interactive mode between the systems is replaced by the streaming data interaction of the message middleware from the file interaction with low efficiency, so that the respective business processing links of the financing application and the settlement application can run in parallel, the file waiting time is saved, the business processing time is fully utilized, and the processing efficiency is improved.
Referring to fig. 9 again, in an embodiment of the present invention, the quasi-real-time high-reliability interaction method for a heterogeneous system provided by the present invention is applicable to a service scenario of multiple application interactions, the present invention has flexible expansibility, supports two or more system applications, and adopts a service compensation processing mechanism, so that each system can process its respective service link in parallel, and finally performs service compensation according to a processing result of the interactive system application, thereby improving service processing efficiency and reducing coupling between applications of each subsystem. Specifically, in actual operation: monthly or quarterly interest in the bank system is calculated, the customer account system can immediately finish interest entrance of the customer account after calculating interest one by one, and then the interest is gradually or collectively collected to the internal account system to initiate account deduction of the internal account of interest expenditure, and the interest entrance of the next account can be immediately initiated without waiting for successful account deduction. If the account deduction of the internal users of interest expenditure is suspicious or failed in processing due to network communication and other problems, the principle that the loan must be given and the loan must be equal is not strictly followed at the moment, and the account deduction processing can be subsequently carried out on the internal users of interest expenditure, so that the principle that the loan must be given and the loan must be equal is finally achieved. Unnecessary waiting and coupling of system internal processing are reduced, and the throughput of system processing is increased.
The invention has the beneficial technical effects that: by analyzing the database logs and using the message middleware as a bridge, batch interaction among heterogeneous systems has high efficiency and high reliability; meanwhile, a brand new service processing flow is adopted, and a service compensation processing mechanism is introduced, so that each service processing link is loosely coupled, the responsibility is clear, and the whole batch service processing time is greatly shortened.
The invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method when executing the computer program.
The present invention also provides a computer-readable storage medium storing a computer program for executing the above method.
As shown in fig. 10, the electronic device 600 may further include: communication module 110, input unit 120, audio processing unit 130, display 160, power supply 170. It is noted that the electronic device 600 does not necessarily include all of the components shown in FIG. 10; furthermore, the electronic device 600 may also comprise components not shown in fig. 10, which may be referred to in the prior art.
As shown in fig. 10, the central processor 100, sometimes referred to as a controller or operational control, may include a microprocessor or other processor device and/or logic device, the central processor 100 receiving input and controlling the operation of the various components of the electronic device 600.
The memory 140 may 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 100 may execute the program stored in the memory 140 to realize information storage or processing, etc.
The input unit 120 provides input to the cpu 100. The input unit 120 is, for example, a key or a touch input device. The power supply 170 is used to provide power to the electronic device 600. The display 160 is used to display an object to be displayed, such as an image or a character. The display may be, for example, an LCD display, but is not limited thereto.
The memory 140 may be a solid state memory such as 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 140 may also be some other type of device. Memory 140 includes buffer memory 141 (sometimes referred to as a buffer). The memory 140 may include an application/function storage section 142, and the application/function storage section 142 is used to store application programs and function programs or a flow for executing the operation of the electronic device 600 by the central processing unit 100.
The memory 140 may also include a data store 143, the data store 143 for storing data, such as contacts, digital data, pictures, sounds, and/or any other data used by the electronic device. The driver storage portion 144 of the memory 140 may include various drivers of the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging application, address book application, etc.).
The communication module 110 is a transmitter/receiver 110 that transmits and receives signals via an antenna 111. The communication module (transmitter/receiver) 110 is coupled to the central processor 100 to provide an input signal and receive an output signal, 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 110, 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) 110 is also coupled to a speaker 131 and a microphone 132 via an audio processor 130 to provide audio output via the speaker 131 and receive audio input from the microphone 132 to implement general telecommunications functions. Audio processor 130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, an audio processor 130 is also coupled to the central processor 100, so that recording on the local can be enabled through a microphone 132, and so that sound stored on the local can be played through a speaker 131.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, 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 (systems), 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 above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A heterogeneous system quasi-real-time high-reliability interactive system is characterized by comprising an upstream device cluster, a database, message middleware and a downstream device cluster;
the upstream device cluster is used for acquiring a plurality of service requests, processing the service requests one by one to generate corresponding service locking data, and uploading the service locking data to the database; obtaining the service processing result through the message middleware, and unlocking or performing the back flushing processing on the corresponding service locking data according to the service processing result;
the database is used for extracting the service locking data according to a preset period and writing the service locking data into the message middleware;
the downstream device cluster is used for acquiring the service locking data through the message middleware and performing corresponding service processing according to the service locking data to generate a service processing result; and writing the service processing result into the message middleware.
2. The heterogeneous system quasi-real-time high-reliability interactive system according to claim 1, wherein the database comprises a detection module, and the detection module is configured to read and analyze database logs in batches according to a preset period, obtain the service locking data uploaded to the database in the preset period according to an analysis result, and write the service locking data into the message middleware.
3. The heterogeneous system quasi-real-time high-reliability interactive system according to claim 1, wherein the upstream device cluster includes a share locking module, the share locking module is configured to obtain data to be deducted through a preset service processing logic according to the service request, compare the data to be deducted with a preset share, and generate service locking data according to the data to be deducted when the data to be deducted is smaller than the preset share.
4. The heterogeneous system quasi-real-time high-reliability interactive system according to claim 3, wherein the upstream device cluster includes a processing module, and the processing module is configured to collect the service processing result on the message middleware, obtain the corresponding service locking data according to the service processing result, and perform share confirmation or recall processing on the data to be deducted in the service locking data.
5. A quasi-real-time high-reliability interaction method for a heterogeneous system is characterized by comprising the following steps:
the method comprises the steps that an upstream device cluster obtains a plurality of service requests, processes the service requests one by one to generate corresponding service locking data, and uploads the service locking data to a database;
extracting the service locking data in the database according to a preset period, and writing the service locking data into a message middleware;
the downstream device cluster obtains the service locking data through the message middleware, performs corresponding service processing according to the service locking data to generate a service processing result, and writes the service processing result into the message middleware;
and the upstream device cluster obtains the service processing result through the message middleware and unlocks or flushes the corresponding service locking data according to the service processing result.
6. The method of claim 5, wherein the extracting the service locking data in the database according to a preset period comprises:
reading and analyzing database logs in batches according to a preset period;
and obtaining the service locking data uploaded to the database in a preset period according to the analysis result, and writing the service locking data into the message middleware.
7. The method of claim 5, wherein the step of processing the service requests one by one to generate corresponding service locking data comprises:
obtaining data to be deducted through preset service processing logic according to the service request, and comparing the data to be deducted with a preset share;
and when the data to be deducted is smaller than the preset share, generating service locking data according to the data to be deducted.
8. The method of claim 7, wherein the performing the unlocking or the back flushing process on the corresponding service locking data according to the service processing result comprises: and inquiring to obtain the corresponding service locking data according to the service processing result, and performing share confirmation or back flushing processing on the data to be deducted in the service locking data.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 5 to 8 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any of claims 5 to 8.
CN202110180548.9A 2021-02-08 2021-02-08 Heterogeneous system quasi-real-time high-reliability interaction system and method Active CN112785201B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110180548.9A CN112785201B (en) 2021-02-08 2021-02-08 Heterogeneous system quasi-real-time high-reliability interaction system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110180548.9A CN112785201B (en) 2021-02-08 2021-02-08 Heterogeneous system quasi-real-time high-reliability interaction system and method

Publications (2)

Publication Number Publication Date
CN112785201A true CN112785201A (en) 2021-05-11
CN112785201B CN112785201B (en) 2024-02-06

Family

ID=75761455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110180548.9A Active CN112785201B (en) 2021-02-08 2021-02-08 Heterogeneous system quasi-real-time high-reliability interaction system and method

Country Status (1)

Country Link
CN (1) CN112785201B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114070845A (en) * 2021-11-11 2022-02-18 中国银行股份有限公司 Method and device for cooperatively submitting transaction information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110599330A (en) * 2019-09-12 2019-12-20 中国工商银行股份有限公司 Bank universal anti-transaction device, method and system
CN111427918A (en) * 2020-03-27 2020-07-17 中国工商银行股份有限公司 Transaction detail data comparison method and device
CN111652617A (en) * 2020-07-07 2020-09-11 中国银行股份有限公司 Service processing system of trans-block chain platform
CN112069265A (en) * 2020-09-11 2020-12-11 中国工商银行股份有限公司 Configuration data synchronization method, service data system, computer system and medium
CN112087341A (en) * 2020-09-21 2020-12-15 携程旅游网络技术(上海)有限公司 Communication method, system, electronic device and storage medium based on multi-channel compensation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110599330A (en) * 2019-09-12 2019-12-20 中国工商银行股份有限公司 Bank universal anti-transaction device, method and system
CN111427918A (en) * 2020-03-27 2020-07-17 中国工商银行股份有限公司 Transaction detail data comparison method and device
CN111652617A (en) * 2020-07-07 2020-09-11 中国银行股份有限公司 Service processing system of trans-block chain platform
CN112069265A (en) * 2020-09-11 2020-12-11 中国工商银行股份有限公司 Configuration data synchronization method, service data system, computer system and medium
CN112087341A (en) * 2020-09-21 2020-12-15 携程旅游网络技术(上海)有限公司 Communication method, system, electronic device and storage medium based on multi-channel compensation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114070845A (en) * 2021-11-11 2022-02-18 中国银行股份有限公司 Method and device for cooperatively submitting transaction information
CN114070845B (en) * 2021-11-11 2024-04-16 中国银行股份有限公司 Method and device for cooperatively reporting transaction information

Also Published As

Publication number Publication date
CN112785201B (en) 2024-02-06

Similar Documents

Publication Publication Date Title
CN111047430B (en) Accounting information processing method and device
CN103164523A (en) Inspection method, device and system of data consistency inspection
CN112163946A (en) Accounting processing method and device based on distributed transaction system
CN113110995B (en) System migration testing method and device
CN111222869A (en) Transaction data processing method, device, computer equipment and medium
CN111949614A (en) Bank system file conversion method and device
CN111078506A (en) Business data batch running task monitoring method and device
CN111427918A (en) Transaction detail data comparison method and device
CN109670943A (en) A kind of settlement system, method, computer equipment and storage medium
CN112785201B (en) Heterogeneous system quasi-real-time high-reliability interaction system and method
CN111429282A (en) Transaction anti-money laundering method and device based on anti-money laundering model migration
CN114048034A (en) Accounting data processing method and device
CN111897849B (en) Data query method and device
CN113157670A (en) Data migration method and system of database
CN113095782A (en) Automatic approval decision-making method and device
CN114840421A (en) Log data processing method and device
CN112988598A (en) Method and device for automatically testing interface
CN113419957A (en) Rule-based big data offline batch processing performance capacity scanning method and device
CN113377385A (en) Client automatic deployment method and device
CN112860683B (en) Method, device and system for cleaning data set in real time
CN111563816A (en) System and method for separating accounts and messages under bank-crossing payment business
CN111679930B (en) Single-point rollback method and system for CICS online transaction
CN111161047A (en) Bank business data processing and inquiring method and device
CN111951100B (en) Account maintenance method and device based on group clients
CN112910970B (en) Remote disaster recovery data synchronization method, device and system

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