CN108364139A - The method and apparatus for determining the amount of money of accumulative index - Google Patents
The method and apparatus for determining the amount of money of accumulative index Download PDFInfo
- Publication number
- CN108364139A CN108364139A CN201810213956.8A CN201810213956A CN108364139A CN 108364139 A CN108364139 A CN 108364139A CN 201810213956 A CN201810213956 A CN 201810213956A CN 108364139 A CN108364139 A CN 108364139A
- Authority
- CN
- China
- Prior art keywords
- index
- accumulative
- client
- target
- association
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0639—Performance analysis of employees; Performance analysis of enterprise or organisation operations
- G06Q10/06393—Score-carding, benchmarking or key performance indicator [KPI] analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/02—Banking, e.g. interest calculation or account maintenance
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Educational Administration (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Game Theory and Decision Science (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Technology Law (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
This application provides a kind of method and apparatus for the amount of money determining accumulative index, this method includes:When meeting the statistical condition of the accumulative index of specified target, accumulating sum set is obtained, which includes accumulating sum of multiple and different clients respectively in multiple and different accumulative indexs;It obtains the preset target and adds up the corresponding accumulative rule of index, which includes adding up the calculated relationship that the associated multiple associations of index add up index with the target;From the accumulating sum set, determine that the corresponding each association of the client adds up the accumulating sum of index respectively;According to the calculated relationship in the accumulating sum of the corresponding each accumulative index of association of the client and the accumulative rule, determine that the client adds up the target accumulating sum in index in the target.The scheme of the application, without recompiling the statistics codes of all accumulative indexs, reduces the complexity that statistics adds up the corresponding accumulating sum of index in newly-increased accumulative index.
Description
Technical field
This application involves technical field of data processing more particularly to a kind of methods and dress of the amount of money determining accumulative index
It sets.
Background technology
With business development in banking system, newly-increased business is constantly had in bank's industry.And it is newly-increased for one
Business, the server of banking system need to monitor the statistics amount of money involved by the business, and the statistics involved by the business
The amount of money is actually the accumulative index counted required for banking system.
As it can be seen that when newly-increased business occurs in banking system, banking system has actually just increased one newly and has needed to count
Accumulative index be required for rewriting code, to pass through and in order to count the amount of money for the accumulative index that Added Business is related to
The code newly write realizes that the amount of money for adding up index and the corresponding accumulative index of the Added Business existing to bank is united
Meter.However, occurring Added Business every time, it is required for writing code, the complexity for counting the amount of money of accumulative index can be caused higher.
Invention content
In view of this, this application provides a kind of method and apparatus for the amount of money determining accumulative index, it is tired to reduce statistics
Count the complexity of the amount of money of index.
To achieve the above object, on the one hand, this application provides a kind of methods for the amount of money determining accumulative index, including:
When meeting the statistical condition of the accumulative index of specified target, accumulating sum set, the accumulating sum collection are obtained
Conjunction includes accumulating sum of multiple and different clients respectively in multiple and different accumulative indexs;
It obtains the preset target and adds up the corresponding accumulative rule of index, the accumulative rule includes tired with the target
Count the calculated relationship that the associated multiple associations of index add up index;
From the accumulating sum set, determine that the corresponding each association of the client adds up the accumulative of index respectively
The amount of money;
According to the calculating in the accumulating sum of the corresponding each accumulative index of association of the client and the accumulative rule
Relationship determines that the client adds up the target accumulating sum in index in the target.
Preferably, described when meeting specified target and adding up the statistical condition of index, obtain accumulating sum set it
Before, further include:
It is the accumulative rule that the newly-increased target adds up index allocation to obtain user, the storage accumulative rule and
The target adds up the correspondence between index.
Preferably, described when meeting the statistical condition of the accumulative index of specified target, obtain accumulating sum set, packet
It includes:
When meeting specified target and adding up the statistical condition of index, obtain client trading table, client account balance table with
And accumulated result table, wherein the client trading table is used to record the financial transaction records of different clients, more than the customer account
Volume table is used to record the remaining sum of different clients account, and the accumulated result table is used to record the accumulating sum of different accumulative indexs;
It is described from the accumulating sum set, determine that the corresponding each association of the client adds up index respectively
Accumulating sum, including:
Add up index for each association, detects and whether record the accumulative index of the association in the accumulated result table
Accumulating sum;
If record has the accumulating sum that the association adds up index in the accumulated result table, determine that the client corresponds to
The association add up index accumulating sum;
It is tired according to the association if not recording the accumulating sum that the association adds up index in the accumulated result table
The type of index is counted, and according to the client trading table or the account balance table, calculates separately each client and corresponds to
The association add up the accumulating sum of index, and the corresponding association of the client is added up into the accumulating sum storage of index to institute
It states in accumulated result table.
Preferably, the type for adding up index according to the association, and according to the client trading table or the account
Family balance sheet calculates separately the accumulating sum that the corresponding association of each client adds up index, including:
When it is transaction class index that the association, which adds up index, then according to the client trading table, each visitor is calculated separately
Family adds up the accumulating sum in index in the association;
When it is remaining sum class index that the association, which adds up index, then according to the account balance table, each visitor is calculated separately
Family adds up the accumulating sum in index in the association.
Preferably, it is also wrapped after the target adds up the target accumulating sum in index in the determination client
It includes:
The client is added up in the target in the target accumulating sum storage to the accumulating sum set in index.
On the other hand, present invention also provides a kind of devices for the amount of money determining accumulative index, including:
Information acquisition unit, for when meeting the statistical condition of the accumulative index of specified target, obtaining accumulating sum collection
It closes, the accumulating sum set includes accumulating sum of multiple and different clients respectively in multiple and different accumulative indexs;
Rule unit adds up the corresponding accumulative rule of index, the accumulative rule for obtaining the preset target
Include then adding up the calculated relationship that the associated multiple associations of index add up index with the target;
Target determination unit, for from the accumulating sum set, determining that the client is corresponding each described respectively
Association adds up the accumulating sum of index;
Amount of money determination unit, for adding up the accumulating sum of index and described according to the corresponding each association of the client
Calculated relationship in accumulative rule determines that the client adds up the target accumulating sum in index in the target.
Preferably, further include:
Regular dispensing unit, for before described information acquiring unit obtains accumulating sum set, it to be new to obtain user
The target increased adds up the accumulative rule of index allocation, and the storage accumulative rule and the target add up between index
Correspondence.
Preferably, described information acquiring unit, including:
Acquisition of information subelement, for when meeting the statistical condition of the accumulative index of specified target, obtaining client trading
Table, client account balance table and accumulated result table, wherein the client trading table is used to record the financial transaction of different clients
Record, the client account balance table are used to record the remaining sum of different clients account, and the accumulated result table is for recording difference
The accumulating sum of accumulative index;
The target determination unit, including:
Whether detection sub-unit detects and is recorded in the accumulated result table for adding up index for each association
State the accumulating sum that association adds up index;
First determination subelement, if having the accumulative gold that the association adds up index for record in the accumulated result table
Volume determines that the corresponding association of the client adds up the accumulating sum of index;
Second determination subelement, if adding up the accumulative of index for not recording the association in the accumulated result table
The amount of money adds up the type of index according to the association, and according to the client trading table or the account balance table, counts respectively
The accumulating sum that the corresponding association of each client adds up index is calculated, and the corresponding association of the client is added up into index
Accumulating sum storage in the accumulated result table.
Preferably, second determination subelement, including:
First computation subunit, for when it is transaction class index that the association, which adds up index, then being handed over according to the client
Easy table calculates separately each client and adds up the accumulating sum in index in the association;
Second computation subunit, for when it is remaining sum class index that the association, which adds up index, then according to more than the account
Volume table calculates separately each client and adds up the accumulating sum in index in the association.
Preferably, further include:
Data storage cell, for determining that the client adds up in the target in index in the amount of money determination unit
After target accumulating sum, the client is added up into the target accumulating sum storage in index to the accumulative gold in the target
In volume set.
It as known from the above, in the embodiment of the present application, can be with when meeting specified target and adding up the statistical condition of index
Obtain the accumulative rule that the pre-set target adds up index, and the pass involved by calculated relationship in the accumulative rule
Connection adds up index, the accumulating sum that the corresponding association of client adds up index is obtained, in this way, according to the calculated relationship and the client
Corresponding each association adds up the cumulative calculation of index, can determine that the corresponding target of client adds up the accumulative gold of index
Volume, it follows that if there is newly-increased accumulative index, and the corresponding accumulative rule of accumulative index can be directly configured, clothes
Business device can calculate the accumulating sum of the corresponding newly-increased accumulative index of client, tired for calculating without rewriting
The code for counting the amount of money reduces the complexity for calculating the accumulating sum for adding up index.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 shows a kind of flow diagram of the method one embodiment for the amount of money for determining accumulative index of the application;
Fig. 2 shows a kind of flow diagrams of another embodiment of the method for amount of money determining accumulative index of the application;
Fig. 3 shows a kind of composed structure signal of device one embodiment for the amount of money determining accumulative index of the application
Figure.
Specific implementation mode
The scheme of the embodiment of the present application adds up the statistics of index, e.g., bank suitable for bank and other financial systems
Server or other financial systems server for add up index statistics.
Such as, referring to Fig. 1, it illustrates a kind of flows of the method one embodiment for the amount of money for determining accumulative index of the application
Schematic diagram, the method for the present embodiment can be applied to need to count to add up in the server of index, as being used to count in banking system
According in the server of processing.The method of the present embodiment may include:
S101 obtains accumulating sum set when meeting the statistical condition of the accumulative index of specified target.
Wherein, it is the accumulative index configured with accumulative rule that specified target, which adds up index,.Wherein, which adds up index
Accumulative rule be user be the accumulative Distribution Indexes in advance, the calculating for adding up the accumulating sum of index for calculating the target
Rule.Such as, accumulative rule includes the calculated relationship added up with the target between the associated multiple accumulative indexs of association of index.
Specifically, the target adds up index can not directly calculate the accumulative of accumulating sum for the preconfigured code of server
Index e.g. after being configured with the code for the accumulating sum for calculating each accumulative index in server, increases newly in the server
Other add up the demand of indexs, and the newly-increased accumulative index just belongs to the accumulative index of target here.
It is understood that in order to which subsequent server can calculate the accumulating sum that different user adds up at this in index,
Before meeting the target and adding up the statistical condition of index, it is that the target adds up index allocation which, which can obtain user,
Accumulative rule, and store the correspondence between the accumulative rule and the accumulative index of target.
Wherein, which includes accumulative gold of multiple and different clients respectively in multiple and different accumulative indexs
Volume.The accumulating sum set can be an accumulating sum table, can also be other data storage formats.
For example, accumulative index may include:The total amount that is stored in customer account designated time period, customer account
Remaining sum, remaining sum of overdrawing to clearing corporation account in duchy, remaining sum etc. index of overdrawing to clearing corporation account in duchy.Accumulative gold
May include then the different accumulating sums under multiple accumulative index in volume set.
Wherein, the target add up index statistical condition can there are many may, e.g., can receive statistics instruction be full
The foot statistical condition;For another example, it can judge whether current time reaches the statistics moment according to the measurement period of setting, for example, false
If the target of different clients of every 24 hours statistics adds up the accumulating sum of index, and statistical condition can be to reach when all over the world
6 points of noon.
S102 obtains the preset target and adds up the corresponding accumulative rule of index.
As previously mentioned, the accumulative rule includes adding up the calculating that the associated multiple associations of index add up index with the target to close
System.In the embodiment of the present application, it is tired to add up index referred to as association based on the accumulating sum that the accumulative index of the target will be calculated
Count index.
It is understood that the accumulative rule specify calculate the target add up index accumulating sum need according to which two
The accumulating sum of other a or multiple accumulative indexs and two or more accumulative indexs need to obtain by which kind of operation
The target adds up the accumulating sum of index.
Such as, the mark of index can be added up according to the target, for example, transaction code etc., inquiry adds up index with the target
Identify corresponding accumulative rule.
S103 determines that the corresponding each association of each client adds up the accumulative of index respectively from the accumulating sum set
The amount of money.
It is understood that containing accumulating sum of the client in different accumulative indexs in accumulating sum set, and count
It calculates client and adds up the accumulating sum in index in the target, then need first to determine the cumulative calculation institute for calculating the accumulative index of the target
The association needed adds up index, and therefore, it is necessary to first determine different clients in each accumulating sum for being associated with accumulative index.
Such as, it is assumed that determine being needed according to the client to duchy to settling accounts corporation account's remaining sum of overdrawing in duchy for client
Interior clearing corporation account overdraws the overdrawing repayment amount to settling accounts corporation account in duchy of the amount of money and the client, then this is to public affairs
Domestic corporation account's overdraw remaining sum of settling accounts is the accumulative index of target, and to the clearing corporation account overdraw amount of money in duchy, and be somebody's turn to do
It is the accumulative index of association that the target adds up index to settling accounts corporation account's overdraw repayment amount in duchy.And in order to determine client
Add up the accumulating sum of index in the target, then needs to obtain that the client is corresponding overdraws gold to settling accounts corporation account in duchy
Volume and this in duchy settle accounts corporation account overdraw repayment amount.
It is understood that since each accumulative index all refers to multiple and different clients, it is each therefore, it is necessary to be directed to
Client obtains the accumulating sum that client adds up in each association in index respectively.
In one possible implementation, the journey of the accumulating sum for calculating accumulative index can be run in server
Sequence, referred to as cumulative calculation program in this application, in this way, the accumulative rule can be called by preset cumulative calculation program,
And the accumulative rule is parsed, to determine that the association adds up index and the calculated relationship.
S104 adds up the accumulating sum of index according to the corresponding each association of client and the calculating added up in rule is closed
System determines that the client adds up the target accumulating sum in index in the target.
Wherein, according to the calculated relationship, the accumulating sum for adding up index to multiple association carries out operation, so that it is determined that going out
The target accumulating sum.
For example, still by taking front is to settling accounts corporation account's overdraw remaining sum in duchy as an example, calculated relationship can be:It should
Remaining sum is overdrawed equal to settling accounts corporation account's overdraw amount of money in duchy to settling accounts corporation account in duchy, subtracts this to being tied in duchy
Calculate corporation account's overdraw repayment amount.Thus, it is supposed that this of client is to settling accounts corporation account's overdraw amount of money and to public affairs in duchy
After country's clearing corporation account's repayment amount determines, then overdrawing to settling accounts corporation account in duchy for the client can be calculated
Remaining sum.
Such as, it can calculate separately each client according to the computation rule by above-mentioned cumulative calculation program and correspond to
The target add up index accumulating sum.Wherein, the accumulating sum which adds up index is exactly that the calculated target is tired
The amount of money is known as target accumulating sum by the amount of money corresponding to meter index in the embodiment of the present application.
It is understood that in the embodiment of the present application, if having the corresponding association of client tired in accumulating sum set
The accumulating sum of index is counted, and the cumulative calculation that the association adds up index can be directly invoked, the target is accumulative to be referred to for calculating
Target accumulating sum adds up the cumulative calculation of index without computing repeatedly the association, advantageously reduces data calculation amount.
Correspondingly, obtaining the client after the target adds up the target accumulating sum in index, it can also be by the visitor
The corresponding target in family adds up in the target accumulating sum storage to the accumulating sum set of index, in order to calculate other and this
When associated other of the accumulative index of target add up indexs, the target that can directly invoke the accumulative index of the corresponding target of client is tired
Count the amount of money.
As it can be seen that in the embodiment of the present application, when meeting the statistical condition of the accumulative index of specified target, can obtain pre-
The target being first arranged adds up the accumulative rule of index, and the association involved by calculated relationship in the accumulative rule is accumulative
Index obtains the accumulating sum that the corresponding association of client adds up index, in this way, corresponding according to the calculated relationship and the client
Each association adds up the cumulative calculation of index, can determine that the corresponding target of client adds up the accumulating sum of index, by
It is found that this is if there is newly-increased accumulative index, and can directly configure the corresponding accumulative rule of accumulative index, and server is just
The accumulating sum that the corresponding newly-increased accumulative index of client can be calculated, without rewriting for calculating accumulating sum
Code, reduce calculate add up index accumulating sum complexity.
Such as, referring to Fig. 2, it illustrates a kind of streams of another embodiment of the method for amount of money determining accumulative index of the application
The method of journey schematic diagram, the present embodiment can be applied to server, and this method may include:
S201, it is the accumulative rule that newly-increased target adds up index allocation to receive user, stores the accumulative rule and the mesh
Mark adds up the correspondence of index.
Wherein, accumulative rule includes adding up the calculated relationship that the associated multiple associations of index add up index with the target.
Such as, the identification code of the accumulative index of target is 1007, and the target adds up index and needs the accumulative index 1008 of association corresponding accumulative
The amount of money is added to obtain with accumulative 1009 corresponding accumulating sum of index is associated with, then the accumulative rule can be expressed as 1007=1008
+1009。
Such as, the correspondence that the target adds up the mark and the accumulative rule of index can be stored.
It is understood that step S201 is intended merely to facilitate the accumulative rule of the accumulative index allocation for being interpreted as newly-increased
Process, which simultaneously is not belonging to determine that the corresponding target of the client adds up the process of the accumulating sum of index, in practical application
In, it is only necessary to add up the primary accumulative rule of index allocation for the target.
S202, when meeting target and adding up the statistical condition of index, obtain client trading table, client account balance table and
Accumulated result table.
Wherein, which is used to record the financial transaction record of different clients, that is, the transaction journal being commonly called as,
It can reflect the transaction and transaction amount that client is occurred in different time sections.The client trading table can be transaction class
The calculating of the accumulative corresponding accumulating sum of index provides foundation, e.g., to determine that the total amount of account income in client 12 months carries
For foundation.
The client account balance table is used to record the remaining sum of different clients account.Such as, account balance table is for recording user
In the remaining sum of some account of different moments.
The accumulated result table is used to record the accumulating sum of different accumulative indexs, and e.g., account is taken in client 12 months
Total amount this accumulative corresponding accumulating sum of index;This is accumulative for remaining sum of client's current time in deposit account
Corresponding accumulating sum of index etc..The accumulated result table can be equivalent to above-mentioned accumulating sum set.
It is understood that if using customer ID in client trading table, client account balance table and accumulated result table
In the case of identifying client, since a client may have multiple customer IDs (customer ID is for identifying client), for area
Separate the customer ID for belonging to the same client, it is also necessary to obtain client and customer ID mapping table, which is used for
Record the client corresponding to different clients number.
S203, the good target for obtaining storage add up the corresponding accumulative rule of index.
The step may refer to the related introduction of preceding embodiment, and details are not described herein.
S204 adds up index for each association, detects and whether has recorded the accumulative index of the association in the accumulated result table
Accumulating sum, if so, thening follow the steps S205;If not, thening follow the steps S206.
S205 determines that the client corresponds to if record has the accumulating sum that the association adds up index in the accumulated result table
Association add up the accumulating sum of index, and execute step S208.
It is understood that if having been recorded with association in accumulated result table adds up the accumulating sum of index, and illustrate
Having counted the accumulating sum of the accumulative index of the corresponding association of different clients can then directly invoke in that case
The accumulating sum that the association adds up index has been calculated, to carry out the calculating that the follow-up target adds up the accumulating sum of index,
Add up the cumulative calculation of index without computing repeatedly the association.Correspondingly, if not yet calculated, different clients are corresponding to be somebody's turn to do
Association adds up the accumulating sum of index, then needs to execute step S206, is referred to first determining that the corresponding association of different clients is accumulative
Target accumulating sum.
S206 is tired according to the association if not recording the accumulating sum that the association adds up index in the accumulated result table
The type of index is counted, and according to the client trading table or account balance sheet, calculates separately the corresponding association of each client
The accumulating sum of accumulative index.
It is understood that the type that association adds up index is different, calculate the association add up the accumulating sum institute of index according to
According to data would also vary from.Such as, when it is transaction class index that the association, which adds up index, then according to the client trading table, divide
Each client is not calculated adds up the accumulating sum in index in the association;When it is remaining sum class index that the association, which adds up index, then
According to account balance sheet, calculates separately each client and add up the accumulating sum in index in the association.
It is understood that step S206 is to calculate the association according to the client trading table and account balance table
It is illustrated for the accumulating sum of accumulative index, but it is understood that, in practical applications, it is associated with and adds up the tired of index
The meter amount of money is also likely to be that add up index corresponding accumulative rule according to the association calculated, then can be by for this kind of situation
The accumulative rule for adding up index according to the association, determines the accumulating sum of relevant accumulative index, and calculates the accumulative finger of the association
Target accumulating sum.
S207 adds up the association in the accumulating sum storage to the accumulated result table of index.
When the accumulated result table is accumulating sum set, then the accumulating sum storage that association is added up to index adds up to this
In amount of money set.
S208, according to the calculating in the accumulating sum of the corresponding each accumulative index of association of the client and the accumulative rule
Relationship determines that the client adds up the target accumulating sum in index in the target.
S209 adds up client in the target accumulating sum storage to the accumulated result table in index in the target.
Step S208 and S209 may refer to the related introduction of preceding embodiment, and details are not described herein.
A kind of method of amount of money determining accumulative index of corresponding the application, present invention also provides a kind of accumulative fingers of determination
The device of the target amount of money.
Such as, referring to Fig. 3, it illustrates a kind of compositions of the device one embodiment for the amount of money for determining accumulative index of the application
Structural schematic diagram, the device may include:
Information acquisition unit 301, for when meeting the statistical condition of the accumulative index of specified target, obtaining accumulating sum
Set, the accumulating sum set includes accumulating sum of multiple and different clients respectively in multiple and different accumulative indexs;
Rule unit 302 adds up the corresponding accumulative rule of index for obtaining the preset target, described accumulative
Rule includes adding up the calculated relationship that the associated multiple associations of index add up index with the target;
Target determination unit 303, for from the accumulating sum set, determining the corresponding each institute of the client respectively
State the accumulating sum that association adds up index;
Amount of money determination unit 304, for according to the client it is corresponding it is each association add up index accumulating sum and
Calculated relationship in the accumulative rule, determines that the client adds up the target accumulating sum in index in the target.
In one implementation, which can also include:
Regular dispensing unit, for before described information acquiring unit obtains accumulating sum set, it to be new to obtain user
The target increased adds up the accumulative rule of index allocation, and the storage accumulative rule and the target add up between index
Correspondence.
In one implementation, which may include:
Acquisition of information subelement, for when meeting the statistical condition of the accumulative index of specified target, obtaining client trading
Table, client account balance table and accumulated result table, wherein the client trading table is used to record the financial transaction of different clients
Record, the client account balance table are used to record the remaining sum of different clients account, and the accumulated result table is for recording difference
The accumulating sum of accumulative index;
The target determination unit, including:
Whether detection sub-unit detects and is recorded in the accumulated result table for adding up index for each association
State the accumulating sum that association adds up index;
First determination subelement, if having the accumulative gold that the association adds up index for record in the accumulated result table
Volume determines that the corresponding association of the client adds up the accumulating sum of index;
Second determination subelement, if adding up the accumulative of index for not recording the association in the accumulated result table
The amount of money adds up the type of index according to the association, and according to the client trading table or the account balance table, counts respectively
The accumulating sum that the corresponding association of each client adds up index is calculated, and the corresponding association of the client is added up into index
Accumulating sum storage in the accumulated result table.
In one possible implementation, second determination subelement, including:
First computation subunit, for when it is transaction class index that the association, which adds up index, then being handed over according to the client
Easy table calculates separately each client and adds up the accumulating sum in index in the association;
Second computation subunit, for when it is remaining sum class index that the association, which adds up index, then according to more than the account
Volume table calculates separately each client and adds up the accumulating sum in index in the association.
In one possible implementation, apparatus above can also include:
Data storage cell, for determining that the client adds up in the target in index in the amount of money determination unit
After target accumulating sum, the client is added up into the target accumulating sum storage in index to the accumulative gold in the target
In volume set.
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment weight
Point explanation is all difference from other examples, and the same or similar parts between the embodiments can be referred to each other.
For device class embodiment, since it is basically similar to the method embodiment, so fairly simple, the related place ginseng of description
See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only that
A little elements, but also include other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or equipment including element.
The foregoing description of the disclosed embodiments enables those skilled in the art to realize or use the present invention.To this
A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can
Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited
It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest
Range.
It the above is only the preferred embodiment of the present invention, it is noted that those skilled in the art are come
It says, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should be regarded as
Protection scope of the present invention.
Claims (10)
1. a kind of method for the amount of money determining accumulative index, which is characterized in that including:
When meeting specified target and adding up the statistical condition of index, accumulating sum set is obtained, in the accumulating sum set
Including multiple and different clients accumulating sum in multiple and different accumulative indexs respectively;
It obtains the preset target and adds up the corresponding accumulative rule of index, the accumulative rule includes and the accumulative finger of the target
Mark the calculated relationship that associated multiple associations add up index;
From the accumulating sum set, determine that the corresponding each association of the client adds up the accumulative gold of index respectively
Volume;
According to the client it is corresponding it is each association add up index accumulating sum and it is described it is accumulative rule in calculated relationship,
Determine that the client adds up the target accumulating sum in index in the target.
2. according to the method described in claim 1, it is characterized in that, described when the statistics for meeting the accumulative index of specified target
When condition, before obtaining accumulating sum set, further include:
It is the accumulative rule that the newly-increased target adds up index allocation to obtain user, storage it is described it is accumulative it is regular with it is described
Target adds up the correspondence between index.
3. according to the method described in claim 1, it is characterized in that, described when the statistics item for meeting the accumulative index of specified target
When part, accumulating sum set is obtained, including:
When meeting the statistical condition of the accumulative index of specified target, obtains client trading table, client account balance table and tire out
Count result table, wherein the client trading table is used to record the financial transaction record of different clients, the client account balance table
Remaining sum for recording different clients account, the accumulated result table are used to record the accumulating sum of different accumulative indexs;
It is described from the accumulating sum set, determine that the corresponding each association of the client adds up the accumulative of index respectively
The amount of money, including:
Add up index for each association, detects and whether record the accumulative of the accumulative index of the association in the accumulated result table
The amount of money;
If record has the association to add up the accumulating sum of index in the accumulated result table, the corresponding institute of the client is determined
State the accumulating sum that association adds up index;
If not recording the accumulating sum that the association adds up index in the accumulated result table, refer to according to the association is accumulative
Target type, and according to the client trading table or the account balance table, calculate separately the corresponding institute of each client
The accumulating sum that association adds up index is stated, and the accumulating sum of the accumulative index of the corresponding association of the client is stored to described tired
It counts in result table.
4. according to the method described in claim 3, it is characterized in that, it is described according to it is described association add up index type, and according to
According to the client trading table or the account balance table, calculates separately the corresponding association of each client and add up index
Accumulating sum, including:
When it is transaction class index that the association, which adds up index, then according to the client trading table, calculates separately each client and exist
The association adds up the accumulating sum in index;
When it is remaining sum class index that the association, which adds up index, then according to the account balance table, calculates separately each client and exist
The association adds up the accumulating sum in index.
5. method according to claim 1 or 3, which is characterized in that accumulative in the target in the determination client
After target accumulating sum in index, further include:
The client is added up in the target in the target accumulating sum storage to the accumulating sum set in index.
6. a kind of device for the amount of money determining accumulative index, which is characterized in that including:
Information acquisition unit, for when meeting the statistical condition of the accumulative index of specified target, obtaining accumulating sum set, institute
It includes accumulating sum of multiple and different clients respectively in multiple and different accumulative indexs to state accumulating sum set;
Rule unit adds up the corresponding accumulative rule of index, the accumulative rule packet for obtaining the preset target
It includes and adds up the calculated relationship that the associated multiple associations of index add up index with the target;
Target determination unit, for from the accumulating sum set, determining the corresponding each association of the client respectively
The accumulating sum of accumulative index;
Amount of money determination unit, accumulating sum for adding up index according to the corresponding each association of the client and described accumulative
Calculated relationship in rule determines that the client adds up the target accumulating sum in index in the target.
7. device according to claim 6, which is characterized in that further include:
Regular dispensing unit is newly-increased for before described information acquiring unit obtains accumulating sum set, obtaining user
The target adds up the accumulative rule of index allocation, and the storage accumulative rule and the target add up pair between index
It should be related to.
8. device according to claim 6, which is characterized in that described information acquiring unit, including:
Acquisition of information subelement, for when meeting the statistical condition of the accumulative index of specified target, obtaining client trading table, visitor
Family account balance table and accumulated result table, wherein the client trading table is used to record the financial transaction record of different clients,
The client account balance table is used to record the remaining sum of different clients account, and the accumulated result table is for recording different accumulative fingers
Target accumulating sum;
The target determination unit, including:
Detection sub-unit detects in the accumulated result table whether recorded the pass for adding up index for each association
Connection adds up the accumulating sum of index;
First determination subelement, if having the accumulating sum that the association adds up index for record in the accumulated result table,
Determine that the corresponding association of the client adds up the accumulating sum of index;
Second determination subelement, if adding up the accumulative gold of index for not recording the association in the accumulated result table
Volume adds up the type of index according to the association, and according to the client trading table or the account balance table, calculates separately
Each the corresponding association of the client adds up the accumulating sum of index, and the corresponding association of the client is added up index
In accumulating sum storage to the accumulated result table.
9. device according to claim 8, which is characterized in that second determination subelement, including:
First computation subunit, for when it is transaction class index that the association, which adds up index, then according to the client trading table,
It calculates separately each client and adds up the accumulating sum in index in the association;
Second computation subunit, for when it is remaining sum class index that the association, which adds up index, then according to the account balance table,
It calculates separately each client and adds up the accumulating sum in index in the association.
10. the device according to claim 6 or 8, which is characterized in that further include:
Data storage cell, for determining that the client adds up the target in index in the target in the amount of money determination unit
After accumulating sum, the client is added up into the target accumulating sum storage in index to the accumulating sum collection in the target
In conjunction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810213956.8A CN108364139A (en) | 2018-03-15 | 2018-03-15 | The method and apparatus for determining the amount of money of accumulative index |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810213956.8A CN108364139A (en) | 2018-03-15 | 2018-03-15 | The method and apparatus for determining the amount of money of accumulative index |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108364139A true CN108364139A (en) | 2018-08-03 |
Family
ID=63000299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810213956.8A Pending CN108364139A (en) | 2018-03-15 | 2018-03-15 | The method and apparatus for determining the amount of money of accumulative index |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108364139A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109033468A (en) * | 2018-08-31 | 2018-12-18 | 阿里巴巴集团控股有限公司 | The processing method and processing device of resource change |
CN111681008A (en) * | 2020-06-04 | 2020-09-18 | 中国建设银行股份有限公司 | Risk control method, device, equipment and storage medium |
-
2018
- 2018-03-15 CN CN201810213956.8A patent/CN108364139A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109033468A (en) * | 2018-08-31 | 2018-12-18 | 阿里巴巴集团控股有限公司 | The processing method and processing device of resource change |
CN109033468B (en) * | 2018-08-31 | 2022-09-16 | 创新先进技术有限公司 | Resource change processing method and device |
CN111681008A (en) * | 2020-06-04 | 2020-09-18 | 中国建设银行股份有限公司 | Risk control method, device, equipment and storage medium |
CN111681008B (en) * | 2020-06-04 | 2023-06-30 | 中国建设银行股份有限公司 | Risk control method, apparatus, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109242261B (en) | Method for evaluating security risk based on big data and terminal equipment | |
CN104021456A (en) | Method and system used for all-around enterprise group capital data monitoring | |
US20150032620A1 (en) | Communication network for collecting data and executing electronic transaction services | |
CN107818503A (en) | A kind of dynamically personalized menu of bank card IVR system recommends method | |
CN111062799A (en) | Method and device for managing family client, electronic equipment and storage medium | |
CN108364139A (en) | The method and apparatus for determining the amount of money of accumulative index | |
CN105469308A (en) | Financing risk evaluation system and method of middle and small-sized enterprises | |
US20110191225A1 (en) | Currency equivalency application | |
CN108614866A (en) | Internetbank client's Contribution Analysis method, apparatus and system | |
Ncube et al. | Assessment of apparent losses due to meter inaccuracy using an alternative, validated methodology | |
CN110634066A (en) | Method, device and equipment for determining settlement interest | |
CN109934590A (en) | A kind of data processing method based on block chain, device, electronic equipment and medium | |
CN111754329A (en) | Loan interest settlement method, loan interest settlement device, electronic equipment and storage medium | |
CN110348983B (en) | Transaction information management method and device, electronic equipment and non-transitory storage medium | |
US20150032600A1 (en) | Communication network for collecting data and executing electronic transaction services | |
CN111210319A (en) | Tax risk identification method based on big data | |
US20120143620A1 (en) | Method and system for determining a patient's responsibility to a provider | |
KR101500832B1 (en) | Withholding agency method and system performing the same | |
CN113870021B (en) | Data analysis method and device, storage medium and electronic equipment | |
US7725391B1 (en) | Savings system based on time of transaction | |
CN109255717A (en) | A kind of fund divides account method and device | |
US20150032619A1 (en) | Communication network for collecting data and executing electronic transaction services | |
CN114240626A (en) | Position frame calculation processing method and device, electronic equipment and computer readable medium | |
CN113837883A (en) | Noble metal transaction data management method and device, computer equipment and storage medium | |
CN111506615A (en) | Method and device for determining occupation degree of invalid user |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180803 |
|
RJ01 | Rejection of invention patent application after publication |