CN108629611A - Method and apparatus for distributing resource - Google Patents

Method and apparatus for distributing resource Download PDF

Info

Publication number
CN108629611A
CN108629611A CN201710182584.2A CN201710182584A CN108629611A CN 108629611 A CN108629611 A CN 108629611A CN 201710182584 A CN201710182584 A CN 201710182584A CN 108629611 A CN108629611 A CN 108629611A
Authority
CN
China
Prior art keywords
resource
sub
period
resource allocation
request
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
CN201710182584.2A
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201710182584.2A priority Critical patent/CN108629611A/en
Publication of CN108629611A publication Critical patent/CN108629611A/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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06312Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
    • 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
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0223Discounts or incentives, e.g. coupons or rebates based on inventory

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • Game Theory and Decision Science (AREA)
  • Marketing (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Educational Administration (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This application discloses the method and apparatus for distributing resource.One specific implementation mode of this method includes:According between the resource quantity of unallocated resource and the duration in supremum distribution time limit proportionate relationship and be the sub- period setting resource allocation transformation, determine the practical duration of sub- period;Using current point in time as starting point, the sub- period is partitioned into from the supremum distribution time limit;Obtain the expection number of requests of the expected resource allocation request received in the sub- period;According to the proportionate relationship between the expection number of requests and resource allocation transformation of sub- period, the resource allocation probability of sub- period is determined;When having distributed the resource quantity of resource within the sub- period and being not up to resource allocation transformation, determined whether at random to sending the unallocated resource in the request end distribution resource collection of resource allocation request in the sub- period according to resource allocation probability.The embodiment realizes resource evenly distributing in time.

Description

Method and apparatus for distributing resource
Technical field
This application involves field of computer technology, and in particular to Internet technical field more particularly, to distributes resource Method.
Background technology
Resource allocation refers to that limited resource is distributed to transmission resource according to certain strategy in the resource allocation time limit The equipment of distribution request.When carrying out resource allocation, it usually needs the mean allocation as much as possible in the resource allocation time limit avoids It is too early that limited resource allocation is complete, while also to avoid resource concentrating on some sub- period centralized distribution.
However, existing resource distribution mode usually requires to manually adjust distributes the general of resource to each resource allocation request Rate, and the experience that probability extremely relies on related personnel is manually adjusted, probability, which is estimated, is not allowed or is easy not in time resource allocation granularity It is uneven.In addition, manual allocation mode is also required to consume additional cost of labor.
Invention content
The purpose of the application is to propose a kind of improved method and apparatus for distributing resource, to solve background above The technical issues of technology segment is mentioned.
In a first aspect, the embodiment of the present application provides a kind of method for distributing resource, this method includes:According to for dividing Ratio in the resource collection matched between the duration in the supremum distribution time limit of the resource quantity of unallocated resource and resource collection is closed System and the resource allocation transformation being arranged for the sub- period, determine the sub- period for waiting for being partitioned into from the supremum distribution time limit Practical duration;Using current point in time as starting point and according to practical duration, the sub- period is partitioned into from the supremum distribution time limit;It obtains The expection number of requests of the expected resource allocation request received in the sub- period;According to the expection number of requests of sub- period with Proportionate relationship between resource allocation transformation determines and distributes money to the request end for sending resource allocation request in the sub- period The resource allocation probability in source;When having distributed the resource quantity of resource within the sub- period and being not up to resource allocation transformation, root Determined whether at random to being sent in the sub- period in the request end distribution resource collection of resource allocation request according to resource allocation probability Unallocated resource.
In some embodiments, in the above-mentioned resource collection according to for distribution unallocated resource resource quantity and resource set Proportionate relationship between the duration in the supremum distribution time limit of conjunction and the resource allocation transformation for the setting of sub- period, determine Wait for the practical duration for the sub- period being partitioned into from the supremum distribution time limit, including:By the resource quantity of unallocated resource and residue Resource allocation transformation of the proportionate relationship distributed between the duration in time limit as the sub- period is closed with the ratio with reference to duration System obtains and refers to duration;It will be determined as the sub- period with reference to duration and the higher value in preset sub- period duration lower limit Practical duration.
In some embodiments, the expection number of request of the resource allocation request received is expected in the above-mentioned acquisition sub- period Amount, including:According to the number of requests for the resource allocation request that historical time occurs, expected number of requests is determined.
In some embodiments, the above method further includes:Generation is distributed for the sub- period and resource quantity is resource allocation The resource pool of transformation;And the resource quantity of resource has been distributed within the sub- period and has been not up to resource allocation transformation When, determined whether to distribute resource set to the request end for sending resource allocation request in the sub- period at random according to resource allocation probability Unallocated resource in conjunction, including:When resource in resource pool is unallocated complete, according to resource, probability determines whether at random respectively To sending the resource in the request end distribution resource pool of resource allocation request in the sub- period;Resource allocation in resource pool is complete When, it stops at and distributes resource in the sub- time.
In some embodiments, resource collection includes the resource of different resource type;And above-mentioned generation is for the sub- time Section distribution and the resource pool that resource quantity is resource allocation transformation, including:Successively construct resource pool in each resource with Determine the resource kind of constructed resource when generating resource pool, and constructing each resource at random according to the weight of different resource type Class.
In some embodiments, the money that above-mentioned generation is distributed for the sub- period and resource quantity is resource allocation transformation Source pond further includes:According to the resource quantity of different resource type in the unallocated resource of resource collection, each resource category is determined Weight.
In some embodiments, the above method further includes:When determine distribute resource to request end when, to being waited in resource pool point The resource for being assigned to request end is locked;It is locking the resource allocation being locked in the term of validity to request end, and more new resources The resource allocation information recorded in the lasting library of distribution information.
In some embodiments, determined whether at random to sending resource allocation in the sub- period according to resource allocation probability Before unallocated resource in the request end distribution resource collection of request, method further includes:It is asked to sending resource allocation request End is asked to carry out resource request authorization check, to determine that request end passes through verification.
In some embodiments, the above-mentioned request end to sending resource allocation request carries out resource request authorization check, packet It includes:Judge whether the resource allocation information for sending the request end of resource allocation request stores in the buffer, wherein be used in caching Store the part resource distribution information read in advance from the lasting library of resource allocation information;If storage is in the buffer, from caching Otherwise from database the resource allocation information at read requests end and caching is written in the resource allocation information at middle read requests end In;Resource request authorization check is carried out to request end according to the resource allocation information of request end.
Second aspect, the embodiment of the present application provide a kind of device for distributing resource, which includes:Duration determines Unit, for according to the supremum distribution time limit of the resource quantity of unallocated resource in the resource collection for distribution and resource collection Proportionate relationship between duration and the resource allocation transformation for the setting of sub- period, determine and wait for from the supremum distribution time limit point The practical duration for the sub- period cut out;Cutting unit is used for using current point in time as starting point and according to practical duration, from residue It is partitioned into the sub- period in the distribution time limit;Acquiring unit, for obtaining the expected resource allocation request received in the sub- period Expection number of requests;Probability determining unit, for the expection number of requests and resource allocation transformation according to the sub- period Between proportionate relationship, determine in the sub- period send resource allocation request request end distribute resource resource allocation it is general Rate;Determination unit is distributed, when the resource quantity for having distributed resource within the sub- period is not up to resource allocation transformation, Determined whether to distribute resource collection to the request end for sending resource allocation request in the sub- period at random according to resource allocation probability In unallocated resource.
In some embodiments, duration determination unit is further used for:By the resource quantity of unallocated resource and remaining point Resource allocation transformation of the proportionate relationship as the sub- period between duration with the time limit and the proportionate relationship with reference to duration, It obtains and refers to duration;It will be determined as the reality of sub- period with the higher value in preset sub- period duration lower limit with reference to duration Duration.
In some embodiments, acquiring unit is further used for:The resource allocation request occurred according to historical time is asked Quantity is sought, determines expected number of requests.
In some embodiments, above-mentioned apparatus further includes:Generation unit, for generating for the distribution of sub- period and number of resources Amount is the resource pool of resource allocation transformation;And distribution determination unit is further used for:Resource in resource pool is not divided With it is complete when, according to resource respectively probability determine whether at random in the sub- period send resource allocation request request end distribute money Resource in the pond of source;When resource allocation in resource pool is complete, stops at and distribute resource in the sub- time.
In some embodiments, resource collection includes the resource of different resource type;And generation unit is further used In:According to different resource type when constructing each resource in resource pool successively to generate resource pool, and constructing each resource Weight determines the resource category of constructed resource at random.
In some embodiments, generation unit is additionally operable to:According to different resource type in the unallocated resource of resource collection Resource quantity, determine the weight of each resource category.
In some embodiments, above-mentioned apparatus further includes:Unit is locked, is used for when determining to request end distribution resource, Resource to be allocated to request end in resource pool is locked;Allocation unit, for locking in the term of validity and being locked Resource allocation updates the resource allocation information recorded in the lasting library of resource allocation information to request end.
In some embodiments, above-mentioned apparatus further includes:Verification unit, for being determined at random according to resource allocation probability Before whether distributing the unallocated resource in resource collection to the request end for sending resource allocation request in the sub- period, to sending The request end of resource allocation request carries out resource request authorization check, to determine that request end passes through verification.
In some embodiments, verification unit is further used for:Judge the resource of the request end of transmission resource allocation request Whether distribution information stores in the buffer, wherein is read in advance from the lasting library of resource allocation information in caching for storing Part resource distributes information;If storage is in the buffer, the resource allocation information at read requests end from caching, otherwise from data It the resource allocation information at read requests end and is written in caching in library;According to the resource allocation information of request end to the money of request end Source request permissions is verified.
The third aspect, the embodiment of the present application provide a kind of server, including:One or more processors;Storage device, For storing one or more programs, when one or more programs are executed by one or more processors so that one or more Processor realizes the method as described in any one of first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence, which is characterized in that the method as described in any one of first aspect is realized when the program is executed by processor.
Method and apparatus provided by the present application for distributing resource, can according to the resource quantity of unallocated resource with it is surplus The duration in remaining distribution time limit dynamically adjusts the sub- period divided, and the period of the day from 11 p.m. to 1 a.m is arranged according to the expection number of requests of sub- period Between section resource allocation probability so that resource can be evenly distributed in time scale, avoid resource within sometime It distributes excessive or very few.
Description of the drawings
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 is the flow chart according to one embodiment of the method for distributing resource of the application;
Fig. 3 is the flow chart according to another embodiment of the method for distributing resource of the application;
Fig. 4 is the structural schematic diagram according to one embodiment of the device for distributing resource of the application;
Fig. 5 is adapted for the structural schematic diagram of the computer system of the server for realizing the embodiment of the present application.
Specific implementation mode
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, is illustrated only in attached drawing and invent relevant part with related.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the implementation of the method for distributing resource or the device for distributing resource that can apply the application The exemplary system architecture 100 of example.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105. Network 104 between terminal device 101,102,103 and server 105 provide communication link medium.Network 104 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted by network 104 with server 105 with using terminal equipment 101,102,103, to receive or send out Send message etc..Various telecommunication customer end applications can be installed, such as web browser is answered on terminal device 101,102,103 With, prize drawing class application, shopping class application, instant messaging tools, social platform software etc..
Terminal device 101,102,103 can be various electronic equipments, including but not limited to smart mobile phone, tablet computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image Expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic shadow As expert's compression standard audio level 4) player, pocket computer on knee and desktop computer etc..
Server 105 can be to provide the server of various services, such as to providing money on terminal device 101,102,103 The background server in source.Background server can carry out the data such as the resource allocation request that receives the processing such as to analyze, and really It is fixed whether to allocate resources to resource allocation request.
It should be noted that the method for distributing resource that the embodiment of the present application is provided generally is held by server 105 Row, correspondingly, the device for distributing resource is generally positioned in server 105.
It should be understood that the number of the terminal device, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
With continued reference to Fig. 2, the flow of one embodiment of the method for distributing resource according to the application is shown 200.The method for being used to distribute resource, includes the following steps:
Step 201, according to the resource quantity of unallocated resource in the resource collection for distribution and the residue of resource collection point Proportionate relationship between duration with the time limit and the resource allocation transformation for the setting of sub- period, are determined as the sub- period Practical duration.
In the present embodiment, the method for distributing resource runs electronic equipment (such as service shown in FIG. 1 thereon Device) the supremum distribution phase of the resource quantity of unallocated resource and resource collection in the resource collection for distribution can be detected first The duration of limit.For example, share 100 resources in resource collection, and 30 resources therein are the allocated, then unallocated resource Unallocated resource quantity is 70.The distribution time limit is that period A lasts one week to time point C, and current point in time B is then remaining The distribution time limit is time point B to time point C, and the duration in supremum distribution time limit is durations of the time point B to time point C.It is above-mentioned Resource in resource collection can be various distributable resources, such as article in kind or virtual objects.For example, resource can be with It is the prize for prize drawing.In addition, electronic equipment can also be retrieved as the resource allocation transformation of sub- period setting.Wherein, The resource allocation transformation could be provided as fixed value, can also be the resource quantity according to unallocated resource and according to certain Rule dynamic adjustment.
Later, electronic equipment can be according to the resource quantity and resource collection of unallocated resource in the resource collection for distribution The supremum distribution time limit duration between proportionate relationship and for the sub- period setting resource allocation transformation, determination wait for The practical duration for the sub- period being partitioned into from the supremum distribution time limit.In general, can be by the resource quantity and money of unallocated resource Time span and resource of the proportionate relationship as the sub- period divided between the duration in the supremum distribution time limit of source set The reference proportionate relationship of the quantity allotted upper limit, so as to get the real time length of sub- period.For example, working as above-mentioned money Source quantity and the proportionate relationship of duration are that 1 resource corresponds to duration T, then resource allocation transformation and the time of sub- period are long The reference proportionate relationship of degree is also that 1 resource corresponds to duration T.At this point, electronic equipment can according to this with reference to proportionate relationship and Resource allocation transformation determines the practical duration of sub- period.For example, proportionate relationship will can directly be referred to as the sub- time Actual ratio relationship between the resource allocation transformation and practical duration of section, and then obtain the practical duration of sub- period. At this point, a length of T when the then sub- period when resource allocation transformation is 1, the then period of the day from 11 p.m. to 1 a.m when resource allocation transformation is 2 Between section when a length of 2T, and so on.In practice, the reality between the resource allocation transformation and practical duration of sub- period Proportionate relationship can also suitably be adjusted on the basis of with reference to proportionate relationship.
Optionally, step 201 can start to execute at any time, can also be to start to execute on specific opportunity.Wherein, Step 201 can be when the sub- period previously divided is expired, can also be expired in the sub- period previously divided After execute when receiving first resource allocation request, can also be that in current point in time be preset sub- period segmentation When the time.
In some optional realization methods of the present embodiment, step 201 can specifically include:By the resource of unallocated resource Proportionate relationship between quantity and the duration in supremum distribution time limit as the sub- period resource allocation transformation with reference when Long proportionate relationship obtains and refers to duration;It will be determined as with the higher value in preset sub- period duration lower limit with reference to duration The practical duration of sub- period.It, can be first by the resource of unallocated resource when determining practical duration in the realization method Proportionate relationship between quantity and the duration in supremum distribution time limit as the sub- period resource allocation transformation with reference when Long proportionate relationship, to calculate the reference duration of sub- period using resource allocation transformation and the proportionate relationship. Later, it can will be compared with preset sub- period duration lower limit with reference to duration.It, can be with if the value with reference to duration is larger It will be set as practical duration with reference to duration, and otherwise set sub- period duration lower limit to practical duration.This mode is to the period of the day from 11 p.m. to 1 a.m Between the duration of section define lower limit so that the duration of sub- period is unlikely to too short, avoid duration is too short from causing continually Carry out sub- period Ground Split and subsequent processing, and then consumption calculations resource.
Step 202, using current point in time as starting point and according to practical duration, the sub- time is partitioned into from the supremum distribution time limit Section.
In the present embodiment, based on step 201 to practical duration determined by the sub- period, electronic equipment can be with current Time point for starting point and according to practical duration, is partitioned into the sub- period from the supremum distribution time limit.Wherein, current point in time can be with Start the time point executed determination according to step 201.
Step 203, the expected expection number of requests for receiving resource allocation request in the sub- period is obtained.
In the present embodiment, the sub- period being partitioned into based on step 201, electronic equipment can obtain in the sub- period It is expected that receiving the expection number of requests of resource allocation request.Wherein, which can be research staff according to one What fixed experience was estimated out, can also be to be analyzed data and estimated.
In some optional realization methods of the present embodiment, step 203 may include:The resource occurred according to historical time The number of requests of distribution request determines the expection number of requests of resource allocation request in the sub- period.Wherein, which can With the time before current point in time.For example, historical time can be current point in time before every day in above-mentioned son The period corresponding period can also be with current point in time in other times section on the same day.The money that historical time occurs The number of requests of source distribution request can be as the number of request for estimating the resource allocation request that may occur in the current sub- period Amount.Optionally, the number of requests and historical time for the resource allocation request that historical time can be occurred as training sample, The machine learning model for characterizing period and the correspondence before number of requests is generated with training.It is needing to obtain the sub- period When the expection number of requests of interior resource allocation request, the sub- period is directly input to machine learning model, you can obtain the period of the day from 11 p.m. to 1 a.m Between the expection number of requests of resource allocation request that receives in section.
Step 204, according to the proportionate relationship between the expection number of requests of sub- period and resource allocation transformation, really The resource allocation probability of resource is distributed in the fixed request end to sending resource allocation request in the sub- period.
In the present embodiment, run can be according to the sub- period on electronic equipment thereon for the method for distributing resource Expection number of requests and resource allocation transformation proportionate relationship, determine to sending resource allocation request in the sub- period Request end distribution resource resource allocation probability.In general, when determining resource allocation probability, however, it would be possible to by resource allocation Transformation and the ratio of expected number of requests are determined as resource acquisition probability.In practice, can also the ratio one set the tone Resource acquisition probability is used as after whole.
Step 205, when having distributed the resource quantity of resource within the sub- period and being not up to resource allocation transformation, according to Resource allocation probability is determined whether at random to being sent in the sub- period in the request end distribution resource collection of resource allocation request Unallocated resource.
In the present embodiment, for receiving request end (such as terminal device in Fig. 1) transmission within the sub- period When resource allocation request, if the resource quantity for having distributed resource within the sub- period is not up to resource allocation transformation, It can at random be determined whether to distribute resource to the request end for sending resource allocation request in the sub- period according to resource allocation probability Unallocated resource in set.For example, resource allocation probability can be converted to the score that molecule is 1, and in 1 and the score Arbitrarily select an integer as number of targets in value range between denominator.It, can be 1 when determining whether to distribute resource at random It generates an integer in value range at random between the denominator of the score, if the integer generated is identical as number of targets, distributes Otherwise resource is not distributed.It, can also be no longer superfluous here by other schemes when determining whether to distribute resource at random in practice It states.In general, the count value for being counted to allocated resource of sub- period can be arranged.When count value is not up to resource The quantity allotted upper limit, when can at random determine whether to distribute resource to request end according to above-mentioned resource allocation probability;Work as count value When reaching resource allocation transformation, then it can stop distributing resource, that is, refuse resource subsequently received in the sub- period point With request, to avoid actually distributing in the sub- period excessive resource cause the average degree that resource is distributed in time scale compared with Difference.
Optionally, electronic equipment can temporarily be constructed when distributing resource determining the when of distributing resource to a certain request end For the resource of distribution, resource can also have been constructed in advance and has been constructed determining that the when of distributing resource to a certain request end directly distributes Good resource.The construction of resource is typically the process that all aspects of the parameters of resource are carried out with Initialize installation.
It should be noted that step 201 to step 205 can recycle execution, to be constantly partitioned into from the remaining time limit The sub- period simultaneously executes resource allocation within the sub- period, the distribution until completing all resources.
The method that above-described embodiment of the application provides, resource quantity that can be according to unallocated resource and supremum distribution phase The duration of limit dynamically adjusts the sub- period divided, and the money of sub- period is arranged according to the expection number of requests of sub- period Source allocation probability so that resource can be evenly distributed in time scale, avoid resource excessive in sometime interior distribution Or it is very few.
With further reference to Fig. 3, it illustrates the flows 300 of another embodiment of the method for distributing resource.The use In the flow 300 of the method for distribution resource, include the following steps:
Step 301, according to the resource quantity of unallocated resource in the resource collection for distribution and the residue of resource collection point Proportionate relationship between duration with the time limit and the resource allocation transformation for the setting of sub- period, determine and wait for from residue point Practical duration with the sub- period that the time limit is partitioned into.
In the present embodiment, the specific processing of step 301 can be with the step 201 in 2 corresponding embodiment of reference chart, here not It repeats again.
Step 302, using current point in time as starting point and according to practical duration, the sub- time is partitioned into from the supremum distribution time limit Section.
In the present embodiment, the specific processing of step 302 can be with the step 202 of 2 corresponding embodiment of reference chart.
Step 303, the expection number of requests of the expected resource allocation request received in the sub- period is obtained.
In the present embodiment, the specific processing of step 303 can be with the step 203 of 2 corresponding embodiment of reference chart.
Step 304, according to the proportionate relationship between the expection number of requests of sub- period and resource allocation transformation, really The resource allocation probability of resource is distributed in the fixed request end to sending resource allocation request in the sub- period.
In the present embodiment, the specific processing of step 304 can be with the step 204 of 2 corresponding embodiment of reference chart.
Step 305, the resource pool that generation is distributed for the sub- period and resource quantity is resource allocation transformation.
In the present embodiment, electronic equipment can generate the resource pool that resource quantity is resource allocation transformation.The money Source pond can distribute resource with electronic device to the resource allocation request received within the above-mentioned sub- period.It is provided in the resource pool The quantity in source is the resource allocation transformation being arranged for the sub- period.In practice, electronic equipment can be partitioned into son It can be that the distribution of sub- period generates resource pool after period, resource allocation can also be received for the first time within the sub- period Resource pool is generated when request.During generating resource pool, need to construct the money that resource quantity is resource allocation transformation Source.
Step 306, when the resource in resource pool is unallocated complete, according to resource, probability is determined whether at random to the period of the day from 11 p.m. to 1 a.m respectively Between resource in the request end distribution resource pool of resource allocation request is sent in section.
In the present embodiment, whether electronic equipment can have been divided within the sub- period with the resource in real-time query resource pool With complete.When unallocated complete, then the money of request end (such as terminal device in Fig. 1) transmission can be received within the sub- period When the distribution request of source, the request end to sending resource allocation request in the sub- period is determined whether at random according to resource allocation probability Distribute the unallocated resource in resource collection.It is as long as the resource in the sub- period in resource pool not yet distributes, then random true Surely the operation distributed can be performed a plurality of times.If sub- period is expired, there is also unappropriated resources in resource pool, then can be Continue to distribute in subsequent period of time.The random mode for determining whether distribution can with the step 205 in 2 corresponding embodiment of reference chart, Which is not described herein again.
Step 307, it when the resource allocation in resource pool is complete, stops at and distributes resource in the sub- time.
In the present embodiment, it when the resource allocation in inquiring resource pool is complete, then stops at and distributes resource in the sub- time, Directly refuse resource allocation request subsequently received in the sub- period.
In some optional realization methods of the present embodiment, above-mentioned resource collection includes the resource of different resource type. May include different types of prize in resource collection, such as be worth different prizes for example, when resource is prize.Meanwhile Above-mentioned steps 305 can specifically include:Each resource in resource pool is constructed successively to generate resource pool, and constructs each resource When determine the resource category of constructed resource at random according to the weight of different resource type.That is, in construction resource every time, it can be with Random determine constructs any resource, and each resource is related to the weight that the resource is arranged by the probability of random configuration. The realization method realizes the randomness of the resource category in the sub- period for distribution when there are many resource for distribution, increases The strong uncertainty of final distribute resource category, to be conducive to improve pleasure of user when by request end application resource Interest.
In some optional realization methods of the present embodiment, above-mentioned steps 305 can also include:Not according to resource collection The resource quantity for distributing different resource type in resource, determines the weight of each resource category.For example, in constructing resource pool When some resource, A classes resource, B classes resource, C classes resource have 8,72 and 720 respectively in surplus resources.Then A classes, B Class, the corresponding weight of C class resources can be respectively set to 8,72,720.At this point it is possible to by A classes, B classes, C class resources with mechanism It is 0.01,0.09 and 0.9 to make determine the probability.When constructing resource, the integer X between 1 to 800 can be generated at random, when 1≤ A class resources can be constructed when X≤8, B class resources can be constructed as 9≤X≤80, and C classes money can be constructed as 81≤X≤800 Source.In the realization method, the weight of resource category can be according to the resource of different resource type in current unallocated resource Quantity adjusts in real time, therefore in random configuration resource, and remaining more resource category has the probability of bigger by random configuration, remains Remaining more resource category is then relatively low by the probability of random configuration, to advantageously allow same kind of resource in the sub- time Mean allocation can be obtained in section and in subsequent period of time.
In some optional realization methods of the present embodiment, the above method further includes:When determining resource is distributed to request end When, the resource to be allocated to request end in resource pool is locked;In the locking term of validity extremely by the resource allocation being locked Request end, and update the resource allocation information recorded in the lasting library of resource allocation information.In the realization method, when determining to asking Ask end distribution resource when, resource to be allocated can be fixed by locking mode, to avoid by the resource allocation to should Other request ends are assigned to again during request end, cause to conflict.In practice, the resource in resource pool can be increased and be compiled Number, the number of resource and resource to be allocated to be allocated can be locked when locking.In practice, when logical in electronic equipment When crossing distributed caching reading writing information, corresponding information in distributed caching can be carried out by the atomic lock of distributed caching It locks, the corresponding information of database can also be locked by Database lock.When by the resource allocation being locked to request end, Directly virtual objects can be added in the corresponding user account in the request end when resource is virtual objects, be real in resource The request for obtaining ship-to, the information of receiving such as telephone number can also be sent out when body article to request end, so as to subsequently through Physical item is distributed to the user that resource request is sent using request end by these information of receiving.It, can be in the realization method Resource to be allocated is lived by way of locking, when to prevent resource request concurrent same resource allocation to multiple request ends, Cause resource allocation conflict.
It is true at random according to resource allocation probability in above-mentioned steps 205 in some optional realization methods of the present embodiment It is above-mentioned before determining whether to distribute the unallocated resource in resource collection to the request end for sending resource allocation request in the sub- period Method further includes:Request end to sending resource allocation request carries out resource request authorization check, to determine that request end passes through school It tests.In the realization method, the permission of request end can be verified before determining whether to distribute resource, after verification passes through Determining whether to distribute resource, is judging whether to distribute resource to request end to advantageously reduce electronic equipment within the sub- period Judgement number, advantageously reduce the overall calculation task of electronic equipment, improve disposed of in its entirety speed.
In some optional realization methods of the present embodiment, the above-mentioned request end to sending resource allocation request carries out resource The process of request permissions verification specifically includes:Judge whether the resource allocation information for sending the request end of resource allocation request stores In the buffer, wherein for storing the part resource read in advance from the lasting library of resource allocation information distribution information in caching; If storage is in the buffer, the resource allocation information at read requests end from caching, otherwise the read requests end from database Resource allocation information is simultaneously written in caching;Resource request permission school is carried out to request end according to the resource allocation information of request end It tests.In the realization method, when making requests on authorization check, the resource allocation information used can preferentially be read from caching It takes, so as to improve whole processing speed.
From figure 3, it can be seen that compared with the corresponding embodiments of Fig. 2, the method for distributing resource in the present embodiment Flow 300 highlight resource allocation be managed using the mode of resource pool, so as to disposably construct it is all can For the resource distributed in the sub- period, the step of being required for constructing resource when reducing every sub-distribution resource, so as to improve The response speed of system.
With further reference to Fig. 4, as the realization to method shown in above-mentioned each figure, this application provides one kind for distributing money One embodiment of the device in source, the device embodiment is corresponding with embodiment of the method shown in Fig. 2, which can specifically answer For in various electronic equipments.
As shown in figure 4, the device 400 for distributing resource of the present embodiment includes:Duration determination unit 401, segmentation are single Member 402, acquiring unit 403, probability determining unit 404 and distribution determination unit 405.Wherein, duration determination unit 401 is used for root According between the resource quantity of unallocated resource in the resource collection for distribution and the duration in the supremum distribution time limit of resource collection Proportionate relationship and the resource allocation transformation being arranged for the sub- period, determine the period of the day from 11 p.m. to 1 a.m for waiting for being partitioned into from the supremum distribution time limit Between section practical duration;Cutting unit 402 is used for using current point in time as starting point and according to practical duration, from the supremum distribution time limit In be partitioned into the sub- period;Acquiring unit 403 is used to obtain the expection of the expected resource allocation request received in the sub- period Number of requests;Probability determining unit 404 is used to obtain the expected request of the expected resource allocation request received in the sub- period Quantity;And it distributes determination unit 405 and is not up to resource allocation quantity for having distributed the resource quantity of resource within the sub- period When the upper limit, determined whether to distribute money to the request end for sending resource allocation request in the sub- period at random according to resource allocation probability Unallocated resource in the set of source.
In the present embodiment, duration determination unit 401, cutting unit 402, acquiring unit 403, probability determining unit 404 Specific processing with distribution determination unit 405 can in 2 corresponding embodiment of reference chart step 201, step 202, step 203, Step 204 and step 205, which is not described herein again.
In some optional realization methods of the present embodiment, duration determination unit 401 is further used for:By unallocated resource Resource quantity and the duration in supremum distribution time limit between proportionate relationship as the sub- period resource allocation transformation with With reference to the proportionate relationship of duration, obtains and refer to duration;It will be with reference to duration and the higher value in preset sub- period duration lower limit It is determined as the practical duration of sub- period.
In some optional realization methods of the present embodiment, acquiring unit 403 can specifically include:It is sent out according to historical time The number of requests of raw resource allocation request determines expected number of requests.
In some optional realization methods of the present embodiment, device 400 further includes generation unit (not shown), for generating For the sub- period distribution and resource quantity be resource allocation transformation resource pool.Meanwhile it distributing determination unit and further using In:When resource in resource pool is unallocated complete, according to resource, probability is determined whether at random to sending money in the sub- period respectively Resource in the request end distribution resource pool of source distribution request;When resource allocation in resource pool is complete, stop in the sub- time Distribute resource.
In some optional realization methods of the present embodiment, resource collection includes the resource of different resource type.It is corresponding , above-mentioned generation unit is further used for constructing each resource in resource pool successively to generate resource pool, and constructs each money Determine the resource category of constructed resource when source at random according to the weight of different resource type.
In some optional realization methods of the present embodiment, generation unit is additionally operable to:According to the unallocated money of resource collection The resource quantity of different resource type in source, determines the weight of each resource category.
In some optional realization methods of the present embodiment, device 400 further includes:Unit (not shown) is locked, for working as When determining to request end distribution resource, the resource to be allocated to request end in resource pool is locked;Allocation unit (is not shown Go out), for locking the resource allocation being locked in the term of validity to request end, and updates and remember in the lasting library of resource allocation information The resource allocation information of record.
In some optional realization methods of the present embodiment, device 400 further includes:Verification unit (not shown) is used for Determined whether to distribute resource collection to the request end for sending resource allocation request in the sub- period at random according to resource allocation probability In unallocated resource before, to send resource allocation request request end carry out resource request authorization check, with determine ask End passes through verification.
In some optional realization methods of the present embodiment, verification unit is further used for:Judge that sending resource allocation asks Whether the resource allocation information for the request end asked stores in the buffer, wherein is held from resource allocation information in caching for storing The part resource distribution information read in advance in long library;If storage is in the buffer, the resource at read requests end point from caching With information, otherwise from the resource allocation information at read requests end in database and be written in caching;According to the resource of request end point The resource request permission of request end is verified with information.
In addition, the application also provides a kind of server, which includes:One or more processors;Storage device is used In the one or more programs of storage, when one or more programs are executed by one or more processors so that at one or more It manages device and realizes the method as described in Fig. 2 corresponding embodiments or embodiment any realization method.Fig. 5 is shown suitable for being used for realizing The structural schematic diagram of the computer system 500 of the server of the embodiment of the present application.Server shown in Fig. 5 is only one and shows Example, should not bring any restrictions to the function and use scope of the embodiment of the present application.
As shown in figure 5, computer system 500 includes central processing unit (CPU) 501, it can be read-only according to being stored in Program in memory (ROM) 502 or be loaded into the program in random access storage device (RAM) 503 from storage section 508 and Execute various actions appropriate and processing.In RAM 503, also it is stored with system 500 and operates required various programs and data. CPU 501, ROM 502 and RAM 503 are connected with each other by bus 504.Input/output (I/O) interface 505 is also connected to always Line 504.
It is connected to I/O interfaces 505 with lower component:Importation 506;Including output par, c 507;Storage including hard disk etc. Part 508;And the communications portion 509 of the network interface card including LAN card, modem etc..Communications portion 509 passes through Communication process is executed by the network of such as internet.Driver 510 is also according to needing to be connected to I/O interfaces 505.Detachable media 511, such as disk, CD, magneto-optic disk, semiconductor memory etc., as needed be mounted on driver 510 on, in order to from The computer program read thereon is mounted into storage section 508 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed by communications portion 509 from network, and/or from detachable media 511 are mounted.When the computer program is executed by central processing unit (CPU) 501, limited in execution the present processes Above-mentioned function.It should be noted that computer-readable medium described herein can be computer-readable signal media or Person's computer readable storage medium either the two arbitrarily combines.Computer readable storage medium for example can be --- But be not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or arbitrary above group It closes.The more specific example of computer readable storage medium can include but is not limited to:With being electrically connected for one or more conducting wires Connect, portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed it is read-only Memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory Part or above-mentioned any appropriate combination.In this application, computer readable storage medium can any be included or store The tangible medium of program, the program can be commanded the either device use or in connection of execution system, device.And In the application, computer-readable signal media may include the data letter propagated in a base band or as a carrier wave part Number, wherein carrying computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but not It is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer Any computer-readable medium other than readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit use In by instruction execution system, device either device use or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc., Huo Zheshang Any appropriate combination stated.
Flow chart in attached drawing and block diagram, it is illustrated that according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part for a part for one module, program segment, or code of table, the module, program segment, or code includes one or more uses The executable instruction of the logic function as defined in realization.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depended on the functions involved.Also it to note Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit can also be arranged in the processor, for example, can be described as:A kind of processor packet Include duration unit, cutting unit, acquiring unit, probability determining unit and distribution determination unit.Wherein, the title of these units exists The restriction to the unit itself is not constituted in the case of certain, for example, receiving unit is also described as " according to for distribution Proportionate relationship in resource collection between the duration in the supremum distribution time limit of the resource quantity of unallocated resource and resource collection with And the reality for the sub- period for waiting for being partitioned into from the supremum distribution time limit is determined for the resource allocation transformation of setting of sub- period The unit of duration ".
As on the other hand, present invention also provides a kind of computer-readable medium, which can be Included in server described in above-described embodiment;Can also be individualism, and without be incorporated the server in.It is above-mentioned Computer-readable medium carries one or more program, when said one or multiple programs are executed by the server, Make the server:According to the resource quantity of unallocated resource in the resource collection for distribution and the residue of the resource collection point Proportionate relationship between duration with the time limit and the resource allocation transformation for the setting of sub- period are determined and are waited for from described surplus The practical duration for the sub- period that the remaining distribution time limit is partitioned into;Using current point in time as starting point and according to the practical duration, from The sub- period is partitioned into the supremum distribution time limit;The expected resource allocation received in the sub- period is obtained to ask The expection number of requests asked;It is closed according to the ratio between the expection number of requests and resource allocation transformation of the sub- period System determines the resource allocation probability for distributing the request end for sending resource allocation request in the sub- period resource;Described It is general according to the resource allocation when having distributed the resource quantity of resource in the sub- period and being not up to the resource allocation transformation Rate determines whether to distribute in the resource collection the request end for not sending resource allocation request in the sub- period at random Distribute resource.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art Member should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Other technical solutions of arbitrary combination and formation.Such as features described above has similar work(with (but not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (12)

1. a kind of method for distributing resource, which is characterized in that the method includes:
According to the supremum distribution time limit of the resource quantity of unallocated resource in the resource collection for distribution and the resource collection Proportionate relationship between duration and the resource allocation transformation for the setting of sub- period, determination were waited for from the supremum distribution phase Limit the practical duration for the sub- period being partitioned into;
Using current point in time as starting point and according to the practical duration, the sub- time is partitioned into from the supremum distribution time limit Section;
Obtain the expection number of requests of the expected resource allocation request received in the sub- period;
According to the proportionate relationship between the expection number of requests and resource allocation transformation of the sub- period, determine to described The resource allocation probability of the request end distribution resource of resource allocation request is sent in the sub- period;
When having distributed the resource quantity of resource within the sub- period and being not up to the resource allocation transformation, according to described Resource allocation probability determines whether to distribute the resource to the request end for sending resource allocation request in the sub- period at random Unallocated resource in set.
2. according to the method described in claim 1, it is characterized in that, unallocated resource in the resource collection according to for distribution Resource quantity and the resource collection the supremum distribution time limit duration between proportionate relationship and for the sub- period be arranged Resource allocation transformation, determine the practical duration of sub- period for waiting for being partitioned into from the supremum distribution time limit, including:
Using the proportionate relationship between the resource quantity of the unallocated resource and the duration in the supremum distribution time limit as described in The resource allocation transformation of sub- period obtains described with reference to duration with reference to the proportionate relationship of duration;
The higher value with reference in duration and preset sub- period duration lower limit is determined as to the reality of the sub- period Duration.
3. according to the method described in claim 1, it is characterized in that, described obtain the expected money received in the sub- period The expection number of requests of source distribution request, including:
According to the number of requests for the resource allocation request that historical time occurs, the expected number of requests is determined.
4. according to the method described in claim 1, it is characterized in that, the method further includes:
Generate the resource pool for supplying that the sub- period distributes and resource quantity is the resource allocation transformation;And
When the resource quantity for having distributed resource within the sub- period is not up to the resource allocation transformation, according to The resource allocation probability is determined whether at random to being sent in the sub- period described in the request end distribution of resource allocation request Unallocated resource in resource collection, including:
When resource in the resource pool is unallocated complete, according to the resource, probability is determined whether at random to the period of the day from 11 p.m. to 1 a.m respectively Between send the request end of resource allocation request in section and distribute the resource in the resource pool;
When resource allocation in the resource pool is complete, stops at and distribute resource in the sub- time.
5. according to the method described in claim 4, it is characterized in that, the resource collection includes the money of different resource type Source;And
The resource pool that the generation is distributed for the sub- period and resource quantity is the resource allocation transformation, including:
According to different moneys when constructing each resource in the resource pool successively to generate the resource pool, and constructing each resource The weight of source category determines the resource category of constructed resource at random.
6. according to the method described in claim 5, it is characterized in that, the generation is for the sub- period distribution and resource quantity For the resource pool of the resource allocation transformation, further include:
According to the resource quantity of different resource type in the unallocated resource of the resource collection, the power of each resource category is determined Weight.
7. according to the method described in claim 4, it is characterized in that, the method further includes:
When determining to request end distribution resource, the resource of the request end in the resource pool is locked;
It is locking the resource allocation being locked in the term of validity to the request end, and is updating and remember in the lasting library of resource allocation information The resource allocation information of record.
8. the method according to the description of claim 7 is characterized in that determining whether at random pair according to the resource allocation probability The request end for sending resource allocation request in the sub- period is distributed before the unallocated resource in the resource collection, described Method further includes:
Request end to sending resource allocation request carries out resource request authorization check, passes through verification with the determination request end.
9. according to the method described in claim 8, it is characterized in that, the request end of described pair of transmission resource allocation request provides Source request permissions verification, including:
Judge whether the resource allocation information for sending the request end of resource allocation request stores in the buffer, wherein the caching In for store the part resource that is read in advance from the lasting library of the resource allocation information distribute information;
If being stored in the caching, the resource allocation information of the request end is read from the caching, otherwise from described The resource allocation information of the request end is read in database and is written in the caching;
Resource request authorization check is carried out to the request end according to the resource allocation information of the request end.
10. a kind of for distributing the device of resource, which is characterized in that described device includes:
Duration determination unit, for according to the resource quantity of unallocated resource in the resource collection for distribution and the resource collection The supremum distribution time limit duration between proportionate relationship and for the sub- period setting resource allocation transformation, determination wait for The practical duration for the sub- period being partitioned into from the supremum distribution time limit;
Cutting unit, for using current point in time as starting point and according to the practical duration, dividing from the supremum distribution time limit Cut out the sub- period;
Acquiring unit, the expection number of requests for obtaining the expected resource allocation request received in the sub- period;
Probability determining unit, for according to the ratio between the expection number of requests and resource allocation transformation of the sub- period Example relationship determines the resource allocation probability for distributing the request end for sending resource allocation request in the sub- period resource;
Determination unit is distributed, the resource quantity for having distributed resource within the sub- period is not up to the resource allocation number When measuring the upper limit, determine whether to ask to sending resource allocation request in the sub- period at random according to the resource allocation probability End is asked to distribute the unallocated resource in the resource collection.
11. a kind of server, including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processors are real The now method as described in any in claim 1-9.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The method as described in any in claim 1-9 is realized when execution.
CN201710182584.2A 2017-03-24 2017-03-24 Method and apparatus for distributing resource Pending CN108629611A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710182584.2A CN108629611A (en) 2017-03-24 2017-03-24 Method and apparatus for distributing resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710182584.2A CN108629611A (en) 2017-03-24 2017-03-24 Method and apparatus for distributing resource

Publications (1)

Publication Number Publication Date
CN108629611A true CN108629611A (en) 2018-10-09

Family

ID=63707788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710182584.2A Pending CN108629611A (en) 2017-03-24 2017-03-24 Method and apparatus for distributing resource

Country Status (1)

Country Link
CN (1) CN108629611A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109766186A (en) * 2019-01-03 2019-05-17 中国联合网络通信集团有限公司 Reserve resource distribution method, device, system and readable storage medium storing program for executing
CN109783236A (en) * 2019-01-16 2019-05-21 北京百度网讯科技有限公司 Method and apparatus for output information
CN109903023A (en) * 2018-11-22 2019-06-18 阿里巴巴集团控股有限公司 A kind of resource allocation methods and system
CN110659386A (en) * 2019-09-12 2020-01-07 北京达佳互联信息技术有限公司 Digital resource processing method and device, electronic equipment and storage medium
CN111427691A (en) * 2020-03-26 2020-07-17 京东数字科技控股有限公司 Virtual resource allocation method, device, medium and electronic equipment
CN111510479A (en) * 2020-04-08 2020-08-07 天津大学 Resource allocation method and device for heterogeneous cache system
CN111598405A (en) * 2020-04-21 2020-08-28 五八有限公司 Resource allocation method and server
WO2021042919A1 (en) * 2019-09-06 2021-03-11 深圳壹账通智能科技有限公司 Data allocation test method and device under high concurrency, terminal, and storage medium
CN114996031A (en) * 2022-08-03 2022-09-02 飞狐信息技术(天津)有限公司 Lottery drawing method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899768A (en) * 2015-06-25 2015-09-09 北京奇虎科技有限公司 Prize information generation method, device and system
CN105894338A (en) * 2016-06-30 2016-08-24 广东电网有限责任公司珠海供电局 Probability adjusting method and probability adjusting device for resource allocation
CN106296272A (en) * 2016-07-29 2017-01-04 五八同城信息技术有限公司 A kind of drawing outcomes rendering method and device
CN106296276A (en) * 2016-08-03 2017-01-04 西安诺瓦电子科技有限公司 Electronics red packet distributing method
CN106530019A (en) * 2016-12-30 2017-03-22 重庆腾帆科技有限公司 Server with function of performing dynamic configuration on winning probability

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899768A (en) * 2015-06-25 2015-09-09 北京奇虎科技有限公司 Prize information generation method, device and system
CN105894338A (en) * 2016-06-30 2016-08-24 广东电网有限责任公司珠海供电局 Probability adjusting method and probability adjusting device for resource allocation
CN106296272A (en) * 2016-07-29 2017-01-04 五八同城信息技术有限公司 A kind of drawing outcomes rendering method and device
CN106296276A (en) * 2016-08-03 2017-01-04 西安诺瓦电子科技有限公司 Electronics red packet distributing method
CN106530019A (en) * 2016-12-30 2017-03-22 重庆腾帆科技有限公司 Server with function of performing dynamic configuration on winning probability

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109903023A (en) * 2018-11-22 2019-06-18 阿里巴巴集团控股有限公司 A kind of resource allocation methods and system
CN109766186A (en) * 2019-01-03 2019-05-17 中国联合网络通信集团有限公司 Reserve resource distribution method, device, system and readable storage medium storing program for executing
CN109783236A (en) * 2019-01-16 2019-05-21 北京百度网讯科技有限公司 Method and apparatus for output information
WO2021042919A1 (en) * 2019-09-06 2021-03-11 深圳壹账通智能科技有限公司 Data allocation test method and device under high concurrency, terminal, and storage medium
CN110659386A (en) * 2019-09-12 2020-01-07 北京达佳互联信息技术有限公司 Digital resource processing method and device, electronic equipment and storage medium
CN111427691A (en) * 2020-03-26 2020-07-17 京东数字科技控股有限公司 Virtual resource allocation method, device, medium and electronic equipment
CN111510479A (en) * 2020-04-08 2020-08-07 天津大学 Resource allocation method and device for heterogeneous cache system
CN111598405A (en) * 2020-04-21 2020-08-28 五八有限公司 Resource allocation method and server
CN111598405B (en) * 2020-04-21 2021-09-07 五八有限公司 Resource allocation method and server
CN114996031A (en) * 2022-08-03 2022-09-02 飞狐信息技术(天津)有限公司 Lottery drawing method and related device
CN114996031B (en) * 2022-08-03 2022-12-27 飞狐信息技术(天津)有限公司 Lottery drawing method and related device

Similar Documents

Publication Publication Date Title
CN108629611A (en) Method and apparatus for distributing resource
CN107844933A (en) order processing method and device
CN108520324A (en) Method and apparatus for generating information
CN107230035A (en) Information-pushing method and device
CN109460513A (en) Method and apparatus for generating clicking rate prediction model
CN109582982A (en) Method and apparatus for translated speech
CN107909261A (en) Order method for pushing and device
CN107845016B (en) Information output method and device
CN108520470A (en) Method and apparatus for generating customer attribute information
CN110428555A (en) Shared charging equipment gives back method and device
CN109033001A (en) Method and apparatus for distributing GPU
CN109447610A (en) Method and apparatus for determining payment channel
CN109508842A (en) It dispenses transport power and regulates and controls method and apparatus
CN109799550A (en) Method and apparatus for predicting rainfall intensity
CN106897905A (en) Method, device and electronic equipment for pushed information
CN109710507A (en) A kind of method and apparatus of automatic test
CN109376534A (en) Method and apparatus for detecting application
CN109961141A (en) Method and apparatus for generating quantization neural network
CN109214501A (en) The method and apparatus of information for identification
CN113138847B (en) Computer resource allocation scheduling method and device based on federal learning
CN110223124A (en) Data processing method, device, electronic equipment and computer-readable medium
CN110164429A (en) Voice interactive method and device
CN110414613A (en) Method, apparatus, equipment and the computer readable storage medium of region clustering
CN107844932B (en) Order processing method and device
CN109446379A (en) Method and apparatus for handling information

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