CN104636878A - Dispatching method and device of bank automatic processing task - Google Patents

Dispatching method and device of bank automatic processing task Download PDF

Info

Publication number
CN104636878A
CN104636878A CN201510085054.7A CN201510085054A CN104636878A CN 104636878 A CN104636878 A CN 104636878A CN 201510085054 A CN201510085054 A CN 201510085054A CN 104636878 A CN104636878 A CN 104636878A
Authority
CN
China
Prior art keywords
autotask
processing
server
banking
processing server
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
CN201510085054.7A
Other languages
Chinese (zh)
Other versions
CN104636878B (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.)
Bank of Communications Co Ltd
Original Assignee
Bank of Communications 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 Bank of Communications Co Ltd filed Critical Bank of Communications Co Ltd
Priority to CN201510085054.7A priority Critical patent/CN104636878B/en
Publication of CN104636878A publication Critical patent/CN104636878A/en
Application granted granted Critical
Publication of CN104636878B publication Critical patent/CN104636878B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06316Sequencing of tasks or work
    • 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/02Banking, e.g. interest calculation or account maintenance

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention relates to a dispatching method and device of a bank automatic processing task, wherein the dispatching device comprises a dispatching starting module, a task processing module, database server and a dispatching completion module, wherein the dispatching starting module adopts the same time configuration for triggering and dispatching the local application processing logics; the task processing module prepares the task trading processing data when the dispatching triggering is successful, the local automatic processing task is executed, the processing logics are applied, or the bank online service processing server provided by a bank service processing server cluster is called; the database server registers an automatic task exclusive lock and automatic task flow record information, and the bank service data information is recorded; if the automatic task service logic processing of the task processing module is abnormal, the relevant abnormal information is registered; if the automatic task service logic processing of the task processing module is normal, the relevant normal information is registered; the dispatching completion module updates the automatic task flow line recording information when the execution of the automatic task application logics is completed, in addition, the automatic task exclusive lock state is updated, and the dispatching period is completed.

Description

The dispatching method of the automatic Processing tasks of a kind of bank and device
Technical field
The present invention relates to processing data information technical field, particularly the dispatching method of the automatic Processing tasks of a kind of bank and device.
Background technology
Along with the rapid expansion of Bank of Communications's business scale and the develop rapidly of bank product kind, in all kinds of Bank application operation system, have accumulated the automatic Processing tasks of business processing scene or the customer-oriented backstage of non-immediate of a large amount of non-on-line transaction; And this type of automatic Processing tasks is most important for the full-range integrality of Bank of Communications's business, the crucial processing node that some or even all kinds of bank product are served, by the traffic handing capacity of appreciable impact Bank of Communications and level of customer service.
And for the automatic Processing tasks of numerous bank, need to adopt the system of a kind of rational scheduled for executing method and a set of stable stalwartness to realize supporting.And currently only simply inherit and maintain the realization of existing system, carry out the requirement that simple upgrade well can not adapt to the change and progress of banking industry situation.
For solving the problems of the technologies described above, other two kinds of system schemas in Bank of Communications's conventional systems, are adopted to realize:
(1) unified clustering scheduling and the unified management of the automatic Processing tasks of outsourcing commercialization United Dispatching software simulating bank is utilized; This deployment scheme framework is clear, and it is convenient to monitor, but core technology is closed, extendability is not good, and overall fund input is huge, and follow-up O&M ensures without ability to develop independently, provides the serious restriction of manufacturer by software product.
(2) scheduling scheme of automatic Processing tasks is realized voluntarily by each application system; The program is that each application system provides enough flexibility ratios and extendability, the development and testing of convenient extensive Processing tasks automatically, but exist significant not enough in Technical Architecture aspect, have that technology realizes disunity, service logic is disorderly and unsystematic, without problems such as integral monitoring views, be not suitable with the requirement of the every business develop rapidly of Bank of Communications.
Summary of the invention
For solving the problem of prior art, the present invention proposes dispatching method and the device of the automatic Processing tasks of a kind of bank, carry out again planning to various automatic Processing tasks, the technical advance that system realizes significantly is improved from aspects such as architecture design, system deployment, stability, high availability, the service function of system, management level and operational efficiency are enriched, for sturdy basis has been established in the business development in Bank of Communications future.
For achieving the above object, the invention provides the dispatching device of the automatic Processing tasks of a kind of bank, described dispatching device comprises: autotask processing server cluster, database server and banking processing server cluster; Autotask processing server in described autotask processing server cluster comprises: scheduling starting module, task processing module and finishing scheduling module; Wherein,
Described scheduling starting module, for adopting identical time configure trigger scheduling local application processing logic; Wherein, at the initial time of dispatching cycle, from autotask mutual exclusion lock registration form, obtain the state of mutual exclusion lock corresponding to this task; If mutual exclusion lock is lock-out state, then terminate this scheduling; Otherwise, in autotask mutual exclusion lock registration form, record the information of corresponding autotask processing server and mutual exclusion lock locking information be set, and upgrading the state of autotask mutual exclusion lock registration form;
Described task processing module, for the eligible task transaction data when triggering is dispatched successfully, performs local Processing tasks application processing logic automatically;
Described banking processing server cluster, for performing correspondingly banking on-line business processing program according to calling of described task processing module;
Described database server, for registering autotask mutual exclusion lock and autotask Flow Record information, record banking business data information; If described task processing module autotask business logic processing is abnormal, then register relevant abnormalities information; If described task processing module autotask business logic processing is normal, then the relevant normal information of registration;
Described finishing scheduling module, for upgrading autotask Flow Record information when autotask applied logic is finished, and upgrade autotask mutual exclusion lock state, described dispatching cycle terminates.
Preferably, the autotask processing server in described autotask processing server cluster adopts clustered deploy(ment) pattern, is that equity is disposed without priority, and physically achieves clock synchronous between autotask processing server.
Preferably, described banking processing server cluster adopts clustered deploy(ment) pattern.
Accordingly, for achieving the above object, present invention also offers the dispatching method of the automatic Processing tasks of a kind of bank, described dispatching method is at autotask processing server cluster, perform between database server and banking processing server cluster; Comprise
Autotask processing server in described autotask processing server cluster adopts identical time configure trigger scheduling local application processing logic; Wherein, at the initial time of dispatching cycle, from autotask mutual exclusion lock registration form, obtain the state of mutual exclusion lock corresponding to this task; If mutual exclusion lock is lock-out state, then terminate this scheduling; Otherwise, in autotask mutual exclusion lock registration form, record the information of corresponding autotask processing server and mutual exclusion lock locking information be set, and upgrading the state of autotask mutual exclusion lock registration form;
Described autotask processing server trigger dispatch successfully time eligible task transaction data, performs and locally apply processing logic, or the banking on-line business processing called banking processing server cluster and provide is served;
Described banking processing server cluster performs correspondingly banking on-line business processing program according to calling of described autotask processing server;
Described database server registration autotask mutual exclusion lock and autotask Flow Record information, record banking business data information; If described autotask processing server autotask business logic processing is abnormal, then register relevant abnormalities information; If described autotask processing server autotask business logic processing is normal, then the relevant normal information of registration;
Described autotask processing server upgrades autotask Flow Record information when autotask applied logic is finished, and upgrades autotask mutual exclusion lock state, and described dispatching cycle terminates.
For achieving the above object, the invention provides the dispatching device of the automatic Processing tasks of another kind of bank, described dispatching device comprises: autotask processing server cluster, database server, message generation server, Message Queuing server and banking processing server cluster; Wherein,
Described message generation server, for generating automatic Processing tasks message packet;
Described Message Queuing server, for storing automatic Processing tasks message packet in message queue;
Described autotask processing server cluster, comprises multiple autotask processing server, for monitoring the message queue in same Message Queuing server accordingly; If described autotask processing server successfully obtains an automatic Processing tasks message, then perform correspondingly local Processing tasks application processing logic automatically, or call the banking on-line business processing service that banking processing server cluster provides, and from message queue, delete automatic Processing tasks message packet accordingly simultaneously; And all the other autotask processing servers proceed to monitor in autotask processing server cluster; After automatic Processing tasks to be done, generate automatic Processing tasks and complete message, and transfer to the storage of described Message Queuing server;
Described banking processing server cluster, for performing correspondingly banking on-line business processing program according to calling of described autotask processing server; Described database server, upgrades autotask mutual exclusion lock and autotask Flow Record information for registering, record banking business data information; If described autotask processing server autotask business logic processing is abnormal, then register relevant abnormalities information; If described autotask processing server autotask business logic processing is normal, then the relevant normal information of registration.
Preferably, described message generation server supports clustered deploy(ment) pattern.
Preferably, described Message Queuing server supports clustered deploy(ment) pattern.
Preferably, the autotask processing server in described autotask processing server cluster adopts clustered deploy(ment) pattern, is that equity is disposed without priority, and physically achieves clock synchronous between autotask processing server.
Preferably, described banking processing server cluster adopts clustered deploy(ment) pattern.
Accordingly, for achieving the above object, the invention provides the dispatching method of the automatic Processing tasks of another kind of bank, described dispatching method is at autotask processing server cluster, database server, message generation server, perform between Message Queuing server and banking processing server cluster; Comprise:
Described message generation server generates automatic Processing tasks message packet;
Described Message Queuing server stores automatic Processing tasks message packet in message queue;
Autotask processing server in described autotask processing server cluster monitors the message queue in same Message Queuing server accordingly; If described autotask processing server successfully obtains an automatic Processing tasks message, then perform correspondingly local Processing tasks application processing logic automatically, or call the banking on-line business processing service that banking processing server cluster provides, and from message queue, delete automatic Processing tasks message packet accordingly simultaneously; And all the other autotask processing servers proceed to monitor in autotask processing server cluster; After automatic Processing tasks to be done, generate automatic Processing tasks and complete message, and transfer to the storage of described Message Queuing server;
Described banking processing server cluster performs correspondingly banking on-line business processing program according to calling of described autotask processing server; Described database server registration upgrades autotask mutual exclusion lock and autotask Flow Record information, record banking business data information; If described autotask processing server autotask business logic processing is abnormal, then register relevant abnormalities information; If described autotask processing server autotask business logic processing is normal, then the relevant normal information of registration.
Technique scheme has following beneficial effect: the technical program makes a large amount of dispersion and in disorder automatic Processing tasks have employed unified dispatching method and framework realizes, make the logic dependencies of the automatic Processing tasks of all kinds of bank in order, reasonably plan respective services device and the application resource of Bank of Communications.After putting into operation, achieve the 140 automatic Processing tasks of Yu Zhong bank at present, fully met the requirement of each task under various extreme treatment conditions through abundant optimal inspection, for the development of the every business of Bank of Communications provides powerful guarantee.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the dispatching device block diagram of the automatic Processing tasks of a kind of bank provided by the invention;
Fig. 2 is the dispatching method process flow diagram of the automatic Processing tasks of a kind of bank provided by the invention;
Fig. 3 is the automatic Processing tasks scheduling flow figure of the present embodiment mutual exclusion lock protection;
Fig. 4 is the dispatching device block diagram of the automatic Processing tasks of another kind of bank provided by the invention;
Fig. 5 is the dispatching method process flow diagram of the automatic Processing tasks of another kind of bank provided by the invention;
Fig. 6 is the total system physics deployment diagram of the present embodiment;
Fig. 7 is the automatic Processing tasks scheduling flow figure of this enforcement message trigger.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The required automatic Processing tasks demand realized of the inner numerous application system of bank of current Bank of Communications mainly contains following three classes:
(1) flowing water verification and reconciliation generic task, as: risk assessment information inquiry; Inter-bank pays verification (individual Net silver); Inter-bank pays verification; Enterprise's Net silver service year takes; Renminbi list price; Super Net silver of authority to pay agreement query etc.;
(2) file processing and generation generic task, as: automatically generate transaction details download file yesterday that enterprise customer applies for downloading; Automatic generation enterprise customer applies for the detailed file of history downloaded; Automatic generation enterprise customer applies for the transaction details download file downloaded; Accumulate the logical plan of automatically transferring to perform; Accumulate logical batch query to download; Accumulateing that logical client collects automatically please money planning analysis; Accumulate logical transaction automatic generation enterprise customer and apply for detailed file of the history of download etc.;
(3) automatically again generic task is initiated, as: reservation is transferred accounts; What reset customs's setting spends amount; Option quotation option parameter; Receive Futong treasured automatically to collect money instruction analysis (generating detailed according to task); Receive Futong treasured automatically to collect money instruction analysis (generating task according to master agreement) etc.;
In order to realize the banking demand of above every aspect; need the dispatching method of the automatic Processing tasks of Bank of Communications and realize adopting cluster operational mode; and need the mutual exclusion lock protection mechanism realizing a kind of safe and convenient; ensure associated bank business tasks carrying and only perform once; require the method simultaneously and realize must possessing high availability, high-performance, high reliability, to guarantee correctness and the integrality of Bank of Communications's business processing.
For above-mentioned technical matters to be solved, the automatic Processing tasks call method of a kind of mutual exclusion lock protection is proposed.Adopt the autotask processing node of the method to adopt clustered deploy(ment) mode, each node may perform same task, therefore needs to adopt the mechanism of mutual exclusion lock to ensure that each automatic Processing tasks synchronization only maintains one in the cluster and performs example.When single server node performs automatic Processing tasks at needs, need to arrive first the state that autotask mutual exclusion lock registration form obtains mutual exclusion lock corresponding to this task, if lock-out state, then terminate this scheduling; Otherwise in autotask mutual exclusion lock registration form, record this nodal information, mutual exclusion lock locking information is set, start to perform this task and the state upgrading autotask mutual exclusion lock registration form, reach the effect of mutual exclusion lock locking protection task the term of execution; The status information of automatic Processing tasks in autotask mutual exclusion lock registration form before renewal same after autotask is complete, guarantees to discharge mutual exclusion lock.
Based on above-mentioned principle of work, the invention provides the dispatching device of the automatic Processing tasks of a kind of bank.As shown in Figure 1.Described dispatching device comprises: autotask processing server cluster 101, database server 102 and banking processing server cluster 103; Autotask processing server in described autotask processing server cluster 101 comprises: scheduling starting module 1011, task processing module 1012 and finishing scheduling module 1013; Wherein,
Described scheduling starting module 1011, for adopting identical time configure trigger scheduling local application processing logic; Wherein, at the initial time of dispatching cycle, from autotask mutual exclusion lock registration form, obtain the state of mutual exclusion lock corresponding to this task; If mutual exclusion lock is lock-out state, then terminate this scheduling; Otherwise, in autotask mutual exclusion lock registration form, record the information of corresponding autotask processing server and mutual exclusion lock locking information be set, and upgrading the state of autotask mutual exclusion lock registration form;
Described task processing module 1012, for trigger dispatch successfully time eligible task transaction data, perform local automatic Processing tasks application processing logic, or the banking on-line business processing called banking processing server cluster and provide is served;
Described banking processing server cluster 103, for performing correspondingly banking on-line business processing program according to calling of described task processing module;
Described database server 102, for registering autotask Flow Record information, record banking business data information; If described task processing module autotask business logic processing is abnormal, then register relevant abnormalities information; If described task processing module autotask business logic processing is normal, then the relevant normal information of registration;
Described finishing scheduling module 1013, for upgrading autotask Flow Record information when autotask applied logic is finished, and upgrade mutual exclusion lock state, described dispatching cycle terminates.
Preferably, the autotask processing server in described autotask processing server cluster 101 adopts clustered deploy(ment) pattern, is that equity is disposed without priority, and physically achieves clock synchronous between autotask processing server.
Preferably, described banking processing server cluster 103 adopts clustered deploy(ment) pattern.
Accordingly, as shown in Figure 2, the invention provides the dispatching method process flow diagram of the automatic Processing tasks of a kind of bank.Described dispatching method is at autotask processing server cluster, perform between database server and banking processing server cluster; Comprise:
Step 201): the autotask processing server in described autotask processing server cluster adopts identical time configure trigger scheduling local application processing logic; Wherein, at the initial time of dispatching cycle, from autotask mutual exclusion lock registration form, obtain the state of mutual exclusion lock corresponding to this task; If mutual exclusion lock is lock-out state, then terminate this scheduling; Otherwise, in autotask mutual exclusion lock registration form, record the information of corresponding autotask processing server and mutual exclusion lock locking information be set, and upgrading the state of autotask mutual exclusion lock registration form;
Step 202): described autotask processing server trigger dispatch successfully time eligible task transaction data, performs and locally apply processing logic, or the banking on-line business processing called banking processing server cluster and provide is served;
Step 203): described banking processing server cluster performs correspondingly banking on-line business processing program according to calling of described autotask processing server;
Step 204): described database server registration autotask Flow Record information, record banking business data information; If described autotask processing server autotask business logic processing is abnormal, then register relevant abnormalities information; If described autotask processing server autotask business logic processing is normal, then the relevant normal information of registration;
Step 205): described autotask processing server upgrades autotask Flow Record information when autotask applied logic is finished, and upgrades mutual exclusion lock state, and described dispatching cycle terminates.
The key of exclusive mode autotask Processing tasks dispatching sequence is to share autotask state mutual exclusion lock between multiple identical autotask processing server, and this method adopts the mode sharing mutual exclusion lock table record to realize this logic control relation:
(1) mutual exclusion lock list structure, as follows:
As shown in Figure 3, be the automatic Processing tasks scheduling flow figure of the present embodiment mutual exclusion lock protection.
The first step): the node in autotask processing server cluster runs identical application program, adopts identical time configure trigger scheduling local application processing logic.
Second step): when arriving dispatching cycle, one of them node is attempted obtaining mutual exclusion lock, if obtain successfully, then upgrade corresponding autotask recording status in mutual exclusion lock table (PD_CONTROL), can prevent other autotask processing nodes from changing this state in task lock-up cycle; If fruit obtains failure, be then left intact, wait for the task scheduling cycle next time, and guarantee the state that cannot upgrade this mutual exclusion lock in task lock-up cycle.
3rd step): the node obtaining automatic Processing tasks mutual exclusion lock, continues registration autotask Flow Record information.
4th step): enter autotask processing logic, eligible task transaction data.
5th step): carry out autotask processing logic, perform local business logic process, call background service, upgrade transaction results state, register the banking treatment schemees such as other task registers.
6th step): if autotask business logic processing is abnormal, then register relevant abnormalities information.
7th step): if autotask business logic processing is normal, then continue finishing service aftertreatment logic, registration normal information.
8th step): after completing banking logical process (no matter successful, failure), upgrade and discharge automatic Processing tasks mutual exclusion lock.
For above-mentioned technical matters to be solved, the technical program also proposes a kind of automatic Processing tasks call method of message trigger.The autotask processing node of the method is adopted to adopt clustered deploy(ment) mode, each node may perform same task, and extra increase message generation server (supporting clustered deploy(ment) mode) and Message Queuing server's (supporting clustered deploy(ment) mode).Message generation network in charge timing or receive after external call, produce corresponding Processing tasks message packet automatically, put into the message queue that Message Queuing server provides successively, this message queue of each service node concurrent monitoring all simultaneously of automatic Processing tasks server, once certain nodes listen is to message, just collects autotask message by this node and be responsible for process.Adopt the method can guarantee that certain class has the Ordinal Consistency of the automatic Processing tasks of timing requirements, and ensure that relevant automatic Processing tasks only performs once.
Based on above-mentioned principle of work, the invention provides the dispatching device of the automatic Processing tasks of another kind of bank, as shown in Figure 4.Described dispatching device comprises: autotask processing server cluster 401, database server 402, message generation server 403, Message Queuing server 404 and banking processing server cluster 405; Wherein,
Described message generation server 403, for generating automatic Processing tasks message packet;
Described Message Queuing server 404, for storing automatic Processing tasks message packet in message queue;
Described autotask processing server cluster 401, comprises multiple autotask processing server, for monitoring the message queue in same Message Queuing server accordingly; If described autotask processing server successfully obtains an automatic Processing tasks message, then perform correspondingly local Processing tasks application processing logic automatically, or call the banking on-line business processing service that banking processing server cluster provides, and from message queue, delete automatic Processing tasks message packet accordingly simultaneously; And all the other autotask processing servers proceed to monitor in autotask processing server cluster; After automatic Processing tasks to be done, generate automatic Processing tasks and complete message, and transfer to the storage of described Message Queuing server;
Described banking processing server cluster 405, for performing correspondingly banking on-line business processing program according to calling of described autotask processing server;
Described database server 402, upgrades autotask Flow Record information for registering, record banking business data information; If described autotask processing server autotask business logic processing is abnormal, then register relevant abnormalities information; If described autotask processing server autotask business logic processing is normal, then the relevant normal information of registration.
Preferably, described message generation server 403 supports clustered deploy(ment) pattern.
Preferably, described Message Queuing server 404 supports clustered deploy(ment) pattern.
Preferably, the autotask processing server in described autotask processing server cluster 401 adopts clustered deploy(ment) pattern, is that equity is disposed without priority, and physically achieves clock synchronous between autotask processing server.
Preferably, described banking processing server cluster 405 adopts clustered deploy(ment) pattern.
Accordingly, as shown in Figure 5, for the invention provides the dispatching method process flow diagram of the automatic Processing tasks of a kind of bank.Described dispatching method is at autotask processing server cluster, database server, message generation server, perform between Message Queuing server and banking processing server cluster; Comprise:
Step 501): described message generation server generates automatic Processing tasks message packet;
Step 502): described Message Queuing server stores automatic Processing tasks message packet in message queue;
Step 503): autotask processing server in described autotask processing server cluster monitors the message queue in same Message Queuing server accordingly; If described autotask processing server successfully obtains an automatic Processing tasks message, then perform correspondingly local Processing tasks application processing logic automatically, or call the banking on-line business processing service that banking processing server cluster provides, and from message queue, delete automatic Processing tasks message packet accordingly simultaneously; And all the other autotask processing servers proceed to monitor in autotask processing server cluster;
Step 504): described banking processing server cluster performs correspondingly banking on-line business processing program according to calling of described autotask processing server;
Step 505): described database server registration upgrades autotask Flow Record information, record banking business data information; If described autotask processing server autotask business logic processing is abnormal, then register relevant abnormalities information; If described autotask processing server autotask business logic processing is normal, then the relevant normal information of registration.
As shown in Figure 6, be the total system physics deployment diagram of the present embodiment.Comprise:
Message generation server: single server (supporting clustered deploy(ment) pattern), responsible timing generates automatic Processing tasks Trigger message, and deposits message packet to Message Queuing server.
Message Queuing server: single server (supporting clustered deploy(ment) pattern), provides Message Queuing Services, store the message packet that all kinds of automatic Processing tasks is relevant.
Autotask processing server: adopt clustered deploy(ment) pattern, is that equity is disposed without priority between server, and physically achieves clock synchronous; Two kinds of dispatching methods are adopted to run the service logic of all kinds of automatic Processing tasks.
Database server: traditional Relational DataBase, all kinds of automatic Processing tasks flowing water information is safeguarded in registration, records all kinds of banking business data information simultaneously.
Banking processing server cluster: adopting clustered deploy(ment) pattern, is core banking processing server, runs complicated banking on-line business processing program, realizes complicated banking processing logic.
Based on the total system of Fig. 6, the embodiment of the automatic Processing tasks scheduling about message trigger is described below.The present embodiment adopts message generation server and Message Queuing server to realize the smooth scheduling flow of automatic Processing tasks, and ensure the synchronization automatic Processing tasks that only triggering one is identical simultaneously, detailed process as shown in Figure 7.Comprise:
The first step): message generation server is automatic or accept external request triggering, generates automatic Processing tasks message packet, and successively stored in Message Queuing server.
Second step): the node in autotask processing server cluster connects same Message Queuing server, monitors same message queue simultaneously; If certain node successfully obtains an automatic Processing tasks message, then trigger local Processing tasks logic flow automatically, or call the banking on-line business processing service that banking processing server cluster provides, and from message queue, delete this automatic Processing tasks message simultaneously; All the other nodes then proceed to monitor.
3rd step): obtain automatic Processing tasks node and continue registration autotask Flow Record information.
4th step): enter autotask processing logic, eligible task transaction data.
5th step): carry out autotask processing logic, perform local business logic process, call background service, upgrade transaction results state, register the banking treatment schemees such as other task registers.
6th step): if autotask business logic processing is abnormal, then register relevant abnormalities information.
7th step): if autotask business logic processing is normal, then continue finishing service aftertreatment logic, registration normal information.
8th step): after completing banking logical process (no matter successful, failure), upgrade autotask Flow Record information, generate automatic Processing tasks and complete message, stored in Message Queuing server.
The technical program fully meets the demand of the automatic Processing tasks of Bank of Communications's types of applications system, has following advantage:
The first, the autotask tupe of clustering, adopts cluster operational mode to ensure high availability and the security of the automatic Processing tasks of bank, and cluster scale can horizontal dynamic be expanded, and ensure that the demand of extensive business processing task.
The second, the mutual exclusion lock protection mechanism of efficient stable, for common automatic Processing tasks, well-designed mutual exclusion lock data structure, meets mutual exclusion lock requirements for access during large-scale cluster concurrent processing, in access efficiency and mutual exclusion protect two, achieves balance.
3rd, the message trigger mission mode of flexibility and reliability, for the automatic Processing tasks having timing requirements, achieves the scheduling method of succinct message trigger reliably, avoid the loss in efficiency adopting mutex lock mode to bring, ensure the efficient execution of such automatic Processing tasks.
4th, succinctly unified application service expansion, all automatic Processing tasks nodes all adopt same application framework and logic realization, ensure that the unitarity that entire system realizes, achieve system architecture layer in reciprocity clustered deploy(ment) mode can adjust flexibly simultaneously, be conducive to develop rapidly and the upgrading fast of supporting banking kind.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; be understood that; the foregoing is only the specific embodiment of the present invention; the protection domain be not intended to limit the present invention; within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a dispatching device for the automatic Processing tasks of bank, is characterized in that, described dispatching device comprises: autotask processing server cluster, database server and banking processing server cluster; Autotask processing server in described autotask processing server cluster comprises: scheduling starting module, task processing module and finishing scheduling module; Wherein,
Described scheduling starting module, for adopting identical time configure trigger scheduling local application processing logic; Wherein, at the initial time of dispatching cycle, from autotask mutual exclusion lock registration form, obtain the state of mutual exclusion lock corresponding to this task; If mutual exclusion lock is lock-out state, then terminate this scheduling; Otherwise, in autotask mutual exclusion lock registration form, record the information of corresponding autotask processing server and mutual exclusion lock locking information be set, and upgrading the state of autotask mutual exclusion lock registration form;
Described task processing module, for trigger dispatch successfully time eligible task transaction data, perform local automatic Processing tasks application processing logic, or the banking on-line business processing called banking processing server cluster and provide is served;
Described banking processing server cluster, for performing correspondingly banking on-line business processing program according to calling of described task processing module;
Described database server, for registering autotask mutual exclusion lock and autotask Flow Record information, record banking business data information; If described task processing module autotask business logic processing is abnormal, then register relevant abnormalities information; If described task processing module autotask business logic processing is normal, then the relevant normal information of registration;
Described finishing scheduling module, for upgrading autotask Flow Record information when autotask applied logic is finished, and upgrade autotask mutual exclusion lock state, described dispatching cycle terminates.
2. device as claimed in claim 1, it is characterized in that, autotask processing server in described autotask processing server cluster adopts clustered deploy(ment) pattern, is that equity is disposed without priority, and physically achieves clock synchronous between autotask processing server.
3. device as claimed in claim 1, is characterized in that, described banking processing server cluster adopts clustered deploy(ment) pattern.
4. a dispatching method for the automatic Processing tasks of bank, is characterized in that, described dispatching method is at autotask processing server cluster, perform between database server and banking processing server cluster; Comprise
Autotask processing server in described autotask processing server cluster adopts identical time configure trigger scheduling local application processing logic; Wherein, at the initial time of dispatching cycle, from autotask mutual exclusion lock registration form, obtain the state of mutual exclusion lock corresponding to this task; If mutual exclusion lock is lock-out state, then terminate this scheduling; Otherwise, in autotask mutual exclusion lock registration form, record the information of corresponding autotask processing server and mutual exclusion lock locking information be set, and upgrading the state of autotask mutual exclusion lock registration form;
Described autotask processing server trigger dispatch successfully time eligible task transaction data, performs and locally apply processing logic, or the banking on-line business processing called banking processing server cluster and provide is served;
Described banking processing server cluster performs correspondingly banking on-line business processing program according to calling of described autotask processing server;
Described database server registration autotask mutual exclusion lock and autotask Flow Record information, record banking business data information; If described autotask processing server autotask business logic processing is abnormal, then register relevant abnormalities information; If described autotask processing server autotask business logic processing is normal, then the relevant normal information of registration;
Described autotask processing server upgrades autotask Flow Record information when autotask applied logic is finished, and upgrades autotask mutual exclusion lock state, and described dispatching cycle terminates.
5. a dispatching device for the automatic Processing tasks of bank, is characterized in that, described dispatching device comprises: autotask processing server cluster, database server, message generation server, Message Queuing server and banking processing server cluster; Wherein,
Described message generation server, for generating automatic Processing tasks message packet;
Described Message Queuing server, for storing automatic Processing tasks message packet in message queue;
Described autotask processing server cluster, comprises multiple autotask processing server, for monitoring the message queue in same Message Queuing server accordingly; If described autotask processing server successfully obtains an automatic Processing tasks message, then perform correspondingly local Processing tasks application processing logic automatically, or call the banking on-line business processing service that banking processing server cluster provides, and from message queue, delete automatic Processing tasks message packet accordingly simultaneously; And all the other autotask processing servers proceed to monitor in autotask processing server cluster; After automatic Processing tasks to be done, generate automatic Processing tasks and complete message, and transfer to the storage of described Message Queuing server;
Described banking processing server cluster, for performing correspondingly banking on-line business processing program according to calling of described autotask processing server;
Described database server, upgrades autotask mutual exclusion lock and autotask Flow Record information for registering, record banking business data information; If described autotask processing server autotask business logic processing is abnormal, then register relevant abnormalities information; If described autotask processing server autotask business logic processing is normal, then the relevant normal information of registration.
6. device as claimed in claim 5, is characterized in that, described message generation server supports clustered deploy(ment) pattern.
7. device as claimed in claim 5, is characterized in that, described Message Queuing server supports clustered deploy(ment) pattern.
8. device as claimed in claim 5, it is characterized in that, autotask processing server in described autotask processing server cluster adopts clustered deploy(ment) pattern, is that equity is disposed without priority, and physically achieves clock synchronous between autotask processing server.
9. device as claimed in claim 5, is characterized in that, described banking processing server cluster adopts clustered deploy(ment) pattern.
10. the dispatching method of the automatic Processing tasks of bank, it is characterized in that, described dispatching method is at autotask processing server cluster, database server, message generation server, perform between Message Queuing server and banking processing server cluster; Comprise:
Described message generation server generates automatic Processing tasks message packet;
Described Message Queuing server stores automatic Processing tasks message packet in message queue;
Autotask processing server in described autotask processing server cluster monitors the message queue in same Message Queuing server accordingly; If described autotask processing server successfully obtains an automatic Processing tasks message, then perform correspondingly local Processing tasks application processing logic automatically, or call the banking on-line business processing service that banking processing server cluster provides, and from message queue, delete automatic Processing tasks message packet accordingly simultaneously; And all the other autotask processing servers proceed to monitor in autotask processing server cluster; After automatic Processing tasks to be done, generate automatic Processing tasks and complete message, and transfer to the storage of described Message Queuing server;
Described banking processing server cluster performs correspondingly banking on-line business processing program according to calling of described autotask processing server; Described database server registration upgrades autotask mutual exclusion lock and autotask Flow Record information, record banking business data information; If described autotask processing server autotask business logic processing is abnormal, then register relevant abnormalities information; If described autotask processing server autotask business logic processing is normal, then the relevant normal information of registration.
CN201510085054.7A 2015-02-17 2015-02-17 A kind of bank automatically processes the dispatching method and device of task Active CN104636878B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510085054.7A CN104636878B (en) 2015-02-17 2015-02-17 A kind of bank automatically processes the dispatching method and device of task

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510085054.7A CN104636878B (en) 2015-02-17 2015-02-17 A kind of bank automatically processes the dispatching method and device of task

Publications (2)

Publication Number Publication Date
CN104636878A true CN104636878A (en) 2015-05-20
CN104636878B CN104636878B (en) 2018-02-27

Family

ID=53215597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510085054.7A Active CN104636878B (en) 2015-02-17 2015-02-17 A kind of bank automatically processes the dispatching method and device of task

Country Status (1)

Country Link
CN (1) CN104636878B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935658A (en) * 2015-06-17 2015-09-23 交通银行股份有限公司 Bank task allocation method and device
CN106330994A (en) * 2015-06-18 2017-01-11 天脉聚源(北京)科技有限公司 User message publishing method and system
CN106888240A (en) * 2015-12-16 2017-06-23 天脉聚源(北京)科技有限公司 A kind of page data dissemination method and system
CN107943584A (en) * 2017-11-15 2018-04-20 中国银行股份有限公司 The processing method and processing device of batch transaction request
CN108255620A (en) * 2018-01-08 2018-07-06 北京奇艺世纪科技有限公司 A kind of business logic processing method, apparatus, service server and system
TWI695328B (en) * 2019-01-03 2020-06-01 臺灣銀行股份有限公司 Guided tandem transaction management and tracking operation system
CN112734584A (en) * 2021-01-21 2021-04-30 建信金融科技有限责任公司 Method and system for locking insurance policy based on financial insurance business process
CN113535420A (en) * 2020-04-20 2021-10-22 北京沃东天骏信息技术有限公司 Message processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050081205A1 (en) * 2003-09-30 2005-04-14 Carney Michael G. Computer-implemented system and method for managing service agents
CN101140528A (en) * 2007-08-31 2008-03-12 中兴通讯股份有限公司 Method, device and system for realizing timing tasks load equilibria in cluster
CN101316193A (en) * 2007-05-28 2008-12-03 北京师范大学珠海分校 Multi-task scheduling method of measuring probe
CN102904746A (en) * 2012-09-13 2013-01-30 曙光信息产业(北京)有限公司 Cluster task self-dispatching system and method based on information mechanism
CN103677967A (en) * 2012-09-03 2014-03-26 阿里巴巴集团控股有限公司 Remote data service system of data base and task scheduling method
CN103761148A (en) * 2014-01-26 2014-04-30 北京京东尚科信息技术有限公司 Control method for cluster timing scheduling tasks

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050081205A1 (en) * 2003-09-30 2005-04-14 Carney Michael G. Computer-implemented system and method for managing service agents
CN101316193A (en) * 2007-05-28 2008-12-03 北京师范大学珠海分校 Multi-task scheduling method of measuring probe
CN101140528A (en) * 2007-08-31 2008-03-12 中兴通讯股份有限公司 Method, device and system for realizing timing tasks load equilibria in cluster
CN103677967A (en) * 2012-09-03 2014-03-26 阿里巴巴集团控股有限公司 Remote data service system of data base and task scheduling method
CN102904746A (en) * 2012-09-13 2013-01-30 曙光信息产业(北京)有限公司 Cluster task self-dispatching system and method based on information mechanism
CN103761148A (en) * 2014-01-26 2014-04-30 北京京东尚科信息技术有限公司 Control method for cluster timing scheduling tasks

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935658A (en) * 2015-06-17 2015-09-23 交通银行股份有限公司 Bank task allocation method and device
CN104935658B (en) * 2015-06-17 2018-05-08 交通银行股份有限公司 A kind of bank's method for allocating tasks and device
CN106330994A (en) * 2015-06-18 2017-01-11 天脉聚源(北京)科技有限公司 User message publishing method and system
CN106888240A (en) * 2015-12-16 2017-06-23 天脉聚源(北京)科技有限公司 A kind of page data dissemination method and system
CN107943584A (en) * 2017-11-15 2018-04-20 中国银行股份有限公司 The processing method and processing device of batch transaction request
CN108255620A (en) * 2018-01-08 2018-07-06 北京奇艺世纪科技有限公司 A kind of business logic processing method, apparatus, service server and system
CN108255620B (en) * 2018-01-08 2021-11-05 北京奇艺世纪科技有限公司 Service logic processing method, device, service server and system
TWI695328B (en) * 2019-01-03 2020-06-01 臺灣銀行股份有限公司 Guided tandem transaction management and tracking operation system
CN113535420A (en) * 2020-04-20 2021-10-22 北京沃东天骏信息技术有限公司 Message processing method and device
CN112734584A (en) * 2021-01-21 2021-04-30 建信金融科技有限责任公司 Method and system for locking insurance policy based on financial insurance business process

Also Published As

Publication number Publication date
CN104636878B (en) 2018-02-27

Similar Documents

Publication Publication Date Title
CN104636878A (en) Dispatching method and device of bank automatic processing task
CN100594498C (en) Mass data real time processing structure and real time need-based processing platform used for the structure
CN103401917B (en) A kind of mixing cloud computing system and its implementation method based on cloud bus
CN103825964B (en) SLS (Service Level Specification) scheduling device and SLS scheduling method based on cloud computing PaaS (platform-as-a-service) platform
CN103780655A (en) Message transmission interface task and resource scheduling system and method
CN102346460A (en) Transaction-based service control system and method
CN109445802A (en) The method of privatization Paas platform and its publication application based on container
CN110661842B (en) Resource scheduling management method, electronic equipment and storage medium
CN105074664A (en) Cost-minimizing task scheduler
CN110377406A (en) A kind of method for scheduling task, device, storage medium and server node
CN107766147A (en) Distributed data analysis task scheduling system
CN112527310A (en) Multi-tenant data isolation method and device, computer equipment and storage medium
CN109067841A (en) Service current-limiting method, system, server and storage medium based on ZooKeeper
US9430219B2 (en) Revision safe upgrade in a hybrid cloud landscape
CN112288423A (en) Aggregation payment method and system of distributed framework
CN108494582A (en) A kind of lower coupling automation operational system and method
CN106101212A (en) Big data access method under cloud platform
CN106062716A (en) Method, device and single task system for realizing multiple tasks in single task system
Lin et al. Research on building an innovative electric power marketing business application system based on cloud computing and microservices architecture technologies
CN106254452A (en) The big data access method of medical treatment under cloud platform
US8543970B2 (en) Energy consumption visualization for software design
CN105827744A (en) Data processing method of cloud storage platform
CN111161052B (en) Bank operation data processing method and device
CN105874453B (en) Consistent tenant experience is provided for more tenant databases
CN112448833A (en) Multi-management-domain communication method and device

Legal Events

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