CN107894926A - A kind of synchronization of bank's image typing task and distribution system and method - Google Patents

A kind of synchronization of bank's image typing task and distribution system and method Download PDF

Info

Publication number
CN107894926A
CN107894926A CN201711226923.9A CN201711226923A CN107894926A CN 107894926 A CN107894926 A CN 107894926A CN 201711226923 A CN201711226923 A CN 201711226923A CN 107894926 A CN107894926 A CN 107894926A
Authority
CN
China
Prior art keywords
task
queue
distribution
typing
teller
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
CN201711226923.9A
Other languages
Chinese (zh)
Other versions
CN107894926B (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.)
Sinyada Technology Co.,Ltd.
Original Assignee
SUNYARD SYSTEM ENGINEERING 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 SUNYARD SYSTEM ENGINEERING Co Ltd filed Critical SUNYARD SYSTEM ENGINEERING Co Ltd
Priority to CN201711226923.9A priority Critical patent/CN107894926B/en
Publication of CN107894926A publication Critical patent/CN107894926A/en
Application granted granted Critical
Publication of CN107894926B publication Critical patent/CN107894926B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/544Remote
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Abstract

The present invention discloses synchronization and distribution system and the method for a kind of bank's image typing task, the system includes task refresh module, tasks synchronization module and task allocating module, this method initializes individual queue when system starts, and performs task respectively and refresh and simultaneously operating or batch operation.The present invention is realized when bank's image typing task is in multiple service centers while when initiating, unified sequence and storage are efficiently carried out to polycentric task, and in outside business processing program concurrent invocation, fast positioning simultaneously returns to mission bit stream, realize the accurate synchronization of task status, mortality is obtained so as to reduce task, and is stored by multitask queue, lifts task treatment effeciency.

Description

A kind of synchronization of bank's image typing task and distribution system and method
Technical field
The present invention relates to computer information technology field, more particularly to it is a kind of applied to the same of bank's image typing task Step and distribution method.
Background technology
With the fast development of Global finance industry, financial institution is also constantly changing, particularly bank, ever-increasing To be kept under demand and update the service of itself, they make the system of " customer-centric ", pass through workflow reengineering, lifting The business experience of user, this is also required when bank counter accepts client traffic, it is necessary to which backstage personnel can quickly handle client Business, and business result is returned into foreground teller, by foreground, teller informs customer result.
General tasks synchronization and the mechanism of distribution, the mechanism of push is all based on, i.e. external service is connected to task distribution clothes Business, register information and the state that external service is maintained in task distribution service, external service are quasi real time updated certainly by heartbeat Body state, task distribution service carry out active distribution according to the status list and distribution rules of external service.Under this kind of pattern, External service needs to establish heartbeat and monitors service processing business, and resource consumption is more;Task distribution service processing logic is complicated, Bank needs to carry out task ranking, the matching of multiple key element, and distribution performance is relatively low;Fail if there is state synchronized, may lead Cause to repeat transmission service to external service, the problem of also causing external service processing pressure increase.
The content of the invention
In view of the shortcomings of the prior art, the present invention provides the synchronization applied to bank's image typing task and distribution method, This method is different from conventional push-mechanism, and by the way of external service pulls, task distribution service need not safeguard outside take The state of business, but according to the recalls information of external service, task result information is returned to, external call service is also without foundation Heartbeat and monitoring service, it is only necessary to establish single service, pass through the incoming acquisition mission bit stream of the service.And by obtaining in advance Task mechanism is taken to solve to obtain the latency issue between previous task and latter task.Concrete technical scheme is as follows:
A kind of synchronization of bank's image typing task and distribution system, it is characterised in that the system includes:
Task refresh module, from pending image typing task pool timing acquisition certain amount task and its corresponding to Attribute, and be stored in temporary duty queue;
Tasks synchronization module, the task in the temporary duty queue that task refresh module is refreshed are synchronous according to task attribute Into corresponding distribution task queue;
Task allocating module, after the module is called by external service, the attribute and distribution task that are passed to according to external service Task attribute in queue is matched, and the task status in described distribution task queue is changed after the completion of matching, is repaiied simultaneously Change the task attribute of pending image typing task pool, and task is returned into external service.
A kind of synchronization of bank's image typing task and distribution method, it is characterised in that this method comprises the following steps:
Step 1:When system starts, the queue of initialization temporary duty, distribution task queue, task queue and task are removed Refresh flags, create object lock of the distribution task queue using the affiliated center of task as dimension;
Step 2:When needing that task refresh and be synchronous, following operation is performed:
(1) when the pending image typing task pool task of acquisition starts, task refresh flags are opened;
(2) a number of task object of timing acquisition and category corresponding to it from pending image typing task pool Property, task refresh flags are closed after the completion of acquisition;
(3) successively according to task priority from big to small, task creation time order and function order, task cut-off processing time it is first The mode of order carries out task ranking afterwards;
(4) after the completion of task ranking, task object is stored in temporary duty queue in order;
(5) object lock is opened, by the task in described temporary duty queue and removes the task progress in task queue Compare, if it find that there is mission number identical task, then remove this task in temporary duty queue, after forming filtering Temporary duty queue;
(6) the temporary duty queue after filtering is copied to the distribution belonging to corresponding center according to the affiliated center of task to appoint Be engaged in queue in, after the completion of discharge the object lock;
When needing to be allocated task, following operation is performed:
(1) external service is passed to Matching Elements, including typing teller center number, typing teller technical ability numbering and teller compile Number, and ask distribution task;
(2) according to typing teller center number, open described typing teller center number corresponding to object lock, travel through described Task queue is distributed corresponding to typing teller center number, according to incoming typing teller technical ability numbering and times of distribution task queue Technical ability numbering is unanimously needed for business and same teller can only handle the principle of same task once, matches nearest task;
(3) after the match is successful, determine whether that the task has reached required number of processes, not up to the then current distribution of modification The state of the task in task queue, including task number of processes and task treatment people list, if reached, from point With removing the task in task queue;
(4) judge whether refresh flags are opened, if opened, record the mission number into removal task queue;Such as Fruit is not opened, then need not record the mission number into removal task queue;The described object lock of release;
(5) task status that same task is numbered in pending image typing task pool is changed, and by the letter of the task Breath returns to external service.
Further, described attribute includes task priority, task creation time, task cut-off processing time, task Required technical ability numbering, number of processes, the list of task treatment people and the mission number of required by task number of processes, task.
Compared with prior art, this programme has the beneficial effect that:
(1) method of the invention is according to the principle of required i.e. gained, and the match information being passed to according to external service is quick logical The mode of search and matching is crossed, returning to external service role result, by the task queue cutting of service center, improves task The efficiency of matching;
(2) method of the invention is in task synchronizing process, by the inconsistent task of task refresh flags recording status, Avoid the problem of causing task processing failure because task status is inconsistent.
(3) method of the invention allows external service only to need to establish single service chaining, you can obtains task, reduces visitor Family end and the resource consumption of service end.
Brief description of the drawings
Fig. 1 is synchronization and the distribution method flow chart of bank's image typing task of the present invention.
Embodiment
A kind of synchronization of bank's image typing task and distribution system, it is characterised in that the system includes:
Task refresh module, from pending image typing task pool timing acquisition certain amount task and its corresponding to Attribute, and be stored in temporary duty queue;
Tasks synchronization module, the task in the temporary duty queue that task refresh module is refreshed are synchronous according to task attribute Into corresponding distribution task queue;
Task allocating module, after the module is called by external service, the attribute and distribution task that are passed to according to external service Task attribute in queue is matched, and the task status in described distribution task queue is changed after the completion of matching, is repaiied simultaneously Change the task attribute of pending image typing task pool, and task is returned into external service.
A kind of synchronization of bank's image typing task and distribution method, it is characterised in that this method comprises the following steps:
Step 1:When system starts, the queue of initialization temporary duty, distribution task queue, task queue and task are removed Refresh flags, create object lock of the distribution task queue using the affiliated center of task as dimension;
Step 2:When needing that task refresh and be synchronous, following operation is performed:
(1) when the pending image typing task pool task of acquisition starts, task refresh flags are opened;
(2) a number of task object of timing acquisition and category corresponding to it from pending image typing task pool Property, task refresh flags are closed after the completion of acquisition;
(3) successively according to task priority from big to small, task creation time order and function order, task cut-off processing time it is first The mode of order carries out task ranking afterwards;
(4) after the completion of task ranking, task object is stored in temporary duty queue in order;
(5) object lock is opened, by the task in described temporary duty queue and removes the task progress in task queue Compare, if it find that there is mission number identical task, then remove this task in temporary duty queue, after forming filtering Temporary duty queue;
(6) the temporary duty queue after filtering is copied to the distribution belonging to corresponding center according to the affiliated center of task to appoint Be engaged in queue in, after the completion of discharge the object lock;
When needing to be allocated task, following operation is performed:
(1) external service timing carries out heartbeat connection, when only needing heartbeat, is passed to heartbeat message, appoints when needing to obtain During business, then task Matching Elements are passed to;Described external service is passed to Matching Elements, including typing teller center number, typing cabinet Member's technical ability numbering and typing teller numbering, and ask distribution task;
(2) according to typing teller center number, open described typing teller center number corresponding to object lock, travel through described Task queue is distributed corresponding to typing teller center number, according to incoming typing teller technical ability numbering and times of distribution task queue Technical ability numbering is unanimously needed for business and same teller can only handle the principle of same business once, matches nearest task;
(3) after the match is successful, determine whether that the task has reached required number of processes, not up to the then current distribution of modification The state of the task in task queue, including number of processes is cumulative and task treatment people list adds the typing cabinet for task Member's numbering, if reached, the task is removed from distribution task queue;
(4) judge whether refresh flags are opened, if opened, record the mission number into removal task queue;Such as Fruit is not opened, then need not record the mission number into removal task queue;The described object lock of release;
(5) if the match is successful, the task status that same task is numbered in pending image typing task pool is changed, Including task, number of processes has been cumulative and task treatment people list adds typing teller numbering, and by the information of the task External service is returned to, if not matching task, returns to the information of non-matching task to external service.
Further, described attribute includes task priority, task creation time, task cut-off processing time, task Number of processes, the list of task treatment people and the mission number of required technical ability number, required by task number of processes, task.

Claims (3)

1. synchronization and the distribution system of a kind of bank's image typing task, it is characterised in that the system includes:
Task refresh module, timing acquisition certain amount task and category corresponding to it from pending image typing task pool Property, and be stored in temporary duty queue;
Tasks synchronization module, the task in temporary duty queue that task refresh module refreshes is synchronized to phase according to task attribute In the distribution task queue answered;
Task allocating module, the attribute being passed to after the module is called by external service according to external service and distribution task queue In task attribute matched, the task status in described distribution task queue is changed after the completion of matching, while modification is treated The task attribute of the image typing task pool of processing, and task is returned into external service.
2. synchronization and the distribution method of a kind of bank's image typing task, it is characterised in that this method comprises the following steps:
Step 1:When system starts, the queue of initialization temporary duty, distribution task queue, task queue and task refreshing are removed Mark, create object lock of the distribution task queue using the affiliated center of task as dimension;
Step 2:When needing that task refresh and be synchronous, following operation is performed:
(1) when the obtaining pending image typing task pool of the task starts, task refresh flags are opened;
(2) a number of task object of timing acquisition attribute corresponding with its from pending image typing task pool, is obtained Task refresh flags are closed after the completion of taking;
(3) successively according to task priority from big to small, task creation time order and function order, task cut-off processing time successively it is suitable The mode of sequence carries out task ranking;
(4) after the completion of task ranking, task object is stored in temporary duty queue in order;
(5) object lock is opened, the task in the task in described temporary duty queue and removal task queue is compared, If it find that there is mission number identical task, then this task in temporary duty queue is removed, form facing after filtering When task queue;
(6) the temporary duty queue after filtering is copied to the distribution task team belonging to corresponding center according to the affiliated center of task In row, after the completion of discharge the object lock;
When needing to be allocated task, following operation is performed:
(1) external service is passed to Matching Elements, including typing teller center number, typing teller technical ability numbering and teller's numbering, and Ask distribution task;
(2) according to typing teller center number, open described typing teller center number corresponding to object lock, travel through described typing Task queue is distributed corresponding to teller center number, according to incoming typing teller technical ability numbering and the task institute of distribution task queue Need technical ability numbering unanimously and same teller can only handle the principle of same task once, match nearest task;
(3) after the match is successful, determine whether that the task has reached required number of processes, not up to then modification is current distributes task The state of the task in queue, including task number of processes and task treatment people list, if reached, appoint from distribution The task is removed in business queue;
(4) judge whether refresh flags are opened, if opened, record the mission number into removal task queue;If no Open, then need not record the mission number into removal task queue;The described object lock of release;
(5) task status that same task is numbered in pending image typing task pool is changed, and the information of the task is returned Back to external service.
3. according to claim 2, described attribute includes task priority, task creation time, task cut-off processing Time, required by task technical ability numbering, required by task number of processes, task number of processes, the list of task treatment people and appoint Business numbering.
CN201711226923.9A 2017-11-29 2017-11-29 System and method for synchronizing and distributing bank image input tasks Active CN107894926B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711226923.9A CN107894926B (en) 2017-11-29 2017-11-29 System and method for synchronizing and distributing bank image input tasks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711226923.9A CN107894926B (en) 2017-11-29 2017-11-29 System and method for synchronizing and distributing bank image input tasks

Publications (2)

Publication Number Publication Date
CN107894926A true CN107894926A (en) 2018-04-10
CN107894926B CN107894926B (en) 2020-11-10

Family

ID=61806670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711226923.9A Active CN107894926B (en) 2017-11-29 2017-11-29 System and method for synchronizing and distributing bank image input tasks

Country Status (1)

Country Link
CN (1) CN107894926B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110895485A (en) * 2018-09-12 2020-03-20 北京奇虎科技有限公司 Task scheduling system
CN109491810B (en) * 2018-11-20 2020-06-23 泰华智慧产业集团股份有限公司 Method and system for extensible multi-time-effect level message forwarding
CN114422594A (en) * 2020-10-13 2022-04-29 顺丰科技有限公司 Service processing method, device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7165256B2 (en) * 2001-09-11 2007-01-16 Sun Microsystems, Inc. Task grouping in a distributed processing framework system and methods for implementing the same
CN104077701A (en) * 2014-06-09 2014-10-01 中国建设银行股份有限公司 Task processing method and device used for e-business platform
CN104463482A (en) * 2014-12-16 2015-03-25 用友软件股份有限公司 Task allocation method and task allocation device
CN104935658A (en) * 2015-06-17 2015-09-23 交通银行股份有限公司 Bank task allocation method and device
CN105809323A (en) * 2016-02-23 2016-07-27 平安科技(深圳)有限公司 Task allocation method and system
CN107180050A (en) * 2016-03-11 2017-09-19 精硕科技(北京)股份有限公司 A kind of data grabber system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7165256B2 (en) * 2001-09-11 2007-01-16 Sun Microsystems, Inc. Task grouping in a distributed processing framework system and methods for implementing the same
CN104077701A (en) * 2014-06-09 2014-10-01 中国建设银行股份有限公司 Task processing method and device used for e-business platform
CN104463482A (en) * 2014-12-16 2015-03-25 用友软件股份有限公司 Task allocation method and task allocation device
CN104935658A (en) * 2015-06-17 2015-09-23 交通银行股份有限公司 Bank task allocation method and device
CN105809323A (en) * 2016-02-23 2016-07-27 平安科技(深圳)有限公司 Task allocation method and system
CN107180050A (en) * 2016-03-11 2017-09-19 精硕科技(北京)股份有限公司 A kind of data grabber system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110895485A (en) * 2018-09-12 2020-03-20 北京奇虎科技有限公司 Task scheduling system
CN109491810B (en) * 2018-11-20 2020-06-23 泰华智慧产业集团股份有限公司 Method and system for extensible multi-time-effect level message forwarding
CN114422594A (en) * 2020-10-13 2022-04-29 顺丰科技有限公司 Service processing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN107894926B (en) 2020-11-10

Similar Documents

Publication Publication Date Title
US11669499B2 (en) Management of journal entries associated with customizations of knowledge objects in a search head cluster
CN105684377B (en) A kind of system and method that the distributed transaction management device for reading isolation level again in MPP database is supported in creation
Marín-Ortega et al. ELTA: new approach in designing business intelligence solutions in era of big data
CN107894926A (en) A kind of synchronization of bank's image typing task and distribution system and method
CN108874552A (en) Distributed lock executes method, apparatus and system, application server and storage medium
CN105487924B (en) A kind of batch processing control method and device
CA2896973C (en) Methods, devices and systems for dynamically managing memberships in replicated state machines within a distributed computing environment
US20070156916A1 (en) Method of correlating events in data packet streams
US20040215598A1 (en) Distributed data mining and compression method and system
CN106790694A (en) The dispatching method of destination object in distributed system and distributed system
CN108021618A (en) A kind of data query method and system
US9207978B2 (en) Method and system for efficient execution of ordered and unordered tasks in multi-threaded and networked computing
CN104636878B (en) A kind of bank automatically processes the dispatching method and device of task
CN110196856A (en) A kind of distributed data read method and device
CN110222115A (en) The database synchronization method and equipment loaded based on table initialisation packet
KR20140138670A (en) Systems and methods for supporting transaction recovery based on a strict ordering of two-phase commit calls
CN109643310A (en) System and method for fast resampling in database
CN108132837A (en) A kind of distributed type assemblies dispatch system and method
CN102103642A (en) OLTP-based data deletion method, system and graphic database sever
CN107193539A (en) Multi-thread concurrent processing method and multi-thread concurrent processing system
CN104978313A (en) Data synchronization method and apparatus for database system, and server
CN108829740A (en) Date storage method and device
CN103176837A (en) Lock-free message queue implementation method based on reversal single linked list
CN109710679A (en) Data pick-up method and device
JP2022521412A (en) Asynchronous storage management in distributed systems

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
CP01 Change in the name or title of a patent holder

Address after: Xinyada technology building, 3888 Jiangnan Avenue, Binjiang District, Hangzhou City, Zhejiang Province 310051

Patentee after: Sinyada Technology Co.,Ltd.

Address before: Xinyada technology building, 3888 Jiangnan Avenue, Binjiang District, Hangzhou City, Zhejiang Province 310051

Patentee before: SUNYARD SYSTEM ENGINEERING Co.,Ltd.

CP01 Change in the name or title of a patent holder