CN102831547B - A kind of method and system of settling interests in real time and processing of realizing - Google Patents

A kind of method and system of settling interests in real time and processing of realizing Download PDF

Info

Publication number
CN102831547B
CN102831547B CN201110161191.6A CN201110161191A CN102831547B CN 102831547 B CN102831547 B CN 102831547B CN 201110161191 A CN201110161191 A CN 201110161191A CN 102831547 B CN102831547 B CN 102831547B
Authority
CN
China
Prior art keywords
interests
settling
operation data
credit operation
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110161191.6A
Other languages
Chinese (zh)
Other versions
CN102831547A (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.)
Advanced New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201110161191.6A priority Critical patent/CN102831547B/en
Publication of CN102831547A publication Critical patent/CN102831547A/en
Priority to HK13101115.3A priority patent/HK1173827A1/en
Application granted granted Critical
Publication of CN102831547B publication Critical patent/CN102831547B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a kind of method and system of settling interests in real time and processing of realizing. Wherein, the method comprises: the Control Server of settling interests is collected at least one credit operation data need to settling interests and process, and described at least one the credit operation data of collecting are kept at and are settled interests in database; The processing server of settling interests obtains at least one credit operation data from the database of settling interests; Described at least one the credit operation data that the processing server of settling interests locking obtains, to processings of settling interests of the credit operation data of locking, discharge the credit operation data that lock after pending. According to the embodiment of the present invention, can avoid failure or the mistake of settling interests of settling interests and processing.

Description

A kind of method and system of settling interests in real time and processing of realizing
Technical field
The present invention relates to field of computer technology, particularly a kind of realize settle interests in real time process method and beSystem.
Background technology
Along with the development of network technology, the loan that could realize in traditional bank system and refundEtc. credit operation, real in the Internet bank that now can be on network or financial core billing and accounting systemExisting, for carrying out credit operation, client operates the great convenience of bringing. In addition, in credit operation,The Internet bank or billing and accounting system also will carried out each that credit operation operating process produces to clientThe processing of settling interests of class credit operation data.
In traditional bank system, conventionally at non operation time, as the credit of morning every day to the same dayThe business datum processing of settling interests, thus ensure settling interests while processing, credit operation data be stable notBecome.
But compared with traditional credit operation, by carrying out credit operation at network, client canProvide a loan at any time and refund in 24 hours in whole day, and can not be subject to the restriction of business hours. Therefore,In the time carrying out credit operation by network, each client's credit operation data will become at any timeChange, as, the data such as capital, interest and default interest become at any time because client carries out credit operation operationChange. If when the billing and accounting system on network is settled interests processing to a certain credit operation data, shouldHaving there is variation because client carries out credit operation operation in credit operation data, will probably causeSettle interests process failure or the mistake of settling interests.
Summary of the invention
In order to solve the problems of the technologies described above, the embodiment of the present invention provides a kind of real-time implementation to settle interests and has processedMethod and system, with failure or the mistake of settling interests avoiding settling interests and processing.
The embodiment of the invention discloses following technical scheme:
Realize the method for settling interests in real time and processing, comprising:
The Control Server of settling interests is collected at least one credit operation data need to settling interests and process, will receiveAt least one credit operation data of collection are kept at settles interests in database;
The processing server of settling interests obtains described at least one credit operation data from the database of settling interests,
Described at least one the credit operation data that the described processing server locking of settling interests obtains, to what lockThe processing of settling interests of described at least one credit operation data, discharges the described of locking after pendingAt least one credit operation data.
Realize the system of settling interests in real time and processing, comprising: Control Server of settling interests, one are settled interestsDatabase and at least one processing server of settling interests, wherein,
The described Control Server of settling interests, for collecting at least one credit operation need to settling interests and processData, are kept at described at least one the credit operation data of collecting to settle interests in database;
The described database of settling interests, for storing described at least one the credit operation that need to settle interests and processData;
The described processing server of settling interests, for obtaining described at least one credit operation from the database of settling interestsData, described at least one credit operation data the processing of settling interests that locking obtains, pending completeThe credit operation data of rear release locking.
As can be seen from the above-described embodiment, compared with prior art, tool of the present invention has the following advantages:
The processing processing method of settling interests of the present invention as buffering, can be supported client's by the database of settling interestsCredit operation operation and the processing of settling interests are parallel, and then by the processing server lock in the time settling interests processing of settling interestsGiven data, discharges data after processing, and can work as because client carries out credit operation operation and make credit operationWhen data change at any time, client's operation not can to current execution settle interests process credit operation numberAccording to producing any impact, final, by avoided the settling interests failure processed or settle interests of instantaneous lock mechanismMistake.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will be to realityThe accompanying drawing of executing required use in example or description of the Prior Art is briefly described, for the common skill in this areaArt personnel, are not paying under the prerequisite of creative work, can also obtain it according to these accompanying drawingsHis accompanying drawing.
Fig. 1 is the settle interests flow chart of an embodiment of the method for processing of a kind of real-time implementation of the present invention;
Fig. 2 is the flow chart of another embodiment of a kind of method that realizes the processing of settling interests in real time of the present invention;
Fig. 3 is the structural representation of a kind of billing and accounting system of the present invention;
Fig. 4 is the flow chart of another embodiment of a kind of method that realizes the processing of settling interests in real time of the present invention;
Fig. 5 is the structure chart of an embodiment of a kind of system that realizes the processing of settling interests in real time of the present invention;
Fig. 6 is the structure chart of another embodiment of a kind of system that realizes the processing of settling interests in real time of the present invention;
Fig. 7 is the structural representation of processing server of settling interests in the present invention.
Detailed description of the invention
Below in conjunction with drawings and Examples, the embodiment of the present invention is described in detail. Should be appreciated that thisLocate described specific embodiment only in order to explain the present invention, be not intended to limit the present invention.
Embodiment mono-
Refer to Fig. 1, its embodiment's for a kind of method that realizes the processing of settling interests in real time in the present inventionFlow chart, comprises the following steps:
Step 101: the Control Server of settling interests is collected at least one credit operation number need to settling interests and processAccording to, described at least one the credit operation data of collecting are kept at and are settled interests in database;
Wherein, settling interests Control Server can be clear by screening the credit operation that be submitted to by each client terminalSingle, and then collect and wherein need the credit operation data of settling interests and processing, and by the credit operation of collectingData are kept at one and settle interests in database. So-called " credit operation data " just refer to a loanComprise that amount information (as, capital, capital or interest rate exceed the time limit) and interest rate information are in interior essential information.
Preferably, the Control Server of settling interests described in is collected at least one credit industry need to settling interests and processBusiness data, are kept at by described at least one the credit operation data of collecting the database of settling interests and comprise: knotBreath Control Server is collected at least one credit operation data need to settling interests and process, to the institute of collectingStating at least one credit operation data is numbered; The Control Server of settling interests is preserved the credit numbering obtainingSettling interests in queue, and the credit operation data of collection are kept at and are settled interests in database.
Step 102: the processing server of settling interests obtains at least one credit operation data from the database of settling interests;
For the processing server of settling interests, can be by a timer is set, or arrange one and touchThe mode of the event of sending out triggers the processing server of settling interests and from database, obtains credit operation data. Like this, whenWhen timer expiry or trigger event meet trigger condition, the processing server of settling interests is from settling interests databaseObtain at least one credit operation data.
A kind of preferred implementation is, described in the processing server of settling interests from the described database of settling interests, obtainAt least one credit operation data comprise: described in the processing server of settling interests judge in owned data poolWhether the credit operation data of being processed for settling interests are less than preset number, and wherein, described data pool is preservedThe credit operation data that the described processing server of settling interests obtains from database; If so place settles interests,Reason server from the described database of settling interests, obtain at least one credit operation data so that in data pool notThe credit operation data of processing of being settled interests equal preset number.
In this preferred implementation, the credit operation data that utilizing in data pool is not settled interests processesNumber obtains the trigger event of credit operation data as the processing server of settling interests, when not tied in data poolWhen the number of the credit operation data that breath is processed is less than preset number, the processing server of just need to settling interests obtainsCredit operation data, and the number that the obtains credit operation data place that will ensure not settled interests in data poolThe credit operation data of reason equal preset number, until there is no the letter that need to settle interests and process in the database of settling interestsBorrow business datum, and the processing server of settling interests obtains from the database of settling interests less than till credit operation data.Above-mentioned preset number can arrange arbitrarily according to the difference of the disposal ability of the processing server of settling interests, and settles interestsThe disposal ability of processing server is stronger, and preset number is larger, and the disposal ability of the processing server of settling interests morePoor, preset number is less. Therefore, the embodiment of the present invention does not limit the concrete numerical value of preset number.
And, due to the existence of data pool, the frequent number of settling interests of accessing of the processing server of can also avoiding settling interestsAccording to storehouse, improve the operating efficiency of the processing server of settling interests.
From the database of settling interests, obtain the concrete operations mode of credit operation data at the processing server of settling interestsUpper, can from the database of settling interests, extract credit operation data by the Control Server of settling interests, then will extractCredit operation data allocations is given the processing server of settling interests. In addition, can also be direct by the processing server of settling interestsFrom the database of settling interests, extract credit operation data.
, the processing server of settling interests described in obtains at least one credit operation number from the described database of settling interestsAccording to comprising: described in settle interests processing server receive described in the Control Server of settling interests settle interests database from describedThat extract and distribute to described in settle interests at least one credit operation data of processing server; Or, instituteState the processing server of settling interests and initiatively from the described database of settling interests, extract at least one credit operation data.
From the database of settling interests, obtain in the whole process of credit operation data at the processing server of settling interests, canThere to be multiple concrete implementation. For example, a kind of implementation is: process from start to finish clothes by settling interestsBusiness device extracts credit operation data from the database of settling interests. That is, under original state, the processing server of settling interestsDirectly from the database of settling interests, extract credit operation data, the credit operation data of extraction are kept to dataChi Zhong. Afterwards, once the credit operation data of processing of not settled interests in data pool are less than preset number, knotBreath processing server constantly extracts credit operation data from the database of settling interests, and constantly puts into data pool,The credit operation data that making in data pool is not settled interests processes equal preset number.
Or another kind of implementation is: from start to finish by the Control Server of settling interests from settling interests databaseExtract credit operation data, the processing server of settling interests is given in reallocation. That is, under original state, the control of settling interestsServer extracts credit operation data from the database of settling interests, and gives by credit operation data allocations the processing of settling interestsServer, the credit operation data of distribution are put into data pool by the processing server of settling interests. Afterwards, onceThe credit operation data of processing of not settled interests in data pool are less than preset number, the processing server of settling interests noticeThe Control Server of settling interests, allows the Control Server of settling interests constantly from the database of settling interests, extract credit operation data,And distribute to the processing server of settling interests, not settled interests in the data pool of the processing server that makes to settle interests processedCredit operation data equal preset number.
Certainly, also can, under original state, first be extracted from the database of settling interests by the Control Server of settling interestsCredit operation data, and distribute to the processing server of settling interests. And the data that have at the processing server of settling interestsChi Zhongwei is settled interests the credit operation data processed while being less than preset number, then by the processing server master that settles interestsThe moving credit operation data of extracting from the database of settling interests. Again or, under original state, first by the place that settles interestsReason server initiatively extracts credit operation data from the database of settling interests. And have in the service of processing of settling interestsIn data pool, do not settled interests the credit operation data processed while being less than preset number, then controlled service by settling interestsDevice extracts credit operation data from the database of settling interests, and then distributes to the processing server of settling interests.
The number that the processing server of settling interests obtains credit operation data from the database of settling interests can be one,Or be multiple, compared with obtaining credit operation data, obtaining multiple credit operation data can saveEconomize the number of operations that obtains of netscape messaging server Netscape, and then can improve the work effect of the processing server of settling interestsRate.
In addition, the number of the processing server of settling interests can be one, or is multiple, and obviously, employing is manyThe processing of settling interests of the individual processing server of settling interests, can speed up processing, improves disposal ability.
When the Control Server of settling interests is numbered at least one the credit operation data of collecting, and credit is numberedWhile being kept at credit queue, described in the processing server of settling interests from the database of settling interests, obtain described at least one penCredit operation data comprise: the processing server of settling interests receives one group of credit that the Control Server of settling interests distributesNumbering, described one group of credit is numbered that the Control Server of settling interests extracts from the queue of settling interests; The processing of settling interestsServer extracts corresponding one group of credit operation number according to the instruction of credit numbering from the database of settling interestsAccording to.
Because the Control Server of settling interests is kept at credit numbering to settle interests in queue, and the queue of repeatedly settling interestsIn one group of credit numbering distribute to the processing server of settling interests, the processing server of settling interests receives to settle interests controls clothesThe credit numbering that business device distributes obtains corresponding credit according to the instruction of credit numbering from the database of settling interestsBusiness datum, therefore, can be based on the queue unified distribution credit operation data of settling interests to multiple processing of settling interestsThe server processing of settling interests, has further improved the operating efficiency of settling interests and processing.
Step 103: described in described at least one the credit operation data that processing server locking obtains of settling interests,To credit operation data processings of settling interests of locking, discharge the credit operation number locking after pendingAccording to.
Wherein, credit operation data of the every processing of the processing server of settling interests, just lock this credit operationData, discharge this credit operation data after pending.
For example, locking data can be the line item lock of oracle database, after instruction is sent, settles interestsProcessing server is monopolized the authority that writes of credit operation data, avoid other settle interests processing server orOutside core billing and accounting system is carried out data modification to these credit operation data. Complete the processing of settling interestsRecord by submitting to the mode of whole db transaction to complete the final confirmation of data modification and automatically discharging row afterwardsRecord lock.
It should be noted that, for the credit operation data of same pen, first by the Control Server of settling interestsCollect data saving the data in and settle interests in database, then by the processing server of settling interests from the database of settling interestsThese credit operation data of middle acquisition, and the processing of settling interests accordingly.
As can be seen from the above-described embodiment, compared with prior art, tool of the present invention has the following advantages:
The processing processing method of settling interests of the present invention as buffering, can be supported client's by the database of settling interestsCredit operation operation and the processing of settling interests are parallel, and then by the processing server lock in the time settling interests processing of settling interestsGiven data, discharges data after processing, and can work as because client carries out credit operation operation and make credit operationWhen data change at any time, client's operation not can to current execution settle interests process credit operation numberAccording to producing any impact, final, by avoided the settling interests failure processed or settle interests of instantaneous lock mechanismMistake.
Embodiment bis-
Because network failure, the database of settling interests are abnormal or fault etc. while settling interests processing server locking dataReason, the settling interests of processing server that can cause settling interests processed unsuccessfully. Be with the difference part of embodiment mono-,After settling interests and processing unsuccessfully, further process failed credit operation data to settling interests and carry out the secondary place that settles interestsReason, processes failed credit operation data by the processing of successfully settling interests to ensure to settle interests. Refer to Fig. 2,It realizes the flow chart of another embodiment of the method for the processing of settling interests in real time for the present invention is a kind of. Wherein,Comprise the following steps:
Step 201: the Control Server of settling interests is collected at least one credit operation number need to settling interests and processAccording to, described at least one the credit operation data of collecting are kept at and are settled interests in database;
Step 202: the processing server of settling interests obtains described at least one credit operation number from the database of settling interestsAccording to;
Step 203: described in described at least one the credit operation data that processing server locking obtains of settling interests,To credit operation data processings of settling interests of locking, discharge the credit operation number locking after pendingAccording to;
Wherein, the implementation of step 201-203 can retouching referring to the step 101-103 in embodiment mono-State, this repeats no more.
Step 204: abnormality processing server obtains all settling interests and processes failed letter from abnormal data storehouseBorrow business datum, settling interests of obtaining processed to failed credit operation data and carry out secondary processings of settling interests, generalSecondary settle interests process successful credit operation data from described abnormal data storehouse, delete, wherein, extremely controlFailed credit operation data are processed in settling interests that the processing server of settling interests described in control server receives is submitted to, willThe credit operation data that obtain are kept in abnormal data storehouse.
Once settle interests, processing server, to a certain credit operation data processing failure, will be processed failed letterBorrow business datum and submit to abnormal Control Server, abnormal Control Server is by the processing failure of collectingCredit operation data are kept in abnormal data storehouse.
Abnormality processing server can receive described abnormal Control Server and extract from abnormal data storehouseAnd all abnormal credit operation data of distributing to described abnormality processing server, or, also canInitiatively to extract all abnormal credit operation data from abnormal data storehouse.
In addition, settle interests while processing when abnormality processing server carries out secondary, process continuously if secondary is settled interestsWhen failed and failed number of times reaches unsuccessfully threshold value, start and report to the police. Failure threshold value can be according to each accountThe demand for security of system arranges arbitrarily, and high if degree of safety requires, failed threshold value is just little, otherwise,If it is low that degree of safety requires, failed threshold value is just large. The embodiment of the present invention is not to the concrete data of failed threshold valueLimit.
As can be seen from the above-described embodiment, compared with prior art, tool of the present invention has the following advantages:
The processing processing method of settling interests of the present invention as buffering, can be supported client's by the database of settling interestsCredit operation operation and the processing of settling interests are parallel, and then by the processing server lock in the time settling interests processing of settling interestsGiven data, discharges data after processing, and can work as because client carries out credit operation operation and make credit operationWhen data change at any time, client's operation not can to current execution settle interests process credit operation numberAccording to producing any impact, final, by avoided the settling interests failure processed or settle interests of instantaneous lock mechanismMistake.
In addition, in the time settling interests failure, can also make to settle interests by abnormality processing server and process failed letterBorrow business datum by the processing of successfully settling interests, improve the stability of a system and security.
Embodiment tri-
Set a concrete billing and accounting system below, as shown in Figure 3, in this billing and accounting system, includeThe Control Server of settling interests, two processing servers of settling interests, the queue of settling interests, the data of settling interestsStorehouse, abnormal Control Server, abnormality processing server, abnormal queue and one abnormalDatabase. Each processing server of settling interests has a data pool, and the processing server of settling interests is at every turn in dataChi Zhongwei is settled interests the credit operation data processed while being less than preset number, from the database of settling interests, obtains letterBorrow business datum. Refer to Fig. 4, it is a kind of real-time implementation of the present invention another of method of processing of settling interestsThe flow chart of embodiment, comprises the following steps:
Step 401: filter out needs the credit note that the Control Server of settling interests produces in certain hour sectionSettle interests process credit operation data;
Step 402: the Control Server of settling interests goes out every credit industry from the credit operation extracting data filtering outThe credit numbering of business data, puts into by credit numbering the queue of settling interests, and, credit operation data is put meanwhileEnter to settle interests in database;
The credit operation data that filter out are numbered one by one, obtain credit numbering. Settle interests in queue and tie upWhat protect is the settle interests credit numberings of the credit operation data of processing of each needs, in the database of settling interests, safeguardsBe each needs settle interests process credit operation data. The credit of settling interests in queue is numbered and is settled interests numberThere is the relation of mapping according to the credit operation data in storehouse.
Step 403: the Control Server of settling interests extracts one group of credit numbering and distributes to and settle interests from the queue of settling interestsReason server;
For example, can be using 10 credit numberings as one group of credit numbering, one group of corresponding credit operation numberAccording to being 10 credit operation data. In addition, because the credit operation data of extracting will be processed by settling interests clothesBusiness device is put into data pool, therefore, and the number of one group of credit numbering herein being extracted by the Control Server of settling interestsOrder, ensure that the number of its corresponding credit operation data is not more than the capacity of data pool.
Step 404: the processing server of settling interests extracts phase according to the instruction of credit numbering from the database of settling interestsOne group of credit operation data of answering;
Step 405: the processing server of settling interests is put into the credit operation data that extract the data pool of selfIn;
Step 406: the processing server of settling interests judges the credit operation that whether has the processing of not settled interests in data poolData, if had, enter step 407, otherwise, process ends.
Step 407: the processing server of settling interests reads credit operation data locking;
Step 408: this credit operation data the settle interests processing of processing server to locking of settling interests;
Step 409: the processing server of settling interests judges that whether the processing of settling interests is successful, if so, enters step410, otherwise, step 413 entered
Step 410: the processing server of settling interests discharges these credit operation data of locking;
Step 411; The processing server of settling interests judges in data pool that the credit operation data of processing of not settled interests areThe no half that is less than data pool capacity, if so, enters step 412, otherwise, return to step 406;
Wherein, utilize in data pool the number of the credit operation data processed of not settled interests as the processing of settling interestsServer obtains the trigger event of credit operation data, when the credit operation of not settled interests and processing in data poolWhen the number of data is less than preset number, the processing server of just need to settling interests obtains credit operation data,And the number that the obtains credit operation data credit operation data processed etc. that will ensure not settled interests in data poolIn preset number, until in the database of settling interests, there is no the credit operation data that need to settle interests and process, and settle interestsProcessing server obtains less than till credit operation data from the database of settling interests. Especially, in this enforcementIn example, using the half of data pool capacity as this preset number. Certainly, can also process according to settling interests clothesThe disposal ability of business device, is set as preset number other quantity.
Step 412: the processing server of settling interests is filled credit operation data in data pool, so that after fillingThe credit operation data of processing of not settled interests in data pool are not less than the half of data pool capacity, return to step 406;
Wherein, the processing server of settling interests extracts the credit numbering of some from the queue of settling interests, according to letterThe instruction of borrowing numbering extracts the credit operation data of some from the database of settling interests, and makes after fillingThe credit operation data of processing of not settled interests in data pool are not less than the half of data pool capacity.
Step 413: these credit operation data of processing are unsuccessfully submitted to abnormal control by the processing server of settling interestsControl server;
Step 414: abnormal Control Server goes out every credit from processing failed credit operation extracting dataThe credit numbering of business datum, puts into abnormal queue by credit numbering, meanwhile, will process failed letterBorrow business datum and put into abnormal data storehouse;
Step 415: the abnormal queue of abnormality processing server monitoring, once in abnormal queue, there is credit numbering,From abnormal queue, extract all credit numberings;
Step 416: abnormality processing server is according to the instruction of credit numbering, extraction from abnormal data storehouseManage failed credit operation data;
Step 417: abnormality processing server carries out the secondary processing of settling interests to the credit operation data of extracting;
Step 418: abnormality processing server judges that whether successfully secondary settles interests processing, if so, enters stepRapid 419, otherwise, step 420 entered;
Step 419: abnormality processing server is deleted the credit operation number that success is processed from abnormal data storehouseAccording to, and from the queue of abnormal team, delete credit numbering, process ends;
Step 420: the judgement of abnormality processing server is processed continuously failed number of times and whether reached unsuccessfully threshold value,If so, process ends, otherwise, return to step 417.
As can be seen from the above-described embodiment, compared with prior art, tool of the present invention has the following advantages:
The processing processing method of settling interests of the present invention as buffering, can be supported client's by the database of settling interestsCredit operation operation and the processing of settling interests are parallel, and then by the processing server lock in the time settling interests processing of settling interestsGiven data, discharges data after processing, and can work as because client carries out credit operation operation and make credit operationWhen data change at any time, client's operation not can to current execution settle interests process credit operation numberAccording to producing any impact, final, by avoided the settling interests failure processed or settle interests of instantaneous lock mechanismMistake.
In addition, in the time settling interests failure, can also make to settle interests by abnormality processing server and process failed letterBorrow business datum by the processing of successfully settling interests, improve the stability of a system and security.
Embodiment tetra-
With a kind of real-time implementation settle interests process method corresponding, the embodiment of the present invention also provides a kind of realityShi Shixian settle interests process system. Refer to Fig. 5, it for what a kind of real-time implementation of the present invention was settled interests processing isThe structure chart of an embodiment of system. This system comprises: Control Server 501 of settling interests, one are settled interestsDatabase 502 and at least one processing server 503 of settling interests, wherein,
The Control Server 501 of settling interests, for collecting at least one credit operation number need to settling interests and processAccording to, described at least one the credit operation data of collecting are kept at and are settled interests in database;
The database 502 of settling interests, for storing described at least one the credit operation number that need to settle interests and processAccording to;
The processing server 503 of settling interests, for obtaining described at least one credit operation number from the database of settling interestsAccording to, locking obtain described at least one credit operation data the processing of settling interests, pending afterDischarge described at least one the credit operation data of locking.
Except said structure, preferred, refer to Fig. 6, it is a kind of real-time implementation of the present invention place that settles interestsThe structure chart of another embodiment of the system of reason, this system also comprises: abnormality processing server 504,An abnormal data storehouse 505 and an abnormal Control Server 506, wherein,
Abnormal Control Server 504, the letter of the processing failure of submitting to for the processing server of settling interests described in receivingBorrow business datum, the credit operation data that obtain are kept in abnormal data storehouse;
Abnormal data storehouse 505, processes failed credit operation data for storing to settle interests;
Abnormality processing server 506, processes failed letter for obtain all settling interests from abnormal data storehouseBorrow business datum, settling interests of obtaining processed to failed credit operation data and carry out secondary processings of settling interests, generalSecondary settle interests process successful credit operation data from described abnormal data storehouse, delete.
Interchangeable, in another kind of system architecture, abnormality processing server 506, for from abnormal dataIn storehouse, obtain all settling interests and process failed credit operation data, to the failed letter of processing of settling interests obtainingBorrow business datum and carry out secondary processings of settling interests, when the settle interests continuous failure of processing and the frequency of failure of secondary reaches mistakeWhile losing threshold value, start and report to the police.
Preferably, refer to Fig. 7, it is a structural representation of the processing server of settling interests in the present invention,As shown in Figure 7, the processing server 503 of settling interests comprises: judge module 5031 and data acquisition module 5032,Wherein,
Judge module 5031, for judging the processing of not settled interests of data pool that the processing server of settling interests hasCredit operation data whether be less than preset number, wherein, the processing of settling interests described in preserving of described data poolThe credit operation data that server obtains from database;
Data acquisition module 5032, for when the judged result of described judge module is when being, from described knotIn breath database, obtain at least one credit operation data, so that the credit of not settled interests and processing in data poolBusiness datum equals preset number.
In addition, further preferred, the processing server 503 of settling interests comprises:
The first receiver module, extracts from the described database of settling interests for the Control Server of settling interests described in receivingThat go out and distribute to described in settle interests at least one credit operation data of processing server;
Or,
The first extraction module, for initiatively extracting at least one credit operation number from the described database of settling interestsAccording to.
Equally, further preferred, abnormality processing server 506 comprises:
The second receiver module, extracts from described abnormal data storehouse for receiving described abnormal Control ServerThat go out and distribute to all abnormal credit operation data of described abnormality processing server;
Or,
The second extraction module, for initiatively extracting all abnormal credit operations from described abnormal data storehouseData.
As can be seen from the above-described embodiment, of the present invention settling interests processed processing method by the database work of settling interestsFor buffering, can support client's credit operation operation and settle interests to process to walk abreast, and then by the place that settles interestsReason server, at the locking data while processing of settling interests, discharges data after processing, and can work as and carry out letter because of clientBorrow business operation and when credit operation data are changed at any time, client's operation can not held currentThe capable credit operation data of processing of settling interests produce any impact, final, have avoided by instantaneous lock mechanismSettle interests process failure or the mistake of settling interests.
In addition, in the time settling interests failure, can also make to settle interests by abnormality processing server and process failed letterBorrow business datum by the processing of successfully settling interests, improve the stability of a system and security.
Above to a kind of real-time implementation provided by the present invention settle interests process method and system carried out in detailIntroduce, applied specific embodiment herein principle of the present invention and embodiment are set forth, withThe explanation of upper embodiment is just for helping to understand method of the present invention and core concept thereof; Meanwhile, forOne of ordinary skill in the art, is not departing under the principle prerequisite of the present invention's description, if can also makeDry improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (13)

  1. Realization settle interests in real time process a method, it is characterized in that, comprising:
    The Control Server of settling interests is collected at least one credit operation data need to settling interests and process, will receiveDescribed at least one the credit operation data of collection are kept at settles interests in database;
    The processing server of settling interests obtains described at least one credit operation data from the database of settling interests;
    Described at least one the credit operation data that the described processing server locking of settling interests obtains, to what lockThe processing of settling interests of credit operation data, discharges the credit operation data of locking after pending;
    Wherein, described at least one the credit operation data that the processing server of settling interests described in locking obtains comprise:
    The described processing server of settling interests is monopolized the authority that writes of credit operation data, to avoid outsideThese credit operation data that core billing and accounting system is monopolized the described processing server of settling interests are modified.
  2. 2. method according to claim 1, is characterized in that, described method also comprises:
    Abnormality processing server obtains all settling interests and processes failed credit operation number from abnormal data storehouseAccording to, settling interests of obtaining processed to failed credit operation data and carry out the secondary processing of settling interests, secondary is settled interestsProcess successful credit operation data and delete from described abnormal data storehouse, wherein, abnormal Control ServerFailed credit operation data are processed in settling interests of the processing server of settling interests described in reception submission, by the letter obtainingBorrowing business datum is kept in abnormal data storehouse.
  3. 3. method according to claim 1, is characterized in that, described method also comprises:
    Abnormality processing server obtains all settling interests and processes failed credit operation number from abnormal data storehouseAccording to, settling interests of obtaining processed to failed credit operation data and carry out the secondary processing of settling interests, when secondary is settled interestsWhen processing continuous failure and the frequency of failure and reaching unsuccessfully threshold value, start and report to the police, wherein, extremely control serviceFailed credit operation data are processed in settling interests that the processing server of settling interests described in device receives is submitted to, by what obtainCredit operation data are kept in abnormal data storehouse.
  4. 4. according to the method described in any one in claim 1-3, it is characterized in that, described in the place that settles interestsReason server obtains at least one credit operation data and comprises from the described database of settling interests:
    The described processing server of settling interests judges the credit operation of not settled interests and processing in owned data poolWhether data are less than preset number, and wherein, described data pool is settled interests processing server from number described in preservingAccording to the credit operation data that obtain in storehouse;
    If so the processing server of settling interests, obtains at least one credit industry from the described database of settling interestsBusiness data, so that the credit operation data of processing of not settled interests in data pool equal preset number.
  5. 5. according to the method described in any one in claim 1-3, it is characterized in that, described in the place that settles interestsReason server obtains at least one credit operation data and comprises from the described database of settling interests:
    The Control Server of settling interests described in the described processing server of settling interests receives extracts from the described database of settling interestsThat go out and distribute to described in settle interests at least one credit operation data of processing server;
    Or,
    The described processing server of settling interests initiatively extracts at least one credit operation number from the described database of settling interestsAccording to.
  6. 6. according to the method in claim 2 or 3, it is characterized in that described abnormality processing serverFrom abnormal data storehouse, obtaining the abnormal credit operation data that all settling interests process unsuccessfully comprises:
    Described abnormality processing server receives described abnormal Control Server and extracts from described abnormal data storehouseThat go out and distribute to all abnormal credit operation data of described abnormality processing server;
    Or,
    Described abnormality processing server initiatively extracts all abnormal credit operations from described abnormal data storehouseData.
  7. 7. method according to claim 1, is characterized in that, described in settle interests Control Server collectNeed to settle interests process at least one credit operation data, by collect described at least one credit industryBusiness data are kept at the database of settling interests and comprise:
    The Control Server of settling interests is collected at least one credit operation data need to settling interests and process, to receivingDescribed at least one the credit operation data of collection are numbered;
    The Control Server of settling interests is kept at the credit numbering obtaining to settle interests in queue, and by the credit of collectingBusiness datum is kept at settles interests in database;
    The processing server of settling interests obtains described at least one credit operation packet from the database of settling interestsDraw together: the processing server of settling interests receives one group of credit numbering that the Control Server of settling interests distributes, described one groupCredit is numbered that the Control Server of settling interests extracts from the queue of settling interests;
    The processing server of settling interests extracts corresponding one group according to the instruction of credit numbering from the database of settling interestsCredit operation data.
  8. Real-time implementation settle interests process a system, it is characterized in that, comprising: one settle interests control clothesBusiness device, settle interests database and at least one processing server of settling interests, wherein,
    The described Control Server of settling interests, for collecting at least one credit operation need to settling interests and processData, are kept at described at least one the credit operation data of collecting to settle interests in database;
    The described database of settling interests, for storing described at least one the credit operation that need to settle interests and processData;
    The described processing server of settling interests, for obtaining described at least one credit operation from the database of settling interestsData, described at least one credit operation data the processing of settling interests that locking obtains, pending completeDescribed at least one the credit operation data of rear release locking; What wherein, described locking obtained is at least describedCredit operation data comprise: described in the processing server of settling interests monopolize writing of credit operation dataAuthority, with this credit industry of avoiding outside core billing and accounting system to monopolize the described processing server of settling interestsBusiness data are modified.
  9. 9. system according to claim 8, is characterized in that, described system also comprises: one differentNormal processing server, an abnormal data storehouse and an abnormal Control Server, wherein,
    Described abnormal Control Server, the processing failure of submitting to for the processing server of settling interests described in receivingCredit operation data, are kept at the credit operation data that obtain in abnormal data storehouse;
    Described abnormal data storehouse, processes failed credit operation data for storing to settle interests;
    Described abnormality processing server, processes unsuccessfully for obtaining all settling interests from abnormal data storehouseCredit operation data, process failed credit operation data to settling interests of obtaining and carry out the secondary processing of settling interests,By secondary settle interests process successful credit operation data from described abnormal data storehouse, delete.
  10. 10. system according to claim 8, is characterized in that, described system also comprises: oneAbnormality processing server, an abnormal data storehouse and an abnormal Control Server, wherein,
    Described abnormal Control Server, the processing failure of submitting to for the processing server of settling interests described in receivingCredit operation data, are kept at the credit operation data that obtain in abnormal data storehouse;
    Described abnormal data storehouse, processes failed credit operation data for storing to settle interests;
    Described abnormality processing server, processes unsuccessfully for obtaining all settling interests from abnormal data storehouseCredit operation data, process failed credit operation data to settling interests of obtaining and carry out the secondary processing of settling interests,Settle interests when processing continuous failure and the frequency of failure and reaching unsuccessfully threshold value when secondary, start and report to the police.
  11. System in 11. according to Claim 8-10 described in any one, is characterized in that, described in settle interestsProcessing server comprises:
    Judge module, for judging data pool that the processing server of settling interests the has letter of processing of not settled interestsBorrow business datum and whether be less than preset number, wherein, described data pool is settled interests described in preserving and is processed serviceThe credit operation data that device obtains from database;
    Data acquisition module, for when the judged result of described judge module is when being, from the described number of settling interestsAccording to obtaining at least one credit operation data in storehouse, so that the credit operation of not settled interests and processing in data poolData equal preset number.
  12. System in 12. according to Claim 8-10 described in any one, is characterized in that, described in settle interestsProcessing server comprises:
    The first receiver module, extracts from the described database of settling interests for the Control Server of settling interests described in receivingThat go out and distribute to described in settle interests at least one credit operation data of processing server;
    Or,
    The first extraction module, for initiatively extracting at least one credit operation number from the described database of settling interestsAccording to.
  13. 13. according to the system described in claim 9 or 10, it is characterized in that, described abnormality processing serviceDevice comprises:
    The second receiver module, extracts from described abnormal data storehouse for receiving described abnormal Control ServerThat go out and distribute to all abnormal credit operation data of described abnormality processing server;
    Or,
    The second extraction module, for initiatively extracting all abnormal credit operations from described abnormal data storehouseData.
CN201110161191.6A 2011-06-15 2011-06-15 A kind of method and system of settling interests in real time and processing of realizing Active CN102831547B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110161191.6A CN102831547B (en) 2011-06-15 2011-06-15 A kind of method and system of settling interests in real time and processing of realizing
HK13101115.3A HK1173827A1 (en) 2011-06-15 2013-01-25 A method and system for achieving real time interest settlement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110161191.6A CN102831547B (en) 2011-06-15 2011-06-15 A kind of method and system of settling interests in real time and processing of realizing

Publications (2)

Publication Number Publication Date
CN102831547A CN102831547A (en) 2012-12-19
CN102831547B true CN102831547B (en) 2016-05-04

Family

ID=47334666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110161191.6A Active CN102831547B (en) 2011-06-15 2011-06-15 A kind of method and system of settling interests in real time and processing of realizing

Country Status (2)

Country Link
CN (1) CN102831547B (en)
HK (1) HK1173827A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107239487B (en) * 2017-04-19 2018-09-11 腾讯科技(深圳)有限公司 Business data processing method and device
CN108305177A (en) * 2018-01-29 2018-07-20 中国平安人寿保险股份有限公司 A kind of method, terminal and computer readable storage medium insuring processing of settling interests
CN110716948B (en) * 2019-12-12 2020-04-14 四川新网银行股份有限公司 Double-lock control method and medium based on data periodic processing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000123104A (en) * 1998-10-20 2000-04-28 Sanwa Bank Ltd Processing method for settlement of accounts, interest amount registering method and financial automation system
CN1437737A (en) * 2000-06-21 2003-08-20 蓝瞳公司 Account settling system
CN1553393A (en) * 2003-12-29 2004-12-08 兴业银行股份有限公司 Data processing method and system for realizing bank uninterrupted service

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7174318B2 (en) * 2000-03-28 2007-02-06 Richard Adelson Method and system for an online-like account processing and management

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000123104A (en) * 1998-10-20 2000-04-28 Sanwa Bank Ltd Processing method for settlement of accounts, interest amount registering method and financial automation system
CN1437737A (en) * 2000-06-21 2003-08-20 蓝瞳公司 Account settling system
CN1553393A (en) * 2003-12-29 2004-12-08 兴业银行股份有限公司 Data processing method and system for realizing bank uninterrupted service

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
如何实现24小时银行服务;甄毅劲;《金融电子化》;20050807;第62页第3栏 *

Also Published As

Publication number Publication date
CN102831547A (en) 2012-12-19
HK1173827A1 (en) 2013-05-24

Similar Documents

Publication Publication Date Title
CN107274162A (en) A kind of processing method of high transaction concurrency
EP2277149B1 (en) Method for storing information about banknotes and self-service terminal
US8316373B2 (en) Concurrent data processing and electronic bookkeeping
CN110060036B (en) Splitting accounting method, account system and payment system
CN205992243U (en) A kind of wage supervisory systems
CN101350869B (en) Method and apparatus for removing repeat of telecom charging based on index and hash
CN103903177B (en) A kind of method and system for paying reconciliation
CN103903137B (en) It is a kind of automatically to pay account checking method and system
CN104102737B (en) A kind of historical data storage method and system
CN101645148A (en) Construction order management method applied to operation support system and management system thereof
CN101877099A (en) Day-end processing module based on bank preposing service platforms and application method thereof
CN102831547B (en) A kind of method and system of settling interests in real time and processing of realizing
CN105868361A (en) Data updating method and device
CN102999866A (en) Fund collection method and system
WO2017152847A1 (en) Method, apparatus and system for processing crown character number information about paper money
CN107358425A (en) The calculating of tranaction costs and method of payment and device, transaction platform and storage medium
CN104021457A (en) Method and system for monitoring group enterprise cost expenditure data
CN102890807A (en) Method and device for generating splitting rules of clearing settlement sub-system
CN203711340U (en) Card sorting device and system
CN102419845A (en) Method for generating split rule of allocation settlement subsystem
CN106656522A (en) Data calculation method and system of cross-data center
CN104133904A (en) System and method for realizing financing asset package replacement of small loan companies
CN102033921A (en) Credit file management system-based file management method
CN107154900A (en) A kind of message processing method and device
CN106649552A (en) Normalized data cleaning method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1173827

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1173827

Country of ref document: HK

TR01 Transfer of patent right

Effective date of registration: 20191217

Address after: P.O. Box 31119, grand exhibition hall, hibiscus street, 802 West Bay Road, Grand Cayman, British Cayman Islands

Patentee after: Innovative advanced technology Co., Ltd

Address before: Cayman Islands Grand Cayman capital building, a four storey No. 847 mailbox

Patentee before: Alibaba Group Holding Co., Ltd.

TR01 Transfer of patent right