Invention content
The purpose of this specification one or more embodiment is to provide a kind of processing method and processing device of e-sourcing information,
To solve the problems, such as that it is out of order that the when of recording resource change detail in the prior art is susceptible to data.
In order to solve the above technical problems, what this specification one or more embodiment was realized in:
On the one hand, this specification one or more embodiment provides a kind of processing method of e-sourcing information, including:
It is detailed to obtain currently pending resource change, the resource change detail includes the corresponding money of multiple resource transfers
Source transition information and transfer request time;
According to the corresponding resource change information of each resource transfers and transfer request time, each resource transfers are determined respectively
Resources left information afterwards;
It is detailed according to resource change described in the resources left information update.
In one embodiment, the currently pending resource change of the acquisition is detailed, including:
Obtain the resource change time of the last resource transfers;
Using the resource change time of the last resource transfers as deadline, before obtaining the deadline
Pending resource change is detailed.
In one embodiment, the corresponding resource change information of each resource transfers of the basis and transfer request time,
The resources left information after each resource transfers is determined respectively, including:
The corresponding resource change information of each resource transfers is arranged according to the sequencing of the transfer request time
Sequence obtains ranking results;
According to position of each resource change information in the ranking results, after determining each resource transfers respectively
Resources left information.
In one embodiment, the resource change information includes resource transfers amount;
The position according to each resource change information in the ranking results determines each resource transfers respectively
Resources left information afterwards, including:
The resource change information in the ranking results is obtained successively;
For the primary first resource transition information in the ranking results, the not newer resource is determined
It is the resource residual amount after the corresponding resource transfers of the first resource transition information to change the final resource residual amount in detail;
For the non-primary Secondary resource transition information in the ranking results, determine that the Secondary resource becomes
The last resource transfers of the corresponding resource transfers of dynamic information;Calculate the resource residual amount after the last resource transfers and institute
State the difference between the resource transfers amount of last resource transfers;Determine that the difference corresponds to for the Secondary resource transition information
Resource transfers after resource residual amount.
In one embodiment, the currently pending resource change of the acquisition is detailed, including:
It is detailed that currently pending resource change is obtained by the way of asynchronous download.
On the other hand, this specification one or more embodiment provides a kind of processing method of e bill, including:
It obtains the currently pending amount of money and changes detail, it includes the corresponding gold of multiple trading that the amount of money, which changes detailed,
Volume transition information and transaction request time;
According to the corresponding amount of money transition information of each trading and transaction request time, each trading is determined respectively
Balance amount information afterwards;
The amount of money, which is updated, according to the balance amount information changes detail.
In one embodiment, before the currently pending amount of money of the acquisition changes detail, the method further includes:
It locks the amount of money and changes detailed corresponding electronic account.
In one embodiment, the currently pending amount of money of the acquisition changes detailed, including:
It obtains the corresponding amount of money of the last trading and changes the time;
Change the time as deadline using the corresponding amount of money of the last trading, obtain the deadline it
Preceding pending remaining sum changes detailed.
In one embodiment, the corresponding amount of money transition information of each trading of the basis and transaction request time,
The balance amount information after each trading is determined respectively, including:
The corresponding amount of money transition information of each trading is arranged according to the sequencing of the transaction request time
Sequence obtains ranking results;
According to position of each amount of money transition information in the ranking results, after determining each trading respectively
Balance amount information.
In one embodiment, the amount of money transition information includes changing the amount of money;
The position according to each amount of money transition information in the ranking results determines each trading respectively
Balance amount information afterwards, including:
The amount of money transition information in the ranking results is obtained successively;
For primary first amount of money transition information in the ranking results, the not newer amount of money is determined
It is the remaining sum after the corresponding trading of first amount of money transition information to change the resulting balance in detail;
For non-primary second amount of money transition information in the ranking results, determine that second amount of money becomes
The last trading of the corresponding trading of dynamic information;Calculate the remaining sum and described upper one after the last trading
The difference of secondary trading changed between the amount of money;Determine that the difference is that the corresponding amount of money of second amount of money transition information is handed over
Remaining sum after easily.
In one embodiment, after the amount of money variation detail according to balance amount information update, the method
Further include:
It is detailed to show that the updated amount of money changes according to the ranking results.
In another aspect, this specification one or more embodiment provides a kind of processing unit of e-sourcing information, including:
First acquisition module, obtains currently pending resource change detail, and the resource change detail includes repeatedly money
Shift corresponding resource change information and transfer request time in source;
First determining module, it is true respectively according to the corresponding resource change information of each resource transfers and transfer request time
Resources left information after fixed each resource transfers;
First update module, it is detailed according to resource change described in the resources left information update.
In one embodiment, first acquisition module includes:
First acquisition unit obtains the resource change time of the last resource transfers;
Second acquisition unit, using the resource change time of the last resource transfers as deadline, described in acquisition
Pending resource change before deadline is detailed.
In one embodiment, first determining module includes:
Sequencing unit, it is suitable according to the priority of the transfer request time to the corresponding resource change information of each resource transfers
Sequence is ranked up, and obtains ranking results;
Determination unit determines money every time respectively according to position of each resource change information in the ranking results
Resources left information after the transfer of source.
In one embodiment, the resource change information includes resource transfers amount;
The determination unit is additionally operable to:
The resource change information in the ranking results is obtained successively;
For the primary first resource transition information in the ranking results, the not newer resource is determined
It is the resource residual amount after the corresponding resource transfers of the first resource transition information to change the final resource residual amount in detail;
For the non-primary Secondary resource transition information in the ranking results, determine that the Secondary resource becomes
The last resource transfers of the corresponding resource transfers of dynamic information;Calculate the resource residual amount after the last resource transfers and institute
State the difference between the resource transfers amount of last resource transfers;Determine that the difference corresponds to for the Secondary resource transition information
Resource transfers after resource residual amount.
In one embodiment, first acquisition module includes:
It is detailed to obtain currently pending resource change by the way of asynchronous download for third acquiring unit.
In another aspect, this specification one or more embodiment provides a kind of processing unit of e bill, including:
Second acquisition module obtains the currently pending amount of money and changes detail, and it includes repeatedly golden that the amount of money, which changes detailed,
Volume is merchandised corresponding amount of money transition information and transaction request time;
Second determining module, it is true respectively according to the corresponding amount of money transition information of each trading and transaction request time
Balance amount information after fixed each trading;
Second update module updates the amount of money according to the balance amount information and changes detail.
In one embodiment, described device further includes:
It is detailed corresponding to lock the amount of money variation before obtaining the currently pending amount of money and changing detail for locking module
Electronic account.
In another aspect, this specification one or more embodiment provides a kind of processing equipment of e-sourcing information, including:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
Manage device:
It is detailed to obtain currently pending resource change, the resource change detail includes the corresponding money of multiple resource transfers
Source transition information and transfer request time;
According to the corresponding resource change information of each resource transfers and transfer request time, each resource transfers are determined respectively
Resources left information afterwards;
It is detailed according to resource change described in the resources left information update.
In another aspect, this specification one or more embodiment provides a kind of storage medium, can be held for storing computer
Row instruction, the executable instruction realize following below scheme when executed:
It is detailed to obtain currently pending resource change, the resource change detail includes the corresponding money of multiple resource transfers
Source transition information and transfer request time;
According to the corresponding resource change information of each resource transfers and transfer request time, each resource transfers are determined respectively
Resources left information afterwards;
It is detailed according to resource change described in the resources left information update.
In another aspect, this specification one or more embodiment provides a kind of processing equipment of e bill, including:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
Manage device:
It obtains the currently pending amount of money and changes detail, it includes the corresponding gold of multiple trading that the amount of money, which changes detailed,
Volume transition information and transaction request time;
According to the corresponding amount of money transition information of each trading and transaction request time, each trading is determined respectively
Balance amount information afterwards;
The amount of money, which is updated, according to the balance amount information changes detail.
In another aspect, this specification one or more embodiment provides a kind of storage medium, can be held for storing computer
Row instruction, the executable instruction realize following below scheme when executed:
It obtains the currently pending amount of money and changes detail, it includes the corresponding gold of multiple trading that the amount of money, which changes detailed,
Volume transition information and transaction request time;
According to the corresponding amount of money transition information of each trading and transaction request time, each trading is determined respectively
Balance amount information afterwards;
The amount of money, which is updated, according to the balance amount information changes detail.
It is bright by the resource change for obtaining currently pending using the technical solution of this specification one or more embodiment
Carefully, and according to the corresponding resource change information of each resource transfers and transfer request time, after determining each resource transfers respectively
Resources left information, and then according to resources left information update resource change information.As it can be seen that the technical solution can be according to every
The corresponding resource change information of secondary resource transfers and transfer request time redefine correct resources left information, to correct
The resources left information of out of order situation occurs in resource change detail, it is ensured that the accuracy of resource change detail.
Specific implementation mode
This specification one or more embodiment provides a kind of processing method and processing device of e-sourcing information, to solve
It is susceptible to the out of order problem of data when recording resource change detail in the prior art.
In order to make those skilled in the art more fully understand the technical solution in this specification one or more embodiment,
Below in conjunction with the attached drawing in this specification one or more embodiment, to the technology in this specification one or more embodiment
Scheme is clearly and completely described, it is clear that and described embodiment is only this specification a part of the embodiment, rather than
Whole embodiments.Based on this specification one or more embodiment, those of ordinary skill in the art are not making creativeness
The every other embodiment obtained under the premise of labour should all belong to the model of this specification one or more embodiment protection
It encloses.
Fig. 1 be according to a kind of schematic flow chart of the processing method of e-sourcing information of one embodiment of this specification,
As shown in Figure 1, this method includes:
S102 obtains currently pending resource change detail, and resource change detail includes that multiple resource transfers are corresponding
Resource change information and transfer request time.
Wherein, the resource transfers corresponding transfer request time can be time when user initiates resource transfers request,
It can be time when server receives resource transfers request.
It in one embodiment, can first lock resource variation detail before obtaining currently pending resource change detail
Corresponding electronic account.Advantage of this embodiment is that after the detailed corresponding electronic account of resource change is locked, obtain
During currently pending resource change detail, you can the resource transfers request that the electronic account is sent no longer is received, from
And if avoid obtaining resource change it is detailed during influence when receiving new resource transfers request to resource change detail, into
And cause when resource change detail being avoided to change data there is a situation where confusion.When the process for obtaining resource change detail is complete
Cheng Hou, can unlocked resource change detailed corresponding electronic account, so that the normal process resource transfer feelings of the electronic account is asked.
In one embodiment, the resource change time of the last resource transfers can be obtained first, and with the last time
The resource change time of resource transfers is deadline, and the pending resource change before then obtaining the deadline is bright
Carefully.Advantage of this embodiment is that bright by regarding the resource change time of the last resource transfers as acquisition resource change
Thin deadline, it can be ensured that resource change detail will not change during obtaining resource change detail, to
If avoiding the influence obtained when resource change is detailed to receive new resource transfers request in the process to resource change detail, into
And cause when resource change detail being avoided to change data there is a situation where confusion.
S104 determines money every time respectively according to the corresponding resource change information of each resource transfers and transfer request time
Resources left information after the transfer of source.
In one embodiment, when determining the resources left information after each resource transfers, first to each resource transfers
Corresponding resource change information is ranked up according to the sequencing of transfer request time, obtains ranking results, then according to each
Position of the resource change information in ranking results determines the resources left information after each resource transfers respectively.
In ranking results, the resource transfers corresponding transfer request time is more late, the corresponding resource change of the resource transfers
Information is more forward.For example, the transfer request time of resource transfers A is 9:The transfer feelings seeking time of 00, resource transfers B are 9:10,
Since the transfer request time of resource transfers B is later than the transfer request time of resource transfers A, in ranking results, resource
The corresponding resource change information of transfer B is located at before the corresponding resource change information of resource transfers A.
In one embodiment, resource change information includes resource transfers amount, and resources left information is mainly reflected in resource
Surplus.Based on this, according to position of each resource change information in ranking results, the money after each resource transfers is determined respectively
Source remaining information can be executed specifically as follows:
The resource change information in ranking results is obtained successively, for the primary first resource in ranking results
Transition information determines that the final resource residual amount in not newer resource change detail is the corresponding money of first resource transition information
Resource residual amount after the transfer of source.
For the non-primary Secondary resource transition information in ranking results, Secondary resource transition information pair is determined
The last resource transfers for the resource transfers answered;Calculate the resource residual amount after last resource transfers and last resource transfers
Resource transfers amount between difference;Determine that the difference is the resources left after the corresponding resource transfers of Secondary resource transition information
Amount.
S106, it is detailed according to the resource change of resources left information update.
In one embodiment, the resources left information replacement resource determined in S104 can be directly utilized to change in detail
Initial resource remaining information, and according to the sequencing of the resource request time of each resource transfers to updated resource change
Detail is ranked up, so that user can not only view the resource after each resource transfers by the resource change detail after sequence
Remaining information, additionally it is possible to view accurately final resources left information at a glance.
In one embodiment, the mode that asynchronous download can be used obtains currently pending resource change detail, in turn
Determine the resources left information after each resource transfers, and detailed using the resource change of resources left information update.That is, being not necessarily to
The update that resource change detail is completed in the state of real-time online, is easy to cause equipment pressure mistake when to avoid online processing
Big situation.
It is bright by the resource change for obtaining currently pending using the technical solution of this specification one or more embodiment
Carefully, and according to the corresponding resource change information of each resource transfers and transfer request time, after determining each resource transfers respectively
Resources left information, and then according to resources left information update resource change information.As it can be seen that the technical solution can be according to every
The corresponding resource change information of secondary resource transfers and transfer request time redefine correct resources left information, to correct
The resources left information of out of order situation occurs in resource change detail, it is ensured that the accuracy of resource change detail.
The processing method of the e-sourcing information provided in above-described embodiment, to electricity when can be applied to such as online network trading
In the processing scene of sub- bill.For below when online network trading to the processing scene of e bill, this theory is illustrated
The application process of the technical solution of bright one or more embodiment.
Fig. 2 is according to a kind of schematic flow chart of the processing method of e bill of one embodiment of this specification, such as Fig. 2
Shown, this method includes:
S202 obtains the currently pending amount of money and changes detail, and it includes that multiple trading is corresponding that the amount of money, which changes detailed,
Amount of money transition information and transaction request time.
Wherein, the trading corresponding transaction request time can be time when user initiates trading request,
It can be time when server receives trading request.
It in one embodiment, can first lockout amounts variation detail before obtaining currently pending amount of money variation detail
Corresponding electronic account.Advantage of this embodiment is that after the amount of money changes detailed corresponding electronic account and is locked, obtain
During currently pending resource change detail, you can the trading request that the electronic account is sent no longer is received, from
And avoid obtaining the amount of money change it is detailed during if detailed influence is changed to the amount of money when receiving new trading request, into
And avoid the amount of money from changing detail to cause when changing data to occur chaotic.When obtaining, the detailed process of amount of money variation is complete
Cheng Hou can unlock the amount of money and change detailed corresponding electronic account, so that the electronic account is normally handled trading feelings and ask.
In one embodiment, the amount of money that can obtain the last trading first changes the time, and with the last time
The amount of money of trading changes the time for deadline, and the pending amount of money before then obtaining the deadline changes bright
Carefully.Advantage of this embodiment is that bright by regarding the amount of money variation time of the last trading as acquisition amount of money variation
Thin deadline, it can be ensured that the amount of money changes detail and will not change during obtaining the amount of money and changing detailed, to
If avoiding to obtain the amount of money and change when detail receives new trading request in the process and changing detailed influence to the amount of money, into
And avoid the amount of money from changing detail to cause when changing data to occur chaotic.Meanwhile the present embodiment is compared to locking electricity
For the scheme of sub- account, additionally it is possible to avoid locking electronic account when be susceptible to book keeping operation lock obstruction (such as because can not receive newly
Trading request lead to multiple trading request stackings) the case where.
S204 determines gold every time respectively according to the corresponding amount of money transition information of each trading and transaction request time
Balance amount information after volume transaction.
In one embodiment, when determining the balance amount information after each trading, each trading is corresponded to first
Amount of money transition information be ranked up according to the sequencing of transaction request time, ranking results are obtained, then according to each amount of money
Position of the transition information in ranking results determines the balance amount information after each trading respectively.
In ranking results, the trading corresponding transaction request time is more late, and the corresponding amount of money of the trading changes
Information is more forward.For example, the transaction request time of trading A is 9:The transaction feelings seeking time of 00, trading B are 9:10,
Since the transaction request time of trading B is later than the transaction request time of trading A, in ranking results, the amount of money
The corresponding amount of money transition informations of transaction B are located at before the corresponding amount of money transition informations of trading A.
In one embodiment, amount of money transition information includes changing the amount of money.Based on this, arranged according to each amount of money transition information
Position in sequence result determines the balance amount information after each trading, can specifically execute as follows respectively:
The amount of money transition information in the ranking results is obtained successively, for primary first in ranking results
Amount of money transition information, it is the corresponding amount of money of the first amount of money transition information to determine that the not newer amount of money changes the resulting balance in detail
Remaining sum after transaction.
For non-primary second amount of money transition information in ranking results, the second amount of money transition information pair is determined
The last trading for the trading answered;Calculate the variation of remaining sum and last trading after last trading
Difference between the amount of money;Determine that the difference is the remaining sum after the corresponding trading of the second amount of money transition information.
S206 updates the amount of money according to balance amount information and changes detail.
In one embodiment, the balance amount information determined in S104 can be directly utilized to replace initial in amount of money variation detail
Balance amount information, and the sequencing (i.e. according to above-mentioned ranking results) of the transaction request time according to each trading is to update
Remaining sum afterwards changes detail and is ranked up, and then is shown to user, so that user can not only be bright by the variation of the remaining sum after sequence
Go through the balance amount information after seeing each trading, additionally it is possible to view accurate resulting balance information at a glance.
In one embodiment, the mode that asynchronous download can be used obtains currently pending amount of money variation detail, in turn
It determines the balance amount information after each trading, and detail is changed using the balance amount information update amount of money.That is, without existing in real time
The amount of money is completed in the state of line and changes detailed update, and equipment pressure excessive feelings are easy to cause when to avoid online processing
Condition.
It is bright by the amount of money variation for obtaining currently pending using the technical solution of this specification one or more embodiment
Carefully, and according to the corresponding amount of money transition information of each trading and transaction request time, after determining each trading respectively
Balance amount information, and then according to balance amount information update amount of money transition information.As it can be seen that the technical solution can be handed over according to each amount of money
Easy corresponding amount of money transition information and transaction request time redefine correct balance amount information, bright to correct for amount of money variation
The balance amount information of out of order situation occurs for detail, it is ensured that the amount of money changes detailed accuracy.
Illustrate the processing method of e bill below by way of a specific embodiment.
Fig. 3 be according to a kind of schematic flow chart of the processing method of e bill of one specific embodiment of this specification,
As shown in figure 3, this method includes:
S301 locks Current electronic account.
In the present embodiment, it is assumed that the initial amount of money in Current electronic account is 0.
S302 obtains the currently pending amount of money and changes detail, and it includes that multiple trading is corresponding that the amount of money, which changes detailed,
Amount of money transition information and transaction request time.
In the present embodiment, it is assumed that it includes the corresponding amount of money variation of trading twice that the currently pending amount of money, which changes detailed,
Information and transaction request time, respectively trading A and trading B, wherein trading A and trading B are corresponding
Amount of money transition information and transaction request time are as shown in table 1 below, amount of money transition information include the amount of money change the time, change the amount of money and
Remaining sum after trading.Precedence relationship such as Fig. 4 institutes between the trading A and trading B corresponding transaction request times
Show.
Table 1
It can be seen that in conjunction with Fig. 4, trading A corresponding transaction request times T1, transaction corresponding earlier than trading B was asked
Seeking time T2, but the corresponding amount of money of trading A changes time T4 and is later than the corresponding amount of money variation time T3 of trading B.
But it is later than the corresponding amount of money variation time T3 of trading B since the corresponding amount of money of trading A changes time T4, first sends out
Raw trading B, the remaining sum after the secondary trading are the sum of primary balance and this time variation amount of money, as 5 yuan;Then occur
Trading A, the remaining sum after the secondary trading are that current balance (i.e. 5 yuan of remaining sum after trading B) and this time variation are golden
After volume, as 5+10=15 members, as shown in Table 1.
At this point, user asks trading A first it will be seen that in the case where primary balance is 0 --- 10 yuan are filled with,
Remaining sum but becomes 15 yuan;And then trading B is asked --- 5 yuan are filled with, remaining sum but becomes 5 yuan.Obviously, recorded in table 1
Balance amount information be wrong, cause user extremely to perplex, need to redefine correct balance amount information and update amount of money variation
It is detailed.
S303 arranges the corresponding amount of money transition information of each trading according to the sequencing of transaction request time
Sequence obtains ranking results.
In the step, the trading corresponding transaction request time is more late, the corresponding amount of money transition information of the trading
It is more forward.Therefore obtained ranking results are:Trading B is located at first in ranking results, and trading A is located at sequence
As a result the second in.
S304 obtains the amount of money transition information in ranking results successively, and judges that the amount of money transition information currently obtained is
No first be located in ranking results;If so, executing S305;If it is not, then executing S306.
S305, determine the not newer amount of money change it is detailed in resulting balance be that the amount of money transition information that gets is corresponding
Remaining sum after trading.
In the present embodiment, the sequencing of time can be changed according to the amount of money and determines resulting balance, specifically, the amount of money the latest
Remaining sum after variation time corresponding trading is resulting balance.
The example above is continued to use, it is that the amount of money as shown in Table 1 changes detail that the not newer amount of money, which changes detailed, in the amount of money
It changes in detail, is but later than the trading B corresponding amount of money variation times since the corresponding amount of money of trading A changes time T4
T3, thus the remaining sum after trading A be resulting balance, i.e., 15 yuan.Therefore in S305, for being located at the in ranking results
One corresponding trading B of amount of money transition information, the remaining sum occurred after trading is 15 yuan.
S306 determines the last trading of the corresponding trading of amount of money transition information got.
S307 calculates the remaining sum after the last time trading and the difference of the last time trading changed between the amount of money
Value, and determine that the difference is the remaining sum after the corresponding trading of amount of money transition information got.
Wherein, the remaining sum after last trading refers to the correct remaining sum redefined.
The example above is continued to use, according to ranking results, the corresponding amount of money transition informations of trading B is being obtained and is determining gold
After remaining sum after volume transaction B, the corresponding amount of money transition informations of trading A are obtained, and the step of according to above-mentioned S306-S307 is true
Determine the remaining sum after trading A.
Specifically, for trading A, last trading is trading B, then, utilize trading B
Remaining sum afterwards subtracts the variation amount of money of trading B, you can calculates the remaining sum after trading A.After trading B
Remaining sum is 15 yuan, and the variation amount of money of trading B is 5 yuan, and therefore, the remaining sum after trading A is 15-5=10 (member).
S308 changes detailed according to the determining balance updates amount of money.
So far, the remaining sum after trading B (i.e. 15 yuan) and the remaining sum (i.e. 10 after trading A have been redefined
Member), detail is changed according to the remaining sum after the trading B redefined and the balance updates amount of money after trading A, can be obtained
The amount of money as shown in table 2 below changes detailed.
Table 2
User would know that according to table 2, in the case where primary balance is 0, ask trading A first --- it is filled with 10
Member, remaining sum become 10 yuan;And then trading B is asked --- 5 yuan are filled with, remaining sum becomes 15 yuan.Obviously, recorded in table 2
Balance amount information be updated to correct balance amount information, solve puzzlement of the user to wrong remaining sum.
In addition, in the present embodiment, the mode that asynchronous download also can be used obtains currently pending amount of money variation detail, into
And determine the balance amount information after each trading, and change detail using the balance amount information update amount of money.That is, without real-time
The amount of money is completed in the state of online and changes detailed update, and equipment pressure excessive feelings are easy to cause when to avoid online processing
Condition.
To sum up, the specific embodiment of this theme is described.Other embodiments are in the appended claims
In range.In some cases, the action recorded in detail in the claims can execute and still in a different order
Desired result may be implemented.In addition, the process described in the accompanying drawings not necessarily requires the particular order shown or continuous suitable
Sequence, to realize desired result.In some embodiments, multitasking and parallel processing can be advantageous.
It is the processing method and e bill of the e-sourcing information that this specification one or more embodiment provides above
Processing method, be based on same thinking, this specification one or more embodiment also provides a kind of place of e-sourcing information
Manage device and a kind of processing unit of e bill.
Fig. 5 is according to a kind of schematic block diagram of the processing unit of e-sourcing information of one embodiment of this specification, such as
Shown in Fig. 5, which includes:
First acquisition module 510 obtains currently pending resource change detail, and resource change detail includes multiple resource
Shift corresponding resource change information and transfer request time;
First determining module 520, according to the corresponding resource change information of each resource transfers and transfer request time, respectively
Determine the resources left information after each resource transfers;
First update module 530, it is detailed according to the resource change of resources left information update.
In one embodiment, the first acquisition module 510 includes:
First acquisition unit obtains the resource change time of the last resource transfers;
Second acquisition unit obtains deadline using the resource change time of the last resource transfers as deadline
Pending resource change before is detailed.
In one embodiment, the first determining module 520 includes:
Sequencing unit, to the corresponding resource change information of each resource transfers according to the transfer request time sequencing into
Row sequence, obtains ranking results;
Determination unit, according to position of each resource change information in ranking results, after determining each resource transfers respectively
Resources left information.
In one embodiment, resource change information includes resource transfers amount;
Determination unit is additionally operable to:
The resource change information in ranking results is obtained successively;
For the primary first resource transition information in ranking results, determine that not newer resource change is detailed
In final resource residual amount be the corresponding resource transfers of first resource transition information after resource residual amount;
For the non-primary Secondary resource transition information in ranking results, Secondary resource transition information pair is determined
The last resource transfers for the resource transfers answered;Calculate the resource residual amount after last resource transfers and last resource transfers
Resource transfers amount between difference;Determine that difference is the resources left after the corresponding resource transfers of Secondary resource transition information
Amount.
In one embodiment, the first acquisition module 510 includes:
It is detailed to obtain currently pending resource change by the way of asynchronous download for third acquiring unit.
It is detailed by obtaining currently pending resource change using the device of this specification one or more embodiment,
And according to the corresponding resource change information of each resource transfers and transfer request time, the money after each resource transfers is determined respectively
Source remaining information, and then according to resources left information update resource change information.As it can be seen that the technical solution can be according to each money
Corresponding resource change information is shifted in source and the transfer request time redefines correct resources left information, to correct for money
Source changes the resources left information that out of order situation occurs in detail, it is ensured that the accuracy of resource change detail.
Fig. 6 is according to a kind of schematic block diagram of the processing unit of e bill of one embodiment of this specification, such as Fig. 6 institutes
Show, which includes:
Second acquisition module 610 obtains the currently pending amount of money and changes detail, and it includes the multiple amount of money that the amount of money, which changes detailed,
It merchandises corresponding amount of money transition information and transaction request time;
Second determining module 620, according to the corresponding amount of money transition information of each trading and transaction request time, respectively
Determine the balance amount information after each trading;
Second update module 630 updates the amount of money according to balance amount information and changes detail.
In one embodiment, above-mentioned apparatus further includes:
Locking module, before obtaining the currently pending amount of money and changing detail, lockout amounts change detailed corresponding electricity
Sub- account.
Using the device of this specification one or more embodiment, detail is changed by obtaining the currently pending amount of money,
And according to the corresponding amount of money transition information of each trading and transaction request time, determine respectively remaining after each trading
Volume information, and then amount of money transition information is updated according to balance amount information.As it can be seen that the technical solution can be according to each trading pair
The amount of money transition information and transaction request time answered redefine correct balance amount information, are changed in detail to correct for the amount of money
The balance amount information of out of order situation occurs, it is ensured that the amount of money changes detailed accuracy.
It should be understood that before the processing unit of the e-sourcing information in Fig. 5 can be used for realizing
The processing method of e-sourcing information described in text, the processing unit of the e bill in Fig. 6 can be used for realizing described previously
E bill processing method, datail description therein should be described with method part above it is similar, it is cumbersome to avoid, herein not
Separately repeat.
Based on same thinking, this specification one or more embodiment also provides a kind of processing of e-sourcing information and sets
It is standby, as shown in Figure 7.The processing equipment of e-sourcing information can generate bigger difference because configuration or performance are different, can be with
Including one or more processor 701 and memory 702, one or more can be stored in memory 702
Store application program or data.Wherein, memory 702 can be of short duration storage or persistent storage.It is stored in answering for memory 702
May include one or more modules (diagram is not shown) with program, each module may include to e-sourcing information
Series of computation machine executable instruction in processing equipment.Further, processor 701 could be provided as and memory 702
Communication executes the series of computation machine executable instruction in memory 702 in the processing equipment of e-sourcing information.Electronics provides
The processing equipment of source information can also include one or more power supplys 703, one or more wired or wireless networks
Interface 704, one or more input/output interfaces 705, one or more keyboards 706.
Specifically in the present embodiment, the processing equipment of e-sourcing information include memory and one or one with
On program, either more than one program is stored in memory and one or more than one program can wrap for one of them
Include one or more modules, and each module may include the series of computation in processing equipment to e-sourcing information
Machine executable instruction, and it is configured to by one that either more than one processor executes this or more than one program includes
For carrying out following computer executable instructions:
It is detailed to obtain currently pending resource change, the resource change detail includes the corresponding money of multiple resource transfers
Source transition information and transfer request time;
According to the corresponding resource change information of each resource transfers and transfer request time, each resource transfers are determined respectively
Resources left information afterwards;
It is detailed according to resource change described in the resources left information update.
Optionally, computer executable instructions when executed, can also make the processor:
Obtain the resource change time of the last resource transfers;
Using the resource change time of the last resource transfers as deadline, before obtaining the deadline
Pending resource change is detailed.
Optionally, computer executable instructions when executed, can also make the processor:
The corresponding resource change information of each resource transfers is arranged according to the sequencing of the transfer request time
Sequence obtains ranking results;
According to position of each resource change information in the ranking results, after determining each resource transfers respectively
Resources left information.
Optionally, the resource change information includes resource transfers amount;Computer executable instructions when executed, may be used also
So that the processor:
The resource change information in the ranking results is obtained successively;
For the primary first resource transition information in the ranking results, the not newer resource is determined
It is the resource residual amount after the corresponding resource transfers of the first resource transition information to change the final resource residual amount in detail;
For the non-primary Secondary resource transition information in the ranking results, determine that the Secondary resource becomes
The last resource transfers of the corresponding resource transfers of dynamic information;Calculate the resource residual amount after the last resource transfers and institute
State the difference between the resource transfers amount of last resource transfers;Determine that the difference corresponds to for the Secondary resource transition information
Resource transfers after resource residual amount.
Optionally, computer executable instructions when executed, can also make the processor:
It is detailed that currently pending resource change is obtained by the way of asynchronous download.
Based on same thinking, this specification one or more embodiment also provides a kind of processing equipment of e bill,
As shown in Figure 8.The processing equipment of e bill can generate bigger difference because configuration or performance are different, may include one
Or more than one processor 801 and memory 802, one or more storage applications can be stored in memory 802
Program or data.Wherein, memory 802 can be of short duration storage or persistent storage.The application program for being stored in memory 802 can
To include one or more modules (diagram is not shown), each module may include in the processing equipment to e bill
Series of computation machine executable instruction.Further, processor 801 could be provided as communicating with memory 802, in electronics account
The series of computation machine executable instruction in memory 802 is executed in single processing equipment.The processing equipment of e bill may be used also
To include one or more power supplys 803, one or more wired or wireless network interfaces 804, one or one with
Upper input/output interface 805, one or more keyboards 806.
Specifically in the present embodiment, the processing equipment of e bill includes memory and one or more
Program, either more than one program is stored in memory and one or more than one program may include one for one of them
A or more than one module, and each module may include that series of computation machine in processing equipment to e bill is executable
Instruction, and it is configured to by one that either more than one processor executes this or more than one program includes for carrying out
Following computer executable instructions:
It obtains the currently pending amount of money and changes detail, it includes the corresponding gold of multiple trading that the amount of money, which changes detailed,
Volume transition information and transaction request time;
According to the corresponding amount of money transition information of each trading and transaction request time, each trading is determined respectively
Balance amount information afterwards;
The amount of money, which is updated, according to the balance amount information changes detail.
Optionally, computer executable instructions when executed, can also make the processor:
Before obtaining currently pending amount of money variation detail, locks the amount of money and change detailed corresponding electronic account.
Optionally, computer executable instructions when executed, can also make the processor:
It obtains the corresponding amount of money of the last trading and changes the time;
Change the time as deadline using the corresponding amount of money of the last trading, obtain the deadline it
Preceding pending remaining sum changes detailed.
Optionally, computer executable instructions when executed, can also make the processor:
The corresponding amount of money transition information of each trading is arranged according to the sequencing of the transaction request time
Sequence obtains ranking results;
According to position of each amount of money transition information in the ranking results, after determining each trading respectively
Balance amount information.
Optionally, the amount of money transition information includes changing the amount of money;Computer executable instructions when executed, can be with
Make the processor:
The amount of money transition information in the ranking results is obtained successively;
For primary first amount of money transition information in the ranking results, the not newer amount of money is determined
It is the remaining sum after the corresponding trading of first amount of money transition information to change the resulting balance in detail;
For non-primary second amount of money transition information in the ranking results, determine that second amount of money becomes
The last trading of the corresponding trading of dynamic information;Calculate the remaining sum and described upper one after the last trading
The difference of secondary trading changed between the amount of money;Determine that the difference is that the corresponding amount of money of second amount of money transition information is handed over
Remaining sum after easily.
Optionally, computer executable instructions when executed, can also make the processor:
After updating the amount of money variation detail according to the balance amount information, shown according to the ranking results updated
The amount of money changes detailed.
This specification one or more embodiment also proposed a kind of computer readable storage medium, this is computer-readable to deposit
The one or more programs of storage media storage, the one or more program include instruction, and the instruction is when by including multiple application programs
Electronic equipment when executing, the electronic equipment can be made to execute the processing method of above-mentioned e-sourcing information, and specifically for holding
Row:
It is detailed to obtain currently pending resource change, the resource change detail includes the corresponding money of multiple resource transfers
Source transition information and transfer request time;
According to the corresponding resource change information of each resource transfers and transfer request time, each resource transfers are determined respectively
Resources left information afterwards;
It is detailed according to resource change described in the resources left information update.
This specification one or more embodiment also proposed a kind of computer readable storage medium, this is computer-readable to deposit
The one or more programs of storage media storage, the one or more program include instruction, and the instruction is when by including multiple application programs
Electronic equipment when executing, the electronic equipment can be made to execute the processing method of above-mentioned e bill, and specifically for executing:
It obtains the currently pending amount of money and changes detail, it includes the corresponding gold of multiple trading that the amount of money, which changes detailed,
Volume transition information and transaction request time;
According to the corresponding amount of money transition information of each trading and transaction request time, each trading is determined respectively
Balance amount information afterwards;
The amount of money, which is updated, according to the balance amount information changes detail.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit is realized can in the same or multiple software and or hardware when specification one or more embodiment.
It should be understood by those skilled in the art that, this specification one or more embodiment can be provided as method, system or
Computer program product.Therefore, complete hardware embodiment can be used in this specification one or more embodiment, complete software is implemented
The form of example or embodiment combining software and hardware aspects.Moreover, this specification one or more embodiment can be used one
It is a or it is multiple wherein include computer usable program code computer-usable storage medium (include but not limited to disk storage
Device, CD-ROM, optical memory etc.) on the form of computer program product implemented.
This specification one or more embodiment is with reference to according to the method for the embodiment of the present application, equipment (system) and meter
The flowchart and/or the block diagram of calculation machine program product describes.It should be understood that can be realized by computer program instructions flow chart and/
Or the combination of the flow and/or box in each flow and/or block and flowchart and/or the block diagram in block diagram.It can
These computer program instructions are provided at all-purpose computer, special purpose computer, Embedded Processor or other programmable datas
The processor of equipment is managed to generate a machine so that hold by the processor of computer or other programmable data processing devices
Capable instruction generates for realizing in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes
The device of specified function.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus
Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described
There is also other identical elements in the process of element, method, commodity or equipment.
This specification one or more embodiment can computer executable instructions it is general on
Described in hereafter, such as program module.Usually, program module includes executing particular task or realization particular abstract data type
Routine, program, object, component, data structure etc..The application can also be put into practice in a distributed computing environment, at these
In distributed computing environment, by executing task by the connected remote processing devices of communication network.In Distributed Calculation
In environment, program module can be located in the local and remote computer storage media including storage device.
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment
Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely this specification one or more embodiments, are not limited to this specification.For this
For field technology personnel, this specification one or more embodiment can have various modifications and variations.It is all in this specification one
Any modification, equivalent replacement, improvement and so within the spirit and principle of a or multiple embodiments, should be included in this explanation
Within the right of book one or more embodiment.