CN107025138A - A kind of method for processing resource and device - Google Patents

A kind of method for processing resource and device Download PDF

Info

Publication number
CN107025138A
CN107025138A CN201611121979.3A CN201611121979A CN107025138A CN 107025138 A CN107025138 A CN 107025138A CN 201611121979 A CN201611121979 A CN 201611121979A CN 107025138 A CN107025138 A CN 107025138A
Authority
CN
China
Prior art keywords
resource
loaning bill
request
stock number
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611121979.3A
Other languages
Chinese (zh)
Inventor
谢理达
李启睿
路刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201611121979.3A priority Critical patent/CN107025138A/en
Publication of CN107025138A publication Critical patent/CN107025138A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the present application discloses a kind of method for processing resource and device, and method includes:Receive the resource transfer request of party in request, asked according to the resource transfer, from the resource that provider is held, the resource of acquisition respective numbers gives the party in request as secondment resource allocation, monitoring uses the first newly-increased stock number produced by temporarily transferring resource, and the party in request, according to the magnitude relationship of the described first newly-increased stock number and the second newly-increased stock number, adjusts the secondment resource for distributing to the party in request using the second newly-increased stock number produced by own resource.Utilize the embodiment of the present application, it is possible to reduce or resource value produced by avoiding contract of commodatum resource it is relatively low the problem of.

Description

A kind of method for processing resource and device
Technical field
The application is related to field of computer technology, more particularly to a kind of method for processing resource and device.
Background technology
With the development of information technology, for all kinds of internet information resources (such as server process resource, the network storage Resource, database space resource etc., hereinafter referred to as resource) demand constantly expand, the need for meeting various practical applications.
In the prior art, resource requirement side can be temporarily transferred at other resources holder respective numbers resource enter exercise With still, resource requirement side may cause complete using the resource institute temporarily transferred due to the influence of such as running environment, external factor Into affairs amount or performed operational ton it is less so that the resource temporarily transferred can not fill part and be used, and also form resource Waste.
For example:Under practical application scene, the processor in equipment, such as:Central processing unit (Central Processing Unit, CPU) process resource of its own can be supplied to the application program being installed in equipment (hereinafter referred to as:Using), with Supply is run with normal.Specifically, as shown in figure 1, CPU is double-core CPU, wherein, kernel 1 is by the processing resource allocation of itself To corresponding application, using the process resource that just can be distributed based on kernel 1, issued transaction is completed, it is assumed that certain uses kernel 1 Process resource needed for the application a of process resource is more, and in order to ensure the normal operation using a, existing kernel 1 is adjusted from kernel 2 With 30% process resource.
But, for aforesaid way, 30% process resource called may cause kernel 2 to enter heavy-duty service State, under the running status of high load capacity, the resource value for causing process resource in kernel 2 is affected, specifically:Assuming that Under normal circumstances, kernel 2 gives 30% processing resource allocation after application a, and this can the processing based on the 30% of distribution using a Resource completes the processing of 30 affairs, and at high load conditions, by influencing each other between each application process, is used using a 30% process resource called, can be only done the processing of 10 affairs, so that visible, kernel 2 calls the processing to kernel 1 Resource does not give full play to its resource value.
The content of the invention
The embodiment of the present application provides a kind of method for processing resource, to solve during resource is temporarily transferred to temporarily transferring resource The problem of resource value is relatively low during use.
A kind of method for processing resource that the embodiment of the present application is provided, methods described includes:
Receive the resource transfer request of party in request;
According to the resource transfer ask, from the resource that provider is held, obtain respective numbers resource as by means of Distribute to the party in request in the source of raising wages;
Monitoring is produced using the first newly-increased stock number produced by temporarily transferring resource, and the party in request using own resource The newly-increased stock number of raw second;
According to the magnitude relationship of the described first newly-increased stock number and the second newly-increased stock number, the party in request is distributed in adjustment Secondment resource.
A kind of method for processing resource that the embodiment of the present application is also provided, including:
Receive the loaning bill request of loaning bill user;
Asked according to described borrow money, from the fund of lending user, the fund for obtaining respective numbers is borrowed as loaning bill fund Borrow to the loaning bill user;
The value for the loaning bill fund that the loaning bill user is borrowed or lent money is monitored, and the loaning bill user is used for the debt-credit of mortgage The value of assets;
According to the magnitude relationship of the value of the loaning bill fund and the value of the debt-credit assets, enter to the lending user The row compensation of value.
A kind of resource processing unit that the embodiment of the present application is provided, described device includes:
Receiving module, receives the resource transfer request of party in request;
Acquisition module, is asked according to the resource transfer, from the resource that provider is held, and obtains the money of respective numbers The party in request is given in source as secondment resource allocation;
Monitoring modular, is monitored and is used certainly using the first newly-increased stock number produced by temporarily transferring resource, and the party in request The second newly-increased stock number produced by body resource;
Resource adjustments module, according to the magnitude relationship of the described first newly-increased stock number and the second newly-increased stock number, adjustment point The secondment resource of party in request described in dispensing.
A kind of resource processing unit that the embodiment of the present application is also provided, described device includes:
Receiving module, receives the loaning bill request of loaning bill user;
Borrow or lend money module, according to it is described borrow money ask, from lending user fund in, obtain respective numbers fund as by means of Money capital loan gives the loaning bill user;
Monitoring modular, monitors the value for the loaning bill fund that the loaning bill user is borrowed or lent money, and the loaning bill user is used for The value of the debt-credit assets of mortgage;
Compensation of value module, according to the loaning bill fund value with it is described debt-credit assets value magnitude relationship, to The lending user carries out the compensation of value.
At least one above-mentioned technical scheme that the embodiment of the present application is used can reach following beneficial effect:
After party in request temporarily transfers the resource of respective numbers by resource management side at provider, resource management side will be monitored For the usage degree of the secondment resource, that is, monitoring uses the newly-increased stock number that the secondment resource is generated, once monitor When its newly-increased stock number is less than the newly-increased stock number that the party in request is generated using own resource, then show to temporarily transfer the resource of resource Value reduction, then, resource management side also can just adjust the secondment resource for distributing to party in request.Compared to side in the prior art Aforesaid way in formula, the embodiment of the present application, based on the monitoring of the resource value to temporarily transferring resource, can in time adjust and be borrowed The stock number of tune, so as to which the reduction of resource value is reduced or avoided.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, this Shen Schematic description and description please is used to explain the application, does not constitute the improper restriction to the application.In the accompanying drawings:
The schematic diagram that Fig. 1 borrows or lends money for resource in the prior art;
The configuration diagram that Fig. 2 a are based on for the resource processing that the embodiment of the present application is provided;
The resource processing procedure that Fig. 2 b provide for the embodiment of the present application;
The debtor-creditor relationship schematic diagram under actual debt-credit scene that Fig. 3 a provide for the embodiment of the present application;
Fig. 3 b performed for the actual of method for processing resource under actual debt-credit scene that the embodiment of the present application is provided Journey;
The resource processing device structure diagram that Fig. 4 provides for the embodiment of the present application;
The resource processing device structure diagram under actually debt-credit scene that Fig. 5 provides for the embodiment of the present application.
Embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described corresponding accompanying drawing.Obviously, described embodiment is only the application one Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under the premise of creative work, belong to the scope of the application protection.
Just it has been observed that under practical application scene, when resource requirement side temporarily transfers respective numbers at other resources holder Resource carry out after use, the resource requirement policy is to the resource temporarily transferred, and its service efficiency may be relatively low, and prior art In, resource holder can only be waited after this part resource that the release of resource requirement side is temporarily transferred, and could be used, so undoubtedly The waste of resource can be caused.
, can be under utilized the temporarily transferred resource in resource requirement side based on this, it is necessary to a kind of resource processing mode When, resource holder is given by a certain amount of available resources " compensation ", therefore, there is provided a kind of Energy Resources Service in the embodiment of the present application Reason method.
It should be noted that described resource, includes but is not limited to:Cloud computing resources, network storage resource, equipment processing Resource is (such as:CPU usage, memory usage etc.), financial resources etc..Described resource platform, it will be appreciated that for resource platform clothes Business device (or server cluster).Described resource requirement side and resource holder, it may include but be not limited to:Personal user and/ Or enterprise customer, processing equipment are (such as:Server), processor (CPU, GPU etc.) or be to be responsible in processor being handled Chip is (such as:CPU core etc.).
Method for processing resource in the embodiment of the present application is based on framework as shown in Figure 2 a.In fig. 2 a, resource requirement side Interacted by resource management side with resource holder, certainly, in the embodiment of the present application, described resource management side has Scheduling of resource and distribution function, the resource management can include:Resource platform is (such as:Website, financial platform etc.), resource allocation clothes Resource allocation unit being engaged in device, the network equipment, processor etc..
Based on framework as shown in Figure 2 a, the resource processing procedure that the embodiment of the present application is provided as shown in Figure 2 b, the process Specifically include following steps:
S201:Receive the resource transfer request of party in request.
Wherein, would generally be comprising the required stock number temporarily transferred, in order to resource management side in the request of described resource transfer The resource of respective numbers is obtained at resource holder according to the stock number of the required secondment.
Under the different scenes of practical application, the form of resource transfer request is also differed, e.g., is money in resource management side Under the scene of source platform, user can be by temporarily transferring the page (such as accordingly:Resource platform website) or application in secondment interface visit Ask to the resource platform, and after it have input the stock number of required secondment, resource transfer request is sent to the resource platform.Again Such as, it is necessary to which the kernel for temporarily transferring process resource can be to this under the scene of the resource allocation unit during processor is in resource management side Resource allocation unit sends request.Here the restriction to the application is not constituted.
S202:Asked according to the resource transfer, from the resource that provider is held, the resource for obtaining respective numbers is made To temporarily transfer resource, the party in request is distributed to.
In the embodiment of the present application, resource management can know the stock number that different providers are held, and be used as this Shen A kind of mode that please be in embodiment, resource management can send the inquiry request for query resource amount to each provider, and connect The feedback of each provider is received, so as to know the stock number that provider is held;And it is used as another side in the embodiment of the present application Formula, the stock number information that each provider can be held itself is sent to resource management side, to cause resource management side to know respectively The stock number that provider is held.Certainly, the approach of the stock number that provider is held not structure is known for resource management side The restriction of paired the application.
It should be noted that the resource that resource management side obtains respective numbers in the resource that provider is held is adjusted Match somebody with somebody, it will be appreciated that for the access right of this part resource is distributed into party in request, now there is provided side and without for being deployed money The access right in source.
S203:Monitoring is provided using the first newly-increased stock number produced by temporarily transferring resource, and the party in request using itself The second newly-increased stock number produced by source.
In view of in practical application, resource is by after use, it will usually produce extra resource, such as:CPU kernel is borrowed The resource of tune is supplied to corresponding application, and the application just can complete certain and calculate affairs, generates corresponding result of calculation, gives birth to here Into result of calculation be just considered as a kind of newly-increased resource;And for example:The cloud storage resource that certain server is temporarily transferred is supplied to The cloud storage resource can be used to be stored corresponding data for user, the user, and the data stored here are also considered as A kind of newly-increased resource.Therefore, the resource for temporarily transferring resource can be determined by temporarily transferring resource by the newly-increased resource produced by after use Value.
In the embodiment of the present application, in order to determine temporarily transfer resource resource value, can monitor using temporarily transfer resource produced Raw newly-increased stock number (for ease of description, the newly-increased stock number is referred to as:First newly-increased stock number), and used with the party in request Newly-increased stock number produced by own resource (for ease of description, the newly-increased stock number is referred to as:Second newly-increased stock number) carry out Compare.Obviously, under normal circumstances, the first newly-increased stock number should be not less than the second newly-increased stock number, and first increases stock number newly Once less than the second newly-increased stock number, then show to temporarily transfer the resource value reduction of resource, resource management can be further to resource Deployment operations again are performed, that is, performing following step S104.
S204:According to the magnitude relationship of the described first newly-increased stock number and the second newly-increased stock number, adjustment is distributed to described The secondment resource of party in request.
Example as shown in Figure 1 is continued to use, it is therefrom visible, just because of kernel 2 in the situation of 30% process resource that is called Under, cause kernel 2 to enter high load capacity and handle state so that the resource value reduction of the process resource in kernel 2 (that is, uses this The application a of 30% process resource, its affairs amount handled has been reduced compared to normal condition), wherein, using a using calling 30% process resource handled by affairs amount, be just considered as the first newly-increased stock number, and the second newly-increased stock number can recognize For be using a using kernel 1 process resource handled by affairs amount.Obviously, the first newly-increased stock number is less than second and increased newly Stock number, then, resource management side can be reduced calls to process resource in kernel 2, so that the operation for reducing kernel 2 is born Lotus.
By above-mentioned steps, after party in request temporarily transfers the resource of respective numbers by resource management side at provider, money Source control side is directed to the usage degree of the secondment resource by monitoring, that is, monitoring is newly spent more money on using what the secondment resource was generated Source is measured, when monitoring that its newly-increased stock number is less than the newly-increased stock number that the party in request is generated using own resource, then table The bright resource value reduction for temporarily transferring resource, then, resource management side also can just adjust the secondment resource for distributing to party in request.Phase Compared with mode in the prior art, the aforesaid way in the embodiment of the present application, based on the monitoring of the resource value to temporarily transferring resource, energy It is enough to adjust temporarily transferred stock number in time, so as to which the reduction of resource value is reduced or avoided.
Before the resource of acquisition respective numbers gives the party in request as secondment resource allocation, methods described also includes: Temporarily transferred stock number is determined, no more than for the default demarcation stock number of the party in request.
Furthermore, for party in request's preset calibrations stock number, specifically include:Determine that the party in request uses money The average usage amount in source, the demarcation stock number is defined as by the average usage amount.
The party in request is monitored to use using the first newly-increased stock number produced by temporarily transferring resource, and the party in request The second newly-increased stock number produced by the own resource of amount, is specifically included:The party in request is monitored in setting time section, is used The first newly-increased stock number produced by temporarily transferring resource, and the party in request are new using second produced by the own resource of equivalent Increase stock number.
According to the magnitude relationship of the value of the loaning bill fund and the value of the debt-credit assets, the need are distributed in adjustment The secondment resource for the side of asking, is specifically included:The secondment resource of respective numbers is deducted from the secondment resource for distributing to the party in request.
In addition, above-mentioned method for processing resource is applied to the debt-credit scene of financial platform, under the scene, user can be by certainly As hypothecated assets, (debt-credit assets here refer to that the assets that user holds itself are lent to the debt-credit assets that body is held Other users, and in the following income for sometime obtaining principal and interest, the income is just considered as the debt-credit money of user Production), borrowed money to certain user, during being somebody's turn to do, loaning bill user is resource requirement side (that is, foregoing party in request), lends user For resource holder (that is, foregoing provider), financial platform is resource management side, and loaning bill user is borrowed money at lending user Value be foregoing secondment resource, it is clear that under the influence of interest, here the value of loaning bill item will gradually increase, And the increased part of institute loaning bill item value institute is the newly-increased stock number of foregoing first, correspondingly, the debt-credit assets of loaning bill user Value also increase so that be considered as foregoing second increase newly stock number.
Now illustrated with an example:Assuming that user a holds debt-credit assets, i.e. the amount of itself is P's by the user a Fund lends a certain user, it is assumed that as shown in Figure 3 a, and user a can obtain P+R income by T at the date of maturity, and the income just can regard as It is the debt-credit assets that user a is held.It is now assumed that user a currently has the use demand of fund, but because the debt-credit assets were on T Expire, therefore user a can provide a loan, still as shown in Figure 3 a, user a is borrowed to user b using the debt-credit assets as pledging to user b Fund expired on t.
But in this process, user a may produce violations (such as:Nullify account, will borrow money item from user b The behaviors such as secondary debt-credit are carried out as pledging) so that user a can not repay to user b on t and borrow money and interest, although User b can compensate user a debt-credit assets value P+R, but with the fluctuation of market rate, cause to borrow or lend money assets valency Value P+R is insufficient to compensate for lending user a fund value, so as to be caused damage to user b.
Therefore, in order to be reduced or avoided in above mentioned problem, the embodiment of the present application, based on foregoing teachings, carried under the scene A kind of method for processing resource has been supplied, following steps are specifically included:
S301:Receive the loaning bill request of loaning bill user.
Under this scene, request of borrowing money is received by financial platform.Wherein, loaning bill amount letter is carried in the request of borrowing money Breath.
S302:Asked according to described borrow money, from the fund of lending user, the fund for obtaining respective numbers is provided as borrowing money Gold is borrowed or lent money to the loaning bill user.
S303:The value for the loaning bill fund that the loaning bill user is borrowed or lent money is monitored, and the loaning bill user is used to mortgage Debt-credit assets value.
S304:According to the magnitude relationship of the value of the loaning bill fund and the value of the debt-credit assets, to the lending User carries out the compensation of value.
For the above method, before the fund of acquisition respective numbers gives the loaning bill user as loaning bill capital loan, Methods described also includes:Determine that the loaning bill user borrows the amount of fund, no more than the mark for the loaning bill user preset Surely borrow money amount.
If loaning bill user borrows the amount of fund too high, it is possible to cause overbalancing for loaning bill fund to borrow or lend money assets Value, can cause risk to lending user, because loaning bill user is once break a contract, then the value for borrowing or lending money assets is insufficient to compensate for borrowing money The value of fund, so as to be caused damage to lending user, therefore, loaning bill user borrows the amount of fund to be no more than for described The demarcation loaning bill amount of loaning bill user preset.To borrow money, value is less than or equal to underlying assets value.
Furthermore, loaning bill amount is demarcated for the loaning bill user preset, specifically included:Determine the loaning bill user Debt-credit assets average yield daily within the survival phase, wherein, the average yield includes the debt-credit sheet of the loaning bill user Gold and interest, the average yield are defined as the demarcation loaning bill amount of the loaning bill user.
Specifically, it is assumed that user a is in D0Day borrows money to user b, for the default demarcation loaning bill amount P of user abIt can set To borrow or lend money the present worth of assets (P+R) at the moment, i.e.,Wherein r is same day finance Equilibrium (just and sound) interest rate on platform.If it is to be appreciated that user a is in D0Possess the amount of money for PbCash, by interest rate r preengage, Then P+R can be obtained on T, be of equal value with directly possessing T days overdue debt-credit assets.
From upper example, the actual loaning bill fund amount of loaning bill user is no more than demarcation loaning bill amount, in demarcation amount issued In the range of degree, loaning bill user can the actual borrowing balance of unrestricted choice.
In actual applications, financial platform can also monitor the value of loaning bill fund, and debt-credit assets value, it is specific and Speech, monitors the value for the loaning bill fund that the loaning bill user is borrowed or lent money, and the loaning bill user is used for the debt-credit assets of mortgage Value, including:Day by day the value for the loaning bill fund that the loaning bill user is borrowed or lent money is monitored, and the loaning bill user is used to mortgage Debt-credit assets value.
Continuation of the previous cases:It is as shown in table 1 below:
Table 1
P (is set to based on the actual borrowing balances of user aa) and borrowing rate (be set to rb), value of borrowing money can be carried out day by day Calculate, that is to say, that (be set to D on the value date of loaning bill1), value of borrowing money adds the interest of 1 day for capital, i.e.,Thereafter daily loaning bill value is the cumulative 1 day interest of value of borrowing money upper day, until pledging The Expiration Date of loaning bill.
Correspondingly, the value of user a debt-credit assets, in the value date D of loaning bill1, assets value is that P+R is discounted T-1 days Present worth, i.e.,Wherein r1For D1The equilibrium rate of interest.Thereafter daily assets value can lead to Cross the discount of same day market equilibrium interest rate to obtain, until pledging the Expiration Date of loaning bill.
In actual applications, if the value that monitors to borrow money is more than debt-credit assets value, it is possible to cause to borrow The fund for going out user is suffered a loss, so, in order to ensure the value of resource for lending user, then corresponding sub-control measure can be taken, As a kind of feasible pattern, in the embodiment of the present application, a kind of discount factor can be set, the discount factor, which is used to reduce, borrows money The value of fund, so as to further reduction risk incidence, that is, according to the value of the loaning bill fund and the debt-credit The magnitude relationship of the value of assets, carries out the compensation of value to the lending user, specifically includes:The discount system of debt-credit assets is set Number, when monitoring that product of the debt-credit assets with the discount factor is less than the value of debt-credit assets, is used to described borrow money Family obtains the assets of respective numbers as newly-increased debt-credit assets, or from the loaning bill user by means of deduction respective numbers in fund Fund.
, can also be on the basis of the above as another feasible pattern, then vigilance parameter is set, such as vigilance parameter is set to 0.95, then it can be monitored based on discount factor and the vigilance parameter, namely, it is assumed that assets value × discount rate≤0.95 × is borrowed Money is worth, then pre-cooling air control measure.
Certainly, the above does not constitute the restriction to the application.
The method for processing resource provided above for the embodiment of the present application, based on same thinking, the embodiment of the present application is also carried For a kind of resource processing unit, as shown in Figure 4.Described device includes:
Receiving module 401, receives the resource transfer request of party in request;
Acquisition module 402, is asked according to the resource transfer, from the resource that provider is held, and obtains respective numbers Resource as temporarily transfer resource allocation give the party in request;
Monitoring modular 403, monitors the party in request and increases stock number newly using first produced by temporarily transferring resource, and described Party in request uses the second newly-increased stock number produced by the own resource of equivalent;
Resource adjustments module 404, according to the magnitude relationship of the described first newly-increased stock number and the second newly-increased stock number, adjustment Distribute to the secondment resource of the party in request.
Further, described device also includes:Demarcating module 405, it is determined that the stock number temporarily transferred, no more than for described The default demarcation stock number of party in request.
Demarcating module 405, determines that the party in request uses the average usage amount of resource, and the average usage amount is defined as The demarcation stock number.
Monitoring modular 403, in setting time section, monitoring uses the first newly-increased stock number produced by temporarily transferring resource, with And the party in request uses the second newly-increased stock number produced by the own resource of respective numbers.
Resource adjustments module 404, when monitoring that the described first newly-increased stock number is less than the described second newly-increased stock number, from Distribute to the secondment resource that respective numbers are deducted in the secondment resource of the party in request.
Based on debt-credit scene, the embodiment of the present application also provides a kind of resource processing unit, as shown in Figure 5.Described device is set Financial platform side is placed in, the device includes:
Receiving module 501, receives the loaning bill request of loaning bill user;
Module 502 is borrowed or lent money, is asked according to described borrow money, from the fund of lending user, the fund for obtaining respective numbers is made The loaning bill user is given for loaning bill capital loan;
Monitoring modular 503, monitors the value for the loaning bill fund that the loaning bill user is borrowed or lent money, and the loaning bill user uses In the value of the debt-credit assets of mortgage;
Compensation of value module 504, according to the magnitude relationship of the value of the loaning bill fund and the value of the debt-credit assets, The compensation of value is carried out to the lending user.
Described device also includes:Amount demarcating module 505, determines that the loaning bill user borrows the amount of fund, is no more than For the demarcation loaning bill amount of the loaning bill user preset.
Amount demarcating module 505, determines the debt-credit assets of loaning bill user average yield daily within the survival phase;Its In, the average yield includes the debt-credit principal and interest of the loaning bill user;The average yield is defined as the loaning bill The demarcation loaning bill amount of user.
Monitoring modular 503, monitors the value for the loaning bill fund that the loaning bill user is borrowed or lent money, and the loaning bill user day by day Value for the debt-credit assets of mortgage.
Compensation of value module 504, sets the discount factor of debt-credit assets, when monitoring debt-credit assets and the discount When the product of coefficient is less than the value of debt-credit assets, the assets for obtaining respective numbers to the loaning bill user are provided as newly-increased debt-credit Production, or from the loaning bill user by means of the fund that respective numbers are deducted in fund.
In the 1990s, for a technology improvement can clearly distinguish be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (for the improvement of method flow).So And, with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit. Designer nearly all obtains corresponding hardware circuit by the way that improved method flow is programmed into hardware circuit.Cause This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, PLD (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, its logic function is determined by user to device programming.By designer Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, without asking chip maker to design and make Special IC chip.Moreover, nowadays, substitution manually makes IC chip, and this programming is also used instead mostly " patrols Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development, And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but have many kinds, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed are most generally used at present Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also should This understands, it is only necessary to slightly programming in logic and be programmed into method flow in integrated circuit with above-mentioned several hardware description languages, The hardware circuit for realizing the logical method flow can be just readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing Device and storage can by the computer of the computer readable program code (such as software or firmware) of (micro-) computing device Read medium, gate, switch, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller includes but is not limited to following microcontroller Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited Memory controller is also implemented as a part for the control logic of memory.It is also known in the art that except with Pure computer readable program code mode is realized beyond controller, can be made completely by the way that method and step is carried out into programming in logic Obtain controller and come real in the form of gate, switch, application specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc. Existing identical function.Therefore this controller is considered a kind of hardware component, and various for realizing to including in it The device of function can also be considered as the structure in hardware component.Or even, can be by for realizing that the device of various functions is regarded For that not only can be the software module of implementation method but also can be the structure in hardware component.
System, device, module or unit that above-described embodiment is illustrated, can specifically be realized by computer chip or entity, Or realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment The combination of equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented The function of each unit can be realized in same or multiple softwares and/or hardware during application.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of key elements are not only including those key elements, but also wrap Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Also there is other identical element in process, method, commodity or the equipment of element.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.Deposited moreover, the application can use to can use in one or more computers for wherein including computer usable program code The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The application can be described in the general context of computer executable instructions, such as program Module.Usually, program module includes performing particular transaction or realizes routine, program, object, the group of particular abstract data type Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these DCEs, by Remote processing devices connected by communication network perform affairs.In a distributed computing environment, program module can be with Positioned at including in the local and remote computer-readable storage medium including storage device.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.It is real especially for system Apply for example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the art For, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalent Replace, improve etc., it should be included within the scope of claims hereof.

Claims (12)

1. a kind of method for processing resource, it is characterised in that methods described includes:
Receive the resource transfer request of party in request;
Asked according to the resource transfer, from the resource that provider is held, the resource for obtaining respective numbers is provided as secondment Distribute to the party in request in source;
Monitoring is used produced by own resource using the first newly-increased stock number produced by temporarily transferring resource, and the party in request Second newly-increased stock number;
According to the magnitude relationship of the described first newly-increased stock number and the second newly-increased stock number, borrowing for the party in request is distributed in adjustment Raise wages source.
2. the method as described in claim 1, it is characterised in that given in the resource for obtaining respective numbers as resource allocation is temporarily transferred Before the party in request, methods described also includes:
Temporarily transferred stock number is determined, no more than for the default demarcation stock number of the party in request.
3. method as claimed in claim 2, it is characterised in that for party in request's preset calibrations stock number, specifically include:
Determine that the party in request uses the average usage amount of resource;
The average usage amount is defined as the demarcation stock number.
4. method as claimed in claim 3, it is characterised in that monitoring uses the first newly-increased resource produced by temporarily transferring resource Amount, and the party in request are specifically included using the second newly-increased stock number produced by the own resource of equivalent:
In setting time section, monitoring is used using the first newly-increased stock number produced by temporarily transferring resource, and the party in request The second newly-increased stock number produced by the own resource of respective numbers.
5. method as claimed in claim 4, it is characterised in that according to the described first newly-increased stock number and the second newly-increased stock number Magnitude relationship, adjustment distributes to the secondment resource of the party in request, specifically includes:
When monitoring that the described first newly-increased stock number is less than the described second newly-increased stock number, from distributing to borrowing for the party in request Raise wages and the secondment resource of respective numbers is deducted in source.
6. a kind of method for processing resource, it is characterised in that methods described includes:
Receive the loaning bill request of loaning bill user;
Asked according to described borrow money, from the fund of lending user, the fund for obtaining respective numbers is given as loaning bill capital loan The loaning bill user;
The value for the loaning bill fund that the loaning bill user is borrowed or lent money is monitored, and the loaning bill user is used for the debt-credit assets of mortgage Value;
According to the magnitude relationship of the value of the loaning bill fund and the value of the debt-credit assets, valency is carried out to the lending user Value complement is repaid.
7. method as claimed in claim 6, it is characterised in that given in the fund for obtaining respective numbers as loaning bill capital loan Before the loaning bill user, methods described also includes:
Determine that the loaning bill user borrows the amount of fund, no more than the demarcation loaning bill amount for the loaning bill user preset.
8. method as claimed in claim 7, it is characterised in that demarcate loaning bill amount for the loaning bill user preset, specifically Including:
Determine the debt-credit assets of loaning bill user average yield daily within the survival phase;Wherein, the average yield includes The debt-credit principal and interest of the loaning bill user;
The average yield is defined as to the demarcation loaning bill amount of the loaning bill user.
9. method as claimed in claim 8, it is characterised in that the valency for the loaning bill fund that the monitoring loaning bill user is borrowed or lent money Value, and the loaning bill user are used for the value of the debt-credit assets of mortgage, specifically include:
Day by day the value for the loaning bill fund that the loaning bill user is borrowed or lent money is monitored, and the debt-credit that the loaning bill user is used to mortgage is provided The value of production.
10. method as claimed in claim 9, it is characterised in that according to the value of the loaning bill fund and the debt-credit assets Value magnitude relationship, to it is described lending user carry out the compensation of value, specifically include:
The discount factor of debt-credit assets is set;
When monitoring that product of the debt-credit assets with the discount factor is less than the value of debt-credit assets, used to described borrow money Family obtains the assets of respective numbers as newly-increased debt-credit assets, or from the loaning bill user by means of deduction respective numbers in fund Fund.
11. a kind of resource processing unit, it is characterised in that described device includes:
Receiving module, receives the resource transfer request of party in request;
Acquisition module, is asked according to the resource transfer, from the resource that provider is held, and the resource for obtaining respective numbers is made To temporarily transfer resource allocation to the party in request;
Monitoring modular, monitors the party in request and uses the first newly-increased stock number produced by temporarily transferring resource, and the party in request Use the second newly-increased stock number produced by the own resource of equivalent;
Resource adjustments module, according to the magnitude relationship of the described first newly-increased stock number and the second newly-increased stock number, adjustment is distributed to The secondment resource of the party in request.
12. a kind of resource processing unit, it is characterised in that described device includes:
Receiving module, receives the loaning bill request of loaning bill user;
Module is borrowed or lent money, is asked according to described borrow money, from the fund of lending user, the fund for obtaining respective numbers is provided as borrowing money Gold is borrowed or lent money to the loaning bill user;
Monitoring modular, monitors the value for the loaning bill fund that the loaning bill user is borrowed or lent money, and the loaning bill user is used to mortgage Debt-credit assets value;
Compensation of value module, when the value for monitoring the loaning bill fund is less than the value of debt-credit assets, is used to the lending Family carries out the compensation of value.
CN201611121979.3A 2016-12-08 2016-12-08 A kind of method for processing resource and device Pending CN107025138A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611121979.3A CN107025138A (en) 2016-12-08 2016-12-08 A kind of method for processing resource and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611121979.3A CN107025138A (en) 2016-12-08 2016-12-08 A kind of method for processing resource and device

Publications (1)

Publication Number Publication Date
CN107025138A true CN107025138A (en) 2017-08-08

Family

ID=59525518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611121979.3A Pending CN107025138A (en) 2016-12-08 2016-12-08 A kind of method for processing resource and device

Country Status (1)

Country Link
CN (1) CN107025138A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608788A (en) * 2017-08-29 2018-01-19 北京三快在线科技有限公司 A kind of control method, device and equipment
CN109615234A (en) * 2018-12-12 2019-04-12 阿里巴巴集团控股有限公司 A kind of change in resources situation determines method and device
CN109636406A (en) * 2018-10-17 2019-04-16 阿里巴巴集团控股有限公司 Resource settlement method and device and electronic equipment
CN110210960A (en) * 2019-05-20 2019-09-06 深圳壹账通智能科技有限公司 A kind of data adjustment method and relevant device based on data analysis
CN112085419A (en) * 2020-09-25 2020-12-15 中国建设银行股份有限公司 Resource acquisition method, device and equipment
CN112887228A (en) * 2019-11-29 2021-06-01 阿里巴巴集团控股有限公司 Cloud resource management method and device, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938416A (en) * 2010-09-01 2011-01-05 华南理工大学 Cloud computing resource scheduling method based on dynamic reconfiguration virtual resources
CN102932281A (en) * 2012-10-31 2013-02-13 华为技术有限公司 Method and equipment for dynamic allocation of resources
CN102193833B (en) * 2010-01-26 2014-12-17 微软公司 Efficient utilization of idle resources in a resource manager
CN105718364A (en) * 2016-01-15 2016-06-29 西安交通大学 Dynamic assessment method for ability of computation resource in cloud computing platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193833B (en) * 2010-01-26 2014-12-17 微软公司 Efficient utilization of idle resources in a resource manager
CN101938416A (en) * 2010-09-01 2011-01-05 华南理工大学 Cloud computing resource scheduling method based on dynamic reconfiguration virtual resources
CN102932281A (en) * 2012-10-31 2013-02-13 华为技术有限公司 Method and equipment for dynamic allocation of resources
CN105718364A (en) * 2016-01-15 2016-06-29 西安交通大学 Dynamic assessment method for ability of computation resource in cloud computing platform

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608788A (en) * 2017-08-29 2018-01-19 北京三快在线科技有限公司 A kind of control method, device and equipment
CN107608788B (en) * 2017-08-29 2020-08-07 北京三快在线科技有限公司 Control method, device and equipment
CN109636406A (en) * 2018-10-17 2019-04-16 阿里巴巴集团控股有限公司 Resource settlement method and device and electronic equipment
CN109636406B (en) * 2018-10-17 2023-09-08 创新先进技术有限公司 Resource settlement method and device and electronic equipment
CN109615234A (en) * 2018-12-12 2019-04-12 阿里巴巴集团控股有限公司 A kind of change in resources situation determines method and device
CN110210960A (en) * 2019-05-20 2019-09-06 深圳壹账通智能科技有限公司 A kind of data adjustment method and relevant device based on data analysis
CN112887228A (en) * 2019-11-29 2021-06-01 阿里巴巴集团控股有限公司 Cloud resource management method and device, electronic equipment and computer readable storage medium
CN112887228B (en) * 2019-11-29 2024-02-02 阿里巴巴集团控股有限公司 Cloud resource management method and device, electronic equipment and computer readable storage medium
CN112085419A (en) * 2020-09-25 2020-12-15 中国建设银行股份有限公司 Resource acquisition method, device and equipment

Similar Documents

Publication Publication Date Title
CN107025138A (en) A kind of method for processing resource and device
CN107025559A (en) A kind of method for processing business and device
CN109615495B (en) Data reconciliation method, device, equipment and system
CN108122163A (en) Risk monitoring and control method, apparatus and equipment based on internet credit
CN108399477A (en) A kind of method and device that risk threshold value determines
CN107025137A (en) A kind of resource query method and device
CN110163742A (en) A kind of account resource data determines method and system
CN107577523A (en) A kind of method and device of tasks carrying
CN107402871A (en) Terminal capabilities monitoring method and device, monitoring document handling method and device
US20230087106A1 (en) Tokenization request handling at a throttled rate in a payment network
CN107943854A (en) Reference service inquiry method, apparatus and computer-readable recording medium
CN107578338A (en) A kind of service publishing method, device and equipment
CN109872239A (en) Mutually protect method for processing business, device, equipment and computer readable storage medium
CN108614866A (en) Internetbank client's Contribution Analysis method, apparatus and system
US11614968B2 (en) Processing future-dated resource reservation requests
CN107026897A (en) A kind of methods, devices and systems of data processing
CA3044826C (en) Processing future-dated resource reservations requests
CN109389289A (en) Temporarily transfer the processing method and processing device of resource
CN106993008A (en) A kind of resource regulating method and device
US11388063B2 (en) Intraday resource management system
CN106899521A (en) Internet resources dispatching method and device, guarantee method and device
CN107392408A (en) The prompt message output intent and device of a kind of credit score
CN113989001A (en) Virtual asset settlement method, device, electronic equipment and storage medium
CN109961363A (en) Account checking method and device
CN110349016A (en) Client's accrediting amount measuring method and system

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
TA01 Transfer of patent application right

Effective date of registration: 20201016

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201016

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20170808

RJ01 Rejection of invention patent application after publication