Specific embodiment
Present invention is further described in detail with reference to the accompanying drawing.
Fig. 1 illustrates according to the present invention a kind of for determining resource allocation method flow chart to be disposed.It is according to the present invention
Method includes step S1 and step S2.
Wherein, it is realized according to the method for the present invention by the inclusion of the resource determining device in computer equipment.It is described
Computer equipment includes that one kind can be automatic to carry out numerical value calculating and/or information processing according to the instruction for being previously set or storing
Electronic equipment, hardware include but is not limited to microprocessor, specific integrated circuit (ASIC), programmable gate array (FPGA),
Digital processing unit (DSP), embedded device etc..The computer equipment includes the network equipment and/or user equipment.Wherein, institute
The network equipment is stated to include but is not limited to single network server, the server group of multiple network servers composition or be based on cloud computing
The cloud being made of a large amount of hosts or network server of (Cloud Computing), wherein cloud computing is the one of distributed computing
Kind, a super virtual computer consisting of a loosely coupled set of computers.The user equipment includes but is not limited to
Any one can carry out the electricity of human-computer interaction with user by modes such as keyboard, mouse, remote controler, touch tablet or voice-operated devices
Sub- product, for example, personal computer, tablet computer, smart phone, PDA, game machine or IPTV etc..Wherein, the user sets
Network locating for the standby and network equipment includes but is not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, VPN network etc..
Preferably, the network according to the invention is P2P (Peer to Peer) network.
It should be noted that the user equipment, the network equipment and network are only for example, other are existing or from now on may be used
Can occur user equipment, the network equipment and network be such as applicable to the present invention, should also be included in the scope of the present invention with
It is interior, and be incorporated herein by reference.
Referring to Fig.1, in step sl, resource determining device based on one or more the requested amount of resource to be disposed and by
Sharing amount determines one or more of deployment priority wait dispose each resource to be disposed in resource respectively.
Wherein, the deployment priority of the resource to be disposed is used to indicate whether to need preferentially to be deployed in active terminals
In.
Preferably, a possibility that deployment priority is higher, is deployed in active terminals is higher.Wherein it is determined that active whole
The mode at end will be described in detail subsequent, and details are not described herein again.
Specifically, resource determining device based on one or more distinguish with by the amount of sharing by the requested amount of resource to be disposed
Determine one or more of modes wait dispose the deployment priority of each resource to be disposed in resource include but is not limited to
Under it is any:
1) be directly based upon requested amount and/or by sharing amount come determine it is one or more of wait dispose in resource it is each to
Dispose the deployment priority of resource;
For example, being measured ascending sequence by sharing to each wait dispose money according to each resource to be disposed obtained
Source is ranked up, and determine the more forward resource to be disposed of ranking deployment priority it is higher, thus preferentially to by sharing amount compared with
Few resource to be disposed is disposed.
Preferably, resource determining device can be used for based on the requested amount of each resource to be disposed with by the amount of sharing to calculate
Indicate the weight information of deployment priority, the deployment priority of the bigger resource to be disposed of weight is higher.
For example, the weighted value that the corresponding weight calculation rule of resource determining device includes: each resource to be disposed is equal to it
The numerical value of requested amount divided by it by the numerical value of sharing amount, thus preferentially more to requested amount and measured by sharing less to portion
Administration's resource is disposed.
2) based on the requested number with described to be shared the ratio between number one or more of wait dispose in resource to determine
The deployment priority of each resource to be disposed.
Preferably, when the requested number of a resource to be disposed is bigger than by the ratio of sharing number, should resource be disposed portion
It is higher to affix one's name to priority.
Continue to be illustrated foregoing First example, resource determining device is by each resource to be disposed obtained according to it
Requested number with the ratio for being shared number is descending is ranked up, and determine that the deployment of the more forward resource to be disposed of ranking is excellent
First grade is higher.
Preferably, the step S1 further includes step S101 (not shown) and step S102 (not shown).
In step s101, resource determining device to one or more of wait dispose each resource to be disposed in resource,
Judge whether it meets first threshold condition by sharing amount respectively.
Wherein, whether what the first threshold condition was used to judge each resource to be disposed is less than predetermined threshold by sharing amount
Value.
Preferably, the first threshold condition is also used to judge whether being not zero by sharing amount for each resource to be disposed.
Then, in step s 102, resource determining device is expired wait dispose in resource by sharing amount to one or more of
Each resource to be disposed of sufficient first threshold condition determines that it disposes priority respectively.
For example, it is not less than 5 and not 0 that the corresponding first threshold condition of resource determining device, which includes: by sharing amount, then resource
Whether what determining device judged each resource to be disposed is met the first threshold condition by sharing number, and to meeting the first threshold
Those of condition resource to be disposed determine respectively its dispose priority to be disposed, and no longer to remaining resource to be disposed into
Row deployment.
Then, in step s 2, resource determining device is based on one or more of each wait dispose in resource wait dispose
The deployment priority of resource selects at least one resource to be disposed for being deployed in active terminals.
Wherein, the active terminals include the more terminal of resource sharing amount.
Specifically, resource determining device is based on one or more of deployment wait dispose each resource to be disposed in resource
Priority selects predetermined number, the deployment higher resource to be disposed of priority, for being deployed in active terminals.
Continue to be illustrated foregoing First example, portion of the resource determining device based on identified each resource to be disposed
Priority is affixed one's name to, preceding 10 resources to be disposed of highest priority is selected to be deployed in active terminals.
Preferably, resource determining device can also by each resource to be disposed according to its requested amount with by the ratio of the amount of sharing
It is descending to be ranked up, and corresponding long-tail model schematic is obtained accordingly, then based on the analysis to the schematic diagram, selection
Amount is requested in the schematic diagram with the resource to be disposed of predetermined threshold is greater than by the ratio of the amount of sharing to be deployed in active end
End.
Preferably, before executing abovementioned steps S1 and step S2, (figure is not by executing step S3 for resource determining device
Show) come determine the requested amounts of one or more resources to be disposed with by the amount of sharing.
In step s3, log information of the resource determining device based on each terminal, come determine it is one or more of to
Dispose resource requested amount with by the amount of sharing.
Wherein, the resource to be disposed is used to indicate the resource for needing to be disposed in advance.
Wherein, the log information of each terminal includes the resource that downloading is requested when each terminal is downloaded every time
Identification information with the resource requested by the amount of sharing.
Preferably, resource determining device carries out the first screening to the log information by executing step S4 (not shown)
Operation.
In step s 4, at least one dimensional information of resource determining device based on log information, to the log information
The first screening operation is carried out, it is one or more to determine with based on one or more log informations after the first screening operation
The requested amount of a resource to be disposed with by the amount of sharing.
Wherein, at least one described dimensional information is based respectively on log properties information to determine.
Preferably, the log properties information includes but is not limited to following at least any one information:
1) geography information of the affiliated terminal of log;
2) the operator domain information of the affiliated terminal of log;
3) temporal information of log recording.
Specifically, at least one dimensional information of resource determining device based on log information, and at least one is tieed up with this
The corresponding one or more dimension condition information of information are spent, are filtered out from the log information and the one or more dimension
One or more log informations that conditional information matches, with based on one or more log informations after screening, to determine
State the requested amounts of one or more resources to be disposed with by the amount of sharing.
Preferably, the dimension condition information can be based on pre-seting or user's operation determines.For example, being based on user
The time interval of selection, the dimension condition information etc. as time dimension.
First example according to the present invention, resource determining device are contained in the service of the website of an offer audio download services
In device, also, predetermined log information is screened based on temporal information and geographical location information the two dimensions.Resource determines
The dimension condition information that device obtains includes: that time dimension condition " in nearest one hour " and geography dimensionality condition " are located at area
Domain area_1 ".Then in step s 4, resource determining device is based on the time dimension condition and geography dimensionality condition, to storage
Log information in the server is screened from temporal information and geographical location information the two dimensions, to be pass by
Each terminal recorded in one hour, in the regional scope log information, and by with the log information after screening
Corresponding, each terminal requests each audio of downloading as resource to be disposed, thus based on the log information after screening
Come determine the requested amount of corresponding each resource to be disposed with by the amount of sharing.
According to the method for the present invention, by by user demand amount it is larger and the less resource deployment of shared terminal to it is active eventually
End, improves the sharing rate of such resource, to guarantee such resource P2P speed of download with higher, enjoys user
Preferably downloading or the experience of playing resource, and save the broadband cost of server-side.Also, by to be disposed multiple
The resource that is sufficient for the downloading demand of user by sharing amount or can not normally be downloaded is filtered out in resource, to avoid
Active terminals dispose these unnecessary wastes for carrying out memory space caused by deployment resource.
According to a preferred embodiment of the invention, the method also includes step S5 (not shown) and step S6 (figure
Do not show).
In step s 5, resource determining device determines one or more based on the resource sharing status information of each terminal
Active terminals.
Wherein, the active terminals are used to indicate resource sharing and more have frequently and in resource sharing compared with dominance
The terminal of energy.
Preferably, the sharing status information includes but is not limited to following at least any one:
1) the resource sharing amount of terminal;The resource sharing amount includes that each terminal uploads or download within a predetermined period of time money
The quantity in source.For example, being more than the terminal of predetermined threshold as active whole using the number that resource was uploaded or downloaded in past 1 hour
End.
2) online hours of terminal, for example, being more than the terminal of predetermined threshold as active terminals using online hours;
3) the remaining cache space of terminal, for example, remaining cache space is greater than the terminal of predetermined threshold as active whole
End.
In step s 6, at least one identified described resource to be disposed is deployed in described one by resource determining device
In a or multiple active terminals.
Specifically, resource determining device is by least one identified described resource deployment to be disposed in one or more
Mode in a active terminals includes but is not limited to any of the following:
1) by it is identified need to be disposed resource be respectively deployed in one or more of active terminals;
2) determining each resource to be disposed is divided into multiple groups resource to be disposed, and respectively by each group Resources Department to be disposed
It affixes one's name in one or more active terminals of all active terminals.
For example, resource to be disposed determined by resource determining device has 7, identified active terminals have 3, then resource
Determining device can from this 7 wait dispose in resource randomly choose 3 be deployed to either one or two of 3 active terminals, then again from
Remaining 4 are deployed to either one or two of remaining 2 active terminals wait dispose random selection 2 in resource, and by remaining 2
Resource deployment to be disposed is to remaining active terminals.
Alternatively, resource determining device can select priority higher 4 based on the deployment priority of 7 resources to be disposed
It is a to be deployed in 3 active terminals, and by remaining 3 resource deployment to be disposed to any two in 3 active terminals
On.
Preferably, the step S6 further includes step S601 (not shown).
In step s 601, resource determining device is based on the respective sharing of one or more of active terminals and limits letter
Breath, at least one identified described resource to be disposed is respectively deployed in one or more of active terminals at least
In one active terminals.
Wherein, the sharing prescribed information includes the various information that can be limited the behavior in terminal disposition resource.
For example, the information limited in the number that each active terminals are disposed predetermined amount of time.In another example being carried out to each
The information etc. that the resource number to be disposed of deployment is limited.
Continue to be illustrated foregoing First example, the corresponding sharing prescribed information of resource determining device includes: each end
End can at most be disposed twice daily;Deployment can at most dispose 5 resources to be disposed every time.Resource determining device is in step S5
It is middle obtain its corresponding all terminal in the past two hours in resource upload amount and download, and wherein will upload or download money
Source number is more than 5 terminal peer_1 to peer_5 as active terminals.
Then, resource determining device disposes the information of resource respectively based on its that 5 active terminals report to judge it
Whether meet the sharing prescribed information, and determines that wherein the active terminals peer_3 same day is disposed twice, and then determine not
It is disposed on terminal peer_3.Then, resource determining device selects deployment wait dispose from identified 10 in resource
Preceding 5 resources to be disposed of highest priority come be deployed in active terminals peer_1, peer_2, peer_4 and peer_5 appoint
On 3, and 5 resource deployments to be disposed of priority rearward will be disposed in remaining two active terminals.
According to the method for this preferred embodiment, by will resource deployment be disposed to more active terminal, further
It ensure that the P2P speed of download with higher of resource to be disposed, and the deployment behavior of each terminal carried out in deployment
Limitation, avoids excessively frequently disposing resource and has an impact to terminal to the normal operation of the terminal.
Fig. 2 illustrate it is according to the present invention it is a kind of with determine resource to be disposed in resource determining device structural representation
Figure.Resource determining device according to the present invention include for resource to be disposed based on one or more requested amount with shared
Amount determines one or more of device (following letters wait dispose the deployment priority of each resource to be disposed in resource respectively
Claim " the first determining device 1 "), and for excellent based on one or more of deployment wait dispose each resource to be disposed in resource
First grade selects the device (hereinafter referred to as " selection device 2 ") for being deployed at least one resource to be disposed of active terminals.
Referring to Fig. 2, the first determining device 1 based on one or more divide with by the amount of sharing by the requested amount of resource to be disposed
One or more of deployment priority wait dispose each resource to be disposed in resource are not determined.
Wherein, the deployment priority of the resource to be disposed is used to indicate whether to need preferentially to be deployed in active terminals
In.
Preferably, a possibility that deployment priority is higher, is deployed in active terminals is higher.Wherein it is determined that active whole
The mode at end will be described in detail subsequent, and details are not described herein again.
Specifically, the first determining device 1 based on one or more distinguish with by the amount of sharing by the requested amount of resource to be disposed
Determine one or more of modes wait dispose the deployment priority of each resource to be disposed in resource include but is not limited to
Under it is any:
1) be directly based upon requested amount and/or by sharing amount come determine it is one or more of wait dispose in resource it is each to
Dispose the deployment priority of resource;
For example, being measured ascending sequence by sharing to each wait dispose money according to each resource to be disposed obtained
Source is ranked up, and determine the more forward resource to be disposed of ranking deployment priority it is higher, thus preferentially to by sharing amount compared with
Few resource to be disposed is disposed.
Preferably, the first determining device 1 can calculate use with by the amount of sharing based on the requested amount of each resource to be disposed
In the weight information for indicating deployment priority, the deployment priority of the bigger resource to be disposed of weight is higher.
For example, the weighted value that the corresponding weight calculation rule of resource determining device includes: each resource to be disposed is equal to it
The numerical value of requested amount divided by it by the numerical value of sharing amount, thus preferentially more to requested amount and measured by sharing less to portion
Administration's resource is disposed.
2) based on the requested number with described to be shared the ratio between number one or more of wait dispose in resource to determine
The deployment priority of each resource to be disposed.
Preferably, when the requested number of a resource to be disposed is bigger than by the ratio of sharing number, should resource be disposed portion
It is higher to affix one's name to priority.
Continue to be illustrated foregoing First example, resource determining device is by each resource to be disposed obtained according to it
Requested number with the ratio for being shared number is descending is ranked up, and determine that the deployment of the more forward resource to be disposed of ranking is excellent
First grade is higher.
Preferably, first determining device 1 further include for it is one or more of wait dispose in resource it is each to
Dispose resource, judge respectively its whether met by sharing amount the device of first threshold condition (it is not shown, hereinafter referred to as " judgement dress
Set "), with for it is one or more of wait dispose in resource by the amount of sharing meet first threshold condition it is each wait dispose money
Source determines that it disposes the device (not shown, hereinafter referred to as " sub- determining device ") of priority respectively.
Judgment means, wait dispose each resource to be disposed in resource, judge that it is measured by sharing to one or more of respectively
Whether first threshold condition is met.
Wherein, whether what the first threshold condition was used to judge each resource to be disposed is less than predetermined threshold by sharing amount
Value.
Preferably, the first threshold condition is also used to judge whether being not zero by sharing amount for each resource to be disposed.
Then, sub- determining device meets first threshold condition by sharing amount wait dispose in resource to one or more of
Each resource to be disposed determines that it disposes priority respectively.
For example, it is not less than 5 and not 0 that the corresponding first threshold condition of resource determining device, which includes: by sharing amount, then judge
Whether what device judged each resource to be disposed is met the first threshold condition by sharing number, sub- determining device to meet this first
Those of threshold condition resource to be disposed determines that it disposes priority to be disposed respectively, and no longer waits remaining disposing money
Source is disposed.
Then, selection device 2 is preferential based on one or more of deployment wait dispose each resource to be disposed in resource
Grade, selects at least one resource to be disposed for being deployed in active terminals.
Wherein, the active terminals include the more terminal of resource sharing amount.
Specifically, selection device 2 is excellent based on one or more of deployment wait dispose each resource to be disposed in resource
First grade selects predetermined number, the deployment higher resource to be disposed of priority, for being deployed in active terminals.
Continue to be illustrated foregoing First example, deployment of the selection device 2 based on identified each resource to be disposed
Priority selects preceding 10 resources to be disposed of highest priority to be deployed in active terminals.
Preferably, selection device 2 can also by each resource to be disposed according to its requested amount with by the ratio of the amount of sharing by
Arrive greatly it is small be ranked up, and obtain corresponding long-tail model schematic accordingly, then based on the analysis to the schematic diagram, select position
Amount is requested in the schematic diagram with the resource to be disposed of predetermined threshold is greater than by the ratio of the amount of sharing to be deployed in active terminals.
Preferably, the resource determining device include for the log information based on each terminal, it is one to determine
Or the requested amount of multiple resources to be disposed with by the device (not shown, hereinafter referred to as " the second determining device ") of the amount of sharing.
Log information of second determining device based on each terminal, to determine the quilt of one or more of resources to be disposed
Request amount with by the amount of sharing.
Wherein, the resource to be disposed is used to indicate the resource for needing to be disposed in advance.
Wherein, the log information of each terminal includes the resource that downloading is requested when each terminal is downloaded every time
Identification information with the resource requested by the amount of sharing.
Preferably, resource determining device includes at least one dimensional information based on log information, to the log
Information carries out the device (not shown, hereinafter referred to as " screening plant ") of the first screening operation.
At least one dimensional information of screening plant based on log information carries out the first screening to the log information and grasps
Make, with based on one or more log informations after the first screening operation, to determine one or more of resources to be disposed
Requested amount with by the amount of sharing.
Wherein, at least one described dimensional information is based respectively on log properties information to determine.
Preferably, the log properties information includes but is not limited to following at least any one information:
1) geography information of the affiliated terminal of log;
2) the operator domain information of the affiliated terminal of log;
3) temporal information of log recording.
Specifically, at least one dimensional information of screening plant based on log information, and believe at least one dimension
The corresponding one or more dimension condition information of manner of breathing, filter out and the one or more dimension condition from the log information
One or more log informations that information matches, with based on one or more log informations after screening, to determine described one
The requested amount of a or multiple resources to be disposed with by the amount of sharing.
Preferably, the dimension condition information can be based on pre-seting or user's operation determines.For example, being based on user
The time interval of selection, the dimension condition information etc. as time dimension.
First example according to the present invention, resource determining device are contained in the service of the website of an offer audio download services
In device, also, predetermined log information is screened based on temporal information and geographical location information the two dimensions.Resource determines
The dimension condition information that device obtains includes: that time dimension condition " in nearest one hour " and geography dimensionality condition " are located at area
Domain area_1 ".Then screening plant is based on the time dimension condition and geography dimensionality condition, come to the day being stored in the server
Will information is screened from temporal information and geographical location information the two dimensions, thus obtain over it is recording in one hour,
Each terminal in the regional scope log information, and by end corresponding with the log information after screening, each
End requests each audio of downloading as resource to be disposed, to be determined based on the log information after screening corresponding each
The requested amount of resource to be disposed with by the amount of sharing.
According to the solution of the present invention, by by user demand amount it is larger and the less resource deployment of shared terminal to it is active eventually
End, improves the sharing rate of such resource, to guarantee such resource P2P speed of download with higher, enjoys user
Preferably downloading or the experience of playing resource, and save the broadband cost of server-side.Also, by to be disposed multiple
The resource that is sufficient for the downloading demand of user by sharing amount or can not normally be downloaded is filtered out in resource, to avoid
Active terminals dispose the waste of memory space caused by these resources.
According to a preferred embodiment of the invention, the resource determining device further includes for based on each terminal
Resource sharing status information come determine one or more active terminals device (it is not shown, hereinafter referred to as " terminal determine dress
Set "), and for being deployed at least one identified described resource to be disposed in one or more of active terminals
Device (not shown, hereinafter referred to as " deployment device ").
Terminal determining device determines one or more active terminals based on the resource sharing status information of each terminal.
Wherein, the active terminals are used to indicate resource sharing and more have frequently and in resource sharing compared with dominance
The terminal of energy.
Preferably, the sharing status information includes but is not limited to following at least any one:
1) the resource sharing amount of terminal;The resource sharing amount includes that each terminal uploads or download within a predetermined period of time money
The quantity in source.For example, being more than the terminal of predetermined threshold as active whole using the number that resource was uploaded or downloaded in past 1 hour
End.
2) online hours of terminal, for example, being more than the terminal of predetermined threshold as active terminals using online hours;
3) the remaining cache space of terminal, for example, remaining cache space is greater than the terminal of predetermined threshold as active whole
End.
Device is disposed by least one identified described resource to be disposed, is deployed in one or more of active terminals
On.
Specifically, deployment device is by least one identified described resource deployment to be disposed in one or more of work
Mode in jump terminal includes but is not limited to any of the following:
1) by it is identified need to be disposed resource be respectively deployed in one or more of active terminals;
2) determining each resource to be disposed is divided into multiple groups resource to be disposed, and respectively by each group Resources Department to be disposed
It affixes one's name in one or more active terminals of all active terminals.
For example, resource to be disposed determined by resource determining device has 7, identified active terminals have 3, then dispose
Device can be deployed to either one or two of 3 active terminals from this wait dispose random selection 3 in resource, then again from remaining
4 are deployed to either one or two of remaining 2 active terminals wait dispose random selection 2 in resource, and by remaining 2 wait dispose
Resource deployment is to remaining active terminals.
Alternatively, deployment device can select higher 4 portions of priority based on the deployment priority of 7 resources to be disposed
It affixes one's name in 3 active terminals, and will be in remaining 3 resource deployment to be disposed to any two in 3 active terminals.
Preferably, the deployment device further includes for being limited based on the respective sharing of one or more of active terminals
At least one identified described resource to be disposed is respectively deployed in one or more of active terminals extremely by information
Device (not shown, hereinafter referred to as " sub-portion administration device ") in few active terminals.
Sub-portion affixes one's name to device and is based on the respective sharing prescribed information of one or more of active terminals, will be identified described
At least one resource to be disposed is respectively deployed at least one active terminals in one or more of active terminals.
Wherein, the sharing prescribed information includes the various information that can be limited the behavior in terminal disposition resource.
For example, the information limited in the number that each active terminals are disposed predetermined amount of time.In another example being carried out to each
The information etc. that the resource number to be disposed of deployment is limited.
Continue to be illustrated foregoing First example, the corresponding sharing prescribed information of resource determining device includes: each end
End can at most be disposed twice daily;Deployment can at most dispose 5 resources to be disposed every time.It is right that terminal determining device obtains its
All terminals answered in the past two hours in resource upload amount and download, and wherein will upload or download number of resources is more than 5
A terminal peer_1 to peer_5 is as active terminals.
Then, sub-portion administration device, which disposes the information of resource respectively based on its that 5 active terminals report to judge it, is
It is no to meet the sharing prescribed information, and determine that wherein the active terminals peer_3 same day is disposed twice, and then determination does not exist
It is disposed on terminal peer_3.Then, it is preferential wait dispose selection deployment in resource from identified 10 to affix one's name to device for sub-portion
Grade highest preceding 5 resources to be disposed are deployed in wantonly 3 in active terminals peer_1, peer_2, peer_4 and peer_5
On, and 5 resource deployments to be disposed of priority rearward will be disposed in remaining two active terminals.
According to this preferred embodiment, by will resource deployment be disposed to more active terminal, further ensure
The P2P speed of download with higher of resource to be disposed, and the deployment behavior of each terminal is limited in deployment, it keeps away
Exempt from excessively frequently to dispose resource and the normal operation of the terminal is had an impact to terminal.
Software program of the invention can be executed to implement the above steps or functions by processor.Similarly, originally
The software program (including relevant data structure) of invention can be stored in computer readable recording medium, for example, RAM is deposited
Reservoir, magnetic or optical driver or floppy disc and similar devices.In addition, hardware can be used in fact in some steps of the invention or function
It is existing, for example, as the circuit cooperated with processor thereby executing each function or step.
In addition, a part of the invention can be applied to computer program product, such as computer program instructions, when its quilt
When computer executes, by the operation of the computer, it can call or provide according to the method for the present invention and/or technical solution.
And the program instruction of method of the invention is called, it is possibly stored in fixed or moveable recording medium, and/or pass through
Broadcast or the data flow in other signal-bearing mediums and transmitted, and/or be stored according to described program instruction operation
In the working storage of computer equipment.Here, according to one embodiment of present invention including a device, which includes using
Memory in storage computer program instructions and processor for executing program instructions, wherein when the computer program refers to
When enabling by processor execution, method and/or skill of the device operation based on aforementioned multiple embodiments according to the present invention are triggered
Art scheme.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This
Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.That states in system claims is multiple
Unit or device can also be implemented through software or hardware by a unit or device.The first, the second equal words are used to table
Show title, and does not indicate any particular order.
Although front is specifically shown and describes exemplary embodiment, it will be understood to those of skill in the art that
It is that without departing substantially from the spirit and scope of claims, can be varied in terms of its form and details.Here
Sought protection illustrates in the dependent claims.These of each embodiment are defined in following number clause
In terms of other:
1. a kind of method for determining resource to be disposed, wherein the described method comprises the following steps:
The requested amount of resource to be disposed determines one or more of respectively with by the amount of sharing based on one or more
Wait dispose the deployment priority of each resource to be disposed in resource;
Based on one or more of deployment priority wait dispose each resource to be disposed in resource, selection is used for portion
Affix one's name at least one resource to be disposed in active terminals, wherein the active terminals include the more terminal of resource sharing amount.
2. according to method described in clause 1, wherein the method also includes following steps:
Based on the log information of each terminal, come determine one or more of resources to be disposed requested amount and by
Sharing amount.
3. according to method described in clause 2, wherein the method also includes following steps:
It is based at least one dimensional information, the first screening operation is carried out to the log information, based on the first screening behaviour
One or more log informations after work, come determine the requested amounts of one or more of resources to be disposed with by the amount of sharing.
4. according to method described in clause 3, wherein at least one described dimensional information is based respectively on log properties information
It determines, wherein the log properties information includes following at least any one information:
The geography information of the affiliated terminal of log;
The operator domain information of the affiliated terminal of log;
The temporal information of log recording.
5. the method according to any one of clause 1 to 4, wherein the resource to be disposed based on one or more
It is requested to measure and by the amount of sharing, determine that one or more of deployment wait dispose each resource to be disposed in resource are preferential respectively
The step of grade, is further comprising the steps of:
To one or more of wait dispose each resource to be disposed in resource, judge whether it is full by sharing amount respectively
Sufficient first threshold condition;
The each wait dispose money of first threshold condition is met by sharing amount wait dispose in resource to one or more of
Source determines that it disposes priority respectively.
6. the method according to any one of clause 1 to 5, wherein the method also includes following steps:
One or more active terminals are determined based on the resource sharing amount of each terminal.
At least one identified described resource to be disposed is deployed in one or more of active terminals.
7. according to method described in clause 6, wherein described by least one identified described resource to be disposed, deployment
It is further comprising the steps of in the step in one or more of active terminals:
Be based on the respective sharing prescribed information of one or more of active terminals, will it is identified described at least one
Resource to be disposed is respectively deployed at least one active terminals in one or more of active terminals.
8. the method according to any one of clause 1 to 7, wherein the deployment priority is based on the requested amount
It is determined with described by the ratio between the amount of sharing.
9. the method according to any one of clause 1 to 8, wherein divided when the requested amount of a resource to be disposed compares
The ratio for the amount of enjoying is bigger, and the deployment priority for being somebody's turn to do resource to be disposed is higher.
10. a kind of for determining the resource determining device of resource to be disposed, wherein the resource determining device includes:
For resource to be disposed based on one or more requested amount with by the amount of sharing, determine respectively it is one or more
A device wait dispose the deployment priority of each resource to be disposed in resource;
For based on one or more of deployment priority wait dispose each resource to be disposed in resource, selection to be used for
It is deployed in the device of at least one resource to be disposed of active terminals, wherein the active terminals include that resource sharing amount is more
Terminal.
11. according to resource determining device described in clause 10, wherein the resource determining device further include:
For the log information based on each terminal, come determine one or more of resources to be disposed requested amount and
By the device of sharing amount.
12. according to resource determining device described in clause 11, wherein the resource determining device further include:
For being based at least one dimensional information, the first screening operation is carried out to the log information, based on the first sieve
One or more log informations after selection operation, come determine the requested amounts of one or more of resources to be disposed with shared
The device of amount.
13. according to resource determining device described in clause 12, wherein at least one described dimensional information is based respectively on log
Attribute information determines, wherein the log properties information includes following any one of at least information:
The geography information of the affiliated terminal of log;
The operator domain information of the affiliated terminal of log;
The temporal information of log recording.
14. the resource determining device according to any one of clause 10 to 13, wherein described for being based on one or more
The requested amount of a resource to be disposed with by the amount of sharing, determine respectively it is one or more of each wait dispose in resource wait dispose
The device of the deployment priority of resource further include:
For, wait dispose each resource to be disposed in resource, judge respectively one or more of its by sharing amount whether
Meet the device of first threshold condition;
For meeting each wait dispose of first threshold condition by sharing amount wait dispose in resource to one or more of
Resource determines that it disposes the device of priority respectively.
15. the resource determining device according to any one of clause 10 to 14, wherein the resource determining device is also wrapped
It includes:
For determining the device of one or more active terminals based on the resource sharing amount of each terminal.
For being deployed at least one identified described resource to be disposed in one or more of active terminals
Device.
16. according to resource determining device described in clause 15, wherein it is described for by it is identified it is described at least one wait for
Dispose resource, the device being deployed in one or more of active terminals further include:
For being based on the respective sharing prescribed information of one or more of active terminals, by identified described at least one
A resource to be disposed, the device being respectively deployed at least one active terminals in one or more of active terminals.
17. the resource determining device according to any one of clause 10 to 16, wherein the deployment priority is based on institute
Requested amount is stated to be determined with described by the ratio between the amount of sharing.
18. the resource determining device according to any one of clause 10 to 17, wherein when being asked for a resource to be disposed
The amount of asking is bigger than by the ratio of sharing amount, and the deployment priority for being somebody's turn to do resource to be disposed is higher.