CN107608790A - Resource allocation methods and device and electronic equipment - Google Patents

Resource allocation methods and device and electronic equipment Download PDF

Info

Publication number
CN107608790A
CN107608790A CN201710795200.4A CN201710795200A CN107608790A CN 107608790 A CN107608790 A CN 107608790A CN 201710795200 A CN201710795200 A CN 201710795200A CN 107608790 A CN107608790 A CN 107608790A
Authority
CN
China
Prior art keywords
resource
resource quantity
distribution
distribution mode
mina
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
CN201710795200.4A
Other languages
Chinese (zh)
Inventor
李夫收
马文琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710795200.4A priority Critical patent/CN107608790A/en
Publication of CN107608790A publication Critical patent/CN107608790A/en
Priority to TW107117912A priority patent/TWI682336B/en
Priority to PCT/CN2018/103498 priority patent/WO2019047774A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising

Abstract

This specification embodiment provides a kind of resource allocation methods and device and electronic equipment, sets at least two resource distribution mode, so as to after the resource allocation request of requesting party's transmission is received, generate the probability random number for determining resource distribution mode;Then according to the random number calculated, the resource distribution mode that the random number is hit is determined from least two resource distribution modes;And according to identified resource distribution mode, calculate the resource quantity for distributing to the requesting party.

Description

Resource allocation methods and device and electronic equipment
Technical field
This specification embodiment is related to field of computer technology, more particularly to a kind of resource allocation methods and device and electronics Equipment.
Background technology
With the development of network technology, there is diversified virtual resource allocation mode.By the void in the form of " prize drawing " Exemplified by intending resource allocation, marketing side generally can all set maximum dollar amount, minimum dollar amount and the average amount of user's prize-winning.Here The average amount of setting often verifies deviation (maximum dollar amount+minimum dollar amount)/2;For example, 100 yuan of maximum dollar amount, minimum dollar amount 1 Member, 5 yuan of average amount, if marketing side needs average amount being adjusted to 10 yuan, maximum dollar amount, minimum dollar amount, user get the winning number in a bond Distribution it is constant, it is difficult to realize.
Need to provide more neatly Resource Allocation Formula.
The content of the invention
A kind of resource allocation methods and device and electronic equipment that this specification embodiment provides:
According to the first aspect of this specification embodiment, there is provided a kind of resource allocation methods, methods described include:
Receive the resource allocation request that requesting party sends;
Generate the random number for determining resource distribution mode;
According to the random number calculated, the resource that the random number is hit is determined from least two resource distribution modes The method of salary distribution;
According to identified resource distribution mode, the resource quantity for distributing to the requesting party is calculated.
According to the second aspect of this specification embodiment, there is provided a kind of resource allocation device, described device include:
Request reception unit, receive the resource allocation request that requesting party sends;
Random number generation unit, generate the random number for determining resource distribution mode;
Distribution hit unit, according to the random number calculated, determines that this is random from least two resource distribution modes Several hit resource distribution modes;
Resource Calculation unit, according to identified resource distribution mode, calculate the resource quantity for distributing to the requesting party.
According to the third aspect of this specification embodiment, there is provided a kind of electronic equipment, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Receive the resource allocation request that requesting party sends;
Generate the random number for determining resource distribution mode;
According to the random number calculated, the resource that the random number is hit is determined from least two resource distribution modes The method of salary distribution;
According to identified resource distribution mode, the resource quantity for distributing to the requesting party is calculated.
This specification embodiment, by setting at least two different resource distribution modes, for resource allocation each time Request, it is necessary first to determine resource distribution mode, the resource quantity of distribution is then calculated according to the resource distribution mode of determination.By Resource quantity can be influenceed in the different resource method of salary distribution, therefore application the present embodiment can have with flexile distribution resource Standby larger allocation flexibility.
Brief description of the drawings
Fig. 1 is the system construction drawing for realizing resource allocation that the embodiment of this specification one provides;
Fig. 2 is the flow chart for the resource allocation methods that the embodiment of this specification one provides;
Fig. 3 is the module diagram for the resource allocation device that the embodiment of this specification one provides.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with this specification.On the contrary, they are only and such as institute The example of the consistent apparatus and method of some aspects be described in detail in attached claims, this specification.
It is only merely for the purpose of description specific embodiment in the term that this specification uses, and is not intended to be limiting this explanation Book." one kind " of used singulative, " described " and "the" are also intended to bag in this specification and in the appended claims Most forms are included, unless context clearly shows that other implications.It is also understood that term "and/or" used herein is Refer to and any or all may be combined comprising the associated list items purpose of one or more.
It will be appreciated that though various information may be described using term first, second, third, etc. in this specification, but These information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, do not taking off In the case of this specification scope, the first information can also be referred to as the second information, and similarly, the second information can also be claimed For the first information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... " or " in response to determining ".
It refer to the example shown in Fig. 1 and introduce a kind of embodiment for the method for realizing resource allocation of this specification, such as Fig. 1 institutes Show, this method may comprise steps of:
Step 110:Receive the resource allocation request that requesting party sends.
Fig. 2 is refer to below shows the exemplary system architecture concept that can be applicable herein.
In system architecture concept map 200, various network nodes can realize the communication of information by network, then complete to hand over Mutual and data processing.System architecture concept map 200 can include the client via network 23 and one or more requesting parties 21 enter the service end 22 of the operator of row data communication, and can be integrated in the service end 22 or independently of the service end 22 database 221.
The service end 22 can include the server of resource response distribution request, server cluster or based on server The cloud platform of cluster structure.
Each network 23 can include wired or wireless telecommunication device, and the network equipment that client 21 is based on can lead to The wired or wireless telecommunication installation is crossed to exchange data.For example, each network 23 can include LAN (" LAN "), wide Domain net (" WAN "), in-house network, internet, mobile telephone network, Virtual Private Network (VPN), honeycomb fashion or other mobile radio communications Network, bluetooth, NFC or its any combinations.In the discussion of exemplary, it should be appreciated that term " data " and " information " can Used interchangeably herein come refer to the word that may be present in computer based environment, image, audio, video or it is any its The information of its form.
The client 21 is used as asking direction service end 22 to send resource allocation request.Each client 21 The network equipment being based on can include having sending via network 23 and receiving the device of the communication module of data.Example Such as, the network equipment that each client 21 is based on can include server, desktop computer, laptop computer, flat board Computer, smart mobile phone, handheld computer, personal digital assistant (" PDA "), or other any wired or wireless processing Device drive device.In the exemplary that Fig. 2 is described, the network equipment that client 21 is based on can be by finally using Family is operated.
User (including individual or entity) can use the application such as Web-browser application or stand-alone utility Program, so as to which file or webpage is checked, downloads, uploaded or otherwise accessed via network 23.Web browser applications journey The application program of sequence or stand-alone utility, can be with being connected to web page server (or other servers, such as society of network 23 Hand over platform, payment platform etc.) to complete data interaction.
Can be integrated relationship or the computing device 222 of separate relationships, particularly the latter with the service end 22 in Fig. 2 In the case of, typically can be by internal network or dedicated Internet access, or can also be connected by the public network of encryption. Particularly, when for integrated relationship when, it is therefore possible to use more efficient, the faster internal bus form of transmission speed connection.The calculating Device 222, when for integrated relationship or separate relationships when, directly (not shown) or can be accessed by the service end 22 Database 221.
Appropriate programming is carried out to computer installation 222, the reality of method in this specification can be controlled by this instruction Apply.Particularly, when for integrated relationship when, computer installation 222 processing affairs can be considered as being processed without for service end 22 Especially it is distinguish between.
Step 120:Generate the random number for determining resource distribution mode.
In the present embodiment, the step 120, it can include:
According to random number algorithm, the random number for determining resource distribution mode is generated.
In general, random number algorithm can set a random number range, i.e. output valve is at random from the random number range Middle determination.
In the implementation, random number algorithm can be taking human as being previously provided with a random number range.It is a kind of merely illustrative Property random number range can be [0,1], that is to say, that using the random number algorithm can try to achieve at random one positioned at [0, 1] random number.
It is noted that the generation random number for being used to determine resource distribution mode can be a variety of by the way of Various, such as random number can be mapped out by default function.
Step 130:According to the random number calculated, determine that the random number is ordered from least two resource distribution modes In resource distribution mode.
In the present embodiment, the probability for hitting different resource distribution modes is different, it is believed that different resource point A probable value related to random number is corresponding with mode.
In case of with the two spike-type cultivars method of salary distribution,
Assuming that the probability of the hit first resource method of salary distribution is 0.3;
The probability for hitting the Secondary resource method of salary distribution is then 0.7 for (1-0.3);
So, random number range corresponding to the first resource method of salary distribution may be considered [0,0.3];
Random number range corresponding to the Secondary resource method of salary distribution may be considered (0.3,1];
If the random number calculated is less than or equal to 0.3, then the first resource method of salary distribution can be hit;
If the random number calculated is more than 0.3, then the Secondary resource method of salary distribution can be hit.
Step 140:According to identified resource distribution mode, the resource quantity for distributing to the requesting party is calculated.
Resource distribution mode determined by the basis, calculate and distribute to the resource quantity of the requesting party, specifically can be with Including:
Obtain the single distribution resource quantity scope of the resource distribution mode of the determination;The single distributes resource quantity Scope by single maximum allocated resource quantity, single smallest allocation resource quantity, mean allocation resource quantity, for adjusting difference The regulatory factor of resource distribution mode mean allocation resource quantity is calculated;
It is random to obtain a resource quantity in the range of single distribution resource quantity;
Acquired distribution resource quantity is defined as distributing to the resource quantity of the requesting party.
It is illustrated below in case of with the two spike-type cultivars method of salary distribution:
Assuming that the probability of the first resource distribution mode is P;The random number of the first resource distribution mode can be hit Positioned at [0, P];
The probability of second of resource distribution mode is 1-P;The random digit of second of resource distribution mode can be hit In (P, 1];
Single maximum allocated resource quantity max A, single smallest allocation can be typically configured with this specification, in service end The tune of mean allocation resource quantity in resource quantity min A and mean allocation resource quantity avgA, second of resource distribution mode Save factor-alpha;The regulatory factor can be used for the average resource quantity allotted for adjusting second of resource distribution mode.
Based on above-mentioned configuration, under the first resource distribution mode, the scope that can distribute resource quantity is [min A, max A];Further, the mean allocation resource quantity of the first resource distribution mode can be calculated:AvgA1=(min A+max A)/2;
Assuming that the mean allocation resource quantity of second of resource distribution mode is avgA2;And due to α=(avgA2-min A)/(avgA-min A;) can be avgA2=α * (avgA- in the hope of the mean allocation resource quantity of second of resource distribution mode min A)+min A。
Based on the above, the probability P can be calculated by equation below:
P=(2 (1- α) * min A+2 (α -1) * avgA)/(2 α * avgA+ (1-2 α) * min A-max A) wherein, max A Single maximum allocated resource quantity is represented, min A represent single smallest allocation resource quantity, and avgA represents mean allocation number of resources Amount, α represent the regulatory factor of mean allocation resource quantity in second of resource distribution mode.
It is noted that may range from of the α [0,1);
Because the scope that the single of the first resource distribution mode distributes resource quantity is [min A, max A];
After probability P is calculated, further, the single distribution money of second of resource distribution mode can be obtained The scope of source quantity is [min A, 2 α (avgA-min A)+min A].
The scope of single distribution resource quantity based on above two resource distribution mode, the step 120, can be wrapped Include:
The random number between [0, P] is generated at random;
On the other hand, the step 130, is specifically included:
In the random digit in the case of [0, P], it is determined that hitting the first resource distribution mode;
Or
The random digit in (P, 1] in the case of, it is determined that hit second of resource distribution mode.
Another further aspect, the step 140, it can include:
A1:In the case where identified resource distribution mode is the first resource distribution mode, obtain it is described the first The single distribution resource quantity scope [min A, max A] of resource distribution mode;
A2:It is random to obtain a distribution resource in single distribution resource quantity scope [min A, max A] Quantity;
A3:Acquired distribution resource quantity is distributed to the resource quantity of the requesting party.
Or
B1:In the case where identified resource distribution mode is second of resource distribution mode, obtain described second The single distribution resource quantity scope [min A, 2 α (avgA-min A)+min A] of resource distribution mode;
B2:It is random to obtain one positioned at single distribution resource quantity scope [min A, 2 α (avgA-min A)+min A] in distribution resource quantity;
B3:Acquired distribution resource quantity is distributed to the resource quantity of the requesting party.
This specification embodiment, by setting at least two different resource distribution modes, for resource allocation each time Request, it is necessary first to determine resource distribution mode, the resource quantity of distribution is then calculated according to the resource distribution mode of determination.By Resource quantity can be influenceed in the different resource method of salary distribution, therefore application the present embodiment can have with flexile distribution resource Standby larger allocation flexibility.
Another aspect, although setting at least two different resource distribution modes, operator configuration need not be changed Single maximum allocated resource quantity max A, single smallest allocation resource quantity min A and mean allocation resource quantity avgA, But each different moneys can be controlled by configuring the regulatory factor α of mean allocation resource quantity in other resource distribution modes The mean allocation resource quantity of the source method of salary distribution, so as to realize the control of mean allocation resource quantity on the whole.
The embodiment that this specification is provided can be applied in specific business, such as this in prize drawing can be applied specific Business scenario.Then, the resource allocation request can include prize drawing request, and the resource quantity can include winning amount.
In general, the activity side of holding can be provided with minimum winning amount, maximum winning amount and put down in sweepstake Equal winning amount, based on cost consideration, generally this average winning amount is often heavily biased towards minimum winning amount;Such as some Sweepstake, minimum winning amount are 1 yuan, and maximum winning amount is 100 yuan, but average winning amount is only 5 yuan.If it is desired to Average winning amount is heightened to 10 yuan, it may be necessary to change minimum winning amount or maximum winning amount;It is if minimum Winning amount, maximum winning amount are constant, then activity rate of winning prize may need to adjust.Not only can spirit by the present embodiment It is living that a variety of different winning amount methods of salary distribution are set;Moreover, the minimum winning amount set without the modification activity side of holding, most Big winning amount and average winning amount, but by configuring the regulatory factor α of other winning amount methods of salary distribution, control is respectively The average winning amount of the individual different winning amount methods of salary distribution, so as to adjust the winning amount that is averaged on the whole;Solve and take out The problem of average winning amount is heavily biased towards minimum winning amount in prize activity.
On the basis of above-mentioned embodiment illustrated in fig. 1, this specification additionally provides following scheme:
The resource allocation request that the requesting party sends can also carry business point.The business point can be requesting party Related service provide scoring, such as can be provided in financial business user credit score (in such as Alipay user sesame letter With point).
Then, the step 140, can specifically include:
Resource distribution mode determined by the basis and the business point, calculate the resource for distributing to the requesting party Quantity.
Further, described ask is distributed in resource distribution mode determined by the basis and the business point, calculating The resource quantity for the side of asking, is specifically included:
Obtain the single distribution resource quantity scope of the resource distribution mode of the determination;The single distributes resource quantity Scope by single maximum allocated resource quantity, single smallest allocation resource quantity, mean allocation resource quantity, for adjusting difference The regulatory factor of resource distribution mode mean allocation resource quantity is calculated;
Obtain global business point scope;The global business divides minimal service in all requesting parties of Range Representation to assign to maximum Business point;
Resource quantity scope and the business point are distributed according to the single, is calculated and distributes to the requesting party's Resource quantity.
With previous embodiment identical, it is illustrated in case of with the two spike-type cultivars method of salary distribution:
Resource distribution mode determined by the basis and the business point, calculate the resource for distributing to the requesting party Quantity, specifically include:
C1:In the case where identified resource distribution mode is the first resource distribution mode, obtain it is described the first The single distribution resource quantity scope [min A, max A] of resource distribution mode;
C2:Obtain global business point scope [min A, max A];The global business is divided in all requesting parties of Range Representation Minimal service assigns to maximum traffic point;
C3:Resource quantity is calculated according to equation below,
Wherein, score represents the business point that this request carries, and max Score represent global maximum traffic point, min Score represents global minimal service point, and max A represent single maximum allocated resource quantity, and min A represent single smallest allocation Resource quantity.
Or
D1:In the case where identified resource distribution mode is second of resource distribution mode, obtain described second The single distribution resource quantity scope [min A, 2 α (avgA-min A)+min A] of resource distribution mode;
D2:Obtain global business point scope [min A, max A];The global business is divided in all requesting parties of Range Representation Minimal service assigns to maximum traffic point;
D3:Resource quantity is calculated according to equation below,
Wherein, score represents this The business point that request carries, max Score represent global maximum traffic point, and min Score represent global minimal service point, AvgA represents mean allocation resource quantity, and α represents the regulatory factor of mean allocation resource quantity in second of resource distribution mode, Min A represent single smallest allocation resource quantity.
The present embodiment is that the resource allocation request that the requesting party sends can also be taken with upper embodiment difference With business point, and calculate and distribute to the resource quantity of the requesting party and do not determine at random, but according to resource allocation Mode simultaneously combines what business point determined jointly.
In actual applications, in the case that same requesting party may have multiple resource allocation request, if according to upper State the mode of computing resource quantity, it may appear that the problem of resource quantity being calculated every time is identical.In order to solve this problem, Present description provides following scheme:
In the case where the requesting party has multiple resource allocation request, calculated resource is changed by equation below Quantity:
Wherein, a is the resource quantity calculated, and base_rate, reduction_rate are the regulatory factor of configuration, The regulation stall of RLcnt configurations, seq is the requestor requests number, and EXP is logarithmic decrement symbol, SIN is sinusoidal symbol.
, locally can be with configuration adjustment factor base_rate, reduction_rate, regulation stall in the present embodiment RLcnt.For same requesting party's different resource distribution request, the resource quantity being calculated can be fluctuated, the ripple It is dynamic to be based on sinusoidal fluctuation and logarithmic decrement.Identical resource quantity is fluctuated by above-mentioned formula, so as to so that Obtain and ask allocated identical resource quantity to become to differ each time originally.Apply when drawing a lottery business scenario, by meter Obtained winning amount is fluctuated so that the winning amount that same user repeatedly draws a lottery differs, and is lived so as to lift prize drawing Dynamic interest.
Corresponding with foregoing resource allocation methods embodiment, this specification additionally provides the embodiment of resource allocation device. Described device embodiment can be realized by software, can also be realized by way of hardware or software and hardware combining.With software It is the processor by equipment where it by nonvolatile memory as the device on a logical meaning exemplified by realization Corresponding computer program instructions read what operation in internal memory was formed.For hardware view, this specification resource allocation dress A kind of hardware configuration of equipment where putting can include outside processor, network interface, internal memory and nonvolatile memory, real The equipment in example where device is applied generally according to the resource allocation actual functional capability, other hardware can also be included, this is no longer gone to live in the household of one's in-laws on getting married State.
Referring to Fig. 3, the module map of the resource allocation device provided for the embodiment of this specification one, described device has corresponded to figure 2 illustrated embodiments, described device include:
Request reception unit 310, receive the resource allocation request that requesting party sends;
Random number generation unit 320, generate the random number for determining resource distribution mode;
Distribution hit unit 330, according to the random number calculated, being determined from least two resource distribution modes should be with The resource distribution mode that machine number is hit;
Resource Calculation unit 340, according to identified resource distribution mode, calculate the number of resources for distributing to the requesting party Amount.
In an optional embodiment:
The Resource Calculation unit 340, is specifically included:
First obtains subelement, obtains the single distribution resource quantity scope of the resource distribution mode of the determination;It is described Single distributes resource quantity scope by single maximum allocated resource quantity, single smallest allocation resource quantity, mean allocation resource Quantity, it is calculated for adjusting the regulatory factor of different resource method of salary distribution mean allocation resource quantity;
Second obtains subelement, random to obtain a resource quantity in the range of single distribution resource quantity;
Determination subelement, acquired distribution resource quantity is defined as distributing to the resource quantity of the requesting party.
In an optional embodiment:
Business point is carried in the request,
The Resource Calculation unit, is specifically included:
Resource distribution mode determined by the basis and the business point, calculate the resource for distributing to the requesting party Quantity.
In an optional embodiment:
The Resource Calculation unit, is specifically included:
First obtains subelement, obtains the single distribution resource quantity scope of the resource distribution mode of the determination;It is described Single distributes resource quantity scope by single maximum allocated resource quantity, single smallest allocation resource quantity, mean allocation resource Quantity, it is calculated for adjusting the regulatory factor of different resource method of salary distribution mean allocation resource quantity;
Second obtains subelement, obtains global business point scope;The global business is divided in all requesting parties of Range Representation Minimal service assigns to maximum traffic point;
Resource Calculation subelement, resource quantity scope and the business point are distributed according to the single, be calculated point The resource quantity of requesting party described in dispensing.
In an optional embodiment:
In the case of with the two spike-type cultivars method of salary distribution,
The probability of the first resource distribution mode is P;
The probability of second of resource distribution mode is 1-P;
Wherein, P is calculated by equation below:
P=(2 (1- α) * min A+2 (α -1) * avgA)/(2 α * avgA+ (1-2 α) * min A-max A) wherein, max A Single maximum allocated resource quantity is represented, min A represent single smallest allocation resource quantity, and avgA represents mean allocation number of resources Amount, α represent the regulatory factor of mean allocation resource quantity in second of resource distribution mode;
The scope of the single distribution resource quantity of the first resource distribution mode is [min A, max A];
The scope of the single distribution resource quantity of second of resource distribution mode is [min A, 2 α (avgA-min A) +min A]。
In an optional embodiment:
The random number computing unit 320, is specifically included:
The random number between [0, P] is generated at random;
The distribution hit unit 340, is specifically included:
In the random digit in the case of [0, P], it is determined that hitting the first resource distribution mode;
Or
The random digit in (P, 1] in the case of, it is determined that hit second of resource distribution mode.
In an optional embodiment:
The Resource Calculation unit 340, is specifically included:
First obtains subelement, in the case where identified resource distribution mode is the first resource distribution mode, obtains Take the single distribution resource quantity scope [min A, max A] of the first resource distribution mode;
Second obtains subelement, random to obtain one positioned at single distribution resource quantity scope [min A, max A] Interior distribution resource quantity;
Resource determination subelement, acquired distribution resource quantity is distributed to the resource quantity of the requesting party.
In an optional embodiment:
The Resource Calculation unit 340, is specifically included:
First obtains subelement, in the case where identified resource distribution mode is second of resource distribution mode, obtains The single of second of resource distribution mode is taken to distribute resource quantity scope [min A, 2 α (avgA-min A)+min A];
Second obtains subelement, random to obtain one positioned at single distribution resource quantity scope [min A, 2 α (avgA-min A)+min A] in distribution resource quantity;
Resource determination subelement, acquired distribution resource quantity is distributed to the resource quantity of the requesting party.
In an optional embodiment:
Business point is carried in the request,
The Resource Calculation unit 340, is specifically included:
Resource distribution mode determined by the basis and the business point, calculate the resource for distributing to the requesting party Quantity.
In an optional embodiment:
The Resource Calculation unit, is specifically included:
First obtains subelement, in the case where identified resource distribution mode is the first resource distribution mode, obtains Take the single distribution resource quantity scope [min A, max A] of the first resource distribution mode;
Second obtains subelement, obtains global business point scope [min A, max A];The global business divides Range Representation Minimal service assigns to maximum traffic point in all requesting parties;
Resource Calculation subelement, resource quantity is calculated according to equation below,
Wherein, score represents the business point that this request carries, and max Score represent global maximum traffic point, min Score represents global minimal service point, and max A represent single maximum allocated resource quantity, and min A represent single smallest allocation Resource quantity.
In an optional embodiment:
The Resource Calculation unit, is specifically included:
First obtains subelement, in the case where identified resource distribution mode is second of resource distribution mode, obtains The single of second of resource distribution mode is taken to distribute resource quantity scope [min A, 2 α (avgA-min A)+min A];
Second obtains subelement, obtains global business point scope [min A, max A];The global business divides Range Representation Minimal service assigns to maximum traffic point in all requesting parties;
Resource Calculation subelement, resource quantity is calculated according to equation below,
Wherein, score represents this The business point that request carries, max Score represent global maximum traffic point, and min Score represent global minimal service point, AvgA represents mean allocation resource quantity, and α represents the regulatory factor of mean allocation resource quantity in second of resource distribution mode, Min A represent single smallest allocation resource quantity.
In an optional embodiment:
Described device also includes:
Unit is changed, in the case where the requesting party has multiple resource allocation request, institute is changed by equation below The resource quantity of calculating:
Wherein, a is the resource quantity calculated, and base_rate, reduction_rate are the regulatory factor of configuration, The regulation stall of RLcnt configurations, seq is the requestor requests number, and EXP is logarithmic decrement symbol, SIN is sinusoidal symbol.
In an optional embodiment:
The resource allocation request, which includes prize drawing, asks;
The resource distribution mode includes the winning amount method of salary distribution;
The resource quantity includes winning amount.
System, device, module or the unit that above-described embodiment illustrates, it can specifically be realized by computer chip or entity, Or realized by the product with certain function.One kind typically realizes that equipment is computer, and the concrete form of computer can To be personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet PC, wearable device or these equipment The combination of any several equipment.
The function of unit and the implementation process of effect specifically refer to and step are corresponded in the above method in said apparatus Implementation process, it will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality Need to select some or all of module therein to realize the purpose of this specification scheme.Those of ordinary skill in the art are not In the case of paying creative work, you can to understand and implement.
Figure 3 above describes inner function module and the structural representation of resource allocation device, its substantial executive agent Can be a kind of electronic equipment, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Receive the resource allocation request that requesting party sends;
Generate the random number for determining resource distribution mode;
According to the random number calculated, the resource that the random number is hit is determined from least two resource distribution modes The method of salary distribution;
According to identified resource distribution mode, the resource quantity for distributing to the requesting party is calculated.
Optionally, resource distribution mode determined by the basis, the resource quantity for distributing to the requesting party, tool are calculated Body includes:
Obtain the single distribution resource quantity scope of the resource distribution mode of the determination;The single distributes resource quantity Scope by single maximum allocated resource quantity, single smallest allocation resource quantity, mean allocation resource quantity, for adjusting difference The regulatory factor of resource distribution mode mean allocation resource quantity is calculated;
It is random to obtain a resource quantity in the range of single distribution resource quantity;
Acquired distribution resource quantity is defined as distributing to the resource quantity of the requesting party.
Optionally, business point is carried in the request,
Resource distribution mode determined by the basis, the resource quantity for distributing to the requesting party is calculated, is specifically included:
Resource distribution mode determined by the basis and the business point, calculate the resource for distributing to the requesting party Quantity.
Optionally, the request is distributed in resource distribution mode determined by the basis and the business point, calculating The resource quantity of side, is specifically included:
Obtain the single distribution resource quantity scope of the resource distribution mode of the determination;The single distributes resource quantity Scope by single maximum allocated resource quantity, single smallest allocation resource quantity, mean allocation resource quantity, for adjusting difference The regulatory factor of resource distribution mode mean allocation resource quantity is calculated;
Obtain global business point scope;The global business divides minimal service in all requesting parties of Range Representation to assign to maximum Business point;
Resource quantity scope and the business point are distributed according to the single, is calculated and distributes to the requesting party's Resource quantity.
Optionally, in the case of with the two spike-type cultivars method of salary distribution,
The probability of the first resource distribution mode is P;
The probability of second of resource distribution mode is 1-P;
Wherein, P is calculated by equation below:
P=(2 (1- α) * min A+2 (α -1) * avgA)/(2 α * avgA+ (1-2 α) * min A-max A) wherein, max A Single maximum allocated resource quantity is represented, min A represent single smallest allocation resource quantity, and avgA represents mean allocation number of resources Amount, α represent the regulatory factor of mean allocation resource quantity in second of resource distribution mode;
The scope of the single distribution resource quantity of the first resource distribution mode is [min A, max A];
The scope of the single distribution resource quantity of second of resource distribution mode is [min A, 2 α (avgA-min A) +min A]。
Optionally, the random number generated for determining resource distribution mode, is specifically included:
The random number between [0, P] is generated at random;
It is described according to the random number calculated, determine what the random number was hit from least two resource distribution modes Resource distribution mode, specifically include:
In the random digit in the case of [0, P], it is determined that hitting the first resource distribution mode;
Or
The random digit in (P, 1] in the case of, it is determined that hit second of resource distribution mode.
Optionally, resource distribution mode determined by the basis, the resource quantity for distributing to the requesting party, tool are calculated Body includes:
In the case where identified resource distribution mode is the first resource distribution mode, the first described resource is obtained The single distribution resource quantity scope [min A, max A] of the method for salary distribution;
It is random to obtain a distribution number of resources in single distribution resource quantity scope [min A, max A] Amount;
Acquired distribution resource quantity is distributed to the resource quantity of the requesting party.
Optionally, resource distribution mode determined by the basis, the resource quantity for distributing to the requesting party, tool are calculated Body includes:
In the case where identified resource distribution mode is second of resource distribution mode, second of resource is obtained The single distribution resource quantity scope [min A, 2 α (avgA-min A)+min A] of the method for salary distribution;
It is random to obtain one positioned at single distribution resource quantity scope [min A, 2 α (avgA-min A)+min A] Interior distribution resource quantity;
Acquired distribution resource quantity is distributed to the resource quantity of the requesting party.
Optionally, business point is carried in the request,
Resource distribution mode determined by the basis, the resource quantity for distributing to the requesting party is calculated, is specifically included:
Resource distribution mode determined by the basis and the business point, calculate the resource for distributing to the requesting party Quantity.
Optionally, the request is distributed in resource distribution mode determined by the basis and the business point, calculating The resource quantity of side, is specifically included:
In the case where identified resource distribution mode is the first resource distribution mode, the first described resource is obtained The single distribution resource quantity scope [min A, max A] of the method for salary distribution;
Obtain global business point scope [min A, max A];The global business is divided in all requesting parties of Range Representation most Small business assigns to maximum traffic point;
Resource quantity is calculated according to equation below,
Wherein, score represents the business point that this request carries, and max Score represent global maximum traffic point, min Score represents global minimal service point, and max A represent single maximum allocated resource quantity, and min A represent single smallest allocation Resource quantity.
Optionally, the request is distributed in resource distribution mode determined by the basis and the business point, calculating The resource quantity of side, is specifically included:
In the case where identified resource distribution mode is second of resource distribution mode, second of resource is obtained The single distribution resource quantity scope [min A, 2 α (avgA-min A)+min A] of the method for salary distribution;
Obtain global business point scope [min A, max A];The global business is divided in all requesting parties of Range Representation most Small business assigns to maximum traffic point;
Resource quantity is calculated according to equation below,
Wherein, score represents this The business point that request carries, max Score represent global maximum traffic point, and min Score represent global minimal service point, AvgA represents mean allocation resource quantity, and α represents the regulatory factor of mean allocation resource quantity in second of resource distribution mode, Min A represent single smallest allocation resource quantity.
Optionally, the processor is also configured with:
In the case where the requesting party has multiple resource allocation request, calculated resource is changed by equation below Quantity:
Wherein, a is the resource quantity calculated, and base_rate, reduction_rate are the regulatory factor of configuration, The regulation stall of RLcnt configurations, seq is the requestor requests number, and EXP is logarithmic decrement symbol, SIN is sinusoidal symbol.
Optionally, the resource allocation request includes prize drawing request;
The resource distribution mode includes the winning amount method of salary distribution;
The resource quantity includes winning amount.
In the embodiment of above-mentioned electronic equipment, it should be appreciated that the processor can be CPU (English: Central Processing Unit, referred to as:CPU), it can also be other general processors, digital signal processor (English: Digital Signal Processor, referred to as:DSP), application specific integrated circuit (English:Application Specific Integrated Circuit, referred to as:ASIC) etc..General processor can be microprocessor or the processor can also be Any conventional processor etc., and foregoing memory can be read-only storage (English:Read-only memory, abbreviation: ROM), random access memory (English:Random access memory, referred to as:RAM), flash memory, hard disk or solid State hard disk.The step of method with reference to disclosed in the embodiment of the present invention, can be embodied directly in hardware processor and perform completion, or Hardware and software module combination in person's processor perform completion.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment stressed is the difference with other embodiment.Set especially for electronics For standby embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is real referring to method Apply the part explanation of example.
Those skilled in the art will readily occur to this specification after considering specification and putting into practice invention disclosed herein Other embodiments.This specification is intended to any modification, purposes or adaptations of this specification, these modifications, Purposes or adaptations follow the general principle of this specification and undocumented in the art including this specification Common knowledge or conventional techniques.Description and embodiments be considered only as it is exemplary, the true scope of this specification and Spirit is pointed out by following claim.
It should be appreciated that the precision architecture that this specification is not limited to be described above and is shown in the drawings, And various modifications and changes can be being carried out without departing from the scope.The scope of this specification is only limited by appended claim System.

Claims (27)

1. a kind of resource allocation methods, methods described include:
Receive the resource allocation request that requesting party sends;
Generate the random number for determining resource distribution mode;
According to the random number calculated, the resource allocation that the random number is hit is determined from least two resource distribution modes Mode;
According to identified resource distribution mode, the resource quantity for distributing to the requesting party is calculated.
2. according to the method for claim 1, resource distribution mode determined by the basis, the request is distributed in calculating The resource quantity of side, is specifically included:
Obtain the single distribution resource quantity scope of the resource distribution mode of the determination;The single distributes resource quantity scope By single maximum allocated resource quantity, single smallest allocation resource quantity, mean allocation resource quantity, for adjusting different resource The regulatory factor of method of salary distribution mean allocation resource quantity is calculated;
It is random to obtain a resource quantity in the range of single distribution resource quantity;
Acquired distribution resource quantity is defined as distributing to the resource quantity of the requesting party.
3. business point according to the method for claim 1, is carried in the request,
Resource distribution mode determined by the basis, the resource quantity for distributing to the requesting party is calculated, is specifically included:
Resource distribution mode determined by the basis and the business point, calculate the number of resources for distributing to the requesting party Amount.
4. according to the method for claim 3, resource distribution mode determined by the basis and the business point, are calculated The resource quantity of the requesting party is distributed to, is specifically included:
Obtain the single distribution resource quantity scope of the resource distribution mode of the determination;The single distributes resource quantity scope By single maximum allocated resource quantity, single smallest allocation resource quantity, mean allocation resource quantity, for adjusting different resource The regulatory factor of method of salary distribution mean allocation resource quantity is calculated;
Obtain global business point scope;The global business divides minimal service in all requesting parties of Range Representation to assign to maximum traffic Point;
Resource quantity scope and the business point are distributed according to the single, the resource for distributing to the requesting party is calculated Quantity.
5. according to the method for claim 1, in the case of with the two spike-type cultivars method of salary distribution,
The probability of the first resource distribution mode is P;
The probability of second of resource distribution mode is 1-P;
Wherein, P is calculated by equation below:
Wherein, maxA represents single to P=(2 (1- α) * minA+2 (α -1) * avgA)/(2 α * avgA+ (1-2 α) * minA-maxA) Maximum allocated resource quantity, minA represent single smallest allocation resource quantity, and avgA represents mean allocation resource quantity, and α is represented The regulatory factor of mean allocation resource quantity in second of resource distribution mode;
The scope of the single distribution resource quantity of the first resource distribution mode is [minA, maxA];
Second of resource distribution mode single distribution resource quantity scope for [minA, 2 α (avgA-minA)+ minA]。
6. according to the method for claim 5, the random number generated for determining resource distribution mode, specifically include:
The random number between [0, P] is generated at random;
It is described according to the random number calculated, the resource that the random number is hit is determined from least two resource distribution modes The method of salary distribution, specifically include:
In the random digit in the case of [0, P], it is determined that hitting the first resource distribution mode;
Or
The random digit in (P, 1] in the case of, it is determined that hit second of resource distribution mode.
7. according to the method for claim 5, resource distribution mode determined by the basis, the request is distributed in calculating The resource quantity of side, is specifically included:
In the case where identified resource distribution mode is the first resource distribution mode, the first described resource allocation is obtained The single distribution resource quantity scope [minA, maxA] of mode;
It is random to obtain a distribution resource quantity in single distribution resource quantity scope [minA, maxA];
Acquired distribution resource quantity is distributed to the resource quantity of the requesting party.
8. according to the method for claim 5, resource distribution mode determined by the basis, the request is distributed in calculating The resource quantity of side, is specifically included:
In the case where identified resource distribution mode is second of resource distribution mode, second of resource allocation is obtained The single distribution resource quantity scope [minA, 2 α (avgA-minA)+minA] of mode;
It is random to obtain a distribution in single distribution resource quantity scope [minA, 2 α (avgA-minA)+minA] Resource quantity;
Acquired distribution resource quantity is distributed to the resource quantity of the requesting party.
9. business point according to the method for claim 5, is carried in the request,
Resource distribution mode determined by the basis, the resource quantity for distributing to the requesting party is calculated, is specifically included:
Resource distribution mode determined by the basis and the business point, calculate the number of resources for distributing to the requesting party Amount.
10. according to the method for claim 9, resource distribution mode determined by the basis and the business point, meter The resource quantity of requesting party, is specifically included described in point counting dispensing:
In the case where identified resource distribution mode is the first resource distribution mode, the first described resource allocation is obtained The single distribution resource quantity scope [minA, maxA] of mode;
Obtain global business point scope [minA, maxA];The global business divides minimal service in all requesting parties of Range Representation Assign to maximum traffic point;
Resource quantity is calculated according to equation below,
<mrow> <mi>a</mi> <mo>=</mo> <mfrac> <mrow> <mo>(</mo> <mi>s</mi> <mi>c</mi> <mi>o</mi> <mi>r</mi> <mi>e</mi> <mo>-</mo> <mi>min</mi> <mi> </mi> <mi>S</mi> <mi>c</mi> <mi>o</mi> <mi>r</mi> <mi>e</mi> <mo>)</mo> </mrow> <mrow> <mo>(</mo> <mi>max</mi> <mi> </mi> <mi>S</mi> <mi>c</mi> <mi>o</mi> <mi>r</mi> <mi>e</mi> <mo>-</mo> <mi>min</mi> <mi> </mi> <mi>S</mi> <mi>c</mi> <mi>o</mi> <mi>r</mi> <mi>e</mi> <mo>)</mo> </mrow> </mfrac> <mo>*</mo> <mrow> <mo>(</mo> <mi>max</mi> <mi> </mi> <mi>A</mi> <mo>-</mo> <mi>min</mi> <mi> </mi> <mi>A</mi> <mo>)</mo> </mrow> <mo>+</mo> <mi>min</mi> <mi> </mi> <mi>A</mi> </mrow>
Wherein, score represents the business point that this request carries, and maxScore represents global maximum traffic point, minScore Global minimal service point is represented, maxA represents single maximum allocated resource quantity, and minA represents single smallest allocation number of resources Amount.
11. according to the method for claim 9, resource distribution mode determined by the basis and the business point, meter The resource quantity of requesting party, is specifically included described in point counting dispensing:
In the case where identified resource distribution mode is second of resource distribution mode, second of resource allocation is obtained The single distribution resource quantity scope [minA, 2 α (avgA-minA)+minA] of mode;
Obtain global business point scope [minA, maxA];The global business divides minimal service in all requesting parties of Range Representation Assign to maximum traffic point;
Resource quantity is calculated according to equation below,
Wherein, score represents this request The business of carrying point, maxScore represent global maximum traffic point, and minScore represents global minimal service point, avgA tables Show mean allocation resource quantity, α represents the regulatory factor of mean allocation resource quantity in second of resource distribution mode, minA tables Show single smallest allocation resource quantity.
12. the method according to claim 10 or 11, methods described also include:
In the case where the requesting party has multiple resource allocation request, calculated number of resources is changed by equation below Amount:
Wherein, a is the resource quantity calculated, and base_rate, reduction_rate are the regulatory factor of configuration, and RLcnt matches somebody with somebody The regulation stall put, seq are the requestor requests number, and EXP is logarithmic decrement symbol, SIN is sinusoidal symbol.
13. according to the method for claim 1, the resource allocation request includes prize drawing request;
The resource distribution mode includes the winning amount method of salary distribution;
The resource quantity includes winning amount.
14. a kind of resource allocation device, described device include:
Request reception unit, receive the resource allocation request that requesting party sends;
Random number generation unit, generate the random number for determining resource distribution mode;
Distribution hit unit, according to the random number calculated, determines the random number institute from least two resource distribution modes The resource distribution mode of hit;
Resource Calculation unit, according to identified resource distribution mode, calculate the resource quantity for distributing to the requesting party.
15. device according to claim 14, the Resource Calculation unit, are specifically included:
First obtains subelement, obtains the single distribution resource quantity scope of the resource distribution mode of the determination;The single Distribute resource quantity scope by single maximum allocated resource quantity, single smallest allocation resource quantity, mean allocation resource quantity, Regulatory factor for adjusting different resource method of salary distribution mean allocation resource quantity is calculated;
Second obtains subelement, random to obtain a resource quantity in the range of single distribution resource quantity;
Determination subelement, acquired distribution resource quantity is defined as distributing to the resource quantity of the requesting party.
16. device according to claim 14, business point is carried in the request,
The Resource Calculation unit, is specifically included:
Resource distribution mode determined by the basis and the business point, calculate the number of resources for distributing to the requesting party Amount.
17. device according to claim 16, the Resource Calculation unit, are specifically included:
First obtains subelement, obtains the single distribution resource quantity scope of the resource distribution mode of the determination;The single Distribute resource quantity scope by single maximum allocated resource quantity, single smallest allocation resource quantity, mean allocation resource quantity, Regulatory factor for adjusting different resource method of salary distribution mean allocation resource quantity is calculated;
Second obtains subelement, obtains global business point scope;The global business is divided minimum in all requesting parties of Range Representation Business assigns to maximum traffic point;
Resource Calculation subelement, resource quantity scope and the business point are distributed according to the single, is calculated and distributes to The resource quantity of the requesting party.
18. device according to claim 14, in the case of with the two spike-type cultivars method of salary distribution,
The probability of the first resource distribution mode is P;
The probability of second of resource distribution mode is 1-P;
Wherein, P is calculated by equation below:
Wherein, maxA represents single to P=(2 (1- α) * minA+2 (α -1) * avgA)/(2 α * avgA+ (1-2 α) * minA-maxA) Maximum allocated resource quantity, minA represent single smallest allocation resource quantity, and avgA represents mean allocation resource quantity, and α is represented The regulatory factor of mean allocation resource quantity in second of resource distribution mode;
The scope of the single distribution resource quantity of the first resource distribution mode is [minA, maxA];
Second of resource distribution mode single distribution resource quantity scope for [minA, 2 α (avgA-minA)+ minA]。
19. device according to claim 18, the random number computing unit, are specifically included:
The random number between [0, P] is generated at random;
The distribution hit unit, is specifically included:
In the random digit in the case of [0, P], it is determined that hitting the first resource distribution mode;
Or
The random digit in (P, 1] in the case of, it is determined that hit second of resource distribution mode.
20. device according to claim 18, the Resource Calculation unit, are specifically included:
First obtains subelement, in the case where identified resource distribution mode is the first resource distribution mode, obtains institute State the single distribution resource quantity scope [minA, maxA] of the first resource distribution mode;
Second obtains subelement, random to obtain a point in single distribution resource quantity scope [minA, maxA] With resource quantity;
Resource determination subelement, acquired distribution resource quantity is distributed to the resource quantity of the requesting party.
21. device according to claim 18, the Resource Calculation unit, are specifically included:
First obtains subelement, in the case where identified resource distribution mode is second of resource distribution mode, obtains institute State the single distribution resource quantity scope [minA, 2 α (avgA-minA)+minA] of second of resource distribution mode;
Second obtains subelement, random to obtain one positioned at single distribution resource quantity scope [minA, 2 α (avgA- MinA)+minA] in distribution resource quantity;
Resource determination subelement, acquired distribution resource quantity is distributed to the resource quantity of the requesting party.
22. device according to claim 18, business point is carried in the request,
The Resource Calculation unit, is specifically included:
Resource distribution mode determined by the basis and the business point, calculate the number of resources for distributing to the requesting party Amount.
23. device according to claim 22, the Resource Calculation unit, are specifically included:
First obtains subelement, in the case where identified resource distribution mode is the first resource distribution mode, obtains institute State the single distribution resource quantity scope [minA, maxA] of the first resource distribution mode;
Second obtains subelement, obtains global business point scope [minA, maxA];The global business divides Range Representation institute, and ask the visitor in Minimal service assigns to maximum traffic point in the side of asking;
Resource Calculation subelement, resource quantity is calculated according to equation below,
<mrow> <mi>a</mi> <mo>=</mo> <mfrac> <mrow> <mo>(</mo> <mi>s</mi> <mi>c</mi> <mi>o</mi> <mi>r</mi> <mi>e</mi> <mo>-</mo> <mi>min</mi> <mi> </mi> <mi>S</mi> <mi>c</mi> <mi>o</mi> <mi>r</mi> <mi>e</mi> <mo>)</mo> </mrow> <mrow> <mo>(</mo> <mi>max</mi> <mi> </mi> <mi>S</mi> <mi>c</mi> <mi>o</mi> <mi>r</mi> <mi>e</mi> <mo>-</mo> <mi>min</mi> <mi> </mi> <mi>S</mi> <mi>c</mi> <mi>o</mi> <mi>r</mi> <mi>e</mi> <mo>)</mo> </mrow> </mfrac> <mo>*</mo> <mrow> <mo>(</mo> <mi>max</mi> <mi> </mi> <mi>A</mi> <mo>-</mo> <mi>min</mi> <mi> </mi> <mi>A</mi> <mo>)</mo> </mrow> <mo>+</mo> <mi>min</mi> <mi> </mi> <mi>A</mi> </mrow>
Wherein, score represents the business point that this request carries, and maxScore represents global maximum traffic point, minScore Global minimal service point is represented, maxA represents single maximum allocated resource quantity, and minA represents single smallest allocation number of resources Amount.
24. device according to claim 22, the Resource Calculation unit, are specifically included:
First obtains subelement, in the case where identified resource distribution mode is second of resource distribution mode, obtains institute State the single distribution resource quantity scope [minA, 2 α (avgA-minA)+minA] of second of resource distribution mode;
Second obtains subelement, obtains global business point scope [minA, maxA];The global business divides Range Representation institute, and ask the visitor in Minimal service assigns to maximum traffic point in the side of asking;
Resource Calculation subelement, resource quantity is calculated according to equation below,
Wherein, score represents this request The business of carrying point, maxScore represent global maximum traffic point, and minScore represents global minimal service point, avgA tables Show mean allocation resource quantity, α represents the regulatory factor of mean allocation resource quantity in second of resource distribution mode, minA tables Show single smallest allocation resource quantity.
25. the device according to claim 23 or 24, described device also include:
Unit is changed, in the case where the requesting party has multiple resource allocation request, is calculated by equation below modification Resource quantity:
Wherein, a is the resource quantity calculated, and base_rate, reduction_rate are the regulatory factor of configuration, and RLcnt matches somebody with somebody The regulation stall put, seq are the requestor requests number, and EXP is logarithmic decrement symbol, SIN is sinusoidal symbol.
26. device according to claim 14, the resource allocation request, which includes prize drawing, asks;
The resource distribution mode includes the winning amount method of salary distribution;
The resource quantity includes winning amount.
27. a kind of electronic equipment, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Receive the resource allocation request that requesting party sends;
Generate the random number for determining resource distribution mode;
According to the random number calculated, the resource allocation that the random number is hit is determined from least two resource distribution modes Mode;
According to identified resource distribution mode, the resource quantity for distributing to the requesting party is calculated.
CN201710795200.4A 2017-09-06 2017-09-06 Resource allocation methods and device and electronic equipment Pending CN107608790A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201710795200.4A CN107608790A (en) 2017-09-06 2017-09-06 Resource allocation methods and device and electronic equipment
TW107117912A TWI682336B (en) 2017-09-06 2018-05-25 Resource allocation method and device and electronic equipment
PCT/CN2018/103498 WO2019047774A1 (en) 2017-09-06 2018-08-31 Resource allocation method and device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710795200.4A CN107608790A (en) 2017-09-06 2017-09-06 Resource allocation methods and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN107608790A true CN107608790A (en) 2018-01-19

Family

ID=61057472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710795200.4A Pending CN107608790A (en) 2017-09-06 2017-09-06 Resource allocation methods and device and electronic equipment

Country Status (3)

Country Link
CN (1) CN107608790A (en)
TW (1) TWI682336B (en)
WO (1) WO2019047774A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019047774A1 (en) * 2017-09-06 2019-03-14 阿里巴巴集团控股有限公司 Resource allocation method and device and electronic device
CN110532087A (en) * 2018-05-24 2019-12-03 阿里巴巴集团控股有限公司 A kind of resource allocation methods, resource manager
CN112036839A (en) * 2020-09-14 2020-12-04 普源精电科技股份有限公司 Resource allocation method and related device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7360925B2 (en) * 2019-12-16 2023-10-13 株式会社日立製作所 analysis system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160055441A1 (en) * 2014-08-25 2016-02-25 Visa International Service Association Systems and methods to coordinate resource allocation in processing among a plurality of separate computing systems
CN106157005A (en) * 2016-06-30 2016-11-23 北京小米移动软件有限公司 The distribution method of the red packet amount of money and device
CN106649637A (en) * 2016-12-08 2017-05-10 武汉斗鱼网络科技有限公司 Red envelope processing method and system
CN106844061A (en) * 2015-12-03 2017-06-13 腾讯科技(深圳)有限公司 Shared resource treating method and apparatus
CN106875322A (en) * 2016-12-21 2017-06-20 乐视控股(北京)有限公司 A kind of network lottery drawing method and device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004049393A (en) * 2002-07-17 2004-02-19 Dragon:Kk Game machine
TW200525420A (en) * 2004-01-30 2005-08-01 Asure Corp Interactive network lottery method and system thereof
JP2006149645A (en) * 2004-11-29 2006-06-15 Aruze Corp Game machine
EA200702245A1 (en) * 2005-04-15 2008-08-29 Джекпот Риводз, Инк. SYSTEMS AND METHODS FOR COMBINING SUBSCRIPTION SERVICES, BONUS PROGRAMS AND LOTTERIES
JP2007143882A (en) * 2005-11-28 2007-06-14 Aruze Corp Game machine
CN104820936A (en) * 2015-04-24 2015-08-05 重庆炬野科技发展有限公司 Incentive purchasing system based on commodity information codes, and method
CN105321249A (en) * 2015-10-14 2016-02-10 贵阳朗玛信息技术股份有限公司 Prize drawing method and device
CN106611309A (en) * 2015-10-23 2017-05-03 北大方正集团有限公司 Information processing device and method
CN106296272A (en) * 2016-07-29 2017-01-04 五八同城信息技术有限公司 A kind of drawing outcomes rendering method and device
CN106530019A (en) * 2016-12-30 2017-03-22 重庆腾帆科技有限公司 Server with function of performing dynamic configuration on winning probability
CN107608790A (en) * 2017-09-06 2018-01-19 阿里巴巴集团控股有限公司 Resource allocation methods and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160055441A1 (en) * 2014-08-25 2016-02-25 Visa International Service Association Systems and methods to coordinate resource allocation in processing among a plurality of separate computing systems
CN106844061A (en) * 2015-12-03 2017-06-13 腾讯科技(深圳)有限公司 Shared resource treating method and apparatus
CN106157005A (en) * 2016-06-30 2016-11-23 北京小米移动软件有限公司 The distribution method of the red packet amount of money and device
CN106649637A (en) * 2016-12-08 2017-05-10 武汉斗鱼网络科技有限公司 Red envelope processing method and system
CN106875322A (en) * 2016-12-21 2017-06-20 乐视控股(北京)有限公司 A kind of network lottery drawing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘 洋: "概率分析微信群抢红包的本质", 《大庆师范学院学报》 *
张成叔: "《C语言程序设计教学做一体化教程》", 28 February 2016, 安徽大学出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019047774A1 (en) * 2017-09-06 2019-03-14 阿里巴巴集团控股有限公司 Resource allocation method and device and electronic device
CN110532087A (en) * 2018-05-24 2019-12-03 阿里巴巴集团控股有限公司 A kind of resource allocation methods, resource manager
CN112036839A (en) * 2020-09-14 2020-12-04 普源精电科技股份有限公司 Resource allocation method and related device

Also Published As

Publication number Publication date
WO2019047774A1 (en) 2019-03-14
TW201913470A (en) 2019-04-01
TWI682336B (en) 2020-01-11

Similar Documents

Publication Publication Date Title
CN107608790A (en) Resource allocation methods and device and electronic equipment
CN107332902B (en) The user of online customer service system asks distribution method, device and computing device
CN106471488B (en) Tiling techniques for server control based on location information
CN104660669B (en) The method and system of a host is selected from multiple main frames for application model component
CN103853618B (en) Resource allocation method with minimized cloud system cost based on expiration date drive
US10623410B2 (en) Multi-level, distributed access control between services and applications
CN107317887B (en) A kind of load-balancing method, device and system
CN105144109B (en) Distributive data center technology
CN109617986A (en) A kind of load-balancing method and the network equipment
CN108052615A (en) Processing method, device, medium and the electronic equipment of access request
US20220224637A1 (en) Methods and apparatus for traffic control for application-independent service mesh
CN107247629A (en) Cloud computing system and cloud computing method and device for controlling server
CN105791381A (en) Access control method and apparatus
US20220291970A1 (en) Core to resource mapping and resource to core mapping
CN107251002A (en) Multi-mode on-chip system
CN113516507A (en) Resource charging method and device for multi-cloud management platform
CN111080429A (en) Virtual resource acquisition method, device and storage medium
US11023962B2 (en) Searching available rental vehicles based on adjustable parameters
CN108112268A (en) Management and the relevant load balancer of automatic expanded set
CN109062683A (en) The method, apparatus and computer readable storage medium of host resource distribution
CN115858182B (en) Intelligent adaptation method and system applied to edge computing nodes of meta universe
JP2018524683A (en) Techniques for dynamic zero-rate server clusters
CN108040118A (en) Visit capacity statistical method, device and storage medium
CN107977270A (en) Peers distribution method, peers distribution system and computer installation
US20220353638A1 (en) Location-based application discovery

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1249212

Country of ref document: HK

TA01 Transfer of patent application right

Effective date of registration: 20200923

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

Applicant after: Innovative advanced technology Co.,Ltd.

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

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200923

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

Applicant after: Advanced innovation technology Co.,Ltd.

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

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right