CN108269182A - A kind of remaining sum computational methods collected based on fund and computing device - Google Patents
A kind of remaining sum computational methods collected based on fund and computing device Download PDFInfo
- Publication number
- CN108269182A CN108269182A CN201710736920.3A CN201710736920A CN108269182A CN 108269182 A CN108269182 A CN 108269182A CN 201710736920 A CN201710736920 A CN 201710736920A CN 108269182 A CN108269182 A CN 108269182A
- Authority
- CN
- China
- Prior art keywords
- account
- sub
- date
- remaining sum
- flowing water
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/12—Accounting
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The present invention is suitable for field of computer technology, provides a kind of local remaining sum computational methods collected based on fund and computing device, the method includes:Obtain actual funds remaining sum and with sub- account corresponding main account information of the sub- account on the first date;The flowing water type that sub- account is supported is obtained, if the flowing water type that sub- account is supported collects flowing water not comprising fund, flowing water inquiry request is sent to main account according to main account information;If receiving first Flow Record of main account return, according to the first Flow Record, calculate sub- account and collect the granting amount of money of the amount of money and main account to sub- account to main account;According to collecting the amount of money, providing the amount of money and the actual funds remaining sum on the first date, the actual funds remaining sum on the second date is calculated.Technical scheme of the present invention can clearly embody the amount of the fund of sub- account reality, greatly facilitate the intuitive of practical business revenue situation to subsidiary and understand and grasp.
Description
Technical field
The invention belongs to internet financial technology field more particularly to a kind of remaining sum computational methods collected based on fund and
Computing device.
Background technology
At present, it includes the large-scale group of more subsidiaries, generally there is the demand that fund collects, i.e., it will be in subsidiary's account
Fund periodically collect in group account, in sub- account daily retained funds be 0 or be group setting other numerical value,
Such as 1,000,000, this fund, which collects mode and can realize, effectively manages the fund of entire group.
But when carrying out account accounting, collecting the fund of group account, there is still a need for calculate to corresponding subsidiary name
Under, for example, the retained funds of subsidiary's account is 1,000,000, subsidiary's account collects 500,000 in continuous 10 days to group account daily
Fund, then the actual funds at least 6,000,000 of subsidiary when account is calculated, but be only able to display on the book of subsidiary
1000000 funds.Therefore, fund, which collects, brings the problem to be, it is impossible to clearly show the current actual funds remaining sum of subsidiary,
The practical business revenue situation for causing each subsidiary of grasp that group can not be visual and clear current.
Invention content
In view of this, an embodiment of the present invention provides a kind of remaining sum computational methods collected based on fund and computing device,
To solve the problems, such as that fund collects the actual funds remaining sum for leading to not clearly show subsidiary in the prior art.
The first aspect of the embodiment of the present invention provides a kind of remaining sum computational methods collected based on fund, including:
Obtain actual funds remaining sum and with the sub- account corresponding main account information of the sub- account on the first date;
The flowing water type that the sub- account is supported is obtained, if the flowing water type collects flowing water, basis not comprising fund
The main account information sends flowing water inquiry request to the main account, and the flowing water inquiry request is used for please to the main account
It asks out of, first date latter day to the time range on the second date, trading object is the first flowing water of the sub- account
Record;
If receiving first Flow Record that the main account returns, according to first Flow Record, calculate
The sub- account collects the amount of money and the main account to the granting amount of money of the sub- account to the main account;
The amount of money, the granting amount of money and actual funds remaining sum on first date are collected according to described, calculates described the
The actual funds remaining sum on two dates.
The second aspect of the embodiment of the present invention provides a kind of computing device, and the computing device includes memory, processing
Device and the journey of remaining sum computational methods collected based on fund that is stored on the memory and can run on the processor
Sequence, the processor perform it is described collected based on fund the program of remaining sum computational methods when realize following steps:
Obtain actual funds remaining sum and with the sub- account corresponding main account information of the sub- account on the first date;
The flowing water type that the sub- account is supported is obtained, if the flowing water type collects flowing water, basis not comprising fund
The main account information sends flowing water inquiry request to the main account, and the flowing water inquiry request is used for please to the main account
It asks out of, first date latter day to the time range on the second date, trading object is the first flowing water of the sub- account
Record;
If receiving first Flow Record that the main account returns, according to first Flow Record, calculate
The sub- account collects the amount of money and the main account to the granting amount of money of the sub- account to the main account;
The amount of money, the granting amount of money and actual funds remaining sum on first date are collected according to described, calculates described the
The actual funds remaining sum on two dates.
The third aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has the program of remaining sum computational methods collected based on fund, the journey of remaining sum computational methods collected based on fund
When sequence is performed by least one processor, following steps are realized:
Obtain actual funds remaining sum and with the sub- account corresponding main account information of the sub- account on the first date;
The flowing water type that the sub- account is supported is obtained, if the flowing water type collects flowing water, basis not comprising fund
The main account information sends flowing water inquiry request to the main account, and the flowing water inquiry request is used for please to the main account
It asks out of, first date latter day to the time range on the second date, trading object is the first flowing water of the sub- account
Record;
If receiving first Flow Record that the main account returns, according to first Flow Record, calculate
The sub- account collects the amount of money and the main account to the granting amount of money of the sub- account to the main account;
The amount of money, the granting amount of money and actual funds remaining sum on first date are collected according to described, calculates described the
The actual funds remaining sum on two dates.
Existing advantageous effect is the embodiment of the present invention compared with prior art:To fund is not supported to collect flowing water type
Sub- account by way of reading bank's flowing water between the sub- account and main account, calculates sub- account collecting to main account
The amount of money and the granting amount of money from main account to sub- account, and then according to collecting the amount of money, provide the actual funds that the amount of money updates sub- account
Remaining sum so as to clearly embody the amount of the fund of sub- account reality, greatly facilitates the practical business revenue situation to subsidiary
Intuitive understand and grasp.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the realization flow chart of the remaining sum computational methods provided in an embodiment of the present invention collected based on fund;
Fig. 2 is the specific implementation flow of remaining sum computational methods S105 provided in an embodiment of the present invention collected based on fund
Figure;
Fig. 3 is the realization flow chart of the remaining sum computational methods provided in an embodiment of the present invention collected based on fund;
Fig. 4 is the realization flow chart of the remaining sum computational methods provided in an embodiment of the present invention collected based on fund;
Fig. 5 is the realization flow that fund collects in the remaining sum computational methods provided in an embodiment of the present invention collected based on fund
Figure;
Fig. 6 is the schematic diagram of remaining sum computing device provided in an embodiment of the present invention collected based on fund;
Fig. 7 is the schematic diagram of computing device provided in an embodiment of the present invention.
Specific embodiment
In being described below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specifically
The present invention can also be realized in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
Road and the detailed description of method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, will be illustrated below by specific embodiment.To specific real
Apply before example illustrates, first in the embodiment of the present invention using to different type remaining sum explaining property of concept explanation such as
Under:
Actual funds remaining sum refers to that sub- account is not carrying out practical all funds in the case that fund collects to main account
Number.
Book balance refers to the amount of the fund shown on sub- account account.
Retain the maximum book balance that the amount of money is advance scheduled sub- account between main account and sub- account.
Fig. 1 shows the realization flow of the remaining sum computational methods provided in an embodiment of the present invention collected based on fund, is described in detail
It is as follows:
S101:Obtain actual funds remaining sum and with the sub- account corresponding main account information of the sub- account on the first date.
In embodiments of the present invention, actual funds remaining sum of the sub- account on the first date may be used and the embodiment of the present invention
Identical method is calculated, and can also be calculated by other methods.That is, the method for the embodiment of the present invention be
It is carried out in the case of the actual funds remaining sum on the first date is known.
First date was corresponding with the second date hereinafter, and the second date was later than for the first date, i.e., known first
On the basis of the actual funds remaining sum on date, method through the embodiment of the present invention can be obtained more than the actual funds on the second date
Volume.For example, it is assumed that the first date was on July 1st, 2017, the second date was on July 2nd, 2017, then through the embodiment of the present invention
Method, in the case of the actual funds remaining sum of known 1 date of July in 2017 account, the sub- account can be obtained 2017
The actual funds remaining sum on July 2, in.If the first date was on July 1st, 2017, the second date was on July 10th, 2017, then led to
The method for crossing the embodiment of the present invention in the case of the actual funds remaining sum of known 1 date of July in 2017 account, can obtain
The sub- account is in the actual funds remaining sum on July 10th, 2017.That is the first date and the second date can be according to the needs of application
Carry out flexible configuration.
In embodiments of the present invention, main account collects account for the fund of sub- account, and main account and sub- account can be one
Relationship or one-to-many relationship to one.For example, if group company includes multiple subsidiaries, the account of group company
Family is main account, and the account of each subsidiary is the corresponding sub- account of main account.
Main account information is for the unique mark main account, such as it is specifically as follows the bank account information of main account.
The information of sub- account is for the unique mark sub- account, for example, it is specifically as follows the bank account information of sub- account.Main account
Information is corresponding with the information of sub- account to be preserved.Main account corresponding with the sub- account can be got by the information of sub- account
Main account information.
S102:The flowing water type that sub- account is supported is obtained, if the flowing water type that the sub- account is supported is collected not comprising fund
Flowing water then sends flowing water inquiry request according to main account information to main account, which is used to ask to main account
Out of, the first date latter day to the time range on the second date, trading object is the first Flow Record of sub- account.
In embodiments of the present invention, fund collects flowing water and refers to that sub- account carries out fund to corresponding main account and collects and transfer accounts
When the flowing water that generates.In general, to fund is not supported to collect the sub- account of flowing water type, flowing water is not preserved in sub- account, is received
When group account needs payment, the corresponding amount of money is set aside to sub- account, group account from main account all in main account flowing water for branch
When receiving external fund, in real time or timing will be received on corresponding fund to main account.
Different bank supports different flowing water information types, and some banks support fund to collect flowing water class in sub- account
Type, such as China Citic Bank, some banks do not support fund to collect flowing water type, such as the Industrial and Commercial Bank of China in sub- account.When
When sub- account supports that fund collects flowing water type, the Flow Record that fund collects can be preserved in sub- account, group account is not propped up
When the fund of holding collects flowing water type, the Flow Record that fund is collected is not preserved in sub- account.
If the flowing water type that sub- account is supported collects flowing water not comprising fund, the main account got according to step S101
Information sends flowing water inquiry request to the corresponding main account of the main account information.It, can be to main account by flowing water inquiry request
Out of, the first date latter day to the time range on the second date, trading object is the first Flow Record of sub- account for inquiry.
For example, the first date was July 9, the second date was July 10, then the flowing water inquiry request is used to inquire this day on July 10
Transaction journal between main account and sub- account.
It is understood that the first Flow Record includes the fund flowing water that main account set aside to sub- account and from sub- account
It is received on family to the fund flowing water of main account.
S103:If receiving the first Flow Record of main account return, according to first Flow Record, sub- account is calculated
The granting amount of money of the amount of money and main account to sub- account is collected to main account.
In embodiments of the present invention, if main account inquires the first Flow Record, main account, which returns, inquires flowing water
The response message of request includes the first Flow Record inquired in the response message.
According to the first Flow Record inquired, calculate sub- account and collect the amount of money and main account to sub- account to main account
The granting amount of money, collect the amount of money be specially in the first Flow Record from sub- account receive to main account total amount, provide the amount of money
The total amount that main account is set aside to sub- account in specially the first Flow Record.
It is possible to further pre-set the stand-by period for receiving the first Flow Record, if within the preset stand-by period
The first Flow Record of main account return is received, then according to first Flow Record, calculates sub- account collecting to main account
The amount of money and main account are to the granting amount of money of sub- account.It should be noted that the preset stand-by period can be according to practical application
It needs to be configured, not be limited herein.
S104:According to sub- account to main account collect the amount of money, main account exists to the granting amount of money of sub- account and sub- account
The actual funds remaining sum on the first date calculates actual funds remaining sum of the sub- account on the second date.
In embodiments of the present invention, the amount of money and the granting amount of money and step are collected according to what step S103 was calculated
The actual funds remaining sum on the first date that S101 is got calculates actual funds remaining sum of the sub- account on the second date.
For example, the first date was July 9, the second date was July 10, and July is inquired 10 according to flowing water inquiry request
Transaction journal record between this day main account and sub- account, the amount of money that collects that on July 10 this day is calculated is 300,000,
It is 200,000 to provide the amount of money, and actual funds remaining sum of the sub- account July 9 is 500,000, then the sub- account is in the practical money on July 10
Golden remaining sum is 50+30-20=60 ten thousand.
In the corresponding embodiments of Fig. 1, to fund is not supported to collect the sub- account of flowing water type, by reading the sub- account
The mode of bank's flowing water between main account calculates sub- account and collects the amount of money and main account to the hair of sub- account to main account
The amount of money is put, and then according to the actual funds remaining sum for collecting the amount of money, providing the sub- account of amount of money update, so as to clearly embody son
The amount of the fund of account reality greatly facilitates the intuitive of practical business revenue situation to subsidiary and understands and grasp.
Next, on the basis of the corresponding embodiments of Fig. 1, by a specific embodiment come to being carried in S104
And sub- account be described in detail in the circular of the actual funds remaining sum on the second date.Fig. 2 shows the present invention
The specific implementation flow for the S104 that embodiment provides, details are as follows:
S1041:If actual funds remaining sum of the sub- account on the first date is sky, according to sub- account on the initial maintenance date
Transaction journal in the time range on the first date between main account recalculates practical money of the sub- account on the first date
Golden remaining sum.
In embodiments of the present invention, the practical money of the amount of money, the granting amount of money and sub- account on the first date is collected in basis
Golden remaining sum calculates sub- account before the actual funds remaining sum on the second date, needs first to the actual funds remaining sum on the first date
Legitimacy judged, the second date being only calculated under the premise of the actual funds remaining sum on the first date is legal
Actual funds remaining sum is just effective.
If the actual funds remaining sum on the first date is sky, confirm that the actual funds remaining sum on first date is illegal, this
When, the actual funds remaining sum on the first date need to be recalculated, obtain actual funds remaining sum of the sub- account on the first date
Legitimate value.
Since the flowing water type that sub- account is supported collects flowing water not comprising fund, it is therefore desirable to according to sub- account and main account
Between transaction journal calculate the first date actual funds remaining sum.
The initial maintenance date of sub- account can be opening an account the date for sub- account, obtain the date of opening an account from sub- account to
Transaction journal in the time range on one date between sub- account and main account, the acquisition methods of the transaction journal may be used with
Mode identical step S102 sends flowing water inquiry request to main account, opening an account the date from sub- account is asked to main account
To the time range on the first date, trading object is the Flow Record of sub- account, and according to the Flow Record meter inquired
The actual funds remaining sum on the first date is calculated, the mode identical with step S103 to step S104 may be used in specific calculating process,
It calculates the Flow Record neutron account and collects the granting total amount of total amount and main account to sub- account, and root to main account
The starting amount of money of total amount, the granting total amount and sub- account on the date of opening an account is collected according to this, calculates sub- account on 1st
The actual funds remaining sum of phase.
S1042:If actual funds remaining sum of the sub- account on the first date is not sky, calculating collects the amount of money and the first date
The sum of actual funds remaining sum, then subtract the granting amount of money, obtain actual funds remaining sum of the sub- account on the second date.
In embodiments of the present invention, according to the sub- account that step S1041 is recalculated the first date practical money
If golden remaining sum is not sky, that is, confirm that the actual funds remaining sum on first date is legal, then according to the practical money on first date
What golden remaining sum and step S103 were calculated collects the amount of money and provides the amount of money, first calculates the reality for collecting the amount of money and the first date
The sum of border the balance of funding, then the granting amount of money is subtracted, obtain the actual funds remaining sum on the second date.
In the corresponding embodiments of Fig. 2, by sentencing to legitimacy of the sub- account in the actual funds remaining sum on the first date
It is disconnected, and the actual funds remaining sum on the first date illegal first carries out again the actual funds remaining sum on the first date
It calculating, the actual funds remaining sum for obtaining the first legal date is recalculated, so that it is guaranteed that the second date calculated
The accuracy and validity of actual funds remaining sum.
On the basis of the corresponding embodiments of Fig. 1, by S102 to main account send flowing water inquiry request after, if
The response of main account is not received in preset time, then as shown in figure 3, the remaining sum computational methods further include:
S1051:If the first Flow Record of main account return is not received in preset time, every preset inquiry
Time sends flowing water inquiry request to main account, until the transmission times of the flowing water inquiry request reaches preset maximum inquiry time
Number or the first Flow Record returned until receiving main account.
In embodiments of the present invention, preset time is the preset stand-by period for receiving the first Flow Record, is being passed through
S102 looks into the flowing water if not receiving main account within the preset stand-by period after main account sends flowing water inquiry request
The response message of request is ask, then continues to send the flowing water inquiry request to main account every preset query time.
It should be noted that preset query time and preset stand-by period can be identical, it can not also be identical, herein
It is not limited.
S1052:If the transmission times of flowing water inquiry request reaches preset the maximum search frequency, inquiry failure is confirmed,
Output error prompt message.
In embodiments of the present invention, if reaching maximum inquiry time to the transmission times of flowing water inquiry request that main account is sent
Number does not receive the response message of main account yet at this time, then confirms inquiry failure, and flow terminates, and does not continue to calculate for the second date
Actual funds remaining sum, while output error message prompting user, such as " actual funds remaining sum is abnormal, please check that front end processor is
It is no normal ".
If the number that flowing water inquiry request is sent to main account is not up to the maximum search frequency, and receive main account and return
The first Flow Record returned, then continue to execute follow-up step, complete the calculating to the actual funds remaining sum on the second date.
The maximum search frequency could be provided as 10 times, and but it is not limited to this, specifically can be according to the needs of practical application
It is configured, is not limited herein.
In the corresponding embodiments of Fig. 3, by sending flowing water inquiry request to main account every the preset stand-by period
Mode avoids the abnormal conditions occurred once in a while due to Network Abnormal etc., causes to be not received by the first-class of main account return
Water records, and then can not calculate the situation of actual funds remaining sum, so as to improve the actual funds remaining sum calculating to the second date
Reliability.
On the basis of the corresponding embodiments of Fig. 1, except through step S102 to step S103 to fund not being supported to return
The sub- account calculating of collection flowing water type collects the amount of money and provides the amount of money, as shown in figure 4, collecting flowing water type for support fund
Sub- account, the remaining sum computational methods further include:
S106:If the flowing water type that sub- account is supported collects flowing water comprising fund, obtained in sub- account from first day
In the latter day of phase to the time range on the second date, trading object is the second Flow Record of main account.
In embodiments of the present invention, the flowing water type as fruit account is supported collects flowing water including fund, i.e., sub- account exists
Report fund or main account that will preserve corresponding Flow Record in sub- account when issuing fund to sub- account to main account.
By inquiring the Flow Record of sub- account, the time range from latter day to second date on the first date is obtained
Interior, trading object is the second Flow Record of main account.
S107:According to the second Flow Record, calculate sub- account and collect the amount of money and main account to sub- account to main account
Provide the amount of money.In embodiments of the present invention, the second Flow Record obtained according to step S106 is calculated latter from the first date
In day to the time range on the second date, sub- account collects the granting amount of money of the amount of money and main account to sub- account to main account,.
In the corresponding embodiments of Fig. 4, when group account supports that fund collects flowing water type, do not need to ask to main account
With the transaction journal of sub- account, directly can obtain collecting the amount of money and the granting amount of money by inquiring the Flow Record of sub- account, from
And query process is saved, shorten calculating the time, improve computational efficiency.
On the basis of above example, step S101 obtain sub- account the first date actual funds remaining sum and
Before main account information corresponding with the sub- account, as shown in figure 5, the remaining sum computational methods further include fund collect it is processed
Journey:
S108:Obtain the book balance of sub- account.
In embodiments of the present invention, the book balance of sub- account is obtained using timing mode.Timing mode can be daily
Set time, such as 0 point of morning, timing mode can also be such as every 12 hours or every according to fixed time interval
Every 24 hours.
The book balance of sub- account is the overall balance shown on the current book of sub- account, and the unit of the overall balance is the people
Coin.That is, if the book of sub- account includes a variety of currency types, the exchange rate on the same day is obtained, and according to the exchange rate on the same day
The amount of money of a variety of currency types is converted into amount of RMB, and carries out cumulative summarize.
S109:To be more than the retention amount of money in sub- account if the book balance of sub- account is more than the preset retention amount of money
Fund collect in main account.
In embodiments of the present invention, if the book balance of sub- account that step S108 is got is more than preset retention gold
Volume then collects the fund more than the retention amount of money in sub- account in main account.If the sub- account that step S108 is got
Book balance be less than or equal to retain the amount of money, then collected without fund.
For example, if the book balance of sub- account is 800,000 RMB, the preset retention amount of money is 500,000 RMB, then needs
300,000 RMB are received into main account from sub- account.It is preset to retain gold if the book balance of sub- account is 300,000 RMB
Volume be 500,000 RMB, then the operation collected without fund.
It should be noted that the retention amount of money of sub- account can be pre-set, different sub- accounts can set different stay
Deposit the amount of money.The specific value for retaining the amount of money can be configured according to the needs of practical application, be not limited herein.
In the corresponding embodiments of Fig. 5, by obtaining the book balance of sub- account, and by book balance beyond the retention amount of money
Part collect in main account, so that main account can carry out concentrating effective management to the fund of sub- account.Meanwhile Fig. 5
Corresponding embodiment is the basis that performs of the embodiment of the present invention, i.e., occurs in the case that fund collects more to main account in sub- account
The actual funds remaining sum of the sub- account of method calculating through the embodiment of the present invention is needed, it is real so as to clearly embody sub- account
The amount of the fund on border, the intuitive of convenient business revenue situation practical to subsidiary are understood and grasped.
It should be understood that the size of the serial number of each step is not meant to the priority of execution sequence, each process in above-described embodiment
Execution sequence should determine that the implementation process without coping with the embodiment of the present invention forms any limit with its function and internal logic
It is fixed.
Corresponding to the remaining sum computational methods collected based on fund described in foregoing embodiments, Fig. 6 shows implementation of the present invention
The structure diagram of remaining sum computing device collected based on fund that example provides for convenience of description, is illustrated only and present invention reality
Apply the relevant part of example.
With reference to Fig. 6, which includes:
Acquiring unit 61, for obtaining actual funds remaining sum and with the sub- account corresponding master of the sub- account on the first date
Account information;
First query unit 62, for obtaining the flowing water type that sub- account is supported, if the flowing water type that the sub- account is supported
Flowing water is collected not comprising fund, then flowing water inquiry request, the flowing water inquiry request are sent to the main account according to main account information
For to main account request out of, the first date latter day to the time range on the second date, trading object for sub- account the
One Flow Record;
First computing unit 63, if for receiving the first Flow Record of main account return, according to first flowing water
Record, calculates sub- account and collects the granting amount of money of the amount of money and main account to sub- account to main account;
Second computing unit 64, for according to collecting the amount of money, providing the amount of money and the actual funds remaining sum on the first date, calculating
The actual funds remaining sum on the second date.
Optionally, the second computing unit 64 includes:
Subelement is recalculated, if the actual funds remaining sum for the first date is sky, is initially being tieed up according to sub- account
The transaction journal between main account in the date to the time range on the first date is protected, recalculates the actual funds on the first date
Remaining sum;
Remaining sum computation subunit, if the actual funds remaining sum for first date is not sky, calculating collects the amount of money
The sum of with the actual funds remaining sum on the first date, then the granting amount of money is subtracted, obtain the actual funds remaining sum on the second date.
Optionally, which further includes:
Third computing unit, if for not receiving the first Flow Record of main account return in preset time, often
Flowing water inquiry request is sent to main account every the preset stand-by period, until the transmission times of flowing water inquiry request reaches preset
The maximum search frequency or the first Flow Record returned until receiving main account;
Mistake output unit if the transmission times for flowing water inquiry request reaches the maximum search frequency, confirms inquiry
Failure, output error prompt message.
Optionally, which further includes:
Second query unit, if the flowing water type for sub- account to be supported collects flowing water comprising fund, in sub- account
It obtains out of, the first date latter day to the time range on second date, trading object is remembered for the second flowing water of main account
Record;
4th computing unit, for according to the second Flow Record, calculating to collect the amount of money and provides the amount of money.
Optionally, which further includes:
Third acquiring unit, for obtaining the book balance of sub- account;
Fund collects unit, if the book balance for sub- account is more than the preset retention amount of money, will surpass in sub- account
The fund for crossing the retention amount of money is collected in main account.
Fig. 7 is the schematic diagram for the computing device that one embodiment of the invention provides.As shown in fig. 7, the calculating of the embodiment is set
Standby 7 include:Processor 70, memory 71 and it is stored in the computer program that can be run in memory 71 and on processor 70
72, such as the remaining sum calculation procedure collected based on fund.Processor 70 realizes above-mentioned each be based on when performing computer program 72
Step in the remaining sum computational methods embodiment that fund collects, such as step S101 shown in FIG. 1 to step S104.Alternatively, place
Reason device 70 realizes the function of each unit in above-mentioned each device embodiment, such as module 61 shown in Fig. 6 when performing computer program 72
To the function of module 64.
Illustratively, computer program 72 can be divided into one or more units, one or more unit is deposited
Storage performs in memory 71, and by processor 70, to complete the present invention.One or more units can be can complete it is specific
The series of computation machine program instruction section of function, the instruction segment are used to describe computer program 72 in the computing device 7
Implementation procedure.For example, computer program 72 can be divided into first acquisition unit, second acquisition unit, the first query unit,
First computing unit and the second computing unit, each unit concrete function are as follows:
Acquiring unit, for obtaining actual funds remaining sum and with the sub- account corresponding main account of the sub- account on the first date
Family information;
First query unit, for obtaining the flowing water type that sub- account is supported, if the flowing water type that the sub- account is supported is not
Flowing water is collected comprising fund, then flowing water inquiry request is sent to the main account according to main account information, which uses
In to main account request, out of, the first date latter day to the time range on the second date, trading object is the first of sub- account
Flow Record;
If first computing unit for receiving the first Flow Record of main account return, is remembered according to first flowing water
Record, calculates sub- account and collects the granting amount of money of the amount of money and main account to sub- account to main account;
Second computing unit, for according to collecting the amount of money, providing the amount of money and the actual funds remaining sum on the first date, calculating the
The actual funds remaining sum on two dates.
Optionally, the second computing unit includes:
Subelement is recalculated, if the actual funds remaining sum for the first date is sky, is initially being tieed up according to sub- account
The transaction journal between main account in the date to the time range on the first date is protected, recalculates the actual funds on the first date
Remaining sum;
Remaining sum computation subunit, if the actual funds remaining sum for first date is not sky, calculating collects the amount of money
The sum of with the actual funds remaining sum on the first date, then the granting amount of money is subtracted, obtain the actual funds remaining sum on the second date.
Optionally, computer program 72 can also be divided into third computing unit:
Third computing unit, if for not receiving the first Flow Record of main account return in preset time, often
Flowing water inquiry request is sent to main account every the preset stand-by period, until the transmission times of flowing water inquiry request reaches preset
The maximum search frequency or the first Flow Record returned until receiving main account;
Mistake output unit if the transmission times for flowing water inquiry request reaches the maximum search frequency, confirms inquiry
Failure, output error prompt message.
Optionally, computer program 72 can also be divided into the second query unit and the 4th computing unit:
Second query unit, if the flowing water type for sub- account to be supported collects flowing water comprising fund, in sub- account
It obtains out of, the first date latter day to the time range on second date, trading object is remembered for the second flowing water of main account
Record;
4th computing unit, for according to the second Flow Record, calculating to collect the amount of money and provides the amount of money.
Optionally, computer program 72 can also be divided into third acquiring unit and fund collects unit:
Third acquiring unit, for obtaining the book balance of sub- account;
Fund collects unit, if the book balance for sub- account is more than the preset retention amount of money, will surpass in sub- account
The fund for crossing the retention amount of money is collected in main account.
Computing device 7 can be the computing devices such as desktop PC, notebook, palm PC and cloud server.Eventually
End equipment 7 may include, but be not limited only to, processor 70, memory 71.It will be understood by those skilled in the art that Fig. 7 is only to count
The example of equipment 7 is calculated, does not form the restriction to computing device 7, can be included than illustrating more or fewer components or group
Close certain components or different components, such as computing device 7 can also include input-output equipment, network access equipment, total
Line etc..
Processor 70 can be central processing unit (Central Processing Unit, CPU), can also be other
General processor, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
Memory 71 can be the internal storage unit of computing device 7, such as the hard disk or memory of computing device 7.Storage
Device 71 can also be the plug-in type hard disk being equipped on the External memory equipment of computing device 7, such as computing device 7, intelligent storage
Block (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..
Further, memory 71 can also both include the internal storage unit of computing device 7 or including External memory equipment.Memory
71 other programs and data for storing the computer program and needed for computing device 7.Memory 71 can be also used for
Temporarily store the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work(
Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
To be that each unit is individually physically present, can also two or more units integrate in a unit, it is above-mentioned integrated
The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.In addition, each function list
Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Above system
The specific work process of middle unit, module can refer to the corresponding process in preceding method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is performed with hardware or software mode, specific application and design constraint depending on technical solution.Professional technician
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/computing device and method, it can be with
It realizes by another way.For example, device described above/computing device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of division of logic function can have other dividing mode in actual implementation, such as
Multiple units or component may be combined or can be integrated into another system or some features can be ignored or does not perform.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device
Or the INDIRECT COUPLING of unit or communication connection, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
That each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent product sale or uses
When, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-described embodiment side
All or part of flow in method can also instruct relevant hardware to complete, the computer by computer program
Program can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each
The step of a embodiment of the method.Wherein, the computer program includes computer program code, and the computer program code can
Think source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can be with
Including:Any entity of the computer program code or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, light can be carried
Disk, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random
Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer
The content that readable medium includes can carry out appropriate increase and decrease according to legislation in jurisdiction and the requirement of patent practice, such as
In certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to aforementioned reality
Example is applied the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each
Technical solution recorded in embodiment modifies or carries out equivalent replacement to which part technical characteristic;And these are changed
Or replace, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of remaining sum computational methods collected based on fund, which is characterized in that the remaining sum computational methods include:
Obtain actual funds remaining sum and with the sub- account corresponding main account information of the sub- account on the first date;
The flowing water type that the sub- account is supported is obtained, if the flowing water type collects flowing water not comprising fund, according to
Main account information to the main account send flowing water inquiry request, the flowing water inquiry request be used for the main account request from
In the latter day on first date to the time range on the second date, trading object is remembered for the first flowing water of the sub- account
Record;
If receiving first Flow Record that the main account returns, according to first Flow Record, described in calculating
Sub- account collects the amount of money and the main account to the granting amount of money of the sub- account to the main account;
The amount of money, the granting amount of money and the actual funds remaining sum on first date are collected according to described, calculates the second day
The actual funds remaining sum of phase.
2. remaining sum computational methods as described in claim 1, which is characterized in that the amount of money, the granting are collected described in the basis
The amount of money and the actual funds remaining sum on first date, the actual funds remaining sum for calculating second date include:
If the actual funds remaining sum on first date is sky, according to the sub- account on the initial maintenance date to described first
Transaction journal in the time range on date between the main account, more than the actual funds for recalculating first date
Volume;
If the actual funds remaining sum on first date is not sky, the reality of the amount of money and first date is collected described in calculating
The sum of the balance of funding, then the granting amount of money is subtracted, obtain the actual funds remaining sum on second date.
3. remaining sum computational methods as described in claim 1, which is characterized in that the flowing water class for obtaining the sub- account and supporting
If the flowing water type collects flowing water not comprising fund, flowing water is sent according to the main account information to the main account for type
After inquiry request, the remaining sum computational methods further include:
If first Flow Record that the main account returns is not received in preset time, when preset inquiry
Between to the main account send the flowing water inquiry request, until the transmission times of the flowing water inquiry request reach it is preset most
Big inquiry times or first Flow Record returned until receiving the main account;
If the transmission times of the flowing water inquiry request reaches the maximum search frequency, inquiry failure, output error are confirmed
Prompt message.
4. remaining sum computational methods as described in claim 1, which is characterized in that the reality for obtaining sub- account on the first date
The amount of money, the granting are collected after the balance of funding and main account information corresponding with the sub- account and described in the basis
The amount of money and the actual funds remaining sum on first date, before the actual funds remaining sum for calculating second date, the remaining sum
Computational methods further include:
If the flowing water type that the sub- account is supported collects flowing water comprising fund, obtained in the sub- account from described first
In the latter day on date to the time range on second date, trading object is the second Flow Record of the main account;
According to second Flow Record, the amount of money and the granting amount of money are collected described in calculating.
5. such as Claims 1-4 any one of them remaining sum computational methods, which is characterized in that described to obtain sub- account first
Before the actual funds remaining sum on date and main account information corresponding with the sub- account, the remaining sum computational methods further include:
Obtain the book balance of the sub- account;
To be more than the retention amount of money in the sub- account if the book balance of the sub- account is more than the preset retention amount of money
Fund collect in the main account.
6. a kind of computing device, including memory, processor and it is stored in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes following steps when performing the computer program:
Obtain actual funds remaining sum and with the sub- account corresponding main account information of the sub- account on the first date;
The flowing water type that the sub- account is supported is obtained, if the flowing water type collects flowing water not comprising fund, according to
Main account information to the main account send flowing water inquiry request, the flowing water inquiry request be used for the main account request from
In the latter day on first date to the time range on the second date, trading object is remembered for the first flowing water of the sub- account
Record;
If receiving first Flow Record that the main account returns, according to first Flow Record, described in calculating
Sub- account collects the amount of money and the main account to the granting amount of money of the sub- account to the main account;
The amount of money, the granting amount of money and the actual funds remaining sum on first date are collected according to described, calculates the second day
The actual funds remaining sum of phase.
7. computing device as claimed in claim 6, which is characterized in that the amount of money, the granting amount of money are collected described in the basis
With the actual funds remaining sum on first date, the actual funds remaining sum for calculating second date includes:
If the actual funds remaining sum on first date is sky, according to the sub- account on the initial maintenance date to described first
Transaction journal in the time range on date between the main account, more than the actual funds for recalculating first date
Volume;
If the actual funds remaining sum on first date is not sky, the reality of the amount of money and first date is collected described in calculating
The sum of the balance of funding, then the granting amount of money is subtracted, obtain the actual funds remaining sum on second date.
8. computing device as claimed in claim 6, which is characterized in that the flowing water type for obtaining the sub- account and supporting,
If the flowing water type collects flowing water not comprising fund, flowing water inquiry is sent to the main account according to the main account information
After request, the processor also realizes following steps when performing the computer program:
If first Flow Record that the main account returns is not received in preset time, when preset inquiry
Between to the main account send the flowing water inquiry request, until the transmission times of the flowing water inquiry request reach it is preset most
Big inquiry times or first Flow Record returned until receiving the main account;
If the transmission times of the flowing water inquiry request reaches the maximum search frequency, inquiry failure, output error are confirmed
Prompt message.
9. computing device as claimed in claim 6, which is characterized in that the actual funds for obtaining sub- account on the first date
The amount of money, the granting amount of money are collected after remaining sum and main account information corresponding with the sub- account and described in the basis
With the actual funds remaining sum on first date, before the actual funds remaining sum for calculating second date, the processor is held
Following steps are also realized during the row computer program:
If the flowing water type that the sub- account is supported collects flowing water comprising fund, obtained in the sub- account from described first
In the latter day on date to the time range on second date, trading object is the second Flow Record of the main account;
According to second Flow Record, the amount of money and the granting amount of money are collected described in calculating.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In realizing being collected based on fund as described in any one of claim 1 to 5 when the computer program is executed by processor
The step of local remaining sum computational methods.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710736920.3A CN108269182B (en) | 2017-08-24 | 2017-08-24 | Balance calculation method and calculation equipment based on fund collection |
PCT/CN2018/083300 WO2019037449A1 (en) | 2017-08-24 | 2018-04-17 | Balance calculation method and apparatus based on cash sweep, terminal device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710736920.3A CN108269182B (en) | 2017-08-24 | 2017-08-24 | Balance calculation method and calculation equipment based on fund collection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108269182A true CN108269182A (en) | 2018-07-10 |
CN108269182B CN108269182B (en) | 2021-04-02 |
Family
ID=62770923
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710736920.3A Active CN108269182B (en) | 2017-08-24 | 2017-08-24 | Balance calculation method and calculation equipment based on fund collection |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108269182B (en) |
WO (1) | WO2019037449A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109670957A (en) * | 2018-12-24 | 2019-04-23 | 恒生电子股份有限公司 | The processing method and processing device of fictitious assets data |
CN109727002A (en) * | 2018-09-07 | 2019-05-07 | 网联清算有限公司 | Fund collection method, device, storage medium and computer equipment |
CN110264332A (en) * | 2019-05-06 | 2019-09-20 | 阿里巴巴集团控股有限公司 | The method, apparatus and electronic equipment that account is entered an item of expenditure in the accounts |
CN111210334A (en) * | 2019-12-13 | 2020-05-29 | 佛山欧神诺云商科技有限公司 | Method, system and storage medium for rapidly collecting transfer funds |
CN113743922A (en) * | 2021-08-24 | 2021-12-03 | 苏州众言网络科技股份有限公司 | Multi-product transaction service management method, device and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008009866A (en) * | 2006-06-30 | 2008-01-17 | Mm Holdings Kk | Fund pool management system and credit management system related to the same |
CN101576976A (en) * | 2009-03-02 | 2009-11-11 | 浪潮集团山东通用软件有限公司 | Method for inquiring self-defined multidimensional multi-time point service account |
CN101877107A (en) * | 2010-04-08 | 2010-11-03 | 苏州德融嘉信信用管理技术有限公司 | Conglomerate founds collecting service system and application method thereof |
CN102999866A (en) * | 2012-12-10 | 2013-03-27 | 中国民生银行股份有限公司 | Fund collection method and system |
CN104021454B (en) * | 2014-06-23 | 2017-09-01 | 国网山东省电力公司 | Method and system for conglomerate's fund account data monitoring |
-
2017
- 2017-08-24 CN CN201710736920.3A patent/CN108269182B/en active Active
-
2018
- 2018-04-17 WO PCT/CN2018/083300 patent/WO2019037449A1/en active Application Filing
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109727002A (en) * | 2018-09-07 | 2019-05-07 | 网联清算有限公司 | Fund collection method, device, storage medium and computer equipment |
CN109670957A (en) * | 2018-12-24 | 2019-04-23 | 恒生电子股份有限公司 | The processing method and processing device of fictitious assets data |
CN110264332A (en) * | 2019-05-06 | 2019-09-20 | 阿里巴巴集团控股有限公司 | The method, apparatus and electronic equipment that account is entered an item of expenditure in the accounts |
CN111210334A (en) * | 2019-12-13 | 2020-05-29 | 佛山欧神诺云商科技有限公司 | Method, system and storage medium for rapidly collecting transfer funds |
CN113743922A (en) * | 2021-08-24 | 2021-12-03 | 苏州众言网络科技股份有限公司 | Multi-product transaction service management method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108269182B (en) | 2021-04-02 |
WO2019037449A1 (en) | 2019-02-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108269182A (en) | A kind of remaining sum computational methods collected based on fund and computing device | |
RU2336568C2 (en) | System of bank transactions, which connects accounts by means of common accounts | |
CN102592373B (en) | Self-service tax system and application method thereof | |
CN105205717A (en) | Bank system transaction information management method, system and general account transfer system | |
CN107742213A (en) | A kind of method of payment, system and terminal | |
CN107689009A (en) | Annuity data processing method, device, server and storage medium | |
CN108171595A (en) | Support the bank core accounting automotive engine system of out-out business system accounting service | |
CN109754238A (en) | Overdraw asset account management method, calculates equipment and storage medium at device | |
US20130132244A1 (en) | Systems and methods allowing multi-family property owners to consolidate retail electric provider charges with landlord provided utilities and services | |
CN109118351A (en) | Integrated automatic settlement method, system, computer equipment and storage medium | |
WO2020231288A1 (en) | Information system for buying and selling electrical energy | |
CN114693290A (en) | Prepaid card fund supervision method and system based on block chain | |
CN113592628A (en) | Multi-dimensional quota control method and device for banking transaction | |
CN108256816A (en) | A kind of commission data processing method, device and equipment | |
CN108510386A (en) | A kind of network loan system, method, terminal and medium | |
CN109829799A (en) | Bank-enterprise interconnection automated reconciliation system | |
CN111754330A (en) | Interest-counting device and method for regular account to be paid in advance | |
CN107945004A (en) | Expense accumulates collection methods and device | |
CN108428106A (en) | A kind of intelligent application method, system and terminal device of financing | |
CN108491996A (en) | Cost Estimation, device, terminal and computer readable storage medium | |
CN113793115A (en) | Enterprise fund pool management method, device, equipment and storage medium | |
CN209248589U (en) | Quick payment device | |
US20210166202A1 (en) | Method for managing time-based currency | |
CN112634013A (en) | Management system, method, equipment and storage medium for processing public accumulation fund repayment batch | |
CN112737796A (en) | Cross-region user communication charge transfer method, device, equipment, medium and product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |