CN101477667A - Transaction data processing method and system - Google Patents

Transaction data processing method and system Download PDF

Info

Publication number
CN101477667A
CN101477667A CNA2009100055319A CN200910005531A CN101477667A CN 101477667 A CN101477667 A CN 101477667A CN A2009100055319 A CNA2009100055319 A CN A2009100055319A CN 200910005531 A CN200910005531 A CN 200910005531A CN 101477667 A CN101477667 A CN 101477667A
Authority
CN
China
Prior art keywords
account
transaction
flowing water
computer system
water data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2009100055319A
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 CNA2009100055319A priority Critical patent/CN101477667A/en
Publication of CN101477667A publication Critical patent/CN101477667A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a method for processing transaction data and a system. The embodiment of the method for processing transaction data comprises the following steps: a transaction platform computer system receives a transaction request from a client; the transaction platform computer system records the financial running data of the transaction; and the transaction platform computer system updates and concentrates the balance of accounts according to the recorded financial running data in a scheduled period. The invention has the advantage that the usage of resource of the transaction platform computer system in a busy period caused by transaction data processing can be avoided, thereby improving the processing capacity of the transaction platform computer system in the busy period.

Description

Transaction data processing method and system
Technical field
The application relates to the computer systems technology field, particularly a kind of transaction data processing method and system.
Background technology
In the existing network trading platform,, often need to participate in the fund flow process that network trading relates to as network trading platform provider.
Taobao for example, the enterprise that releases is to user (Business to Customer, B2C) and user to user (Customer to Customer is in transaction platform C2C), by the flow of fund of third party's payment software payment Bora support transaction intermediate link.
With the C2C business for instance, buyer and seller as domestic consumer carry out in the process in transaction, the fund that the buyer needs at first transaction to be related at first changes among the Alipay account, after the seller sees that this fund changes in the Alipay account, send the transaction goods, treat that the buyer receives goods after, in Taobao, confirm to receive, afterwards, the fund that had before changed among the Alipay account changes in the seller's account again, thereby finishes transaction.Certainly, in B2B business and the B2C business, more existing transaction platforms also need to participate in the flow of fund process of intermediate link.
Still illustrate, be used to participate in the Alipay intra-account of flow of fund in the transaction intermediate link with Alipay should be used in the C2C business.Because the carrying out of numerous transaction needs to put down in writing a large amount of transaction details in this Alipay intra-account usually, usually, this transaction details is referred to as to record separately in the account record.The entry of Alipay intra-account comprises the both sides' of funds transaction record.Following table 1 is the example of recording separately about the Alipay intra-account.
Figure A200910005531D00041
Figure A200910005531D00051
Table 1
As table 1, the side in the entry is the Alipay intra-account, and the opposing party is a user account.For example record separately in 1, the user 1 who buys article supplements 10 yuans with money for Alipay, record user account amount is+10 in one in then recording separately, record Alipay intra-account amount+10 among Alipay intra-account (is 0001 as this account ID) side, if Alipay intra-account remaining sum is 100 before, record separately then that the Alipay account balance finally is 110 in 1.For example record separately in 2 again, the user 2 who sells article extracts 5 yuans from Alipay, record user account amount is-5 in one in then recording separately, record Alipay intra-account amount-5 among Alipay intra-account one side, Alipay intra-account remaining sum is 110 before, records separately then that the Alipay account balance finally is 105 in 1.Above-mentioned entry 1 and transaction odd numbers, the exchange hour information of recording separately in 2 have been done omission here, also may comprise other clauses and subclauses certainly, and relevant informations such as the bank that for example relates to, bank's serial number have also been done omission here.
In the prior art, when each transaction takes place, handle the computer system of transaction and take real-time mode to upgrade the Alipay intra-account.In the middle of the reality, the trading volume of generation is very huge, and the user who relates to is also a lot.And the Alipay intra-account is generally fixed, and user account comprises a large amount of different accounts.The transaction that a large amount of different accounts initiate may be concurrent.And described computer system, may be brought to balance updates if adopt multi-thread concurrent to handle the entry record and the balance updates of Alipay intra-account unusually.For example, Alipay intra-account remaining sum is 100 yuan, and 10 yuan of transaction of deposit of party A-subscriber and 5 yuan of concurrent execution of transaction of deposit of party B-subscriber are arranged simultaneously, handles this two transaction respectively by thread 1 and thread 2.Thread 1 and thread 2 obtain the remaining sum of Alipay intra-account simultaneously, promptly all read and obtain numerical value 100, afterwards, thread 1 is with 100 yuan of 10 yuan of additions, i.e. 100+10 that deposit in the party A-subscriber, obtain result 110, thread 2 is with 100 yuan of 5 yuan of additions that deposit in the party B-subscriber, and promptly 100+5 obtains result 105, afterwards, have two kinds of situations.A kind ofly be: thread 1 writes result 110 in the storage unit of Alipay intra-account remaining sum earlier, behind the thread 2 result 105 is write in the storage unit of Alipay intra-account remaining sum, then write 105 write before can covering 110, therefore, net result is 105, and this result obviously is not right.Another kind is: thread 2 writes result 105 in the storage unit of Alipay intra-account remaining sum earlier, behind the thread 1 result 110 is write in the storage unit of Alipay intra-account remaining sum, then write 110 write before can covering 105, therefore, net result is 110, and this result obviously also is not right.As seen, above-mentioned which kind of mode no matter, the result who finally writes is incorrect.And correct result should be 100+10+5=115.The problem that this abnormal results occurs is: computer system allows that the value in the Alipay intra-account remaining sum is carried out multi-thread concurrent and handles.
Prior art has adopted the processing mode shown in Fig. 1 flow process in order to address the above problem:
S101: transaction platform computer system receives a large amount of transaction request of sending.
S102: transaction platform computer system is with the transaction request queuing that receives.
S103: the transaction request of transaction platform computer system sequential processes queuing, and in the process of handling a transaction request, the Alipay intra-account is locked.
In the process of handling a transaction request, the Alipay intra-account is locked, specifically, promptly when handling a transaction request, only allow of the read-write of current handled transaction request, and forbid of the read-write of other transaction request the Alipay intra-account to the Alipay intra-account.
The processing of prior art aforesaid way can be avoided the aforementioned situation that abnormal results may occur.For example, current Alipay intra-account remaining sum is 100 yuan, be that value in the storage unit of Alipay intra-account remaining sum is 100, thread 1 need be done is treated to reading balance amount-remaining sum is added 10-more new balances, and thread 2 need be done is treated to reading balance amount-remaining sum is added 5-more new balances.Thread 1 and thread 2 orders are carried out, and when then thread 1 is carried out, the read-write of Alipay intra-account remaining sum storage unit are locked, and only allow the read-write of thread 1, and then the processing procedure of thread 1 is: read 100-carry out 100+10-be updated to 110.Like this, after thread 1 was finished, the value in the Alipay intra-account remaining sum storage unit was updated to 110, and, the Alipay intra-account is carried out release, so that follow-up other thread can continue the Alipay account is carried out processing.Afterwards, thread 2 is carried out, and in thread 2 implementations, the read-write of Alipay intra-account remaining sum storage unit is locked, and only allows the read-write of thread 2, and the processing procedure of thread 2 is: read 110-carry out 110+5-be updated to 115.Like this, after thread 2 was finished, the value in the Alipay intra-account remaining sum storage unit was updated to 115.
As seen, above-mentioned processing mode has solved the problem that abnormal results may appear in the Alipay intra-account in the prior art.
But in the above-mentioned processing procedure, a plurality of thread queuings are carried out, and in each thread execution process, need to pin intra-account, and like this, other thread has to wait for that in proper order then for the All Activity processing of request, total processing time will prolong.And when a large amount of transaction request, the processing of transaction data for a long time can continue to take the resource of transaction platform computer system, thereby cause the decline of transaction platform computer system processing power in length.If particularly carry out above-mentioned processing under the heavier situation of transaction platform computer system load itself, the decline of transaction platform computer system processing power can influence the processing of other business that transaction platform carries out simultaneously, thereby reduces client's experience.
Summary of the invention
The purpose of embodiment among the application provides a kind of transaction data processing method and system, to reduce the influence to the transaction platform computer system processing power.
For solving the problems of the technologies described above, the embodiment among the application provides a kind of transaction data processing method and system to be achieved in that
A kind of transaction data processing method accounting management method comprises:
Transaction platform computer system receives the transaction request that user side is sent;
Transaction platform computer system writes down the account flowing water data of described transaction;
Transaction platform computer system utilizes the account flowing water Data Update of described record to concentrate account's remaining sum in the preset time section.
Preferably, described transaction platform computer system writes down the account flowing water data of described transaction, comprising:
Transaction platform computer system writes down the account flowing water data of described transaction in the entry of concentrating the account; Or,
Transaction platform computer system writes down the account flowing water data recording of described transaction in a buffer table.
Preferably, described transaction platform computer system writes down the account flowing water data of described transaction in the entry of concentrating the account, comprising:
Transaction platform computer system writes down the account flowing water data of described transaction in the monolateral entry of concentrating the account; Or,
Transaction platform computer system writes down the account flowing water data of described transaction in the bilateral entry of concentrating the account.
Preferably, described transaction platform computer system utilizes the account flowing water Data Update of described record to concentrate account's remaining sum in the preset time section, comprising:
Transaction platform computer system merges the account flowing water data of described record in the preset time section, and utilizes the remaining sum of the concentrated account of Data Update after merging.
Preferably, described transaction platform computer system merges the account flowing water data of described record in the preset time section, comprising:
Transaction platform computer system merges the account flowing water data of described record in the preset time section according to the field grouping;
Correspondingly, described renewal concentrates account's remaining sum to comprise: the remaining sum of utilizing the described concentrated account of Data Update after grouping merges.
Preferably, for record account flowing water data and at the fixed time section carry out the situation that operation adopts different threads independently to carry out respectively of upgrading, in carrying out the concentrated account balance operating process of described renewal, described concentration account is locked.
A kind of transaction data disposal system comprises:
Receiving element is used to receive the transaction request that user side is sent;
Record cell is used to write down the account flowing water data of described transaction;
Time period is provided with the unit, is used to be provided with predetermined amount of time;
Updating block is used for utilizing in the preset time section described account flowing water Data Update to concentrate account's remaining sum.
Preferably, in the described system, described record cell in the monolateral entry of concentrating the account or in the bilateral entry, or is recorded in the account flowing water data recording of described transaction with in the buffer table independently.
Preferably, in the described system, also comprise merge cells, be used in the preset time section account flowing water data of described record are merged;
Correspondingly, described updating block utilizes the account flowing water Data Update that merges to concentrate account's remaining sum in the preset time section.
Preferably, in the described system, also comprise grouped element, be used for according to the account flowing water packet of field with described record;
Correspondingly, described merge cells merges the account flowing water data of described grouping in the preset time section.
Preferably, in the described system, also comprise adding lock unit, for record account flowing water data and at the fixed time section carry out the situation that adopts different threads independently to carry out respectively of operating of upgrading, be used for described concentration account being locked carrying out the concentrated account balance operating process of described renewal.
By above-mentioned the embodiment of the present application as seen, transaction platform computer system receives the transaction request that user side is sent, write down the account flowing water data of described transaction, in the preset time section, utilize the concentrated account's of account flowing water Data Update of described record remaining sum, like this, for a large amount of transaction request, can be chosen in suitable time period processing transaction data, thereby avoid because the processing transaction data takies the resource of peak hours/period transaction platform computer system, thereby promote the processing power of transaction platform computer system in rush hour section.Particularly merge the mode of handling transaction data for above-mentioned employing, because the remaining sum of concentrating the account is only upgraded less number of times, can effectively shorten the update time of concentrating account balance like this, thereby can improve the ability that treatment effeciency and transaction platform computer system are handled the concurrency things, also can promote client's experience certainly.
Description of drawings
Fig. 1 is the process flow diagram of transaction data processing method in the prior art;
Fig. 2 is the process flow diagram of the application's transaction data processing method embodiment;
Fig. 3 is the block diagram of the application's transaction data disposal system one embodiment;
Fig. 4 is the block diagram of the application's transaction data disposal system one embodiment;
Fig. 5 is the block diagram of the application's transaction data disposal system one embodiment.
Embodiment
In order to make those skilled in the art person understand the application's scheme better, the embodiment of the present application is described in further detail below in conjunction with drawings and embodiments.
As previously mentioned, the Alipay intra-account is generally fixed, and user account comprises a large amount of different accounts.Then below account fixing in this entry of similar Alipay intra-account is referred to as and concentrates the account.
Below introduce first embodiment of the application's transaction data processing method, Fig. 2 shows the flow process of this embodiment, as shown in Figure 2:
S201: transaction platform computer system receives the transaction request that user side is sent.
As previously mentioned, transaction platform computer system receives the transaction request that user side is sent, and generally comprises the transaction request that a large amount of user sides is sent.And these user sides often at random.
In the middle of the reality, with the Alipay transaction platform computer system that is applied in Taobao for example, often in each time period, all receive the transaction request that the user of thousands of (even more) sends.In these a large amount of transaction request, can comprise that (money is beaten to the Alipay account to user-pay by elder generation when buying article as the buyer to the Alipay intra-account, and the user is the Alipay account charging), the user is from Alipay intra-account withdraw deposit (as the seller from the Alipay account bank card of withdrawing deposit, buyer withdraw deposit from Alipay account's reimbursement bank card) etc.
And transaction platform computer system, just in order to handle the computer system of a large amount of transaction request of this class.
In addition, described transaction platform computer system receives the transaction request that user side is sent, can be that transaction platform computer system directly receives the transaction request that user side is sent, it also can be the transaction request after handling by other belly board, for the latter, for example can be that Alipay platform computer system receives via Taobao's Website server and handles transaction request after some necessary informations.
S202: transaction platform computer system writes down the account flowing water data of described transaction.
Take place at network trading platform under the situation of numerous transaction, concentrated account generally is used as the transfer of fund, and concentrated account's remaining sum can keep bigger number usually.
Be example still with the Alipay transaction, after a large amount of transaction request that the Alipay transaction platform computer system receives, be not that instant processing by the Alipay transaction platform computer system can make transaction reach at once, perhaps do not need the instant processing of Alipay transaction platform computer system, but may also need follow-up process, as seller delivery, delivery back goods is in the process of logistics, and buyer's process of receiving.The Alipay transaction platform computer system generally also limits the transaction duration to transaction, for example the buyer is behind the Alipay of paying the bill, the Alipay transaction platform computer system can be the transaction duration that starting point is set a period of time payment time with the buyer, as 15 days transaction duration.In these 15 days, give over to seller delivery, the buyer receives the time of processes such as buyer's affirmation.Certainly, also exist the reimbursement of Alipay intra-account to the buyer, withdraw deposit from the Alipay intra-account process of bank account etc. of buyer or seller also is just further to be handled by the application back Alipay transaction platform computer system of withdrawing deposit as user's buyer or seller.
Based on these characteristics, concentrated account only needs to do a balance updates in a rational time period and gets final product, and does not need real-time update.
But, after transaction platform computer system receives the transaction request of sending, need the account flowing water data of the described transaction of record.So-called account flowing water data are the known general knowledge in accounting field, and it comprises a series of amount in the transaction details.Still as shown in table 1, the amount of 2 user accounts+10 ,-5, described account flowing water data comprise this amount+10 ,-5.
Described transaction platform computer system writes down the account flowing water data of described transaction, can be to be recorded in the entry of concentrating the account, and also can be to be recorded in the buffer table.
Described being recorded in the entry of concentrating the account can be recorded in the bilateral entry as shown in following table 2, promptly all puts down in writing the account flowing water data that comprise amount at least at user account and the Alipay intra-account recorded separately:
User account The Alipay intra-account
Record separately number The transaction odd numbers Exchange hour User account ID The user account amount Alipay intra-account ID Alipay intra-account amount Alipay intra-account remaining sum
1 The user 1 +10 1001 +10
2 The user 2 -5 1001 -5
3 ... ... ... ...
4 ... ... ... ...
Table 2
Described being recorded in the entry of concentrating the account also can only be recorded in the monolateral entry, for example only in user account one side record account flowing water data, as shown in following table 3:
Figure A200910005531D00111
Table 3
Only be recorded in the monolateral entry, with corresponding in the table 3, for example only in Alipay intra-account one side record account flowing water data, as shown in following table 4:
Figure A200910005531D00112
Figure A200910005531D00121
Table 4
In addition, be recorded in the buffer table, can be as shown in following table 5, in this table, utilize independent buffer table record account flowing water data:
Record separately number Amount
1 +10
2 -5
3 ...
4 ...
Table 5
The above-mentioned mode that only is recorded in the mode in the monolateral entry and is recorded in buffer table because the both sides in transaction write down account flowing water data not needing in prior art, has therefore also been saved a large amount of storage spaces.In fact, when needs are inquired about a side account flowing water data, can realize by the corresponding the opposing party's of inquiry account flowing water data.
Like this, by S202, transaction platform computer system has write down the account flowing water data of transaction.
S203: transaction platform computer system utilizes the account flowing water Data Update of described record to concentrate account's remaining sum in the preset time section.
Although the transaction request enormous amount that transaction platform computer system receives, but there is the busy and idle relatively time period.For example, the transaction request quantity in daytime and evening 18 o'clock to 23 o'clock can be obviously greater than morning.And for the situation of new balance more all of account flowing water data one by one, owing to all need to spend certain processing time based on each bar account flowing water Data Update remaining sum, therefore, this work can be arranged on the idle relatively time period of transaction platform computer system carries out, thereby can alleviate the overall load of transaction platform computer system.For example, predetermined morning 2:00 to 2:30 this utilize in idle 30 minutes the account flowing water Data Update of record to concentrate account's remaining sum relatively.
Then in the preset time section, utilize the concentrated account balance after the account flowing water Data Update of described record can be as shown in table 6:
User account The Alipay intra-account
Record separately number The transaction odd numbers Exchange hour User account ID The user account amount Alipay intra-account ID Alipay intra-account amount Alipay intra-account remaining sum
1 The user 1 +10 1001 +10 110
2 The user 2 -5 1001 -5 105
3
4
Table 6
As seen, each bar in the account flowing water data of record all upgrades remaining sum from table 6.And table 6 is the form corresponding with previous table 2, certainly, also can be and form that previous table 3,4 is corresponding respectively.And, the account flowing water data that write down in the buffer table can be inserted in the account flowing water of concentrating the account, and in the preset time section, utilize described account flowing water Data Update to concentrate account's remaining sum for aforementioned table 5.
The mode of above-mentioned S203, although being selected in the idle relatively time period of transaction platform computer system carries out, but, owing to still be based on each bar account flowing water Data Update remaining sum, and all need to spend certain processing time based on each bar account flowing water Data Update data, and therefore, such mode, new data more just only still takies the more resource of transaction platform computer system.
Below provide the implementation of a kind of optimization of S203:
Transaction platform computer system merges the account flowing water data of described record in the preset time section, and utilizes the remaining sum of the concentrated account of Data Update after merging.
Below provide several examples.It is as shown in table 7 below that for example the data in the buffer table in the table 5 merge the back:
Table 7
As seen, the amount after the account flowing water data in the buffer table merge finally is 22.
And then, can utilize the amount 22 after the merging to upgrade the data of concentrating the account, be about to 22 and merge with concentrated account's remaining sum and upgrade.For example the remaining sum of Alipay intra-account is 100, is 122 after merging with 22, and then, with 122 resulting balances that are updated to the Alipay intra-account.Certainly, for the mode in the table 2,3,4, also can earlier account flowing water data be merged, the account flowing water Data Update after utilize merging is again afterwards concentrated account's remaining sum, and this mode and aforesaid way are similar, do not repeat them here.
Such mode, owing in advance account flowing water data are merged, amount after the final only utilization merging is upgraded the remaining sum of concentrating the account, that is to say, to concentrating account's remaining sum, only upgraded once, and in aforesaid mode of S203 or prior art, for each bar account flowing water data, all upgrade the remaining sum of concentrating the account.Apparently, such mode is promptly upgraded the mode of once concentrating account balance, can effectively shorten the update time of concentrating account balance, thereby can improve the ability of treatment effeciency and transaction platform computer system processing concurrency things.
In the aforesaid way, also can be to the entry of concentrating the account according to user account ID, exchange hour, the grouping of fields such as the bank that relates to merges, may produce the amount after several groupings merge like this, for concentrated account balance, accordingly, may need several times to upgrade, but still be significantly less than and record separately the mode of all carrying out balance updates in the existing mode one by one.The mode that grouping merge to be upgraded is beneficial to according to the grouping of different field to different kinds of business and gathers, thereby is beneficial to the operation of other inquiry etc.
In the above embodiments of the present application, record account flowing water data and section execution renewal operation at the fixed time can adopt different threads independently to carry out.Like this, upgrading when concentrating the account balance operation, can lock to the account, to prevent the re-treatment of other thread.
By above-mentioned the embodiment of the present application as seen, transaction platform computer system receives the transaction request that user side is sent, write down the account flowing water data of described transaction, in the preset time section, utilize the concentrated account's of account flowing water Data Update of described record remaining sum, like this, for a large amount of transaction request, can be chosen in suitable time period processing transaction data, thereby avoid because the processing transaction data takies the resource of peak hours/period transaction platform computer system, thereby promote the processing power of transaction platform computer system in rush hour section.Particularly merge the mode of handling transaction data for above-mentioned employing, because the remaining sum of concentrating the account is only upgraded less number of times, can effectively shorten the update time of concentrating account balance like this, thereby can improve the ability that treatment effeciency and transaction platform computer system are handled the concurrency things, also can promote client's experience certainly.
Below introduce the embodiment of the application's transaction data disposal system, Fig. 3 shows the block diagram of this system embodiment, and in Fig. 3, this system embodiment can comprise:
Receiving element 31 is used to receive the transaction request that user side is sent;
Record cell 32 is used to write down the account flowing water data of described transaction;
Time period is provided with unit 33, is used to be provided with predetermined amount of time;
Updating block 34 is used for utilizing in the preset time section described account flowing water Data Update to concentrate account's remaining sum.
Preferably, in the described system, described record cell 32 in the monolateral entry of concentrating the account or in the bilateral entry, or is recorded in the account flowing water data recording of described transaction with in the buffer table independently.
Preferably, as shown in Figure 4, can also comprise merge cells 35 in the described system, be used in the preset time section account flowing water data of described record are merged;
Correspondingly, described updating block 34 utilizes the account flowing water Data Update that merges to concentrate account's remaining sum in the preset time section.
Preferably, as shown in Figure 5, can also comprise grouped element 36 in the described system, be used for according to the account flowing water packet of field with described record;
Correspondingly, described merge cells 35 merges the account flowing water data of described grouping in the preset time section.
Preferably, as shown in Figure 5, can also comprise in the described system and add lock unit 37, for record cell 32 record account flowing water data and updating block 34 at the fixed time section carry out the situation that operation adopts different threads independently to carry out respectively of upgrading, be used for described concentration account being locked carrying out the concentrated account balance operating process of described renewal.
For the convenience of describing, the each several part of the above system is divided into various unit with function to be described respectively.Certainly, when enforcement is of the present invention, can in same or a plurality of softwares or hardware, realize the function of each unit.
As seen through the above description of the embodiments, those skilled in the art embodiment that can be well understood among the application can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that the technical scheme of embodiment among the application contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out each embodiment among the application or the described method of some part of embodiment.
In this instructions, identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses all is difference with other embodiment.Especially, for system embodiment, because it is substantially similar in appearance to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
Embodiment among the application can be used in numerous general or special purpose computingasystem environment or the configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, small-size computer, mainframe computer, comprise distributed computing environment of above any system or equipment or the like.
Embodiment among the application can describe in the general context of the computer executable instructions of being carried out by computing machine, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract, program, object, assembly, data structure or the like.Also can in distributed computing environment, put into practice the embodiment among the application, in these distributed computing environment, by by communication network connected teleprocessing equipment execute the task.In distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.

Claims (11)

1, a kind of transaction data processing method is characterized in that, comprising:
Transaction platform computer system receives the transaction request that user side is sent;
Transaction platform computer system writes down the account flowing water data of described transaction;
Transaction platform computer system utilizes the account flowing water Data Update of described record to concentrate account's remaining sum in the preset time section.
2, method according to claim 1 is characterized in that, described transaction platform computer system writes down the account flowing water data of described transaction, comprising:
Transaction platform computer system writes down the account flowing water data of described transaction in the entry of concentrating the account; Or,
Transaction platform computer system writes down the account flowing water data recording of described transaction in a buffer table.
3, method according to claim 2 is characterized in that, described transaction platform computer system writes down the account flowing water data of described transaction in the entry of concentrating the account, comprising:
Transaction platform computer system writes down the account flowing water data of described transaction in the monolateral entry of concentrating the account; Or,
Transaction platform computer system writes down the account flowing water data of described transaction in the bilateral entry of concentrating the account.
4, method according to claim 2 is characterized in that, described transaction platform computer system utilizes the account flowing water Data Update of described record to concentrate account's remaining sum in the preset time section, comprising:
Transaction platform computer system merges the account flowing water data of described record in the preset time section, and utilizes the remaining sum of the concentrated account of Data Update after merging.
5, method according to claim 1 is characterized in that, described transaction platform computer system merges the account flowing water data of described record in the preset time section, comprising:
Transaction platform computer system merges the account flowing water data of described record in the preset time section according to the field grouping;
Correspondingly, described renewal concentrates account's remaining sum to comprise: the remaining sum of utilizing the described concentrated account of Data Update after grouping merges.
6, method according to claim 1, it is characterized in that, for record account flowing water data and at the fixed time section carry out the situation that operation adopts different threads independently to carry out respectively of upgrading, in carrying out the concentrated account balance operating process of described renewal, described concentration account is locked.
7, a kind of transaction data disposal system is characterized in that, comprising:
Receiving element is used to receive the transaction request that user side is sent;
Record cell is used to write down the account flowing water data of described transaction;
Time period is provided with the unit, is used to be provided with predetermined amount of time;
Updating block is used for utilizing in the preset time section described account flowing water Data Update to concentrate account's remaining sum.
8, system as claimed in claim 7 is characterized in that, described record cell in the monolateral entry of concentrating the account or in the bilateral entry, or is recorded in the account flowing water data recording of described transaction with in the buffer table independently.
9, system as claimed in claim 7 is characterized in that, also comprises merge cells, is used in the preset time section account flowing water data of described record are merged;
Correspondingly, described updating block utilizes the account flowing water Data Update that merges to concentrate account's remaining sum in the preset time section.
10, system as claimed in claim 8 is characterized in that, also comprises grouped element, is used for according to the account flowing water packet of field with described record;
Correspondingly, described merge cells merges the account flowing water data of described grouping in the preset time section.
11, system as claimed in claim 7, it is characterized in that, also comprise and add lock unit, for record account flowing water data and at the fixed time section carry out the situation that adopts different threads independently to carry out respectively of operating of upgrading, be used for described concentration account being locked carrying out the concentrated account balance operating process of described renewal.
CNA2009100055319A 2009-01-19 2009-01-19 Transaction data processing method and system Pending CN101477667A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2009100055319A CN101477667A (en) 2009-01-19 2009-01-19 Transaction data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2009100055319A CN101477667A (en) 2009-01-19 2009-01-19 Transaction data processing method and system

Publications (1)

Publication Number Publication Date
CN101477667A true CN101477667A (en) 2009-07-08

Family

ID=40838375

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2009100055319A Pending CN101477667A (en) 2009-01-19 2009-01-19 Transaction data processing method and system

Country Status (1)

Country Link
CN (1) CN101477667A (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102870134A (en) * 2012-06-18 2013-01-09 华为技术有限公司 Method and apparatus for a transaction processing
CN103325032A (en) * 2012-03-21 2013-09-25 阿里巴巴集团控股有限公司 Data processing method and device
CN103810202A (en) * 2012-11-13 2014-05-21 腾讯科技(深圳)有限公司 Data collection method and data collection system
CN105447604A (en) * 2014-08-04 2016-03-30 阿里巴巴集团控股有限公司 Account processing method and device
CN105468623A (en) * 2014-09-03 2016-04-06 阿里巴巴集团控股有限公司 Data processing method and apparatus
CN105787733A (en) * 2014-12-24 2016-07-20 阿里巴巴集团控股有限公司 Method and apparatus for processing service information
CN106022901A (en) * 2015-03-17 2016-10-12 阿里巴巴集团控股有限公司 Data processing method and device
CN106155823A (en) * 2015-03-26 2016-11-23 阿里巴巴集团控股有限公司 Interaction data processing method and device
CN106856496A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 Data processing method and device
CN106910127A (en) * 2016-06-22 2017-06-30 阿里巴巴集团控股有限公司 It is a kind of to prevent the fund of finance product from repeating the method and device provided
CN106934025A (en) * 2017-03-13 2017-07-07 广州爱九游信息技术有限公司 A kind of account data management method, device and server
CN106952158A (en) * 2017-03-17 2017-07-14 证通股份有限公司 Solve the problems, such as the bookkeeping methods and equipment of focus account
CN106993015A (en) * 2016-01-21 2017-07-28 阿里巴巴集团控股有限公司 Synchronous method, system and the security server of transaction
CN107358425A (en) * 2017-06-29 2017-11-17 湖南搜云网络科技股份有限公司 The calculating of tranaction costs and method of payment and device, transaction platform and storage medium
CN108537526A (en) * 2018-03-21 2018-09-14 中国银行股份有限公司 Account trading processing method and system
CN108564352A (en) * 2018-03-16 2018-09-21 阿里巴巴集团控股有限公司 The processing method and processing device of e-sourcing information
CN109409872A (en) * 2017-08-17 2019-03-01 深圳市智派网络技术有限公司 The transfer account method and device of electronic cash
CN110175900A (en) * 2019-04-30 2019-08-27 阿里巴巴集团控股有限公司 A kind of buffering benefit account method and device
CN110232565A (en) * 2019-05-20 2019-09-13 平安银行股份有限公司 Resource liquidation method, device, computer equipment and storage medium
CN113487417A (en) * 2021-07-27 2021-10-08 中国银行股份有限公司 Accounting data processing method and device

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103325032A (en) * 2012-03-21 2013-09-25 阿里巴巴集团控股有限公司 Data processing method and device
WO2013189011A1 (en) * 2012-06-18 2013-12-27 华为技术有限公司 Method and apparatus for transaction processing
CN102870134A (en) * 2012-06-18 2013-01-09 华为技术有限公司 Method and apparatus for a transaction processing
CN103810202A (en) * 2012-11-13 2014-05-21 腾讯科技(深圳)有限公司 Data collection method and data collection system
CN103810202B (en) * 2012-11-13 2016-03-30 腾讯科技(深圳)有限公司 Method of data capture and data gathering system
CN105447604B (en) * 2014-08-04 2020-01-21 阿里巴巴集团控股有限公司 Account processing method and device
CN105447604A (en) * 2014-08-04 2016-03-30 阿里巴巴集团控股有限公司 Account processing method and device
US10748220B2 (en) 2014-08-04 2020-08-18 Alibaba Group Holding Limited Account processing method and apparatus
CN105468623A (en) * 2014-09-03 2016-04-06 阿里巴巴集团控股有限公司 Data processing method and apparatus
CN105787733A (en) * 2014-12-24 2016-07-20 阿里巴巴集团控股有限公司 Method and apparatus for processing service information
CN105787733B (en) * 2014-12-24 2020-09-08 阿里巴巴集团控股有限公司 Service information processing method and device
CN106022901A (en) * 2015-03-17 2016-10-12 阿里巴巴集团控股有限公司 Data processing method and device
CN106155823A (en) * 2015-03-26 2016-11-23 阿里巴巴集团控股有限公司 Interaction data processing method and device
CN106155823B (en) * 2015-03-26 2020-02-21 阿里巴巴集团控股有限公司 Interactive data processing method and device
CN106856496A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 Data processing method and device
CN106856496B (en) * 2015-12-09 2020-04-14 阿里巴巴集团控股有限公司 Data processing method and device
CN106993015A (en) * 2016-01-21 2017-07-28 阿里巴巴集团控股有限公司 Synchronous method, system and the security server of transaction
CN106910127A (en) * 2016-06-22 2017-06-30 阿里巴巴集团控股有限公司 It is a kind of to prevent the fund of finance product from repeating the method and device provided
CN106934025A (en) * 2017-03-13 2017-07-07 广州爱九游信息技术有限公司 A kind of account data management method, device and server
CN106934025B (en) * 2017-03-13 2020-06-16 阿里巴巴(中国)有限公司 Account data management method and device and server
CN106952158A (en) * 2017-03-17 2017-07-14 证通股份有限公司 Solve the problems, such as the bookkeeping methods and equipment of focus account
CN107358425A (en) * 2017-06-29 2017-11-17 湖南搜云网络科技股份有限公司 The calculating of tranaction costs and method of payment and device, transaction platform and storage medium
CN107358425B (en) * 2017-06-29 2021-04-20 湖南搜云网络科技股份有限公司 Transaction fee calculation and payment method and device, transaction platform and storage medium
CN109409872A (en) * 2017-08-17 2019-03-01 深圳市智派网络技术有限公司 The transfer account method and device of electronic cash
CN108564352A (en) * 2018-03-16 2018-09-21 阿里巴巴集团控股有限公司 The processing method and processing device of e-sourcing information
CN108537526A (en) * 2018-03-21 2018-09-14 中国银行股份有限公司 Account trading processing method and system
CN110175900A (en) * 2019-04-30 2019-08-27 阿里巴巴集团控股有限公司 A kind of buffering benefit account method and device
CN110175900B (en) * 2019-04-30 2023-07-11 创新先进技术有限公司 Buffer account supplementing method and device
CN110232565A (en) * 2019-05-20 2019-09-13 平安银行股份有限公司 Resource liquidation method, device, computer equipment and storage medium
CN110232565B (en) * 2019-05-20 2023-09-05 平安银行股份有限公司 Resource clearing method, device, computer equipment and storage medium
CN113487417A (en) * 2021-07-27 2021-10-08 中国银行股份有限公司 Accounting data processing method and device

Similar Documents

Publication Publication Date Title
CN101477667A (en) Transaction data processing method and system
US7584126B1 (en) System and method for managing dedicated use of a credit account
US7392222B1 (en) System and method for providing promotional pricing
CN110147993A (en) A kind of advance payment financing method and device
CN107369012A (en) A kind of method for processing payment information and system and the prepaid card processing method with performance bond insurance mechanism
CN103366306A (en) Shared capital data processing device and use method thereof
US20220270082A1 (en) Novel means and methods for implementation of secure transactions
CN109544073B (en) Method, device and equipment for managing customs clearance and storage medium
CN111161060A (en) Comprehensive platform for investment and research transaction
US8326712B2 (en) Method and system for technology consumption management
US8285612B2 (en) Systems and methods for data processing
CN109615508A (en) Data summarization checking method and subsystem for internet banking system
TWI761673B (en) Debt repayment system and debt management method
CN104346720A (en) Cross-border payment-mode limiting method and system
CN114140252A (en) Resource allocation method of target object and related device
WO2024119789A1 (en) Fund releasing method and apparatus, and computer device and readable storage medium
CN102629362A (en) Method for realizing flexible account structure in enterprise annuity account management system
JP5975354B2 (en) System and method for voting by lender instructions
CN103577570A (en) Data recording method for data processing and data processing system
CN110489705A (en) Manage cost calculating method, device, terminal device and storage medium
CN108320129A (en) A kind of test data automation building method and device
CN113436018A (en) Asset hosting business processing method and device, storage medium and electronic equipment
CN113159935A (en) To-do service processing method and device based on block chain
KR20190090685A (en) Processing method and apparatus for financial instrument information
CN116993506B (en) Consumption financial business transaction processing system

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: 1132821

Country of ref document: HK

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20090708

REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1132821

Country of ref document: HK