CN103325032A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN103325032A
CN103325032A CN2012100769170A CN201210076917A CN103325032A CN 103325032 A CN103325032 A CN 103325032A CN 2012100769170 A CN2012100769170 A CN 2012100769170A CN 201210076917 A CN201210076917 A CN 201210076917A CN 103325032 A CN103325032 A CN 103325032A
Authority
CN
China
Prior art keywords
group
data
sources
account
summation
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
Application number
CN2012100769170A
Other languages
Chinese (zh)
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.)
Alibaba Group Holding 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 CN2012100769170A priority Critical patent/CN103325032A/en
Publication of CN103325032A publication Critical patent/CN103325032A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a data processing method and device. The data processing method includes the steps that when a third data processing platform carries out batch data processing, a first kind of data are grouped according to a first kind of account identifications, and the sum of the first kind of data of each set is obtained; the sum of the first kind of data of each set is written into a first kind of accounts corresponding to the first kind of data of each set and indicated by a first kind of account identifications; the third data processing platform groups a second kind of data according to the first kind of account identifications and a second kind of account identifications, and the sum of the second kind of data of each set is obtained; the sum of the second kind of data of each set is written into a second kind of accounts through the first kind of accounts corresponding to the second kind of data of each set, and the sums are subtracted from the first kind of accounts. According to the data processing method and device, system efficiency is improved, and the system throughput rate is improved.

Description

Data processing method and device
Technical field
The application relates to networking technology area, particularly relates to a kind of data processing method and device.
Background technology
Ecommerce is in widely commerce and trade activity of all parts of the world, the net environment of opening in the Internet, based on the browser/server application mode, both parties do not carry out various commercial activities with meeting, realize consumer's shopping online, the online transaction between the trade company and pay by mails online and a kind of novel commercial operation pattern of various commercial activity, transaction, finance activities and relevant integrated service activity.
In ecommerce, the mutual and processing of the fund data link that is absolutely necessary.A kind of existing use payment product carries out the mutual funds flow figure of fund as shown in Figure 1.Take the Alipay account as example, carry out fund when mutual a plurality of users, each user can be first to own Alipay account charging, then, this Alipay account with the transfer of financial resources on the own account on another Alipay account of concluding the business.That is to say, be the single operation for each Alipay account.In this case, relate to the operation system of fund allocation and billing and accounting system alternately as shown in Figure 2, if N order arranged, then the operation system operation of supplementing with money/transferring accounts to billing and accounting system need circulate N time.
Mutual and the processing mode of this existing fund when carrying out batch fund allocation, if a large amount of orders are done account to same account and operated in the short time, will produce focus account phenomenon.This phenomenon is particularly common when the payment product carries out fund data processing in enormous quantities.Wherein, so-called focus account refers to frequently an account be carried out the account operation in the unit interval, will cause the account operation of account this moment slack-off, and the degree that the account operation is slack-off and the positive correlation that how much becomes of account operation stroke count, the account of this frequent account operation just is called as the focus account.The appearance of focus account phenomenon causes very big load to billing and accounting system, a large amount of account operation overtime occurs, and business throughput also sharply descends.
At present, the processing for this focus account phenomenon has two class solutions.The first kind be no matter, namely do not process, although think that throughput of system reduces, always can handle; Equations of The Second Kind is to adopt control accounting processing interval, processes by fund, data in batches is evenly distributed in a period of time, thereby avoids occurring focus account phenomenon.
Yet in the above-mentioned existing solution, first kind scheme is not a good solution, has caused very large pressure for system, and system throughput also reduces greatly; Although the Equations of The Second Kind scheme has solved focus account problem to a certain extent, but this employing unit interval is processed fixedly stroke count transaction data, the mode that trading volume was evenly distributed within the time period, can cause again the time of finishing dealing with at last to increase and linear increasing with trading volume, can't satisfy the requirement of business throughput, thereby cause system throughput to reduce, traffic handling time prolongs, and can't be suitable for for the scene that has the business hours point to require.
In a word, need the urgent technical matters that solves of those skilled in the art to be exactly: how can effectively solve the focus account problem in the ecommerce, the elevator system throughput.
Summary of the invention
The application's technical matters to be solved provides a kind of data processing method and device, to solve the focus account problem in the ecommerce, elevator system throughput.
In order to address the above problem, the application discloses a kind of data processing method, comprising: third party's data processing platform (DPP) is the primary sources groupings according to first kind account identification when carrying out the batch data processing, obtains the summation of every group of primary sources; With the summation of described every group of primary sources, write respectively in the first kind account of described first kind account identification indication corresponding to described every group of primary sources; Described third party's data processing platform (DPP) is the secondary sources groupings according to described first kind account identification and Equations of The Second Kind account identification, obtains the summation of every group of secondary sources; With the summation of described every group of secondary sources, the described first kind account corresponding by described every group of secondary sources writes described Equations of The Second Kind account, and deducts this summation from described first kind account.
In order to address the above problem, disclosed herein as well is a kind of data processing equipment, described device is arranged at third party's data processing platform (DPP), and the batch data that is used for described third party's data processing platform (DPP) is processed; Described device comprises: the first grouping module, and being used for according to first kind account identification is the primary sources groupings, obtains the summation of every group of primary sources; The first processing module is used for the summation with described every group of primary sources, writes respectively in the first kind account of described first kind account identification indication corresponding to described every group of primary sources; The second grouping module, being used for according to described first kind account identification and Equations of The Second Kind account identification is the secondary sources groupings, obtains the summation of every group of secondary sources; The second processing module is used for the summation with described every group of secondary sources, and the described first kind account corresponding by described every group of secondary sources writes described Equations of The Second Kind account, and deducts this summation from described first kind account.
Compared with prior art, the application has the following advantages:
When the application carries out the batch data processing by third party's data processing platform (DPP), respectively first and second class data are carried out different disposal.When processing primary sources, be the primary sources groupings according to first kind account, and then after the summation that calculates these group primary sources this first kind account of one-time write; When processing secondary sources, be the secondary sources groupings according to first kind account and Equations of The Second Kind account, and then after the summation that calculates these group secondary sources, the first kind account corresponding by these group secondary sources writes the Equations of The Second Kind account, and deducts this summation from first kind account.Carry out batch fund data with third party's payment platform and be treated to example, when supplementing with money, third party's payment platform is according to supplementing account with money for supplementing the order grouping with money, and then calculating supplementing with money of this group order is disposable after the total charge supplements account charging with money to this, solved prior art because of supplement with money by pen cause to supplement operating efficiency with money low, affect the problem of system throughput; By when transferring accounts, be the order grouping of transferring accounts according to supplementing account and transfer account with money, and then disposablely after calculating the total charge of transferring accounts of this group order transfer accounts to transfer account, solved the prior art operating efficiency that causes transferring accounts because transferring accounts by pen low, affect the problem of system throughput.By above-mentioned aggregation process to supplementing with money and transferring accounts, not only improved system effectiveness, promoted system throughput, more because of the effective minimizing to same account charging and/or the number of times of transferring accounts, and avoided focus account phenomenon.
Description of drawings
Fig. 1 is according to the funds flow figure in a kind of fund data exchange process of prior art;
Fig. 2 is according to the system interaction figure in a kind of fund data handling procedure of prior art;
Fig. 3 is the flow chart of steps according to a kind of data processing method of the embodiment of the present application one;
Fig. 4 is the flow chart of steps according to a kind of fund data processing method of the embodiment of the present application two;
Fig. 5 is the flow chart of steps according to a kind of fund data processing method of the embodiment of the present application three;
Fig. 6 is the funds flow figure of the fund data exchange process in embodiment illustrated in fig. 5;
Fig. 7 is the system interaction figure of the fund data handling procedure in embodiment illustrated in fig. 5;
Fig. 8 is the flow chart of steps according to a kind of fund data processing method of the embodiment of the present application four;
Fig. 9 is the process flow diagram of supplementing with money that gathers in embodiment illustrated in fig. 8;
Figure 10 is the process flow diagram of transferring accounts that gathers in embodiment illustrated in fig. 8;
Figure 11 is the professional reconciliation process flow diagram in embodiment illustrated in fig. 8;
Figure 12 is the process flow diagram of the new reconciliation file of the generation in embodiment illustrated in fig. 8;
Figure 13 is the clearance flowing water mapping relations schematic diagram of the old and new's fund reconciliation file in embodiment illustrated in fig. 8;
Figure 14 is the fund reconciliation process flow diagram in embodiment illustrated in fig. 8;
Figure 15 is the structured flowchart according to a kind of data processing equipment of the embodiment of the present application five;
Figure 16 is the structured flowchart according to a kind of fund data processing equipment of the embodiment of the present application six.
Embodiment
For above-mentioned purpose, the feature and advantage that make the application can become apparent more, below in conjunction with the drawings and specific embodiments the application is described in further detail.
Embodiment one
With reference to Fig. 3, show the flow chart of steps according to a kind of data processing method of the embodiment of the present application one.
The data processing method of the present embodiment may further comprise the steps:
Step S102: third party's data processing platform (DPP) is the primary sources groupings according to first kind account identification when carrying out the batch data processing, obtains the summation of every group of primary sources.
Step S104: third party's data processing platform (DPP) is the summation of every group of primary sources, writes respectively in the first kind account of first kind account identification indication corresponding to every group of primary sources.
Step S106: third party's data processing platform (DPP) is the secondary sources groupings according to first kind account identification and Equations of The Second Kind account identification, obtains the summation of every group of secondary sources.
Step S108: third party's data processing platform (DPP) writes the summation of every group of secondary sources the Equations of The Second Kind account by every group of first kind account corresponding to secondary sources, and deduct this summation from first kind account.
By the present embodiment, when third party's data processing platform (DPP) is carried out the batch data processing, respectively first and second class data are carried out different disposal.When processing primary sources, be the primary sources groupings according to first kind account, and then after the summation that calculates these group primary sources this first kind account of one-time write; When processing secondary sources, be the secondary sources groupings according to first kind account and Equations of The Second Kind account, and then after the summation that calculates these group secondary sources, the first kind account corresponding by these group secondary sources writes the Equations of The Second Kind account, and deducts this summation from first kind account.By first and second class data are carried out respectively batch processing, improved system effectiveness, promoted system throughput.
Embodiment two
With reference to Fig. 4, show the flow chart of steps according to a kind of fund data processing method of the embodiment of the present application one.
In the present embodiment, take third party's data processing platform (DPP) as third party's payment platform, such as Alipay, first kind account is for supplementing account with money, first kind account identification is the sign of supplementing account with money, such as account name, primary sources are for supplementing order with money, the summation of every group of primary sources be every group supplement order with money supplement the total fund data with money, the Equations of The Second Kind account is transfer account, secondary sources are the order of transferring accounts, and the summation of every group of secondary sources is the total fund data instance of transferring accounts of the every group of order of transferring accounts, and the application's batch data disposal route is explained.
The fund data processing method of the present embodiment may further comprise the steps:
Step S202: third party's payment platform divides into groups for supplementing order with money according to supplementing account with money carrying out batch fund data when processing, obtain every group supplement order with money supplement the total fund data with money.
According to supplementing account with money for after supplementing order grouping with money, every group supplement with money in the order to supplement account with money identical.
Step S204: third party's payment platform according to every group supplement order with money supplement the total fund data with money, to every group supplement with money order corresponding supplement account charging with money.
Step S206: third party's payment platform is the order grouping of transferring accounts according to supplementing account and transfer account with money, obtains the total fund data of transferring accounts of the every group of order of transferring accounts.
According to supplement with money account and transfer account for the order grouping of transferring accounts after, in every group of order of transferring accounts to supplement account with money identical, and transfer account is also identical.
Step S208: third party's payment platform is transferred accounts to transfer account by the every group of account of supplementing with money corresponding to the order of transferring accounts according to the total fund data of transferring accounts of the every group of order of transferring accounts.
Well-known is that the operation of transferring accounts comprises the operation that changes over to of producing operation and another account of an account.Specific to the present embodiment, supplement account with money and carry out and to produce operation (deducting the transfer accounts total fund data of transferring accounts of order of that group that produces from supplementing account with money), the transfer account execution changes operation (writing the transfer accounts total fund data of transferring accounts of order of that group that changes over to transfer account) over to.
Pass through the present embodiment, when third party's payment platform carries out the processing of batch fund data, when supplementing with money, according to supplementing account with money for supplementing the order grouping with money, and then calculating supplementing with money of this group order is disposable after the total charge supplements account charging with money to this, solved prior art because of supplement with money by pen cause to supplement operating efficiency with money low, affect the problem of system throughput; By when transferring accounts, be the order grouping of transferring accounts according to supplementing account and transfer account with money, and then disposablely after calculating the total charge of transferring accounts of this group order transfer accounts to transfer account, solved the prior art operating efficiency that causes transferring accounts because transferring accounts by pen low, affect the problem of system throughput.By above-mentioned aggregation process to supplementing with money and transferring accounts, not only improved system effectiveness, promoted system throughput, more because of the effective minimizing to same account charging and/or the number of times of transferring accounts, and avoided focus account phenomenon.
What deserves to be explained is, the application is when solving the batch data processing, can classify to data first, take the present embodiment as example, for the data of supplementing order with money, third party's payment platform only need to increase corresponding recharge amount at corresponding recharging account, data for the account transfer order, third party's payment platform then need to be reduced the corresponding amount of money at the recharging account of correspondence, and increases the corresponding amount of money at account on transfer transactions, and these two kinds of data processing methods are different.Preferably, third-party platform is judged the mode that data are processed when receiving batch data processing request, and the data of the mode of then identical data being processed are classified as a class.
Embodiment three
With reference to Fig. 5, show the flow chart of steps according to a kind of fund data processing method of the embodiment of the present application two.
In the present embodiment, still take third party's data processing platform (DPP) as third party's payment platform, such as Alipay, first kind account is for supplementing account with money, first kind account identification is the sign of supplementing account with money, such as account name, primary sources are for supplementing order with money, the summation of every group of primary sources be every group supplement order with money supplement the total fund data with money, the Equations of The Second Kind account is transfer account, secondary sources are the order of transferring accounts, and the summation of every group of secondary sources is the total fund data instance of transferring accounts of the every group of order of transferring accounts, and the application's batch data disposal route is explained.But be not limited to this, it should be understood by those skilled in the art that the data processing platform (DPP) of other similar situation and the one or two class data and the one or two class account all can realize that batch data processes with reference to the present embodiment.
The fund data processing method of the present embodiment may further comprise the steps:
Step S302: third party's payment platform is when carrying out the processing of batch fund data, according to supplementing account with money for supplementing the order grouping with money.
As, according to supplementing account ID with money or supplementing name on account etc. with money for supplementing the order grouping with money.
Step S304: third party's payment platform obtains one group and supplements order with money, supplement order with money for this group and lock, and calculate that this group supplements order with money supplement the total fund data with money.
By locking for supplementing the order group with money, can be so that in this operation, the data that this group is supplemented order with money can not change, guaranteed that this group supplements stability and the security of order operation with money.
Step S306: third party's payment platform is supplemented the total fund data with money according to what this group was supplemented order with money, to this group supplement with money order corresponding supplement account charging with money, and upgrading this, to organize all states of supplementing order with money be successful recharging.
Supplement with money and refer to that generally fund is transferred to the payment system from bank card, show as the bank card remaining sum and reduce, the payment system remaining sum increases.
In this step, upgrading the state of supplementing order with money is successful recharging, can make system know exactly the current state of this group order, avoids unnecessary operation, improves system effectiveness and performance.
Step S308: third party's payment platform judges whether that all order groupings of supplementing with money all travel through, if not, then return step S304; If, execution in step S310 then.
Step S310: third party's payment platform is the order grouping of transferring accounts according to supplementing account and transfer account with money.
Through dividing into groups for the order of transferring accounts according to supplementing account and transfer account with money, can know clearly that each supplements the specifying information that account is transferred accounts to one or more transfer accounts with money.
Step S312: third party's payment platform obtains one group of order of transferring accounts, and for this group order of transferring accounts locks, and calculates the transfer accounts total fund data of transferring accounts of order of this group.
By for the order group of transferring accounts locks, can be so that in this operation, the transfer accounts data of order of this group can not change, and have guaranteed this group transfer accounts stability and the security of order operation.
Step S314: third party's payment platform is according to the transfer accounts total fund data of transferring accounts of order of this group, transferred accounts to transfer account by this group account of supplementing with money corresponding to order of transferring accounts, and upgrades this state of organizing all orders of transferring accounts for transferring accounts successfully.
Transfer accounts and refer to that generally fund circulates in the same calculation internal system of settling accounts.Such as, the transfer of financial resources of Alipay A account is on Alipay B account.
In this step, upgrade the state of the order of transferring accounts for transferring accounts successfully, can make system know exactly the current state of this group order, avoid unnecessary operation, improve system effectiveness and performance.
Step S316: third party's payment platform judges whether that all order groupings of transferring accounts all travel through, if not, then return step S312; If this flow process finishes.
The funds flow of the fund data exchange process of the present embodiment as shown in Figure 6, take supplement with money account as Alipay account 1 as example, among Fig. 6, the order of supplementing with money that first subtend Alipay account 1 is supplemented with money is processed, and gathers and supplements with money; Then, by the grouping to the order of transferring accounts, determine that Alipay account 1 carried out more than or equal two transfer accounts to other two Alipay accounts, the transfer accounts order relevant with Alipay account 1 processed, gather to these two Alipay accounts respectively again and transfer accounts.
In said process, the system interaction of fund data handling procedure as shown in Figure 7.As seen, gathering when supplementing with money, operation system has only circulated A time, and wherein, A is trade company's number, also namely supplements the account number with money; And supplement account (trade company) with money for each, and operation system circulation C time, wherein, C supplements account with money for this need to gather the number of times of transferring accounts.
Comparison diagram 2 and system interaction shown in Figure 7, the fund allocation mode of Fig. 2 will occur N time and supplement with money, transfer accounts for N time (quantity on order that N is batch processing), and occuring A time, the fund allocation mode of Fig. 7 supplements (A is for supplementing account quantity with money) with money, A*B time transfer accounts (B supplements account with money for each and on average gathers the number of times of transferring accounts).
For example the account performance impact of comparative illustration Fig. 2 and two kinds of processing modes shown in Figure 7 is as follows.The trading volume of supposing batch processing is 100,000, then for the scheme shown in Figure 2 of not doing optimization, if do not do control, by the pen operation, will cause supplementing with money for 100,000 times, transfer accounts for 100,000 times, totally 20 ten thousand accounts operations, all be that these are supplemented with money account operation in short time, this will be catastrophic to accounting processing.When especially being embodied in these to supplement account with money be same.We can find these 200,000 times account operations of transferring accounts to supplementing account charging with money, can allow system process and become extremely slow, and are regular overtime.Even adopt the scheme that is evenly distributed the account operand, also can cause whole business throughput lower, be difficult to satisfy the requirement of professional time point.And for the application's scheme, suppose that 20 are supplemented with money account, and each supplements account with money, and on average to gather the number of times of transferring accounts be 1.5 times, then supplementing stroke count with money is 20 times, and stroke count 20*1.5=30 time of transferring accounts, account is operating as 50 times altogether.Few like this account operation is on the fully not impact of account performance.
By the present embodiment, the scene for there being handling capacity to require has proposed a brand-new solution, the performance issue of having brought when thoroughly having solved in batches fund operation, namely solved focus account problem, elevator system throughput greatly satisfies the scene that the business hours requires fully again.
Embodiment four
With reference to Fig. 8, show the flow chart of steps according to a kind of fund data processing method of the embodiment of the present application four.
In the present embodiment, still take third party's data processing platform (DPP) as third party's payment platform, such as Alipay, first kind account is for supplementing account with money, first kind account identification is the sign of supplementing account with money, such as account name, primary sources are for supplementing order with money, the summation of every group of primary sources be every group supplement order with money supplement the total fund data with money, the Equations of The Second Kind account is transfer account, secondary sources are the order of transferring accounts, and the summation of every group of secondary sources is the total fund data instance of transferring accounts of the every group of order of transferring accounts, and the application's batch data disposal route is explained.But be not limited to this, it should be understood by those skilled in the art that the data processing platform (DPP) of other similar situation and the one or two class data and the one or two class account all can realize that batch data processes with reference to the present embodiment.
The fund data processing method of the present embodiment may further comprise the steps:
Step S402: third party's paymate processes is the fund data in batches, gather and supplement with money.
Third party's payment platform is being processed in batches fund data, gathers to supplement with money and gather when transferring accounts, and usually will add up the load value data of user in a period of time and the data of transferring accounts.The time point of statistics can be chosen as no deal in morning every day or transaction seldom the time, also is before the general employee of the businessman working, to the previous day transaction data carry out batch processing (as, 4:00-6:00am).
A kind of third party's payment platform gathers the flow process of supplementing with money as shown in Figure 9, comprising:
Step S4022: order is divided into groups by supplementing account (signatory account) with money;
Step S4024: judge whether that all groupings all traveled through, if then finish to gather the process of supplementing with money; If not, execution in step S4026 then;
Step S4026: start and gather recharge affair;
Step S4028: get i group order, and pin this group order;
Wherein, i is less than or equal to N, and N is the quantity of supplementing grouping with money, and i is initially 1, and every circulation primary increases by 1.
Step S40210: calculate this group order total charge;
Step S40212: supplement the described total charge of account charging with money to this group;
Step S40214: upgrading this, to organize all order statuss be successful recharging, returns step S4024.
Step S404: third party's payment platform gathers transfers accounts.
A kind of third party's payment platform gathers the flow process of transferring accounts as shown in Figure 9, comprising:
Step S4042: order is divided into groups by supplementing account and transfer account with money;
Step S4044: judge whether that all groupings all traveled through, if then finish to gather the process of transferring accounts; If not, execution in step S4046 then;
Step S4046: start and gather the affairs of transferring accounts;
Step S4048: get i group order, and pin this group order;
Wherein, i is less than or equal to N, and N is the quantity of transferring accounts and dividing into groups, and i is initially 1, and every circulation primary increases by 1.
Step S40410: calculate the total charge that this group order need to be transferred accounts.
Step S40412: supplement account with money to the transfer account described total charge of transferring accounts from this group.
Step S40414: upgrade this and organize all order statuss for transferring accounts successfully, return step S4044.
Step S406: third party's payment platform and outside are settled accounts the calculation system and are carried out professional reconciliation.
Reconciliation is carried out in the professional reconciliation normally operation system of third party's payment mechanism and the operation system of bank.For the assurance fund is not made mistakes, need to do first once professional reconciliation, do again the fund reconciliation after the professional reconciliation success.Professional reconciliation in the present embodiment and normal professional reconciliation are as broad as long, remain order reconciliation of an order.This process can all be found general mistake account, many accounts out, if there is wrong account, recovers first on the business, until the reconciliation success.Need to prove, this step also can be carried out after step S402.
Take third party's payment platform as example as Alipay, a kind of flow process of professional reconciliation comprises as shown in figure 11:
Step S4062: obtain the system business order according to the banking order;
Step S4064: judge whether Alipay exists this order, if do not exist, execution in step S4066 then; If exist, then execution in step S4068;
Step S4066: it is many accounts that this order reconciliation state of bank is set, and finishes the professional reconciliation flow process of this order;
Step S4068: comparison order status and the amount of money;
Step S40610: judge whether order status and the amount of money that Alipay and banking system provide is consistent, if consistent, then reconciliation success; If inconsistent, execution in step S40612 then;
Step S40612: judge whether data can revert to unanimously, if can not recover, then are set to the difference account, if can recover, then recover order status and/or the amount of money, and order status is set is reconciliation success.
Step S408: third party's payment platform and outside are settled accounts the calculation system and are carried out the fund reconciliation.
The fund reconciliation is that the billing and accounting system of third party's payment mechanism and the billing and accounting system of bank are carried out reconciliation.
Because the front has been adopted to gather and supplemented with money, traditional fund reconciliation pattern can't be carried out.Because in account, accounting, all only recorded the record that gathers the account operation, can't carry out reconciliation with the detailed detail of bank.Therefore, adopt new fund reconciliation logic.In the present embodiment, the fund reconciliation file of bank is done a pre-service, adopt " aggregation process data+untreatment data " logic, comprising: third party's payment platform obtains the outside and settles accounts the fund reconciliation file that the calculation system provides; According to every group of information of supplementing order with money of supplementing with money in the order before, the order in the fund reconciliation file is carried out pre-service, generate and gather accordingly order corresponding respectively to every group of order of supplementing order with money in the fund reconciliation file; Use pretreated fund reconciliation file to carry out third party's payment platform and outside fund reconciliation of settling accounts the calculation system.
In the said process, every group of information of supplementing order with money of supplementing with money in the order before basis when the order in the fund reconciliation file is carried out pre-service, preferably, generates new reconciliation file, uses new reconciliation file to carry out the fund reconciliation.A kind of flow process that generates new reconciliation file comprises as shown in figure 12:
Steps A: the fund reconciliation file according to bank provides creates new reconciliation file;
Step B: according to the fund reconciliation file that bank provides, write the head (such as text description etc.) of new reconciliation file;
Step C: all are gathered the account operation of supplementing with money, write in the new reconciliation file according to file layout;
In this step, can be according to every group of information of supplementing order with money of supplementing with money in the order before, to gathering respectively corresponding to every group of order of supplementing order with money in the fund reconciliation file (bank provides), generation gathers order (namely gathering the account operation of supplementing with money), then will gather order and write new reconciliation file.
Step D: the bank capital flowing water of not doing the fund operation is write in the new reconciliation file;
That is, the order that gathers in the fund reconciliation file is write new reconciliation file.
Step e: write new reconciliation end-of-file (such as summary information etc.).
By the pre-service to fund reconciliation file, guaranteed carrying out smoothly of fund reconciliation, and accuracy and the integrality of the fund reconciliation that guarantees.
Fund reconciliation file is being carried out after the pre-service, and the clearance flowing water mapping relations of the old and new's fund reconciliation file for example as shown in figure 13.Among Figure 13, the clearance flowing water hypothesis in the in the past old fund reconciliation file has 9, needs so the clearance flowing water in this reconciliation file is carried out single treatment.Suppose that situation about gathering in front is as follows: order 1,2,3 gathers supplements with money once, order 4-8 gathers and supplements with money once, and order 9 is not done the fund operation in system, and then the clearance flowing water in the new fund reconciliation file just becomes: gather 1, gather 2, add the order 9 that does not have the fund operation.
Fund reconciliation file is being carried out on the pretreated basis, and a kind of fund reconciliation flow process comprises as shown in figure 14:
Step S4082: third party's payment platform is got all account flowing water and all bank capital flowing water;
Step S4084: according to the order number comparison both sides amount of money, if the amount of money is consistent, then reconciliation success; If there are countless certificates in data, the system in bank, many accounts of bank then; If data, the countless certificates of bank are arranged in the system, then bank lacks account; If the amount of money does not wait, it then is the difference account.
So far, aggregation process and the reconciliation to batch fund data of the present embodiment are finished.
By the present embodiment, not only realized the in batches aggregation process of fund data, and realized the reconciliation processing on the aggregation process basis; Not only solve focus account problem, and guaranteed integrality and accuracy that the fund data are processed, and improved system effectiveness, promoted system throughput.
Embodiment five
With reference to Figure 15, show the structured flowchart according to a kind of data processing equipment of the embodiment of the present application five.
The data processing equipment of the present embodiment is arranged at third party's data processing platform (DPP), the batch data that is used for third party's data processing platform (DPP) is processed, comprise: the first grouping module 502, being used for according to first kind account identification is the primary sources groupings, obtains the summation of every group of primary sources; The first processing module 504 is used for the summation with every group of primary sources, writes respectively in the first kind account of first kind account identification indication corresponding to every group of primary sources; The second grouping module 506, being used for according to first kind account identification and Equations of The Second Kind account identification is the secondary sources groupings, obtains the summation of every group of secondary sources; The second processing module 508 is used for the summation with every group of secondary sources, writes the Equations of The Second Kind account by every group of first kind account corresponding to secondary sources, and deduct this summation from first kind account.
Preferably, third party's data processing platform (DPP) is obtained this group primary sources by the first grouping module 502 first when one group of primary sources is processed, for these group primary sources lock, and calculate the summation of these group primary sources; To be organized again the summation of primary sources by the first processing module 504, and write in the account of first kind account identification indication corresponding to these group primary sources, and upgrade this state of organizing all primary sources for to process successfully.
Preferably, third party's data processing platform (DPP) is obtained this group secondary sources by the second grouping module 506 first when one group of secondary sources is processed, for these group secondary sources lock, and calculate the summation of these group secondary sources; To be organized the summation of secondary sources by the second processing module 508, the first kind account corresponding by these group secondary sources writes the Equations of The Second Kind account, and deducts this summation from first kind account again, and upgrades this state of organizing all secondary sources for to process successfully.
Preferably, the data processing equipment of the present embodiment also comprises: check module 510, be used in the summation of the first processing module 504 with every group of primary sources, write respectively after first kind account corresponding to every group of primary sources, perhaps, in the summation of the second processing module 508 with every group of secondary sources, write the Equations of The Second Kind account by every group of first kind account corresponding to secondary sources, and from first kind account, deduct after this summation, obtain the file of checking that the external data disposal system provides; According to the data message in every group of primary sources, the data of checking in the file are carried out pre-service, generate corresponding combined data with checking the data that correspond respectively to every group of primary sources in the file; Use the pretreated verification of data that file carries out third party's data processing platform (DPP) and external data disposal system of checking.
Preferably, check module 510 when checking data in the file and carry out pre-service, according to the original file of checking, create a new file of checking; According to the data message in every group of primary sources, the data corresponding to every group of primary sources gather respectively in the file to original checking, and generate combined data; Combined data is write the new file of checking; The original data that gather in the file of checking are write the new file of checking.
The data processing equipment of the present embodiment is used for realizing the data processing method of aforementioned a plurality of embodiments of the method, and has the beneficial effect of corresponding data processing method embodiment, do not repeat them here.
Embodiment six
With reference to Figure 16, show the structured flowchart according to a kind of fund data processing equipment of the embodiment of the present application six.The fund data processing equipment of the present embodiment is arranged at third party's payment platform, and the batch fund data that are used for third party's payment platform are processed.This fund data processing equipment comprises: supplement grouping module 602 (being equivalent to the first grouping module among the embodiment five) with money, be used for dividing into groups for supplementing order with money according to supplementing account with money, obtain every group supplement order with money supplement the total fund data with money; Gather and supplement module 604 (being equivalent to the first processing module among the embodiment five) with money, be used for according to every group supplement order with money supplement the total fund data with money, to every group supplement with money order corresponding supplement account charging with money; The grouping module 606 of transferring accounts (being equivalent to the second grouping module among the embodiment five) is used for being the order grouping of transferring accounts according to supplementing account and transfer account with money, obtains the total fund data of transferring accounts of the every group of order of transferring accounts; Gather the module 608 of transferring accounts (being equivalent to the second processing module among the embodiment five), be used for the total fund data of transferring accounts according to the every group of order of transferring accounts, transferred accounts to transfer account by the every group of account of supplementing with money corresponding to the order of transferring accounts.
Preferably, third party's payment platform is supplemented with money when processing supplementing order with money to one group, obtains this group and supplements order with money by supplementing grouping module 602 with money first, supplement order with money for this group and lock, and calculate that this group supplements order with money supplement the total fund data with money; Supplement module 604 with money and supplement the total fund data with money according to what this group was supplemented order with money by gathering again, to this group supplement with money order corresponding supplement account charging with money, and upgrading this, to organize all states of supplementing order with money be successful recharging.
Preferably, third party's payment platform is being transferred accounts to one group of order of transferring accounts when processing, and obtains this group order of transferring accounts by the grouping module 606 of transferring accounts first, for this group order of transferring accounts locks, and calculates the transfer accounts total fund data of transferring accounts of order of this group; Again by gathering the module 608 of transferring accounts according to the transfer accounts total fund data of transferring accounts of order of this group, transferred accounts to transfer account by this group account of supplementing with money corresponding to order of transferring accounts, and upgrade this state of organizing all orders of transferring accounts for transferring accounts successfully.
Preferably, the fund data processing equipment of the present embodiment also comprises: fund reconciliation module 610 (being equivalent to the module of checking among the embodiment five), be used for gather supplement with money module 604 according to every group supplement order with money supplement the total fund data with money, supplement corresponding the supplementing with money after the account charging of order with money to every group, perhaps, gathering the transfer accounts total fund data of module 608 according to the every group of order of transferring accounts of transferring accounts, by every group of order of transferring accounts corresponding supplement account with money after transfer account is transferred accounts, obtain the outside and settle accounts the fund reconciliation file that the calculation system provides; According to every group of information of supplementing order with money of supplementing with money in the order, the order in the fund reconciliation file is carried out pre-service, gather correspond respectively to every group of order generation of supplementing order with money in the fund reconciliation file with accordingly order; Use pretreated fund reconciliation file to carry out third party's payment platform and outside fund reconciliation of settling accounts the calculation system.
Preferably, fund reconciliation module 610 according to fund reconciliation file, creates a new reconciliation file when the order in the fund reconciliation file is carried out pre-service; According to every group of information of supplementing order with money of supplementing with money in the order, to gathering respectively corresponding to every group of order of supplementing order with money in the fund reconciliation file, generate and gather order; To gather order and write new reconciliation file; The order that gathers in the fund reconciliation file is write new reconciliation file.
The fund data processing equipment of the present embodiment is used for realizing the fund data processing method of aforementioned a plurality of embodiments of the method, and has the beneficial effect of corresponding fund data processing method embodiment, do not repeat them here.
By the application's scheme, not only improved system effectiveness, promoted system throughput, more because of the effective minimizing to same account charging and/or the number of times of transferring accounts, and avoided focus account phenomenon.The application's scheme can be implemented at terminal or the device of multiple use third party payment platform, such as mobile POS product, thus the performance issue of bringing when thoroughly solving in batches fund operation.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For device embodiment because itself and embodiment of the method basic simlarity, so describe fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method.
Above a kind of fund data processing method and the device that the application is provided is described in detail, used specific case herein the application's principle and embodiment are set forth, the explanation of above embodiment just is used for helping to understand the application's method and core concept thereof; Simultaneously, for one of ordinary skill in the art, the thought according to the application all will change in specific embodiments and applications, and in sum, this description should not be construed as the restriction to the application.

Claims (10)

1. a data processing method is characterized in that, comprising:
Third party's data processing platform (DPP) is the primary sources groupings according to first kind account identification when carrying out the batch data processing, obtains the summation of every group of primary sources;
With the summation of described every group of primary sources, write respectively in the first kind account of described first kind account identification indication corresponding to described every group of primary sources;
Described third party's data processing platform (DPP) is the secondary sources groupings according to described first kind account identification and Equations of The Second Kind account identification, obtains the summation of every group of secondary sources;
With the summation of described every group of secondary sources, the described first kind account corresponding by described every group of secondary sources writes described Equations of The Second Kind account, and deducts this summation from described first kind account.
2. method according to claim 1 is characterized in that, described third party's data processing platform (DPP) is obtained first this group primary sources when one group of primary sources is processed, and for these group primary sources lock, and calculates the summation of these group primary sources; To organize again the summation of primary sources, and write in the account of described first kind account identification indication corresponding to these group primary sources, and upgrade this state of organizing all primary sources for to process successfully.
3. method according to claim 1 is characterized in that, described third party's data processing platform (DPP) is obtained first this group secondary sources when one group of secondary sources is processed, and for these group secondary sources lock, and calculates the summation of these group secondary sources; To organize the summation of secondary sources, the described first kind account corresponding by these group secondary sources writes described Equations of The Second Kind account, and deducts this summation from described first kind account again, upgrades this state of organizing all secondary sources for to process successfully.
4. method according to claim 1, it is characterized in that, in described summation with described every group of primary sources, write respectively after the step of described first kind account corresponding to described every group of primary sources, perhaps, in described summation with described every group of secondary sources, the described first kind account corresponding by described every group of secondary sources writes described Equations of The Second Kind account, and from described first kind account, deduct after the step of this summation, also comprise:
Described third party's data processing platform (DPP) is obtained the file of checking that the external data disposal system provides;
According to the data message in described every group of primary sources, the described data of checking in the file are carried out pre-service, the described data that correspond respectively to described every group of primary sources in the file of checking are generated corresponding combined data;
Use the described pretreated verification of data that file carries out described third party's data processing platform (DPP) and described external data disposal system of checking.
5. method according to claim 4, it is characterized in that, described according to the data message in described every group of primary sources, the described data of checking in the file are carried out pre-service, check the step that the data that correspond respectively to described every group of primary sources in the file generate corresponding combined data and comprise described:
According to the original described file of checking, create a new file of checking;
According to the data message in described every group of primary sources, the data corresponding to described every group of primary sources gather respectively in the file to described original checking, and generate combined data;
Described combined data is write the described new file of checking;
The described data that gather are not carried out in described original checking in the file write the described new file of checking.
6. a data processing equipment is characterized in that, described device is arranged at third party's data processing platform (DPP), and the batch data that is used for described third party's data processing platform (DPP) is processed;
Described device comprises:
The first grouping module, being used for according to first kind account identification is the primary sources groupings, obtains the summation of every group of primary sources;
The first processing module is used for the summation with described every group of primary sources, writes respectively in the first kind account of described first kind account identification indication corresponding to described every group of primary sources;
The second grouping module, being used for according to described first kind account identification and Equations of The Second Kind account identification is the secondary sources groupings, obtains the summation of every group of secondary sources;
The second processing module is used for the summation with described every group of secondary sources, and the described first kind account corresponding by described every group of secondary sources writes described Equations of The Second Kind account, and deducts this summation from described first kind account.
7. device according to claim 6, it is characterized in that, described third party's data processing platform (DPP) is obtained this group primary sources by described the first grouping module first when one group of primary sources is processed, for these group primary sources lock, and calculate the summation of these group primary sources; To be organized again the summation of primary sources by described the first processing module, and write in the account of described first kind account identification indication corresponding to these group primary sources, and upgrade this state of organizing all primary sources for to process successfully.
8. device according to claim 6, it is characterized in that, described third party's data processing platform (DPP) is obtained this group secondary sources by described the second grouping module first when one group of secondary sources is processed, for these group secondary sources lock, and calculate the summation of these group secondary sources; To be organized again the summation of secondary sources by described the second processing module, the described first kind account corresponding by these group secondary sources writes described Equations of The Second Kind account, and from described first kind account, deduct this summation, upgrade this state of organizing all secondary sources for to process successfully.
9. device according to claim 6 is characterized in that, also comprises:
Check module, be used in the summation of described the first processing module with described every group of primary sources, write respectively after described first kind account corresponding to described every group of primary sources, perhaps, in the summation of described the second processing module with described every group of secondary sources, the described first kind account corresponding by described every group of secondary sources writes described Equations of The Second Kind account, and deducts after this summation from described first kind account, obtains the file of checking that the external data disposal system provides; According to the data message in described every group of primary sources, the described data of checking in the file are carried out pre-service, the described data that correspond respectively to described every group of primary sources in the file of checking are generated corresponding combined data; Use the described pretreated verification of data that file carries out described third party's data processing platform (DPP) and described external data disposal system of checking.
10. device according to claim 9 is characterized in that, the described module of checking according to the original described file of checking, creates a new file of checking when the described data of checking in the file are carried out pre-service; According to the data message in described every group of primary sources, the data corresponding to described every group of primary sources gather respectively in the file to described original checking, and generate combined data; Described combined data is write the described new file of checking; The described data that gather are not carried out in described original checking in the file write the described new file of checking.
CN2012100769170A 2012-03-21 2012-03-21 Data processing method and device Pending CN103325032A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100769170A CN103325032A (en) 2012-03-21 2012-03-21 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100769170A CN103325032A (en) 2012-03-21 2012-03-21 Data processing method and device

Publications (1)

Publication Number Publication Date
CN103325032A true CN103325032A (en) 2013-09-25

Family

ID=49193757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100769170A Pending CN103325032A (en) 2012-03-21 2012-03-21 Data processing method and device

Country Status (1)

Country Link
CN (1) CN103325032A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991571A (en) * 2015-02-09 2016-10-05 阿里巴巴集团控股有限公司 Information processing method and device
CN106096854A (en) * 2016-06-20 2016-11-09 财付通支付科技有限公司 A kind of data processing method and device
CN106503977A (en) * 2016-10-20 2017-03-15 财付通支付科技有限公司 The processing method of data, system and device
CN107067323A (en) * 2016-12-29 2017-08-18 中国银联股份有限公司 Finance data processing system and batch credit transaction dissemination system and its method
CN107403379A (en) * 2017-08-07 2017-11-28 质数智慧科技(成都)有限公司 A kind of data processing method, device and block chain Core distribution formula system
CN110046976A (en) * 2018-11-30 2019-07-23 阿里巴巴集团控股有限公司 Account checking method and device, server
CN110046877A (en) * 2018-11-30 2019-07-23 阿里巴巴集团控股有限公司 Account checking method and device, server
CN112381537A (en) * 2020-11-05 2021-02-19 上海汇付数据服务有限公司 Hotspot account billing method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101231722A (en) * 2007-01-22 2008-07-30 阿里巴巴公司 System and method of network payment
CN101477667A (en) * 2009-01-19 2009-07-08 阿里巴巴集团控股有限公司 Transaction data processing method and system
CN101604427A (en) * 2009-07-10 2009-12-16 阿里巴巴集团控股有限公司 Data processing method and system, transaction processing system, third party's payment system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101231722A (en) * 2007-01-22 2008-07-30 阿里巴巴公司 System and method of network payment
CN101477667A (en) * 2009-01-19 2009-07-08 阿里巴巴集团控股有限公司 Transaction data processing method and system
CN101604427A (en) * 2009-07-10 2009-12-16 阿里巴巴集团控股有限公司 Data processing method and system, transaction processing system, third party's payment system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991571B (en) * 2015-02-09 2019-04-09 阿里巴巴集团控股有限公司 A kind of information processing method and device
CN105991571A (en) * 2015-02-09 2016-10-05 阿里巴巴集团控股有限公司 Information processing method and device
CN106096854A (en) * 2016-06-20 2016-11-09 财付通支付科技有限公司 A kind of data processing method and device
CN106096854B (en) * 2016-06-20 2020-06-16 财付通支付科技有限公司 Data processing method and device
CN106503977A (en) * 2016-10-20 2017-03-15 财付通支付科技有限公司 The processing method of data, system and device
CN106503977B (en) * 2016-10-20 2021-04-09 财付通支付科技有限公司 Data processing method, system and device
CN107067323A (en) * 2016-12-29 2017-08-18 中国银联股份有限公司 Finance data processing system and batch credit transaction dissemination system and its method
CN107403379B (en) * 2017-08-07 2021-02-26 成都质数斯达克科技有限公司 Data processing method and device and block chain core distributed system
CN107403379A (en) * 2017-08-07 2017-11-28 质数智慧科技(成都)有限公司 A kind of data processing method, device and block chain Core distribution formula system
CN110046976A (en) * 2018-11-30 2019-07-23 阿里巴巴集团控股有限公司 Account checking method and device, server
CN110046877A (en) * 2018-11-30 2019-07-23 阿里巴巴集团控股有限公司 Account checking method and device, server
CN110046976B (en) * 2018-11-30 2023-08-18 创新先进技术有限公司 Account checking method and device and server
CN110046877B (en) * 2018-11-30 2023-09-29 创新先进技术有限公司 Account checking method and device and server
CN112381537A (en) * 2020-11-05 2021-02-19 上海汇付数据服务有限公司 Hotspot account billing method

Similar Documents

Publication Publication Date Title
CN103325032A (en) Data processing method and device
CN108846659A (en) Transfer account method, device and storage medium based on block chain
CN103714625B (en) A kind of charging intelligent card method and system
CN108711047B (en) Automatic repayment method, system and terminal equipment
CN101826186A (en) Managing payment is handled in the aggregate payment concentrator system system, method and program
CN101477667A (en) Transaction data processing method and system
CN107358524B (en) Method for leveling funds among multiple account management lines in same currency
CN108765159A (en) A kind of cochain based on block chain and condition processing method, device and interacted system
CN108537526A (en) Account trading processing method and system
CN101587615A (en) Information integrated platform of traffic IC card and bank card
CN107632823A (en) A kind of software development methodology and device
CN108171597A (en) A kind of bank's billing and accounting system assembly method that fastext is supported to respond and system
CN109409933A (en) Intelligent fee counting method, computer readable storage medium and terminal device
CN103366270A (en) Multi-platform data interaction method and system
EP1669919A1 (en) A data processing system and data processing method
CN109472680A (en) A kind of accounting processing method and system
CN113297594A (en) Cross-chain transaction method and device, electronic equipment and storage medium
WO2024032350A1 (en) Bill processing method and device for transaction bill
WO2017210041A1 (en) System and method for determining subscription information based on payment card transaction data over a payment card network
CN107589965A (en) A kind of software development methodology and device
CN115841395A (en) Method and system for generating accounting entry data and related equipment
CN106157141A (en) Numerical Methods and device
US11514534B1 (en) Systems and methods for transaction tracing
CN101110116A (en) Information processing method for presenting money by using rechargeable card and system thereof
CN113962689A (en) Multi-account fusion payment method and device

Legal Events

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

Ref country code: HK

Ref legal event code: DE

Ref document number: 1185701

Country of ref document: HK

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130925

REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1185701

Country of ref document: HK