CN108257005A - Resource allocation methods, device, computer equipment and storage medium - Google Patents

Resource allocation methods, device, computer equipment and storage medium Download PDF

Info

Publication number
CN108257005A
CN108257005A CN201711467136.3A CN201711467136A CN108257005A CN 108257005 A CN108257005 A CN 108257005A CN 201711467136 A CN201711467136 A CN 201711467136A CN 108257005 A CN108257005 A CN 108257005A
Authority
CN
China
Prior art keywords
resource
allocated
resource allocation
current
historical time
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
CN201711467136.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.)
Shenzhen Dingfeng Cattle Technology Co Ltd
Original Assignee
Shenzhen Dingfeng Cattle Technology Co 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 Shenzhen Dingfeng Cattle Technology Co Ltd filed Critical Shenzhen Dingfeng Cattle Technology Co Ltd
Priority to CN201711467136.3A priority Critical patent/CN108257005A/en
Publication of CN108257005A publication Critical patent/CN108257005A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/06Asset management; Financial planning or analysis

Abstract

The present invention provides a kind of resource allocation methods, and this method includes:Resource allocation request is received, obtains changing value of the resource data to be allocated corresponding with resource allocation request in multiple historical time sections;Current resource allocation strategy is obtained, according to corresponding moon resource increases numerical value in each historical time section under the changing value calculating Current resource allocation strategy in each historical time section;Numerical value is increased according to moon resource corresponding in each historical time section and obtains the corresponding total resources earning rate of Current resource allocation strategy;Next resource allocation policy is obtained until obtaining the corresponding total resources earning rate of each default resource allocation policy;Highest total resources earning rate is obtained from the corresponding total resources earning rate of each resource allocation policy;The corresponding resource allocation policy of highest total resources earning rate is back to the corresponding terminal of resource allocation request.In addition, also provide a kind of resource allocation device, a kind of computer equipment and storage medium.

Description

Resource allocation methods, device, computer equipment and storage medium
Technical field
The present invention relates to field of computer technology, more particularly to a kind of resource allocation methods, device, computer equipment and Storage medium.
Background technology
In traditional technology, server according to number index and productivity index by the submodels of resource mining rights into Row resource allocation, distribution accuracy is not high, causes resource utilization low.There is a situation where repeatedly to redistribute, server is continuous It receives resource redistribution request to be redistributed, increases the processing pressure of server.
Invention content
Based on this, it is necessary in view of the above-mentioned problems, providing a kind of reduction resource re-allocation probability so as to improve server money Source utilization rate reduces resource allocation methods, device, computer equipment and the storage medium of server stress.
A kind of resource allocation methods, this method include:
Resource allocation request is received, resource allocation request is identified including resource data to be allocated;
Obtain variation of the resource data to be allocated corresponding with resource data to be allocated mark in multiple historical time sections Value, multiple historical time sections are determined according to multiple and different prefixed time intervals;
Current resource allocation strategy is obtained, Current resource allocation strategy is calculated according to the changing value in each historical time section Under in each historical time section corresponding moon resource increase numerical value;
It is corresponding total that numerical value acquisition Current resource allocation strategy is increased according to moon resource corresponding in each historical time section Resource resources profit rate;
Next resource allocation policy is obtained as Current resource allocation strategy, returns and calculates under Current resource allocation strategy Corresponding moon resource increases the step of numerical value in each historical time section, until it is corresponding to obtain each default resource allocation policy Total resources earning rate;
Highest total resources earning rate is obtained from the corresponding total resources earning rate of each resource allocation policy;
Corresponding target is identified using the corresponding resource allocation policy of highest total resources earning rate as resource data to be allocated Target resource allocation strategy is back to the corresponding terminal of resource allocation request by resource allocation policy.
A kind of resource allocation device, the device include:
Resource allocation request receiving module, for receiving resource allocation request, resource allocation request includes resource to be allocated Data Identification;
Changing value acquisition module, for obtaining resource data to be allocated corresponding with resource data to be allocated mark multiple Changing value in historical time section, multiple historical time sections are determined according to multiple and different prefixed time intervals;
Month resource Growth Rate Calculation module for obtaining Current resource allocation strategy, is calculated under Current resource allocation strategy Corresponding moon resource increases numerical value in each historical time section;
Total resources earning rate acquisition module obtains for increasing numerical value according to moon resource corresponding in each historical time section The corresponding total resources earning rate of Current resource allocation strategy;
Month resource Growth Rate Calculation module is additionally operable to obtain next resource allocation policy as Current resource distribution plan Slightly, it returns and calculates the step of corresponding moon resource increases numerical value in each historical time section under Current resource allocation strategy, until Obtain the corresponding total resources earning rate of each default resource allocation policy;
Module is chosen, for obtaining highest total resources income from the corresponding total resources earning rate of each resource allocation policy Rate;
Sending module, for using the corresponding resource allocation policy of highest total resources earning rate as resource data mark to be allocated Know corresponding target resource allocation strategy, target resource allocation strategy is back to the corresponding terminal of resource allocation request.
A kind of computer equipment can be run on a memory and on a processor including memory, processor and storage Computer program, the processor realize following steps when performing described program:
Resource allocation request is received, resource allocation request is identified including resource data to be allocated;
Obtain variation of the resource data to be allocated corresponding with resource data to be allocated mark in multiple historical time sections Value, multiple historical time sections are determined according to multiple and different prefixed time intervals;
Current resource allocation strategy is obtained, Current resource allocation strategy is calculated according to the changing value in each historical time section Under in each historical time section corresponding moon resource increase numerical value;
It is corresponding total that numerical value acquisition Current resource allocation strategy is increased according to moon resource corresponding in each historical time section Resource resources profit rate;
Next resource allocation policy is obtained as Current resource allocation strategy, returns and calculates under Current resource allocation strategy Corresponding moon resource increases the step of numerical value in each historical time section, until it is corresponding to obtain each default resource allocation policy Total resources earning rate;
Highest total resources earning rate is obtained from the corresponding total resources earning rate of each resource allocation policy;
Corresponding target is identified using the corresponding resource allocation policy of highest total resources earning rate as resource data to be allocated Target resource allocation strategy is back to the corresponding terminal of resource allocation request by resource allocation policy.
A kind of computer readable storage medium, is stored thereon with computer program, which realizes when being executed by processor Following steps:
Resource allocation request is received, resource allocation request is identified including resource data to be allocated;
Obtain variation of the resource data to be allocated corresponding with resource data to be allocated mark in multiple historical time sections Value, multiple historical time sections are determined according to multiple and different prefixed time intervals;
Current resource allocation strategy is obtained, Current resource allocation strategy is calculated according to the changing value in each historical time section Under in each historical time section corresponding moon resource increase numerical value;
It is corresponding total that numerical value acquisition Current resource allocation strategy is increased according to moon resource corresponding in each historical time section Resource resources profit rate;
Next resource allocation policy is obtained as Current resource allocation strategy, returns and calculates under Current resource allocation strategy Corresponding moon resource increases the step of numerical value in each historical time section, until it is corresponding to obtain each default resource allocation policy Total resources earning rate;
Highest total resources earning rate is obtained from the corresponding total resources earning rate of each resource allocation policy;
Corresponding target is identified using the corresponding resource allocation policy of highest total resources earning rate as resource data to be allocated Target resource allocation strategy is back to the corresponding terminal of resource allocation request by resource allocation policy.
Above-mentioned resource allocation methods, device, computer equipment and storage medium send resource allocation request by terminal, Server receives resource allocation request and obtains resource data to be allocated corresponding with resource allocation request in each historical time Under Current resource allocation strategy, Current resource point is calculated according to the changing value in each historical time section for changing value in section Increase numerical value with the moon resource in historical time section each under strategy, further provided according to the moon corresponding in each historical time section Source increases numerical value and obtains the corresponding total resources earning rate of Current resource allocation strategy.Due to resource allocation policy have it is multiple, Need to be calculated the corresponding total resources earning rate of each resource allocation policy, then from the corresponding total money of multiple resource allocation policies Source earning rate chooses the corresponding resource allocation policy of highest resource growth rate as target resource allocation strategy, and by target resource Allocation strategy, which is back to, sends the corresponding terminal of resource allocation request.Therefore, it is possible to reduce resource re-allocation probability so as to improve Server utilization is further reduced server stress.
Description of the drawings
Fig. 1 is the applied environment figure of resource allocation methods in one embodiment;
Fig. 2 is the internal structure schematic diagram of one embodiment Computer equipment;
Fig. 3 is the flow chart of resource allocation methods in one embodiment;
Fig. 4 is to be calculated under Current resource allocation strategy respectively according to the changing value in each historical time section in one embodiment Corresponding moon resource increases the flow chart of numerical value in a historical time section;
Fig. 5 is that providing the moon for current slot is calculated in the resource period in one embodiment according to residing for current slot Source increases the flow chart of numerical value;
Fig. 6 is that it is corresponding to obtain current slot using the first historical time section as current slot in one embodiment The flow chart of changing value;
Fig. 7 is to obtain resource data to be allocated corresponding with resource data to be allocated mark in one embodiment to go through multiple The flow chart of changing value in the history period;
Fig. 8 is to be calculated under Current resource allocation strategy respectively according to the changing value in each historical time section in one embodiment Corresponding moon resource increases the flow chart of numerical value in a historical time section;
Fig. 9 is to increase numerical value according to moon resource corresponding in each historical time section in one embodiment to obtain Current resource The flow chart of the corresponding total resources earning rate of allocation strategy;
Figure 10 is the flow chart of resource allocation methods in another embodiment;
Figure 11 is the schematic diagram of resource allocation methods in one embodiment;
Figure 12 is the structure diagram of resource allocation device in one embodiment.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 shows the applied environment figure of resource allocation methods in one embodiment.With reference to Fig. 1, which should For in the system of resource allocation, which to include terminal 110 and server 120, terminal 110 passes through network and server 120 Connection.Terminal 110 can be but not limited to the various personal computers, laptop, individual that can input various resource functions Digital assistants, smart mobile phone, tablet computer, portable wearable device etc..Server 120 can realize simple function Server or the server for realizing multiple functions, can be specifically independent physical servers or physics takes Business device cluster.
Terminal 110 can send resource allocation request, and the resource allocation request is sent by relevant application program To server 120, server 120 obtains resource to be allocated corresponding with the resource data to be allocated mark in resource allocation request Data obtain changing value of the resource data to be allocated corresponding with resource data to be allocated mark in multiple historical time sections, Current resource allocation strategy is obtained, each under Current resource allocation strategy go through is calculated according to the changing value in each historical time section Corresponding moon resource increases numerical value in the history period;Increase numerical value according to moon resource corresponding in each historical time section to be worked as The corresponding total resources earning rate of preceding resource allocation policy;Next resource allocation policy is obtained as Current resource allocation strategy, It returns and calculates the step of corresponding moon resource increases numerical value in each historical time section under Current resource allocation strategy, until obtaining The corresponding total resources earning rate of each default resource allocation policy;It is obtained from the corresponding total resources earning rate of each resource allocation policy Take highest total resources earning rate;The corresponding resource allocation policy of highest total resources earning rate is identified as resource data to be allocated Target resource allocation strategy is back to the corresponding terminal 110 of resource allocation request by corresponding target resource allocation strategy.
Fig. 2 is the internal structure schematic diagram of one embodiment Computer equipment.The computer equipment can be in Fig. 1 Server 120.As described in Figure 2, the server include the processor connected by bus, memory, network interface, display screen and Input unit.Wherein, which supports the operation of entire server for providing calculating and control ability.Memory includes Non-volatile memory medium and built-in storage, the non-volatile memory medium of the server are stored with operating system and a kind of resource The computer program of distributor when the computer program of the resource allocation device is executed by processor, is used to implement a kind of money Source distribution method.Built-in storage in the server is provided for the operation of the resource allocation device in non-volatile memory medium Environment, the network interface of the server with terminal by network for being communicated, for example, receiving the resource allocation that terminal is sent Request, the target resource allocation strategy that server will eventually determine are sent to terminal and are shown, which can be aobvious The touch layer or external keyboard that is covered in display screen, Trackpad or mouse etc., the display screen is for showing application interface Can be liquid crystal display or electric ink display screen Deng, the server, touch layer forms touch screen with display screen.This field Technical staff is appreciated that structure shown in Figure 2, only with the block diagram of the relevant part-structure of application scheme, not The restriction of server being applied thereon to application scheme is formed, specific server can include more than shown in figure Or less component either combines certain components or is arranged with different components.
As shown in figure 3, in one embodiment, provide a kind of resource allocation methods, this method to be applied to such as Fig. 1 and It is illustrated in server in Fig. 2.Including:
Step 302, resource allocation request is received, resource allocation request is identified including resource data to be allocated.
Here it can be economic resources that resource, which is, including but not limited to the moneys such as stock, bond, staple commodities and currency Source.Can be by the relevant application triggers resource allocation request of terminal, and the resource allocation request is sent to server, Wherein resource allocation request include be used for identify resource data to be allocated, wherein resource data to be allocated mark can identify it is multiple Resource data to be allocated.
Step 304, resource data to be allocated corresponding with resource data to be allocated mark is obtained in multiple historical time sections Interior changing value, multiple historical time section are determined according to multiple and different prefixed time intervals.
Wherein, resource data to be allocated includes but not limited to the corresponding resource data of monetary indes, productivity index corresponds to Resource data, the corresponding resource data of comprehensive confidence index.Specifically, server is in the resource allocation for receiving terminal transmission After request, the resource data to be allocated mark in resource allocation request obtains corresponding more with resource data to be allocated mark A resource data to be allocated.Further, multiple historical time sections can be determined according to multiple and different prefixed time intervals, each Changing value of each resource data to be allocated in multiple historical time sections is obtained in a historical time section.Wherein, changing value is Reflect variation degree of each resource data to be allocated in each historical time section, including but not limited to resource data is year-on-year Numerical value, the year-on-year change rate of resource data and the average value of resource data.
Step 306, Current resource allocation strategy is obtained, Current resource is calculated according to the changing value in each historical time section Corresponding moon resource increases numerical value in each historical time section under allocation strategy.
Here resource allocation policy is formed by the changing value of the resource dimension where each resource data to be allocated The quantity of resource period and resource data to be allocated carry out what permutation and combination obtained.Wherein, resource dimension include monetary indes, Productivity index and comprehensive confidence index.Such as three macroscopic view warps from monetary indes, productivity index and Index of composite information The changing value of Ji dimension is divided into 8 resource periods.4 kinds of resources are stock, staple commodities, bond and currency, in order to ensure 8 In the case of 2 kinds of resources can be distributed in a resource period, therefore 8 resource periods carry out permutation and combination with 8 resources and obtain The sum arrived is the quantity of resource allocation policy.Since multiple and different prefixed time intervals can determine multiple historical times Section, therefore obtain the changing value in each historical time section.Specifically, under a kind of time interval, Current resource distribution is obtained It is corresponding to calculate each historical time section under Current resource allocation strategy further according to the changing value in each historical time section for strategy Moon resource growth numerical value.Wherein, the moon, resource increasing value was each resource each historical time section under Current resource allocation strategy Corresponding total revenue numerical value.
Step 308, numerical value is increased according to moon resource corresponding in each historical time section and obtains Current resource allocation strategy Corresponding total resources earning rate.
Specifically, the corresponding total resources earning rate of so-called Current resource allocation strategy is each resource in current allocation strategy Under the moon resource that adds up in all months in each historical time section increase numerical value, increased according to the moon resource in each historical time section Long data can obtain corresponding total resources earning rate under current allocation strategy.Wherein, resource allocation policy is included in resource period There are multiple resource allocation policies in the resource specifically distributed down, wherein resource allocation policy.Getting each historical time section After interior corresponding moon resource increases numerical value, can numerical value be increased according to the moon resource of the corresponding resource of Current resource allocation strategy and obtained Obtain the corresponding total resources earning rate of current resource allocation policy.Wherein, total resources earning rate is reflected in Current resource allocation strategy Under each resource income variation tendency.
Step 310, next resource allocation policy is obtained as Current resource allocation strategy, is returned and is calculated Current resource point The step of increasing numerical value with moon resource corresponding in historical time section each under strategy, until obtaining each default resource allocation plan Slightly corresponding total resources earning rate.
Since resource allocation policy is the changing value shape beforehand through the resource dimension where each resource data to be allocated Into the quantity of resource period and resource data to be allocated carry out what permutation and combination obtained, therefore there are multiple resource allocation plans Slightly.Specifically, after the corresponding total resources earning rate of Current resource strategy is obtained, it is also necessary to obtain next resource allocation plan Slightly, it using next resource allocation policy as current distribution resource data, returns and calculates each under Current resource allocation strategy go through Corresponding moon resource increases the step of numerical value in the history period, increases that numerical computations are each to be gone through further according to the moon resource being calculated The total resources earning rate in all months in the history period.After all default resource allocation policies are all recycled, calculate Until obtaining the corresponding total resources earning rate of each resource allocation policy.
Step 312, highest total resources earning rate is obtained from the corresponding total resources earning rate of each resource allocation policy.
Step 314, using the corresponding resource allocation policy of highest total resources earning rate as resource data to be allocated mark pair Target resource allocation strategy is back to the corresponding terminal of resource allocation request by the target resource allocation strategy answered.
Specifically, it after the corresponding total resources earning rate of each resource allocation policy is calculated, needs in multiple resources The corresponding resource allocation policy of highest total resources earning rate is chosen in the corresponding total resources earning rate of allocation strategy as to be allocated Resource data identifies corresponding target resource allocation strategy, and it is corresponding that target resource allocation strategy is sent to resource allocation request Terminal.Wherein, target resource allocation strategy, which includes a certain resource of a certain resource period distribution, can obtain highest total resources receipts The allocation strategy information of beneficial rate.
In the present embodiment, resource allocation request is sent by terminal, server receives resource allocation request and obtains and provide Changing value of the distribution request corresponding resource data to be allocated in source in each historical time section, in Current resource allocation strategy Under, the moon resource under Current resource allocation strategy in each historical time section is calculated according to the changing value in each historical time section Increase numerical value, further increasing numerical value according to moon resource corresponding in each historical time section obtains Current resource allocation strategy pair The total resources earning rate answered.Due to resource allocation policy have it is multiple, it is therefore desirable to each resource allocation policy is calculated and corresponds to Total resources earning rate, then from the corresponding total resources earning rate of multiple resource allocation policies to choose highest resource growth rate corresponding Target resource allocation strategy is back to as target resource allocation strategy and sends resource allocation request pair by resource allocation policy The terminal answered.Therefore, it is possible to reduce resource re-allocation probability so as to improve server utilization, it is further reduced server pressure Power.
In one embodiment, as shown in figure 4, calculating Current resource distribution according to the changing value in each historical time section Corresponding moon resource increases numerical value in each historical time section under strategy, including:
Step 402, it is calculated under Current resource allocation strategy according to the changing value in each historical time section corresponding Changing value mean value.
Wherein, changing value mean value refers to that all changes value in each historical period is carried out according to the quantity of historical time section What average calculating operation obtained.Specifically, all changes in corresponding each historical time section under Current resource allocation strategy are obtained After the total value of change value, the total value of the changing value in multiple historical time sections is subjected to average calculating operation according to the quantity of historical time section Obtain each historical time section corresponding changing value mean value under Current resource allocation strategy.
Step 404, using the first historical time section as current slot, the corresponding changing value of current slot, root are obtained The resource period residing for current slot is calculated according to changing value mean value changing value corresponding with current slot.
It specifically, need to be by due to that can determine multiple historical time sections by multiple and different prefixed time intervals One historical time section obtains multiple resource datas to be allocated in the corresponding changing value of current slot as current slot, and By the mean value of changing value of multiple resource datas to be allocated in the corresponding changing value of current slot and multiple historical time sections It is compared, the resource period residing for current slot is calculated.That is, it can be judged according to different changing values current Period, i.e. changing value was the foundation for judging resource period specifically in which resource period.Wherein resource period is included but not It is limited to restore early stage, overheat late period, stagflation late period, decline early stage, the late period of recovery, stagflation early stage, overheat late period and decline evening Phase, the corresponding changing value of multiple resource data current slots to be allocated such as got are more than the change in multiple historical time sections During the mean value of change value, then it is believed that the resource data income of current slot is to increase, conversely, then it is believed that current slot Resource data income slow down.Such as include but not limited to, the corresponding change of the multiple resource datas to be allocated of current slot Change value all slows down, then can calculate the resource period residing for current slot to restore early stage;Current slot is multiple to be treated point All it is to increase with the corresponding changing value of resource data, then it is overheat late period that can calculate the resource period residing for current slot.
Step 406, the moon resource increased numbers of current slot are calculated in the resource period according to residing for current slot Value.
Specifically, it is each resource in the corresponding total revenue numerical value of current slot that so-called moon resource, which increases numerical value, due to Each resource period has corresponding default resource, therefore can obtain corresponding money according to the resource period residing for current slot Source.Further, the corresponding Resource Calculation of resource period according to residing for the current slot got obtains current slot Each resource the moon resource increase numerical value.It is corresponding to restore early stage to restore early stage for resource period as residing for current slot Resource for stock, therefore the moon resource of current slot increase numerical value can be according to stock price data daily in current slot Calculate the earning rate on the same day, obtain initial resource numerical value of the stock in current slot, calculated further according to daily earning rate and The moon resource that stock initial resource numerical value obtains current slot increases numerical value.
Step 408, it using next historical time section as current slot, returns and obtains the corresponding variation of current slot The step of value, until corresponding moon resource increased numbers in each historical time section are calculated under Current resource allocation strategy Value.
Specifically, due to determining multiple historical time sections according to multiple and different prefixed time intervals, each go through need to be obtained The moon resource of history period corresponding resource increases numerical value, is corresponded to until that can obtain each resource in all historical time sections The moon resource increase numerical value until.Therefore it is current that acquisition need to be returned to using next historical time section as current slot The step of period corresponding changing value, obtains the corresponding moon resource of current slot by calculating and increases numerical value, until final Until the corresponding moon resource growth numerical value of each resource in all historical time sections can be obtained.
In one embodiment, as shown in figure 5, current time is calculated in the resource period according to residing for current slot The moon resource of section increases numerical value, including:
Step 502, the corresponding each resource of resource period according to residing for default resource allocation than acquisition current slot Resource numerical value, wherein default resource allocation ratio includes first resource distribution ratio and Secondary resource distribution ratio and first resource distributes Than being more than Secondary resource distribution ratio.
Specifically, it since the resource period residing for current slot is corresponding with multiple resources, needs according to default resource Distribution ratio obtains the corresponding resource of resource period residing for current slot.Since default resource allocation score is first resource point Proportioning and Secondary resource distribution ratio, wherein first resource distribution ratio are more than Secondary resource distribution ratio and Secondary resource distribution ratio includes Multiple child resource distribution ratios, plurality of sub- distribution ratio carry out average mark according to the quantity of the corresponding resource of Secondary resource distribution ratio Match, therefore obtain the total value of the corresponding resource of resource period residing for current slot.Further, first resource point can be passed through Match the corresponding number of resources of each resource corresponding with the resource period residing for Secondary resource distribution ratio acquisition current slot Value.For example, first resource distribution ratio is 60%, Secondary resource distribution ratio is 40%, wherein the corresponding resource of the second distribution ratio is 3 Kind, therefore the distribution ratio of the corresponding resource of the second distribution ratio is all 13.33%.Resource period pair residing for known current slot The total value of each resource answered is 100, then it is 60 that the corresponding resource data of first resource distribution ratio, which is resource numerical value, the second money Distribution ratio corresponding resource in source is that resource numerical value is all 13.33 respectively.
Step 504, each resource is calculated in the corresponding moon resource growth rate of current slot.
Step 506, the corresponding moon resource growth rate of current slot with the resource numerical value of each resource is multiplied, obtained Moon resource to current slot increases numerical value.
Wherein, the moon, resource growth rate was to reflect the situation of change that each resource increases in the income of current slot.Specifically Ground, after the resource numerical value for obtaining the corresponding each resource of resource period residing for current slot, according to current slot institute The initial resource numerical value of the corresponding each resource of resource period at place is corresponding with the resource period residing for acquisition current slot The ratio calculation of the resource numerical value of each resource obtains each resource in the corresponding moon resource growth rate of current slot.Further Ground is obtaining each resource after the corresponding moon resource growth rate of current slot, the corresponding moon resource of current slot is being increased Long rate is multiplied with obtaining each resource in the resource numerical value of current slot, obtains the moon resource increased numbers of current slot Value.For example, first resource distribution ratio is 60%, Secondary resource distribution ratio is 40%, the corresponding resource data of the second distribution ratio Quantity is 3 kinds, therefore the child resource distribution ratio of the corresponding resource data of the second distribution ratio is 13.33%.Known current slot The total value of the corresponding resource data of residing resource period is 100, and the corresponding resource data of first resource distribution ratio is current The moon resource growth rate of period is 10%, and the corresponding resource data of Secondary resource distribution ratio increases in the moon resource of current slot Long rate is respectively 50%, 20%, -20%, therefore the moon resource of the corresponding each resource of current slot increases numerical value such as formula 1 It is shown:
In one embodiment, as shown in fig. 6, using the first historical time section as current slot, current time is obtained The corresponding changing value of section, including:
Step 602, the corresponding current preset time interval of current slot is obtained, is obtained according to current preset time interval The variation increasing value of a upper historical time section for current slot.
Step 604, the variation increasing value of current slot is obtained.
Specifically, due to that can determine multiple historical time sections according to multiple and different prefixed time intervals, then each history Can all there be prefixed time interval between period, therefore the corresponding current preset time interval of current slot need to be obtained, according to Current preset time interval obtains the variation increasing value of a upper historical time section for current slot.Further, it obtains current Period is corresponding to increase by change rate on a year-on-year basis.Wherein, variation increasing value can reflect each resource data in historical time section Changing value variation degree, variation increasing value include but not limited to increase by change rate, year-on-year nominal growth rate on a year-on-year basis.
Step 606, the ratio of the variation increasing value of current slot and the variation increasing value of a upper historical time section is calculated Value, the corresponding changing value of current slot is obtained according to ratio calculation.
Specifically, the variation increasing value of current slot and a upper historical time section for current slot are being got Variation increasing value after, according to the ratio of the variation increasing value of variation increasing value and the upper historical time section of current slot Value, further obtains the corresponding changing value of current slot according to ratio calculation.Such as:Setting time gap length is 2 months, September, as the corresponding upper historical time section of current slot, it is same to get September resource data as current slot, July Than increasing by 10%, increase by 11% July on a year-on-year basis, then the corresponding resource data changing value of current slot, which is calculated, is:0.1/ 0.11-1=-0.0909.
In one embodiment, as shown in fig. 7, obtaining resource data to be allocated corresponding with resource data to be allocated mark Changing value in multiple historical time sections, multiple historical time sections determine according to multiple and different prefixed time intervals, including:
Step 702, the first resource data to be allocated corresponding with resource data to be allocated mark, the second money to be allocated are obtained Source data and third resource data to be allocated.
As it appears from the above, resource data mark to be allocated can identify multiple resource datas to be allocated, wherein resource to be allocated Data include but not limited to the corresponding resource data of monetary indes, the corresponding resource data of productivity index, comprehensive confidence index Corresponding resource data, therefore obtain the first resource data to be allocated corresponding with monetary indes, productivity index corresponding the Two resource datas to be allocated third resource data to be allocated corresponding with comprehensive confidence index.Such as:Productivity index is used for describing The production capacity of society can use gross national product (GDP) etc. similar to data as resource data to be allocated;Currency volume index It, can be by the use of the similar data such as Consumer Prices index (CPI) as resource data to be allocated for describing market inflation situation; Comprehensive confidence index is used for describing the common people to economical confidence or Economic Climate degree, can use the index of consumer confidence (CCI) Deng similar data as resource data to be allocated.
Step 704, the first resource data to be allocated of calculating, the second resource data to be allocated and third resource data to be allocated Changing value in multiple historical time sections, multiple historical times are determined according to the time interval of preset quantity.
Specifically, it due to that can determine multiple historical time sections according to multiple and different prefixed time intervals, is obtaining It is to be allocated to the corresponding with resource data to be allocated mark first resource data to be allocated, the second resource data to be allocated and third It after resource data, then needs to calculate under each time interval, the first resource data to be allocated in each historical time section, the The corresponding multigroup changing value of each time interval of two resource datas to be allocated and third resource data to be allocated.Wherein, change Value is the first resource data to be allocated of reflection, the second resource data to be allocated and third resource data to be allocated in a kind of history Between resource data in section variation degree.Wherein changing value includes but not limited to year-on-year numerical value, the resource data of resource data Year-on-year change rate and resource data average value.Such as:N kind changing value time intervals are set, calculates under each time interval, goes through The first resource data to be allocated, the second resource data to be allocated and the third resource data to be allocated of every month in the history period Changing value, the changing value in the final N group historical time sections obtained in historical time section.
In one embodiment, as shown in figure 8, calculating Current resource distribution according to the changing value in each historical time section Corresponding moon resource increases numerical value in each historical time section under strategy, including:
Step 802, according to the first resource data to be allocated, the second resource data to be allocated and third resource data to be allocated The first resource data to be allocated, the second resource data to be allocated and third resource data to be allocated is calculated in Current resource Changing value mean value under allocation strategy in each historical time section.
As described above, changing value mean value refers to that the changing value in each historical period is carried out according to the quantity of historical time section What average calculating operation obtained.Specifically, under a kind of time interval and under a kind of resource allocation policy, the first resource to be allocated is obtained The total value of the changing value of data, the second resource data to be allocated and third resource data to be allocated in each historical time section, The total value of changing value in multiple historical time sections is subjected to average calculating operation according to the historical time segment number in historical time section The first resource data to be allocated, the second resource data to be allocated and third resource data to be allocated are obtained in each historical time section Interior changing value mean value.
Step 804, by the get first resource data to be allocated, the second resource data to be allocated and third money to be allocated Period where source data as current slot, obtain the first resource data to be allocated, the second resource data to be allocated and Third resource data to be allocated is in the changing value of current slot.
Step 806, the first resource to be allocated is calculated according to changing value mean value changing value corresponding with current slot Resource period residing for data, the second resource data to be allocated and third resource data to be allocated.
Specifically, it due to that can determine multiple historical time sections by multiple and different prefixed time intervals, need to will obtain Period where the first resource data to be allocated, the second resource data to be allocated and the third resource data to be allocated got is made For current slot, the first resource data to be allocated of acquisition, the second resource data to be allocated and third resource data to be allocated exist The changing value of current slot.Further, by the get first resource data to be allocated, the second resource data to be allocated and Changing value mean value of the third resource data to be allocated in multiple historical time sections and the first resource data to be allocated, second are treated point It is compared with resource data and third resource data to be allocated in the changing value of current slot, it is to be allocated to be calculated first Resource period residing for resource data, the second resource data to be allocated and third resource data to be allocated.
Step 808, according to the first resource data to be allocated, the second resource data to be allocated and third resource data to be allocated The first resource data to be allocated, the second resource data to be allocated and third number of resources to be allocated is calculated in residing resource period Increase numerical value according to the moon resource of residing period.
Step 810, using next historical time section as current slot, the first number of resources to be allocated acquired in return According to, the second resource data to be allocated and third resource data to be allocated the changing value of current slot the step of, until calculating It obtains the first resource data to be allocated, the second resource data to be allocated and third resource data to be allocated and distributes plan in Current resource Corresponding moon resource increases numerical value in each historical time section under slightly.
As described above, wherein the moon resource increase numerical value be the first resource data to be allocated, the second resource data to be allocated and Third resource data to be allocated is in the period corresponding income numerical value being presently in.Since the first number of resources to be allocated can be obtained It is provided according to the resource numerical value and the moon of, the second resource data to be allocated and third resource data to be allocated in the period being presently in Source growth rate, therefore can be according to the first resource data to be allocated, the second resource data to be allocated and third resource data to be allocated It is multiplied with moon resource growth rate to obtain the first resource data to be allocated, second to be allocated in the resource data for the time being presently in The moon resource of period residing for resource data and third resource data to be allocated increases numerical value.Further, it is multiple due to having Historical time section need to calculate and acquire the corresponding moon resource of each historical time section under Current resource allocation strategy and increase numerical value, Specifically, it using next historical time section as current slot, returns and obtains the first resource data to be allocated, second to be allocated Resource data and third resource data to be allocated are the changing value of current slot the step of, until by the first number of resources to be allocated According to, the second resource data to be allocated and third resource data to be allocated corresponding moon resource increased numbers in each historical time section Until value.
In one embodiment, it is obtained as shown in figure 9, increasing numerical value according to moon resource corresponding in each historical time section The corresponding total resources earning rate of Current resource allocation strategy, including:
Step 902, the initial resource numerical value of the corresponding resource of Current resource allocation strategy is obtained.
Step 904, the moon resource for obtaining corresponding resource in each historical time section increases the total resources increased numbers of numerical value Value.
Step 906, total resources are increased into the ratio of corresponding with the current allocation strategy initial resource numerical value of numerical value as ought The corresponding total resources earning rate of preceding resource allocation policy.
Specifically, it since resource allocation policy is included in the specific resource of corresponding distribution under resource period, obtains The corresponding resource of Current resource allocation strategy corresponding initial resource numerical value under resource period.Further, each go through is obtained Corresponding moon resource increases the total resources growth numerical value of numerical value in the history period, and the total resources in each historical time section are increased The ratio of the initial resource numerical value of long numerical value resource corresponding with the current allocation strategy got is as current allocation strategy pair The total resources earning rate in all months in each historical time section answered.
Figure 10 shows the flow chart of resource allocation methods in one embodiment, and this method is as in Figure 1 and Figure 2 to be applied to It is illustrated in server.Including:
Step 1002, resource allocation request is received, which identifies including resource data to be allocated.
As described above, resource here is can be economic resources, including but not limited to stock, bond, staple commodities with And currency.Can be by the relevant application triggers resource allocation request of terminal, and the resource allocation request is sent to clothes Business device, wherein resource allocation request include being used for identifying resource data to be allocated, wherein resource data to be allocated mark can be marked Know multiple resource datas to be allocated.
Step 1004, the first resource data to be allocated corresponding with resource data to be allocated mark, second to be allocated is obtained Resource data and third resource data to be allocated.
As shown in figure 11, Figure 11 shows the schematic diagram of resource allocation methods in one embodiment.Server is receiving end After holding the resource allocation request sent, the resource data to be allocated mark in resource allocation request obtains and resource to be allocated The corresponding first resource data CCI to be allocated of Data Identification, the second resource data CPI to be allocated and third resource data to be allocated GDP.Wherein, productivity index be used for describe society production capacity, can use gross national product GDP etc. similar to data as Third resource data to be allocated;Currency volume index is used for describing market inflation situation, can use Consumer Prices index CPI etc. Similar data are as the second resource data to be allocated;Comprehensive confidence index is used for describing the common people to economical confidence or Economic Climate Degree, can be by the use of the similar data such as index of consumer confidence (CCI) as the first resource data to be allocated.
Step 1006, it is the get first resource data to be allocated, the second resource data to be allocated and third is to be allocated Period where resource data as current slot, obtains the corresponding current preset time interval of current slot, according to Current preset time interval obtains the variation increasing value of a upper historical time section for current slot.
Step 1008, the variation increasing value of current slot is obtained.
As shown in figure 11, CCI/CPI/GDP is calculated in the year-on-year change rate of N kind time intervals.Wherein year-on-year change rate is becomes The one of which of change value.Specifically, due to that can determine multiple historical time sections according to multiple and different prefixed time intervals, then often There is prefixed time interval between a historical time section, therefore by the historical time section where the CCI got, CPI and GDP As current slot, current preset time interval corresponding with current slot is obtained, is obtained according to current preset time interval Take a upper historical time section for current slot increases by change rate on a year-on-year basis, wherein it is variation increasing value to increase by change rate on a year-on-year basis One of which.Such as:Setting time gap length be 2 months, get September GDP, CPI, GDP it is year-on-year it is each increase by 10%, 7 The year-on-year of month GDP, CPI, GDP each increases by 11%.
Step 1010, calculate current slot increase by change rate and a upper historical time section on a year-on-year basis increase by change on a year-on-year basis The ratio of rate obtains the corresponding changing value of current slot according to ratio calculation.
Specifically, get current slot increase by a year-on-year basis change rate and it is corresponding with current slot on one Historical time section increase by change rate on a year-on-year basis after, change rate and a upper historical time section are increased by a year-on-year basis according to current slot The ratio for increasing by change rate on a year-on-year basis, the corresponding year-on-year change rate of current slot is obtained according to ratio calculation.Such as:Setting time Gap length be 2 months, get September GDP, CPI, GDP it is year-on-year it is each increase by 10%, July GDP, CPI, GDP year-on-year each increasing Long 11%, then under a kind of time interval, the corresponding year-on-year change rate of current slot residing for GDP, CPI, GDP is:0.1/ 0.11-1=-0.0909.
Step 1012, the first resource data to be allocated of calculating, the second resource data to be allocated and third number of resources to be allocated According to the changing value in each historical time section, multiple historical time section is determined according to the time interval of preset quantity.
As described in Figure 11, obtain current slot with after resource data to be allocated mark corresponding CCI, CPI and GDP, Due to that can determine multiple historical time sections according to N kind time intervals, CCI, CPI and GDP need to be calculated in each historical time Year-on-year change rate in section, until year-on-year change rate all cycle calculations of CCI, CPI and GDP of all historical time sections are complete Finish, i.e., in corresponding diagram 11, obtain the year-on-year change rate of N group history, if the year-on-year change rate of N group history, which all recycles, finishes two steps Suddenly.
Step 1014, Current resource allocation strategy is obtained, according to the first resource data to be allocated, the second number of resources to be allocated It is treated point according to the first resource data to be allocated, the second resource data to be allocated and third is calculated with third resource data to be allocated Changing value mean value with resource data in multiple historical time sections.
As described in Figure 11, since there are multiple resource allocation policies, all resource allocation policies need to all be recycled and finished.Cause This obtains one of which resource allocation policy, according to CCI, CPI in one group of historical time section from multiple resource allocation policies CCI, CPI and GDP is calculated in one group of historical time section and under a kind of resource allocation policy with GDP, calculates each history Period corresponding changing value mean value.Such as:One of historical time section is in January, 2001 in January, 2010, then due to needing M is set as 5 months, then in June, 2001 according to the resource period residing for preceding M months change rate mean value computation this month on year-on-year basis Mean value be calculated by the year-on-year interconversion rate in May, -2001 in January, 2001, similarly, the mean value in July, 2001 is by 2001 The year-on-year interconversion rate in 2 months in June, -2001 of year is calculated.
Step 1016, the first resource to be allocated is calculated according to changing value mean value changing value corresponding with current slot Resource period residing for data, the second resource data to be allocated and third resource data to be allocated.
As shown in figure 11, the same of mean value in the corresponding historical time section of current slot and current slot is being got After change rate, it is compared, is calculated with year-on-year change rate mean value according to the corresponding year-on-year change rate of current slot Resource period residing for CCI, CPI and GDP.Such as:The corresponding year-on-year change rate of current slot CCI, CPI and GDP all slows down , then the resource period residing for current slot can be calculated to restore early stage;The first resource data to be allocated of current slot, Two resource datas to be allocated and the corresponding year-on-year change rate of third resource data to be allocated are all to increase, then when can calculate current Between resource period residing for section be overheat late period.It is specific to judge as shown in table 1:
Table 1
Step 1018, it treats point according to default resource allocation is more corresponding by first than the resource period residing for obtaining current slot Resource numerical value with resource data, the second resource data to be allocated and third resource data to be allocated, wherein default resource allocation It is more than Secondary resource distribution ratio than including first resource distribution ratio and Secondary resource distribution ratio and first resource distribution ratio.
As shown in figure 11, the super proportioning of setting and low proportioning, wherein super proportioning refers to first resource distribution ratio, low proportioning refers to Secondary resource distribution ratio.Due to can be according to where CCI, CPI and GDP judge CCI, CPI and GDP current slot residing for money The source period obtains the corresponding resource of super proportioning and the corresponding resource of low proportioning further according to the resource period residing for current slot, Wherein low proportioning again including multiple child resource distribution ratios, child resource distribution ratio according to the quantity of the corresponding resource data of low proportioning into Row mean allocation.For example, CCI, CPI and GDP judge that the resource period residing for current slot is in recovery early stage, according to residing The corresponding resource allocation policy of resource period for stock, therefore according to the corresponding resource data of super proportioning be stock, low proportioning Corresponding resource data is staple commodities, bond, currency, and current slot stock, large is obtained according to super proportioning and low proportioning The corresponding resource numerical value of commodity, bond, currency.Such as:Super proportioning is 60%, and proportioning is 40%, wherein the corresponding money of low proportioning The quantity of source data is 3 kinds, therefore the distribution ratio of the corresponding resource data of low proportioning is 13.33%.Known current slot institute The total value of the corresponding resource data of resource period at place is 100, then it is 60 that the corresponding resource data of super proportioning, which is resource numerical value, The corresponding resource data of low proportioning is respectively 13.33 for resource numerical value.
Step 1020, the first resource data to be allocated of calculating, the second resource data to be allocated and third number of resources to be allocated According in the corresponding moon resource growth rate of current slot.
Step 1022, the corresponding moon resource growth rate of current slot and the first resource data to be allocated, second are treated point It is multiplied with resource data with the resource numerical value of third resource data to be allocated, obtains the moon resource increased numbers of current slot Value.
As shown in figure 11, it under the year-on-year change rate in one group of historical time section and corresponding resource allocation policy, obtains To after the resource numerical value of CCI, CPI and GDP, the first resource data to be allocated of calculating, the second resource data to be allocated and third are treated Resource data is distributed in the corresponding moon resource growth rate of current slot.Further, it is provided according to the current slot corresponding moon Source growth rate and the resource numerical value of the first resource data to be allocated, the second resource data to be allocated and third resource data to be allocated It is multiplied, the moon resource for obtaining CCI, GDP and CPI in current slot increases numerical value.That is, in as shown in figure 11 According to being presently in calculating monthly benefits under resource period and corresponding resource allocation policy.Such as:100 yuan of investments, surpass with 60 Yuan stock is bought, stock yield 10%, 13.333 buy commodity, and merchandise income rate 50%, 13.333 buy bond, earning rate 20%, 13.333 buy currency, and -20% total revenue of earning rate is:
60*10%+13.33*50%+13.333*20%+13.333* (- 20%)/100
=0.6*10%+0.1333*50%+0.13333*20%+0.1333* (- 20%)
Step 1024, it using next historical time section as current slot, returns and obtains the corresponding change of current slot The step 1012 of change value, until corresponding moon resource increased numbers in each historical time section are calculated under current allocation strategy Value.
As shown in figure 11, detect whether that all months (since M months) all cycles in historical time section finish, if It is then to need using next historical time section as current slot, return obtains the corresponding year-on-year change rate of current slot, It is finished until being calculated all to recycle the corresponding year-on-year change rate of each historical time section.That is, between one group of time Every the year-on-year change rate of history under, and all super under assets scheme in one group of economic cycle, all moons in historical time section Part all cycles finish to obtain the year-on-year change rate of history under such time interval, the history of such economic cycle Asset Allocation scheme After overall yield in period, the year-on-year change rate of history under another time interval is started the cycle over, and be still this warp Overall yield in the historical time section for period Asset Allocation scheme of helping.
Step 1026, numerical value is increased according to moon resource corresponding in each historical time section and obtains Current resource allocation strategy Corresponding total resources earning rate.
As described in Figure 11, after all months in all historical time sections are recycled, according in historical time section Year-on-year change rate mean value computation obtain all months in historical time section moon resource increase numerical value after, according to every month Increase numerical value the moon and obtain the corresponding total resources earning rate of Current resource allocation strategy, that is, obtain total historical yield in historical time Rate.
Step 1028, next resource allocation policy is obtained as Current resource allocation strategy, is returned and is calculated Current resource Corresponding moon resource increases the step 1022 of numerical value in each historical time section under allocation strategy, until obtaining each default resource The corresponding total resources earning rate of allocation strategy.
As described in Figure 11, detect whether that all super all recycled with assets scheme finish in economic cycle, if it is not, then with working as Preceding resource is matched under tactful same group of time interval, needs to obtain next resource allocation policy, that is, obtains next super match Assets scheme returns to the corresponding moon resource calculated under Current resource allocation strategy in each historical time section and increases numerical value The step of, until obtaining all default resource allocation policies corresponding total resources earning rate.It is wherein super to be with assets scheme Resource allocation policy.That is, after Current resource allocation strategy is obtained, in the time interval of the same race with current allocation strategy The year-on-year change rate of history under, obtain next resource allocation policy, further, obtain historical time section in total revenue Rate.And so on, until the time interval of the same race obtains the overall yield in the historical time section under all resource allocation policies Afterwards, then using the year-on-year change rate of the history of next time interval as the same ratio of the history of current time interval, current money is obtained The overall yield in historical time section under the allocation strategy of source.Until the year-on-year change rate of N group time interval history is all recycled and is finished, All resource allocation policies, which all recycle, to be finished, and obtains each default resource allocation under each year-on-year change rate of time interval history The corresponding total resources earning rate of strategy.
Step 1030, highest total resources earning rate is obtained from the corresponding total resources earning rate of each resource allocation policy.
Step 1032, using the corresponding resource allocation policy of highest total resources earning rate as resource data to be allocated mark pair Target resource allocation strategy is back to the corresponding terminal of resource allocation request by the target resource allocation strategy answered.
Specifically, it after the corresponding total resources earning rate of each resource allocation policy is calculated, needs in multiple resources The corresponding resource allocation policy of highest total resources earning rate is chosen in the corresponding total resources earning rate of allocation strategy as to be allocated Resource data identifies corresponding target resource allocation strategy, and it is corresponding that target resource allocation strategy is sent to resource allocation request Terminal.Wherein, target resource allocation strategy, which includes a certain resource of a certain resource period distribution, can obtain highest total resources receipts The allocation strategy information of beneficial rate.I.e. target resource allocation strategy refers to Optimum Economic scheme.
In the present embodiment, pass through the year-on-year change rate of history under a variety of time intervals, all resources under resource period point It is recycled three times with all months in strategy and each historical time section and obtains target resource allocation strategy, wherein target resource point The allocation strategy information of highest total resources earning rate can be obtained by distributing a certain resource including a certain resource period with strategy.Clothes Target resource allocation strategy is sent to terminal by business device, so as to improve the accuracy of prediction and reduce resource re-allocation probability.
As shown in figure 12, in one embodiment, a kind of resource allocation device 1100 is provided, which includes:
Resource allocation request receiving module 1102, for receiving resource allocation request, resource allocation request includes to be allocated Resource data identifies;
Changing value acquisition module 1104 exists for obtaining resource data to be allocated corresponding with resource data to be allocated mark Changing value in multiple historical time sections, multiple historical time sections are determined according to multiple and different prefixed time intervals;
Month resource Growth Rate Calculation module 1106 for obtaining Current resource allocation strategy, calculates Current resource distribution plan Corresponding moon resource increases numerical value in each historical time section under slightly;
Total resources earning rate acquisition module 1108, for increasing numerical value according to moon resource corresponding in each historical time section Obtain the corresponding total resources earning rate of Current resource allocation strategy;
Month resource Growth Rate Calculation module 1106 is additionally operable to obtain next resource allocation policy as Current resource distribution Strategy returns and calculates the step of corresponding moon resource increases numerical value in each historical time section under Current resource allocation strategy, directly To obtaining the corresponding total resources earning rate of each default resource allocation policy;
Module 1110 is chosen, is received for obtaining highest total resources from the corresponding total resources earning rate of each resource allocation policy Beneficial rate;
Sending module 1112, for using the corresponding resource allocation policy of highest total resources earning rate as number of resources to be allocated According to corresponding target resource allocation strategy is identified, target resource allocation strategy is back to the corresponding terminal of resource allocation request.
In one embodiment, this month resource Growth Rate Calculation module 1106 includes changing value average calculation unit (in figure Be not shown), resource period acquiring unit (not shown) and the moon resource increase numerical calculation unit (not shown), In:
Changing value average calculation unit, for being calculated according to the changing value in each historical time section in Current resource Changing value mean value under allocation strategy.
Resource period acquiring unit, for using the first historical time section as current slot, obtaining current slot pair The changing value answered, the resource according to residing for being calculated current slot in changing value mean value changing value corresponding with current slot Period.
Moon resource growth numerical calculation unit, when being calculated current for the resource period according to residing for current slot Between section the moon resource increase numerical value.
Resource period acquiring unit is additionally operable to, using next historical time section as current slot, return and obtain currently The step of period corresponding changing value, until being calculated under Current resource allocation strategy in each historical time section corresponding The moon resource increase numerical value.
In one embodiment, moon resource growth numerical calculation unit (not shown) is additionally operable to according to default resource point Proportioning obtains the resource numerical value of the corresponding each resource of resource period residing for current slot, wherein default resource allocation is than packet It includes first resource distribution ratio and Secondary resource distribution ratio and first resource distribution ratio is more than Secondary resource distribution ratio;Calculate each money Source is in the corresponding moon resource growth rate of current slot;By the corresponding moon resource growth rate of current slot and the money of each resource Source numerical value is multiplied, and the moon resource for obtaining current slot increases numerical value.
In one embodiment, it is corresponding to be additionally operable to acquisition current slot for resource period acquiring unit (not shown) Current preset time interval obtains the year-on-year increasing of a upper historical time section for current slot according to current preset time interval Long change rate;Obtain current slot increases by change rate on a year-on-year basis;Calculate current slot increases by change rate and upper one on a year-on-year basis The ratio for increasing by change rate on a year-on-year basis of a historical time section obtains the corresponding changing value of current slot according to ratio calculation.
In one embodiment, changing value acquisition module 1104 is additionally operable to obtain corresponding with resource data to be allocated mark First resource data to be allocated, the second resource data to be allocated and third resource data to be allocated;Calculate the first resource to be allocated The changing value of data, the second resource data to be allocated and third resource data to be allocated in multiple historical time sections, Duo Geli The history time determines according to the time interval of preset quantity.
In one embodiment, the moon resource Growth Rate Calculation module 1106 be additionally operable to according to the first resource data to be allocated, The first resource data to be allocated, the second money to be allocated is calculated in second resource data to be allocated and third resource data to be allocated The changing value mean value of source data and third resource data to be allocated in multiple historical time sections;It is to be allocated by get first Period where resource data, the second resource data to be allocated and third resource data to be allocated is obtained as current slot Take the variation of the first resource data to be allocated, the second resource data to be allocated and third resource data to be allocated in current slot Value;First resource data to be allocated is calculated according to changing value mean value changing value corresponding with current slot, second is treated point With the resource period residing for resource data and third resource data to be allocated;It is treated point according to the first resource data to be allocated, second The first resource data to be allocated is calculated with the resource period residing for resource data and third resource data to be allocated, second treats The moon resource of period residing for distribution resource data and third resource data to be allocated increases numerical value;By next historical time Duan Zuowei current slots return to the first resource data to be allocated of acquisition, the second resource data to be allocated and third money to be allocated Source data is the changing value of current slot the step of, until the first resource data to be allocated, the second money to be allocated is calculated Corresponding moon resource increases in each historical time section under Current resource allocation strategy for source data and third resource data to be allocated Long numerical value.
In one embodiment example, total resources earning rate acquisition module 1108 is additionally operable to obtain Current resource allocation strategy pair The initial resource numerical value for the resource answered;The moon resource for obtaining corresponding resource in each historical time section increases the total resources of numerical value Increase numerical value;Total resources are increased into the ratio of numerical value initial resource numerical value corresponding with current allocation strategy as Current resource point With the corresponding total resources earning rate of strategy.
In one embodiment, a kind of computer readable storage medium is additionally provided, is stored thereon with computer program, it should Following steps are realized when program is executed by processor:Resource allocation request is received, resource allocation request includes number of resources to be allocated According to mark;Obtain variation of the resource data to be allocated corresponding with resource data to be allocated mark in multiple historical time sections Value, multiple historical time sections are determined according to multiple and different prefixed time intervals;Current resource allocation strategy is obtained, according to each Corresponding moon resource increased numbers in each historical time section under changing value calculating Current resource allocation strategy in historical time section Value;Numerical value is increased according to moon resource corresponding in each historical time section and obtains the corresponding total resources receipts of Current resource allocation strategy Beneficial rate;Next resource allocation policy is obtained as Current resource allocation strategy, returns and calculates under Current resource allocation strategy respectively Corresponding moon resource increases the step of numerical value in a historical time section, until it is corresponding total to obtain each default resource allocation policy Resource resources profit rate;Highest total resources earning rate is obtained from the corresponding total resources earning rate of each resource allocation policy;Highest is total The corresponding resource allocation policy of resource resources profit rate identifies corresponding target resource allocation strategy as resource data to be allocated, by mesh Mark resource allocation policy is back to the corresponding terminal of resource allocation request.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, it is non-volatile computer-readable that the program can be stored in one It takes in storage medium, in the embodiment of the present invention, which can be stored in the non-volatile memory medium of computer system, and It is performed by least one of computer system processor, to realize the flow for including the embodiment such as above-mentioned each method.Its In, the storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random storage Memory body (Random Access Memory, RAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, it is all considered to be the range of this specification record.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneously Cannot the limitation to the scope of the claims of the present invention therefore be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention Protect range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of resource allocation methods, the method includes:
Resource allocation request is received, the resource allocation request is identified including resource data to be allocated;
Obtain variation of the resource data to be allocated corresponding with the resource data mark to be allocated in multiple historical time sections Value, the multiple historical time section are determined according to multiple and different prefixed time intervals;
Current resource allocation strategy is obtained, the Current resource allocation strategy is calculated according to the changing value in each historical time section Under in each historical time section corresponding moon resource increase numerical value;
It is corresponding total that numerical value acquisition Current resource allocation strategy is increased according to moon resource corresponding in each historical time section Resource resources profit rate;
Next resource allocation policy is obtained as Current resource allocation strategy, returns and calculates under the Current resource allocation strategy Corresponding moon resource increases the step of numerical value in each historical time section, until it is corresponding to obtain each default resource allocation policy Total resources earning rate;
Highest total resources earning rate is obtained from the corresponding total resources earning rate of each resource allocation policy;
The corresponding resource allocation policy of the highest total resources earning rate is corresponding as the resource data mark to be allocated The target resource allocation strategy is back to the corresponding terminal of the resource allocation request by target resource allocation strategy.
2. according to the method described in claim 1, it is characterized in that, the changing value according in each historical time section calculates The step of corresponding moon resource increases numerical value in each historical time section under the Current resource allocation strategy, including:
The corresponding change under the Current resource allocation strategy is calculated according to the changing value in each historical time section Change value mean value;
Using the first historical time section as current slot, the corresponding changing value of current slot is obtained, according to the changing value The resource period residing for current slot is calculated in mean value changing value corresponding with the current slot;
The moon resource that current slot is calculated in resource period according to residing for the current slot increases numerical value;
Using next historical time section as current slot, the step for obtaining the corresponding changing value of current slot is returned Suddenly, until corresponding moon resource in each historical time section, which is calculated under the Current resource allocation strategy, increases numerical value.
3. the according to the method described in claim 2, it is characterized in that, resource period according to residing for the current slot The step of moon resource growth numerical value of current slot is calculated, including:
The number of resources of the corresponding each resource of resource period according to residing for default resource allocation current slot more described than acquisition Value, wherein the default resource allocation ratio includes first resource distribution ratio and Secondary resource distribution ratio and the first resource distributes Than being more than the Secondary resource distribution ratio;
Each resource is calculated in the corresponding moon resource growth rate of the current slot;
The corresponding moon resource growth rate of the current slot with the resource numerical value of each resource is multiplied, obtains institute The moon resource for stating current slot increases numerical value.
4. according to the method described in claim 2, it is characterized in that, described using the first historical time section as current slot, The step of obtaining current slot corresponding changing value, including:
The corresponding current preset time interval of current slot is obtained, the current time is obtained according to current preset time interval The variation increasing value of a upper historical time section for section;
Obtain the variation increasing value of the current slot;
The ratio of the variation increasing value of current slot and the variation increasing value of a upper historical time section is calculated, according to the ratio The corresponding changing value of the current slot is calculated in value.
5. according to the method described in claim 1, it is characterized in that, the acquisition is corresponding with the resource data mark to be allocated Changing value of the resource data to be allocated in multiple historical time sections, the multiple historical time section is according to multiple and different pre- If the step that time interval determines, including:
Obtain first resource data to be allocated corresponding with the resource data mark to be allocated, the second resource data to be allocated and Third resource data to be allocated;
The described first resource data to be allocated, the second resource data to be allocated and third resource data to be allocated is calculated to go through multiple Changing value in the history period, the multiple historical time are determined according to the time interval of preset quantity.
6. according to the method described in claim 5, it is characterized in that, the changing value according in each historical time section calculates The step of corresponding moon resource increases numerical value in each historical time section under the Current resource allocation strategy, including:
It is calculated according to the described first resource data to be allocated, the second resource data to be allocated and third resource data to be allocated First resource data to be allocated, the second resource data to be allocated and third resource data to be allocated are distributed in Current resource Changing value mean value under strategy in each historical time section;
By the get described first resource data to be allocated, the second resource data to be allocated and third resource data institute to be allocated Period as current slot, obtain the described first resource data to be allocated, the second resource data to be allocated and third Resource data to be allocated is in the changing value of the current slot;
Described first resource to be allocated is calculated according to changing value mean value changing value corresponding with the current slot Resource period residing for data, the second resource data to be allocated and third resource data to be allocated;
According to the money residing for the described first resource data to be allocated, the second resource data to be allocated and third resource data to be allocated Source computation of Period obtains the described first resource data to be allocated, the second resource data to be allocated and third resource data institute to be allocated The moon resource of the period at place increases numerical value;
Using next historical time section as current slot, described first resource data to be allocated of acquisition, second are returned Resource data to be allocated and third resource data to be allocated are the changing value of the current slot the step of, until being calculated First resource data to be allocated, the second resource data to be allocated and third resource data to be allocated distribute plan in Current resource Corresponding moon resource increases numerical value in each historical time section under slightly.
It is 7. according to the method described in claim 1, it is characterized in that, described according to the corresponding moon in each historical time section Resource increases the step of numerical value obtains Current resource allocation strategy corresponding total resources earning rate, including:
Obtain the initial resource numerical value of the corresponding resource of the Current resource allocation strategy;
The moon resource for obtaining the corresponding resource in each historical time section increases the total resources income numerical value of numerical value;
The ratio of total resources income numerical value initial resource numerical value corresponding with the current allocation strategy is worked as described The corresponding total resources earning rate of preceding resource allocation policy.
8. a kind of resource allocation device, described device include:
Resource allocation request receiving module, for receiving resource allocation request, the resource allocation request includes resource to be allocated Data Identification;
Changing value acquisition module, for obtaining resource data to be allocated corresponding with the resource data mark to be allocated multiple Changing value in historical time section, the multiple historical time section are determined according to multiple and different prefixed time intervals;
Month resource Growth Rate Calculation module, for obtaining Current resource allocation strategy, calculates under the Current resource allocation strategy Corresponding moon resource increases numerical value in each historical time section;
Total resources earning rate acquisition module obtains for increasing numerical value according to moon resource corresponding in each historical time section The corresponding total resources earning rate of Current resource allocation strategy;
Month resource Growth Rate Calculation module, is additionally operable to obtain next resource allocation policy as Current resource allocation strategy, returns It returns and calculates the step of corresponding moon resource increases numerical value in each historical time section under the Current resource allocation strategy, until To the corresponding total resources earning rate of each default resource allocation policy;
Module is chosen, for obtaining highest total resources earning rate from the corresponding total resources earning rate of each resource allocation policy;
Sending module, for using the corresponding resource allocation policy of the highest total resources earning rate as the number of resources to be allocated According to corresponding target resource allocation strategy is identified, the target resource allocation strategy is back to the resource allocation request and is corresponded to Terminal.
9. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the processor realizes claim 1-7 any one the methods when performing described program Step.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is handled The step of claim 1-7 any one the methods are realized when device performs.
CN201711467136.3A 2017-12-28 2017-12-28 Resource allocation methods, device, computer equipment and storage medium Pending CN108257005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711467136.3A CN108257005A (en) 2017-12-28 2017-12-28 Resource allocation methods, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711467136.3A CN108257005A (en) 2017-12-28 2017-12-28 Resource allocation methods, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108257005A true CN108257005A (en) 2018-07-06

Family

ID=62724618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711467136.3A Pending CN108257005A (en) 2017-12-28 2017-12-28 Resource allocation methods, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108257005A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033468A (en) * 2018-08-31 2018-12-18 阿里巴巴集团控股有限公司 The processing method and processing device of resource change
CN109636190A (en) * 2018-12-13 2019-04-16 中国联合网络通信集团有限公司 The acquisition methods and device of base station operation information
CN110060130A (en) * 2019-04-23 2019-07-26 杭州幻方科技有限公司 A kind of portfolio customization transaction system and method
CN113313598A (en) * 2020-02-26 2021-08-27 京东数字科技控股股份有限公司 Product information processing method, device and system, storage medium and electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841915A (en) * 2010-01-19 2010-09-22 北京邮电大学 Method for scheduling and distributing resources in communication system and scheduler
CN101945437A (en) * 2009-07-03 2011-01-12 华为技术有限公司 Method for determining traffic distribution strategy, access network equipment and route equipment
CN102426688A (en) * 2011-10-17 2012-04-25 张定宇 Security transaction strategy and operation method
CN103781081A (en) * 2014-02-28 2014-05-07 清华大学 Opportunity sharing-based wireless virtual resource allocation method
CN106127373A (en) * 2016-06-17 2016-11-16 邓强 Polynary assets investment decision system based on capital investment value assessment and method
CN106294694A (en) * 2016-08-08 2017-01-04 杭州麒谋网络科技有限公司 Asset allocation big data analysis control system
CN106355504A (en) * 2016-08-24 2017-01-25 深圳市崇广科技有限公司 Financial products configuration device and method thereof
CN106991611A (en) * 2017-03-27 2017-07-28 北京贝塔智投科技有限公司 A kind of intelligence financing investment consultant's robot system and its method of work
CN107491847A (en) * 2017-09-26 2017-12-19 北京福布罗科技有限公司 Asset/liability management method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945437A (en) * 2009-07-03 2011-01-12 华为技术有限公司 Method for determining traffic distribution strategy, access network equipment and route equipment
CN101841915A (en) * 2010-01-19 2010-09-22 北京邮电大学 Method for scheduling and distributing resources in communication system and scheduler
CN102426688A (en) * 2011-10-17 2012-04-25 张定宇 Security transaction strategy and operation method
CN103781081A (en) * 2014-02-28 2014-05-07 清华大学 Opportunity sharing-based wireless virtual resource allocation method
CN106127373A (en) * 2016-06-17 2016-11-16 邓强 Polynary assets investment decision system based on capital investment value assessment and method
CN106294694A (en) * 2016-08-08 2017-01-04 杭州麒谋网络科技有限公司 Asset allocation big data analysis control system
CN106355504A (en) * 2016-08-24 2017-01-25 深圳市崇广科技有限公司 Financial products configuration device and method thereof
CN106991611A (en) * 2017-03-27 2017-07-28 北京贝塔智投科技有限公司 A kind of intelligence financing investment consultant's robot system and its method of work
CN107491847A (en) * 2017-09-26 2017-12-19 北京福布罗科技有限公司 Asset/liability management method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033468A (en) * 2018-08-31 2018-12-18 阿里巴巴集团控股有限公司 The processing method and processing device of resource change
CN109033468B (en) * 2018-08-31 2022-09-16 创新先进技术有限公司 Resource change processing method and device
CN109636190A (en) * 2018-12-13 2019-04-16 中国联合网络通信集团有限公司 The acquisition methods and device of base station operation information
CN109636190B (en) * 2018-12-13 2020-11-17 中国联合网络通信集团有限公司 Method and device for acquiring base station operation information
CN110060130A (en) * 2019-04-23 2019-07-26 杭州幻方科技有限公司 A kind of portfolio customization transaction system and method
CN113313598A (en) * 2020-02-26 2021-08-27 京东数字科技控股股份有限公司 Product information processing method, device and system, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN108257005A (en) Resource allocation methods, device, computer equipment and storage medium
Huntington Crude oil trade and current account deficits
Amin et al. A combined goal programming and inverse DEA method for target setting in mergers
CN103853618B (en) Resource allocation method with minimized cloud system cost based on expiration date drive
Amirteimoori et al. Optimal input/output reduction in production processes
Wang A dynamic two-sector model for analyzing the interrelation between financial development and industrial growth
Wu et al. Nash equilibrium strategy for a multi-period mean–variance portfolio selection problem with regime switching
AU2023202470A1 (en) Interprocess communication facilitating sellside marketmaking
CN105488163A (en) Information pushing method and apparatus
CN102438049B (en) System resource allocation method and device for software-as-a-service (SaaS) application system
CN105956122A (en) Object attribute determining method and device
US20060277549A1 (en) Method and apparatus for capacity optimization and planning in an on-demand computing environment
Chen et al. The January sentiment effect in the US stock market
CN104168570B (en) Authenticity dynamic bidirectional spectrum auction method based on interference information
CN111178830A (en) Cost accounting method and device, computer equipment and storage medium
Chen et al. Optimization and coordination of South-to-North Water Diversion supply chain with strategic customer behavior
Fatima et al. Sequential auctions for objects with common and private values
CN104321800A (en) Price target builder
CN106408128A (en) Stock trading rule prediction method based on biclustering mining and fuzzy reasoning
Ciarreta et al. Do jumps and cojumps matter for electricity price forecasting? Evidence from the German-Austrian day-ahead market
Dias Unemployment and sovereign debt crisis in the Eurozone: A k-means-r analysis
Filatov et al. The increasing concentration at industrial markets: the social welfare maximization and possible risks
Kovalov et al. The «resources curse» phenomenon in context of socio-economic transformation of Ukrainian economy
Kong et al. Analysis of credit sale risk of emerging market product
Barros et al. The macroeconomy of Angola: breaks and persistence in Angolan macro data

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180706