Confirmation method, system and the terminal device that a kind of fund is redeemed
Technical field
The invention belongs to finance data processing technology field, more particularly to a kind of fund redeem confirmation method, system and
Terminal device.
Background technology
In recent years, with the development of financial industry, the fund redemption demand that business is transferred the possession of to financial asset is growing.
At present, the validation testing that traditional fund is redeemed mainly is looked for by the cumulative funds data related to all assets
To the assets for the condition that meets, this mode data processing amount is larger, it is necessary to expend a large amount of system processing resources and time, and efficiency is low
Under, the normal operation that assets transfer the possession of business is influenceed, operand is big, expends a large amount of operation times.
The content of the invention
In view of this, the embodiments of the invention provide confirmation method, system and the terminal device that a kind of fund is redeemed, with solution
Certainly traditional fund redemption mode data processing amount is larger, it is necessary to expend a large amount of system processing resources and time, and efficiency is low, shadow
The normal operation that assets transfer the possession of business is rung, operand is big, the problem of expending a large amount of operation times.
The first aspect of the embodiment of the present invention provides the confirmation method that a kind of fund is redeemed, including:
First interval is obtained according to the first specified conditions of all assets;Wherein, the lower limit of the first interval is institute
The minimum value of the first specified conditions is stated, the higher limit of the first interval is the maximum of first specified conditions;
Calculate the assets value summation of assets of first specified conditions in second interval;Wherein, the second interval
Lower limit is the median of the first interval, and the higher limit of the second interval is the maximum of the first interval;
If the summation is less than desired value, the lower limit of the second interval is updated to the median of 3rd interval;
Wherein, the lower limit of the 3rd interval is the lower limit of the first interval, and the higher limit of the 3rd interval is described the
The lower limit in two sections;
If the summation is more than desired value, the lower limit of the second interval is updated to the centre of the second interval
Value;
The step of returning to the assets value summation for calculating assets of first specified conditions in second interval, until described the
Untill when the lower limit in two sections is in critical point;
When the lower limit of the second interval is in critical point, the assets that critical point meets preparatory condition are obtained.
The second aspect of the embodiment of the present invention provides the confirmation system that a kind of fund is redeemed, including:
First acquisition module, first interval is obtained for the first specified conditions according to all assets;Wherein, described first
The lower limit in section is the minimum value of first specified conditions, and the higher limit of the first interval is first specified conditions
Maximum;
Computing module, for calculating the assets value summation of assets of first specified conditions in second interval;Wherein, institute
The lower limit for stating second interval is the median of the first interval, and the higher limit of the second interval is the first interval
Maximum;
First judge module, if being less than desired value for the summation, the lower limit of the second interval is updated to
The median of 3rd interval;Wherein, the lower limit of the 3rd interval be the first interval lower limit, the 3rd interval
Higher limit be the second interval lower limit;
Second judge module, if being more than desired value for the summation, the lower limit of the second interval is updated to
The median of the second interval;
3rd judge module, the assets value summation of assets of first specified conditions in second interval is calculated for returning
The step of, untill when the lower limit of the second interval is in critical point;
Second acquisition module, when the lower limit for the second interval is in critical point, obtains critical point and meet to preset
The assets of condition.
The third aspect of the embodiment of the present invention provides the confirmation method that a kind of fund is redeemed, including:
First interval is obtained according to the first specified conditions of all assets;Wherein, the lower limit of the first interval is institute
The minimum value of the first specified conditions is stated, the higher limit of the first interval is the maximum of first specified conditions;
Calculate the assets value summation of assets of first specified conditions in 3rd interval;Wherein, the 3rd interval
Lower limit is the lower limit of the first interval, and the higher limit of the 3rd interval is the median of the first interval;
If the summation is less than desired value, the higher limit of the 3rd interval is updated to the centre of the second interval
Value;Wherein, the lower limit of the second interval is the higher limit of the 3rd interval, and the higher limit of the second interval is described
The maximum of first interval;
If the summation is more than desired value, the higher limit of the 3rd interval is updated to the centre of the 3rd interval
Value;
The step of returning to the assets value summation for calculating assets of first specified conditions in 3rd interval, until described the
Untill the upper vault in three sections is when critical point;
The upper vault of the 3rd interval obtains the assets that critical point meets preparatory condition when critical point.
The fourth aspect of the embodiment of the present invention provides the confirmation system that a kind of fund is redeemed, including:
First acquisition module, first interval is obtained for the first specified conditions according to all assets;Wherein, described first
The lower limit in section is the minimum value of first specified conditions, and the higher limit of the first interval is first specified conditions
Maximum;
Computing module, for calculating the assets value summation of assets of first specified conditions in 3rd interval;Wherein, institute
The lower limit for stating 3rd interval is the lower limit of the first interval, and the higher limit of the 3rd interval is the first interval
Median;
First judge module, if being less than desired value for the summation, the higher limit of the 3rd interval is updated to
The median of the second interval;Wherein, the lower limit of the second interval be the 3rd interval higher limit, described second
The higher limit in section is the maximum of the first interval;
Second judge module, if being more than desired value for the summation, the higher limit of the 3rd interval is updated to
The median of the 3rd interval;
3rd judge module, the assets value summation of assets of first specified conditions in 3rd interval is calculated for returning
The step of, untill when the upper vault of the 3rd interval is in critical point;
Second acquisition module, the upper vault for the 3rd interval obtain critical point and meet to preset when critical point
The assets of condition.
5th aspect of the embodiment of the present invention provides a kind of terminal device, including:
Memory, processor and it is stored in the computer journey that can be run in the memory and on the processor
Sequence, it is characterised in that realized described in the computing device during computer program such as the step of above-mentioned method.
6th aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, including:
The computer-readable recording medium storage has computer program, it is characterised in that the computer program is located
Manage when device performs and realize such as the step of above-mentioned method.
Existing beneficial effect is the embodiment of the present invention compared with prior art:The first spy that the present invention passes through all assets
Fixed condition obtains first interval;First specified conditions, the second specified conditions are ranked up, by calculating to second interval or the
Three sections are updated, and the assets value summation of assets in second interval or 3rd interval are calculated, then according to summation, desired value
And error amount, the assets for meeting user preset condition are obtained, the normal operation that assets transfer the possession of business are realized, compared to tradition side
Formula, the embodiment of the present invention are effectively saved substantial amounts of resource, reduce operand and operation time.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
In the required accompanying drawing used be briefly described, it should be apparent that, 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
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the schematic flow diagram for the confirmation method that the fund that the embodiment of the present invention one provides is redeemed;
Fig. 2 is the schematic flow diagram for the confirmation method that the fund that the embodiment of the present invention two provides is redeemed;
Fig. 3 is the structural representation for the confirmation system that the fund that the embodiment of the present invention three provides is redeemed;
Fig. 4 is the schematic flow diagram for the confirmation method that the fund that the embodiment of the present invention four provides is redeemed;
Fig. 5 is the schematic flow diagram for the confirmation method that the fund that the embodiment of the present invention five provides is redeemed;
Fig. 6 is the structural representation for the confirmation system that the fund that the embodiment of the present invention six provides is redeemed;
Fig. 7 is the schematic diagram for the terminal device that the embodiment of the present invention seven provides.
Embodiment
In describing 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, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity
Road and the detailed description of method, in case unnecessary details hinders description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one:
As shown in figure 1, the present embodiment provides the confirmation method that a kind of fund is redeemed, this method can be by mobile phone, flat board electricity
The intelligent terminals such as brain, pc client are run.
The confirmation method that the fund that the present embodiment is provided is redeemed, including:
S101, according to the first specified conditions of all assets obtain first interval;Wherein, the lower limit of the first interval
For the minimum value of first specified conditions, the higher limit of the first interval is the maximum of first specified conditions.
Specifically, assets can include contract, security, the benefited power of trust etc., but it is not limited only to the above.Here, institute
There are assets, can be that all wait funds redeem the assets of operation or a part therein, such as selection as needed
Some batch assets.
Specifically, the first specified conditions can be overdue number of days, and overdue number of days is to refer to the day more than the predetermined payback period
Number, for example, the predetermined payback period is October 19, current date is October 30, then overdue number of days is 11 days, if described all
The overdue number of days maximum of contract be 90, minimum value 0, then the lower limit of the first interval be 0, the first interval it is upper
Limit value is 90, and the first interval is [0,90].
S102, the assets value summation for calculating assets of first specified conditions in second interval;Wherein, secondth area
Between lower limit be the first interval median, the higher limit of the second interval is the maximum of the first interval.
Specifically, the assets value can include normal capital, overdue capital, capital, interest equivalence, but be not limited only to
The above.According to the difference of pricing mode, the assets value summation can be normal capital and overdue capital sum, may be used also
To be capital and interest sum, or other computational methods.
Specifically, the lower limit of the second interval is the median that first interval is calculated.If for example,
The first interval is [0,90], then the lower limit of second interval is the median 45 of [0,90], i.e., described second interval is
[45,90].In a specific embodiment, the lower limit of the second interval can also obtain by other means, for example,
Can be user according to the numerical value for being actually needed self-defined setting.
If S103, the summation are less than desired value, the lower limit of the second interval is updated in 3rd interval
Between be worth;Wherein, the lower limit of the 3rd interval is the lower limit of the first interval, and the higher limit of the 3rd interval is institute
State the lower limit of second interval.
Specifically, the lower limit of the second interval is the median that 3rd interval is calculated.For example, institute
It is [0,45] to state 3rd interval, and the lower limit of the second interval after renewal is the median 22,23 of [0,45];Can be according to reality
Optional one is needed from 22,23, and choosing herein does 23, that is, the second interval after updating is [23,90].Due to being computed more
The summation in second interval before new, the cell for being not carried out after renewal calculating in second interval need to be only calculated after S103 steps
Between summation, save system processing resources and time than traditional accumulation calculating.If for example, renewal before second interval for [45,
90], 3rd interval is [0,45], and the second interval after renewal is [23,90].Due to the assets valency of the assets in [45,90] section
Value summation had performed calculating, therefore only needed to calculate the assets value summation of the assets in [0,23] section.It is specific at one
In embodiment, the lower limit of the second interval can also obtain by other means, for example, can be user according to actual need
Want the numerical value of self-defined setting.
Alternatively, before S103 steps are performed, methods described also includes:
Obtain priority condition, desired value and error amount that user is set.
Alternatively, before S103 steps are performed, methods described also includes:
Compare the size of the summation and desired value.
If S104, the summation are more than desired value, the lower limit of the second interval is updated to the second interval
Median.
Specifically, the lower limit of the second interval after renewal is by being counted to the second interval before renewal
Obtained median.For example, if the second interval before renewal is [45,90], the lower limit of the second interval after renewal
The as median 67,68 of [45,90];Can be according to being actually needed from 67,68 optional one, choosing herein does 68, that is, after updating
Second interval be [45,68].In a specific embodiment, the lower limit of the second interval can also pass through its other party
Formula obtains, for example, can be user according to the numerical value for being actually needed self-defined setting.
S105, the step of assets value summation for calculating assets of first specified conditions in second interval is returned to, until
Untill when the lower limit of the second interval is in critical point.
When S106, the lower limit of the second interval are in critical point, the assets that critical point meets preparatory condition are obtained.
In one embodiment, before the step S106, including:
The median that the lower limit of the second interval is equal to the 3rd interval adds least unit value and the summation is small
The median for being equal to the 3rd interval in the lower limit of desired value or the second interval subtracts least unit value and the summation
More than desired value, it is determined that the lower limit of the second interval is in critical point.The least unit value, according to being related to numerical value not
It is same and different, such as, it is related to the larger amount of money, the least unit value is 1;When for other more accurate numerals when, Ke Yiwei
0.1st, 0.01 etc numerical value, with specific reference to needing to set.If for example, the 3rd interval is [0,45], under second interval
Limit value is 24 for the median 23 of [0,45] plus one, and the assets value summation of the assets in [24,90] section is less than desired value;
Or it is 22 that the lower limit of second interval subtracts one for the median of [0,45], and the assets value of the assets in [22,90] section is total
With more than desired value, it is determined that the lower limit of the second interval is in critical point.
In the present embodiment, the assets for obtaining critical point and meeting preparatory condition, including:
If the summation is less than desired value and the difference of the desired value and the summation is less than error amount, it is special to obtain first
Assets of the fixed condition in the second interval;
If the summation is less than desired value and the difference of the desired value and the summation is more than error amount, it is special to obtain first
Assets of the fixed condition in the 4th section;Wherein, the four-range lower limit subtracts one for the lower limit of the second interval,
The four-range higher limit is the higher limit of the second interval;
If the summation is more than desired value, the contract a pool of assets of the first specified conditions in the 5th section is obtained;Its
In, the lower limit in the 5th section adds one for the lower limit of the second interval, and the higher limit in the 5th section is described
The higher limit of second interval.
If for example, the second interval is [45,90], the 3rd interval is [0,45], if the summation is less than target
It is worth and the difference of the desired value and the summation is less than error amount, then obtains assets of the overdue number of days in the second interval;
If the summation is less than desired value and the difference of the desired value and the summation is more than error amount, overdue day is obtained
Assets of the number in the 4th section;It is 44 that the four-range lower limit subtracts one for the lower limit of the second interval, described
Four-range higher limit is 90 for the higher limit of the second interval;
If the summation is more than desired value, assets of the overdue number of days in the 5th section are obtained;5th section
Lower limit adds one i.e. 46 for the lower limit of the second interval, and the higher limit in the 5th section is the upper limit of the second interval
Value i.e. 90.
The present embodiment obtains first interval by the first specified conditions of all assets;To the first specified conditions, the second spy
Fixed condition is ranked up, and second interval is updated by calculating, and calculates the assets value summation of assets in second interval, so
Afterwards according to summation, desired value and error amount, the assets for meeting user preset condition are obtained, assets is realized and transfers the possession of the normal of business
Operation.Compared to traditional approach, the present embodiment is effectively saved substantial amounts of resource, reduces operand and operation time.
Embodiment two
As shown in Fig. 2 the present embodiment is the assets valency of the assets in second interval to S102, the first specified conditions of calculating
It is worth the further refinement of summation.
In the present embodiment, the assets value summation of assets of the first specified conditions of the calculating in second interval, bag
Include:
S1021, all assets are subjected to ascending order or descending according to the size of the first specified conditions arranged;
S1022, the size progress ascending order or descending according to the second specified conditions by the first specified conditions identical assets
Arrangement;
S1023, the assets value of assets to the first specified conditions in second interval add up, and it is specific to obtain first
The assets value summation of assets of the condition in second interval.
Specifically, the assets value can include normal capital, overdue capital, capital, interest equivalence, but be not limited only to
The above.According to the difference of pricing mode, the assets value summation can be normal capital and overdue capital sum, may be used also
To be capital and interest sum, or other computational methods.
In the present embodiment, the priority condition arrangement assets set according to user is obtained.
Specifically, the first specified conditions can be overdue number of days, the second specified conditions can be overdue capital.
Specifically, will be all when the priority condition for obtaining user's setting is the first specified conditions of preferential acquisition high assets
Assets carry out descending arrangement according to the size of the first specified conditions, and it is special preferentially to obtain second to obtain the priority condition that user is set
During the high assets of fixed condition, the size according to the second specified conditions of the first specified conditions identical assets is subjected to descending row
Row;
It is when preferentially obtaining the low assets of overdue number of days, by all assets according to first to obtain the priority condition that user is set
The size of specified conditions carries out ascending order arrangement, obtains the priority condition that user is set and obtains the low money of the second specified conditions to be preferential
During production, the size according to the second specified conditions of the first specified conditions identical assets is subjected to ascending order arrangement.
The present embodiment by according to obtain priority condition that user sets to assets according to the size of the first specified conditions and
The size of second specified conditions is ranked up, and is easy to calculate second interval, can efficiently be found and be met user preset
The critical point of condition.
Embodiment three
It is used to perform the side in embodiment one as shown in figure 3, the present embodiment provides the confirmation system 100 that a kind of fund is redeemed
Method step, including:
First acquisition module 101, first interval is obtained for the first specified conditions according to all assets;Wherein, it is described
The lower limit of first interval is the minimum value of first specified conditions, and the higher limit of the first interval is specific for described first
The maximum of condition;
Computing module 102, for calculating the assets value summation of assets of first specified conditions in second interval;Its
In, the lower limit of the second interval is the median of the first interval, and the higher limit of the second interval is described first
The maximum in section;
First judge module 103, if being less than desired value for the summation, the lower limit of the second interval is updated
For the median of 3rd interval;Wherein, the lower limit of the 3rd interval be the first interval lower limit, the 3rd area
Between higher limit be the second interval lower limit;
Second judge module 104, if being more than desired value for the summation, the lower limit of the second interval is updated
For the median of the second interval;
3rd judge module 105, the assets value of assets of first specified conditions in second interval is calculated for returning
The step of summation, untill when the lower limit of the second interval is in critical point;
Second acquisition module 106, when the lower limit for the second interval is in critical point, obtains critical point and meet in advance
If the assets of condition.
Specifically, the first specified conditions can be overdue number of days, the second specified conditions can be overdue capital.
Specifically, the assets value can include normal capital, overdue capital, capital, interest equivalence, but be not limited only to
The above.Specifically, according to the difference of pricing mode, the assets value summation can be normal capital with overdue capital it
With can also be capital and interest sum, or other computational methods.
Specifically, the system also includes:
Target error judge module, for when the lower limit of the second interval is in critical point, judging the summation
Whether desired value is less than;
If the summation is less than desired value, into target error judging unit;
Target error judging unit, for judging when the summation is less than desired value, the desired value and the summation
Difference whether be less than error amount;
If the summation is less than desired value and the difference of the desired value and the summation is less than error amount, overdue day is obtained
Assets of the number in the second interval;
If the summation is less than desired value and the difference of the desired value and the summation is more than error amount, it is special to obtain first
Assets of the fixed condition in the 4th section;Wherein, the four-range lower limit subtracts one for the lower limit of the second interval,
The four-range higher limit is the higher limit of the second interval;
If the summation is more than desired value, assets of first specified conditions in the 5th section are obtained;Wherein, described
The lower limit in five sections adds one for the lower limit of the second interval, and the higher limit in the 5th section is the second interval
Higher limit.
Specifically, computing module 102 also includes:
First specified conditions arrangement units, for all assets to be carried out into ascending order or drop according to the size of the first specified conditions
Sequence arranges;
Second specified conditions arrangement units, for by the first specified conditions identical assets according to the second specified conditions
Size carries out ascending order or descending arrangement;
Computing unit, the assets value for the assets to the first specified conditions in second interval add up, obtained
The assets value summation of assets of first specified conditions in second interval.
Specifically, the 3rd judge module 105 also includes:
Critical point judging unit, for judging whether the lower limit of second interval is in critical point;
If the lower limit of the second interval is in critical point, the assets that critical point meets preparatory condition are obtained;
If the lower limit of the second interval is not at critical point, computing module is returned, the first specified conditions is carried out and exists
The assets value summation of assets in second interval calculates.
The present embodiment obtains first interval by the first specified conditions of all assets;To the first specified conditions, the second spy
Fixed condition is ranked up, and second interval is updated by calculating, and calculates the assets value summation of assets in second interval, so
Afterwards according to summation, desired value and error amount, the assets for meeting user preset condition are obtained, assets is realized and transfers the possession of the normal of business
Operation, compared to traditional approach, the present embodiment is effectively saved substantial amounts of resource, reduces operand and operation time.
Example IV
As shown in figure 4, the present embodiment provides the confirmation method that a kind of fund is redeemed, this method can be by mobile phone, flat board electricity
The intelligent terminals such as brain, pc client are run.
The confirmation method that the fund that the present embodiment is provided is redeemed, including:
S401, according to the first specified conditions of all assets obtain first interval;Wherein, the lower limit of the first interval
For the minimum value of first specified conditions, the higher limit of the first interval is the maximum of first specified conditions.
Specifically, assets can include contract, security, the benefited power of trust etc., but it is not limited only to the above.Here, institute
There are assets, can be that all wait funds redeem the assets of operation or a part therein, such as selection as needed
Some batch assets.
Specifically, the first specified conditions can be overdue number of days, and overdue number of days is to refer to the day more than the predetermined payback period
Number, for example, the predetermined payback period is October 19, current date is October 30, then overdue number of days is 11 days, if described all
The overdue number of days maximum of assets be 90, minimum value 0, then the lower limit of the first interval be 0, the first interval it is upper
Limit value is 90, and the first interval is [0,90].
S402, the assets value summation for calculating assets of first specified conditions in 3rd interval;Wherein, the 3rd area
Between lower limit be the first interval lower limit, the higher limit of the 3rd interval is the median of the first interval.
Specifically, the assets value can include normal capital, overdue capital, capital, interest equivalence, but be not limited only to
The above.Specifically, according to the difference of pricing mode, the assets value summation can be normal capital with overdue capital it
With can also be capital and interest sum, or other computational methods.
Specifically, the higher limit of the 3rd interval is the median by the way that first interval is calculated.Example
Such as, if the first interval is [0,90], then the higher limit of the 3rd interval be [0,90] median 45, i.e., the described 3rd
Section is [0,45].In a specific embodiment, the higher limit of the 3rd interval can also obtain by other means,
For example, can be user according to the numerical value for being actually needed self-defined setting.
If S403, the summation are less than desired value, the higher limit of the 3rd interval is updated to the second interval
Median;Wherein, the lower limit of the second interval be the 3rd interval higher limit, the higher limit of the second interval
For the maximum of the first interval.
Specifically, the higher limit of the 3rd interval is the median by the way that second interval is calculated.Example
Such as, if the 3rd interval is [0,45], the second interval is [45,90], then the higher limit of the 3rd interval for [45,
90] median 67,68;Can be according to being actually needed from 67,68 optional one, choosing herein does 68, that is, the 3rd area after updating
Between be [0,68].Due to the summation being computed in the 3rd interval before updating, after need to only calculating renewal after S403 steps
The summation of minizone calculated is not carried out in 3rd interval, system processing resources and time are saved than traditional accumulation calculating.Example
Such as, because assets value summation of the 3rd interval before the renewal for the assets of [0,45] had performed calculating, therefore, this
When need to only calculate calculating [45,68] section assets assets value summation.In a specific embodiment, the 3rd area
Between higher limit can also obtain by other means, for example, can be user according to the numerical value for being actually needed self-defined setting.
Alternatively, before S403 steps are performed, methods described also includes:
Obtain priority condition, desired value and error amount that user is set.
Alternatively, before S403 steps are performed, methods described also includes:
Compare the size of the summation and desired value.
If S404, the summation are more than desired value, the higher limit of the 3rd interval is updated to the 3rd interval
Median.
Specifically, the higher limit of the 3rd interval after renewal is by being counted to the 3rd interval before renewal
Obtained median.For example, the 3rd interval before renewal is [0,45], the higher limit of the 3rd interval after renewal
For the median 22,23 of [0,45];Can be according to being actually needed from 22,23 optional one, choosing herein does 23, that is, and the after updating
Three sections are [0,23].In a specific embodiment, the higher limit of the 3rd interval can also obtain by other means
Arrive, for example, can be user according to the numerical value for being actually needed self-defined setting.
S405, the step of assets value summation for calculating assets of first specified conditions in 3rd interval is returned to, until
Untill the upper vault of the 3rd interval is when critical point.
S406, the upper vault of the 3rd interval obtain the assets that critical point meets preparatory condition when critical point.
In one embodiment, before step S406, including:
The median that the higher limit of the 3rd interval is equal to the second interval adds least unit value and the summation is small
The median for being equal to the second interval in the higher limit of desired value or the 3rd interval subtracts least unit value and the summation
More than desired value, it is determined that the upper vault of the 3rd interval is in critical point.
If for example, the second interval is [45,90], the higher limit of the 3rd interval adds for the median of [45,90]
One is 69, i.e., the assets value summation of the assets in [0,69] section is less than desired value or the higher limit of the 3rd interval is
It is 67 that the median of [45,90], which subtracts one, i.e., the assets value summation of assets is more than desired value in [0,67] section, it is determined that institute
The lower limit for stating 3rd interval is in critical point.
In the present embodiment, the assets for obtaining critical point and meeting preparatory condition, including:
If the summation is less than desired value and the difference of the summation and the desired value is less than error amount, it is special to obtain first
Assets of the fixed condition in the 3rd interval;
If the summation is less than desired value and the difference of the summation and the desired value is more than error amount, it is special to obtain first
Assets of the fixed condition in the 4th section;Wherein, the four-range lower limit is the lower limit of the 3rd interval, described
Four-range higher limit subtracts one for the higher limit of the 3rd interval;
If the summation is more than desired value, assets of first specified conditions in the 5th section are obtained;Wherein, described
The lower limit in five sections is the lower limit of the 3rd interval, and the higher limit in the 5th section is the upper limit of the 3rd interval
Value plus one.
If for example, the second interval is [45,90], the 3rd interval is [0,45], if the summation is less than target
It is worth and the difference of the summation and the desired value is less than error amount, then obtains assets of the overdue number of days in the 3rd interval;
If the summation is less than desired value and the difference of the summation and the desired value is more than error amount, overdue day is obtained
Assets of the number in the 4th section;The four-range lower limit be the 3rd interval lower limit 0, the described 4th
It is 44 that the higher limit in section subtracts one for the higher limit of the 3rd interval;
If the summation is more than desired value, assets of the overdue number of days in the 5th section are obtained;5th section
Lower limit is 0 for the lower limit of the 3rd interval, and the higher limit in the 5th section adds one i.e. for the higher limit of the 3rd interval
46。
The present embodiment obtains first interval by the first specified conditions of all assets;To the first specified conditions, the second spy
Fixed condition is ranked up, and 3rd interval is updated by calculating, and calculates the assets value summation of assets in 3rd interval, so
Afterwards according to summation, desired value and error amount, the assets for meeting user preset condition are obtained, assets is realized and transfers the possession of the normal of business
Operation, compared to traditional approach, the present embodiment is effectively saved substantial amounts of resource, reduces operand and operation time.
Embodiment five
As shown in figure 5, the present embodiment is to calculate step S402 assets of first specified conditions in the 3rd interval
Assets value summation further refinement.
In the present embodiment, the assets value summation of assets of the first specified conditions of the calculating in 3rd interval, bag
Include:
S4021, all assets are subjected to ascending order or descending according to the size of the first specified conditions arranged;
S4022, the size progress ascending order or descending according to the second specified conditions by the first specified conditions identical assets
Arrangement;
It is cumulative that S4023, the assets value of assets to the first specified conditions in 3rd interval carry out traversal, obtains first
The assets value summation of assets of the specified conditions in 3rd interval.
Specifically, the first specified conditions can be overdue number of days, the second specified conditions can be overdue capital.
Specifically, the assets value can include normal capital, overdue capital, capital, interest equivalence, but be not limited only to
The above.Specifically, according to the difference of pricing mode, the assets value summation can be normal capital with overdue capital it
With can also be capital and interest sum, or other computational methods.
In the present embodiment, the priority condition arrangement assets set according to user is obtained.
Specifically, will be all when the priority condition for obtaining user's setting is the first specified conditions of preferential acquisition high assets
Assets carry out descending arrangement according to the size of the first specified conditions, and it is special preferentially to obtain second to obtain the priority condition that user is set
During the high assets of fixed condition, the size according to the second specified conditions of the first specified conditions identical assets is subjected to descending row
Row;
Specifically, will be all when the priority condition for obtaining user's setting is the first specified conditions of preferential acquisition low assets
Contract carries out ascending order arrangement according to the size of the first specified conditions, and it is special preferentially to obtain second to obtain the priority condition that user is set
During the low assets of fixed condition, the size according to the second specified conditions of the first specified conditions identical assets is subjected to ascending order row
Row.
The present embodiment by according to obtain priority condition that user sets to assets according to the size of the first specified conditions and
The size of second specified conditions is ranked up, and is easy to, by calculating 3rd interval, can efficiently find and meet user
The critical point of preparatory condition.
Embodiment six
Such as Fig. 6, the present embodiment provides the method step that the confirmation system 200 that a kind of fund is redeemed is used to perform in example IV
Suddenly, including:
First acquisition module 201, first interval is obtained for the first specified conditions according to all assets;Wherein, it is described
The lower limit of first interval is the minimum value of first specified conditions, and the higher limit of the first interval is specific for described first
The maximum of condition;
Computing module 202, for calculating the assets value summation of assets of first specified conditions in 3rd interval;Its
In, the lower limit of the 3rd interval is the lower limit of the first interval, and the higher limit of the 3rd interval is described first
The median in section;
First judge module 203, if being less than desired value for the summation, the higher limit of the 3rd interval is updated
For the median of the second interval;Wherein, the lower limit of the second interval is the higher limit of the 3rd interval, described the
The higher limit in two sections is the maximum of the first interval;
Second judge module 204, if being more than desired value for the summation, the higher limit of the 3rd interval is updated
For the median of the 3rd interval;
3rd judge module 205, the assets value of assets of first specified conditions in 3rd interval is calculated for returning
The step of summation, untill when the upper vault of the 3rd interval is in critical point;
Second acquisition module 206, the upper vault for the 3rd interval obtain critical point and met in advance when critical point
If the assets of condition.
Specifically, the first specified conditions can be overdue number of days, the second specified conditions can be overdue capital.
Specifically, the assets value can include normal capital, overdue capital, capital, interest equivalence, but be not limited only to
The above.Specifically, according to the difference of pricing mode, the assets value summation can be normal capital with overdue capital it
With can also be capital and interest sum, or other computational methods.
Specifically, the system also includes:
Target error judge module, for when the upper vault of the 3rd interval is in critical point, judging the summation
Whether desired value is less than;
If the summation is less than desired value, into target error judging unit;
Target error judging unit, for judging when the summation is less than desired value, the desired value and the summation
Difference whether be less than error amount;
If the difference of the summation and the desired value is less than error amount, the first specified conditions are obtained in the 3rd interval
Interior assets;
If the difference of the summation and the desired value is more than error amount, the first specified conditions are obtained in the 4th section
Assets;Wherein, the four-range lower limit is the lower limit of the 3rd interval, and the four-range higher limit is institute
The higher limit for stating 3rd interval subtracts one;
If the summation is more than desired value, assets of first specified conditions in the 5th section are obtained;Wherein, described
The lower limit in five sections is the lower limit of the 3rd interval, and the higher limit in the 5th section is the upper limit of the 3rd interval
Value plus one.
Specifically, computing unit 202 also includes:
First specified conditions arrangement units, for all contracts to be carried out into ascending order or drop according to the size of the first specified conditions
Sequence arranges;
Second specified conditions arrangement units, for by the first specified conditions identical assets according to the second specified conditions
Size carries out ascending order or descending arrangement;
Computing unit, the assets value for the assets to the first specified conditions in 3rd interval add up, obtained
The assets value summation of assets of first specified conditions in 3rd interval.
Specifically, the 3rd judge module 205 also includes:
Critical point judging unit, for judging whether the higher limit of 3rd interval is in critical point;
If the upper vault of the 3rd interval obtains the contract that critical point meets preparatory condition in critical point;
If the higher limit of the 3rd interval is not at critical point, computing module is returned, the first specified conditions is carried out and exists
The assets value summation of assets in 3rd interval calculates.
The present embodiment obtains first interval by the first specified conditions of all contracts;To the first specified conditions, the second spy
Fixed condition is ranked up, and 3rd interval is updated by calculating, and calculates the assets value summation of assets in 3rd interval, so
Afterwards according to summation, desired value and error amount, the assets for meeting user preset condition are obtained, assets is realized and transfers the possession of the normal of business
Operation, compared to traditional approach, the present embodiment is effectively saved substantial amounts of resource, reduces operand and operation time.
It should be understood that the size of the sequence 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 tackling the embodiment of the present invention forms any limit with its function and internal logic
It is fixed.
Embodiment seven
Fig. 7 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in fig. 7, the terminal of the embodiment is set
Standby 7 include:Processor 70, memory 71 and it is stored in the meter that can be run in the memory 71 and on the processor 70
Calculation machine program 72, such as the confirmation program that fund is redeemed.The processor 70 is realized above-mentioned when performing the computer program 72
Step in the confirmation method embodiment that each fund is redeemed, such as shown in step S101 to S106 and/or Fig. 4 shown in Fig. 1
Step S401 to S406.Or the processor 70 realizes above-mentioned each device embodiment when performing the computer program 72
In each module function, such as the function of the function of module 101 to 106 and/or module 201 to 206.
Exemplary, the computer program 72 can be divided into one or more modules, one or more of
Module is stored in the memory 71, and is performed by the processor 70, to complete the present invention.One or more of moulds
Block can be the series of computation machine programmed instruction section that can complete specific function, and the instruction segment is used to describe the computer journey
Implementation procedure of the sequence 72 in the terminal device 7.For example, the computer program 72 can be divided into the first acquisition mould
Block, computing module, the first judge module, the second judge module, the 3rd judge module, the second acquisition module, each specific work(of module
Can be as follows:
First acquisition module, first interval is obtained for the first specified conditions according to all assets;Wherein, described first
The lower limit in section is the minimum value of first specified conditions, and the higher limit of the first interval is first specified conditions
Maximum;
Computing module, for calculating the assets value summation of assets of first specified conditions in second interval;Wherein, institute
The lower limit for stating second interval is the median of the first interval, and the higher limit of the second interval is the first interval
Maximum;
First judge module, if being less than desired value for the summation, the lower limit of the second interval is updated to
The median of 3rd interval;Wherein, the lower limit of the 3rd interval be the first interval lower limit, the 3rd interval
Higher limit be the second interval lower limit;
Second judge module, if being more than desired value for the summation, the lower limit of the second interval is updated to
The median of the second interval;
3rd judge module, the assets value summation of assets of first specified conditions in second interval is calculated for returning
The step of, untill when the lower limit of the second interval is in critical point;
Second acquisition module, when the lower limit for the second interval is in critical point, obtains critical point and meet to preset
The assets of condition;
Or each module concrete function is as follows:
First acquisition module, first interval is obtained for the first specified conditions according to all assets;Wherein, described first
The lower limit in section is the minimum value of first specified conditions, and the higher limit of the first interval is first specified conditions
Maximum;
Computing module, for calculating the assets value summation of assets of first specified conditions in the 3rd interval;Its
In, the lower limit of the 3rd interval is the lower limit of the first interval, and the higher limit of the 3rd interval is described first
The median in section;
First judge module, if being less than desired value for the summation, the higher limit of the 3rd interval is updated to
The median of the second interval;Wherein, the lower limit of the second interval be the 3rd interval higher limit, described second
The higher limit in section is the maximum of the first interval;
Second judge module, if being more than desired value for the summation, the higher limit of the 3rd interval is updated to
The median of the 3rd interval;
3rd judge module, the assets value summation of assets of first specified conditions in 3rd interval is calculated for returning
The step of, untill when the upper vault of the 3rd interval is in critical point;
Second acquisition module, the upper vault for the 3rd interval obtain critical point and meet to preset when critical point
The assets of condition.
The terminal device 7 can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set
It is standby.The terminal device 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
The only example of terminal device 7, the restriction to terminal device 7 is not formed, can included than illustrating more or less portions
Part, some parts or different parts are either combined, such as the terminal device can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 70 can be CPU (Central Processing Unit, CPU), can also be
Other general processors, 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 PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
The memory 71 can be the internal storage unit of the terminal device 7, such as the hard disk of terminal device 7 or interior
Deposit.The memory 71 can also be the External memory equipment of the terminal device 7, such as be equipped with the terminal device 7
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodge
Deposit card (Flash Card) etc..Further, the memory 71 can also both include the storage inside list of the terminal device 7
Member also includes External memory equipment.The memory 71 is used to store needed for the computer program and the terminal device
Other programs and data.The memory 71 can be also used for temporarily storing 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 unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated
Unit can both be realized in the form of hardware, 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.Said system
The specific work process of middle unit, module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment
The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel
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 terminal device and method, it can be passed through
Its mode is realized.For example, terminal device embodiment described above is only schematical, for example, the module or list
The division of member, only a kind of division of logic function can have an other dividing mode when actually realizing, for example, multiple units or
Component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, show
Show or the mutual coupling discussed or direct-coupling or communication connection can be by some interfaces, between device or unit
Coupling or communication connection are connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module is realized in the form of SFU software functional unit and is used as independent production marketing or use
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, by computer program the hardware of correlation can also be instructed to complete, described computer
Program can be stored in a computer-readable recording medium, and the computer program can be achieved above-mentioned each when being executed by processor
The step of individual 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 some intermediate forms etc..The computer-readable medium can be with
Including:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, the light of the computer program code can be carried
Disk, computer storage, read-only storage (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 computer-readable recording medium includes can carry out appropriate increase and decrease according to legislation in jurisdiction and the requirement of patent practice, such as
In some jurisdictions, electric carrier signal and telecommunication signal are not included according to legislation and patent practice, computer-readable medium.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality
Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each
Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed
Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should
Within protection scope of the present invention.