CN105429967B - Permission determines method and device - Google Patents
Permission determines method and device Download PDFInfo
- Publication number
- CN105429967B CN105429967B CN201510751315.4A CN201510751315A CN105429967B CN 105429967 B CN105429967 B CN 105429967B CN 201510751315 A CN201510751315 A CN 201510751315A CN 105429967 B CN105429967 B CN 105429967B
- Authority
- CN
- China
- Prior art keywords
- permission
- authority request
- request
- user
- preset condition
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000005540 biological transmission Effects 0.000 claims abstract description 12
- 238000007599 discharging Methods 0.000 claims description 15
- 238000012544 monitoring process Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000011800 void material Substances 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Storage Device Security (AREA)
Abstract
The present invention provides a kind of permissions to determine method and device, belongs to network technique field.The method is by determining that currently employed at least one permission determines mechanism;Mechanism and authority request are determined according at least one permission, obtain the authority request for meeting preset condition;The transmission user of the authority request for meeting preset condition is determined as target user;To target user's issued rights.Allow the permission of network service to determine that mechanism flexibly changes, so that the user for participating in network service can obtain the permission of network service by different modes, and then increases the number of users for participating in network service, improve the range of network service covering.
Description
Technical field
The present invention relates to network technique fields more particularly to a kind of permission to determine method and device.
Background technique
With the development of network technology, more and more network services can be provided a user based on network, such as interconnect
Net concert, member system chatroom etc..User is in order to obtain the network service, it usually needs obtains the power for participating in the network service
Limit.
Currently, user usually obtains the permission of network service by way of directly buying.However the mode directly bought
Often price is higher, so that the number of users for participating in network service is less.And then need a kind of power that permission more users participate in
The method of determination is limited, to improve the coverage area of network service.
Summary of the invention
To overcome the problems in correlation technique, the present invention provides a kind of permission and determines method and device.
According to a first aspect of the embodiments of the present invention, a kind of permission is provided and determines method, comprising:
Determine that currently employed at least one permission determines mechanism;
Mechanism and authority request are determined according at least one permission, obtain the authority request for meeting preset condition;
The transmission user of the authority request for meeting preset condition is determined as target user;
To target user's issued rights.
In an embodiment of the present invention, the currently employed at least one permission of the determination determines that mechanism includes:
According to the quantity for the authority request currently having received and default access discharging quantity, determine it is currently employed at least
A kind of permission determines mechanism.
In an embodiment of the present invention, the quantity for the authority request that the basis currently has received and default granting number
Amount, determines that currently employed at least one permission determines that mechanism includes:
Obtain the quantity of the current entitlement request and the ratio of the default access discharging quantity;
When the ratio is greater than default value, the virtual tickets quantity for being included according at least to authority request carries out permission
It determines;
Or, carrying out permission when the ratio is less than default value according at least to preset probability and determining.
In an embodiment of the present invention, mechanism and authority request are determined according at least one permission, obtains and meets in advance
If the authority request of condition includes:
The virtual tickets quantity that the authority request includes is obtained, judges the virtual tickets quantity that the authority request includes
Whether it is no less than default value, is determined as the authority request that the virtual tickets quantity is no less than default value to meet default item
Part;
Or, determining whether the authority request meets preset condition at random according to preset probability;
Or, obtaining receiving time sequence of the authority request in all permissions request, judge that the ordering values are
It is no to be equal to default value, it is determined as the authority request that the ordering values are equal to default value to meet preset condition.
In an embodiment of the present invention, described before the currently employed at least one permission of the determination determines mechanism
Method further include:
Receive the transaction request of user's virtual tickets;When trading successfully, virtual tickets are provided to the user.
According to a second aspect of the embodiments of the present invention, a kind of permission determining device is provided, comprising:
Mechanism determining module, at least one permission for determining currently employed determine mechanism;
Module is obtained, for determining mechanism and authority request according at least one permission, acquisition meets preset condition
Authority request;
Target user's determining module, for the transmission user of the authority request for meeting preset condition to be determined as target
User;
Module is provided, is used for target user's issued rights.
In an embodiment of the present invention, the mechanism determining module is used for:
According to the quantity for the authority request currently having received and default access discharging quantity, determine it is currently employed at least
A kind of permission determines mechanism.
In an embodiment of the present invention, the mechanism determining module is used for:
Obtain the quantity of the current entitlement request and the ratio of the default access discharging quantity;
When the ratio is greater than default value, the virtual tickets quantity for being included according at least to authority request carries out permission
It determines;
Or, carrying out permission when the ratio is less than default value according at least to preset probability and determining.
In an embodiment of the present invention, the acquisition module is used for:
The virtual tickets quantity that the authority request includes is obtained, judges the virtual tickets quantity that the authority request includes
Whether it is no less than default value, is determined as the authority request that the virtual tickets quantity is no less than default value to meet default item
Part;
Or, determining whether the authority request meets preset condition at random according to preset probability;
Or, obtaining receiving time sequence of the authority request in all permissions request, judge that the ordering values are
It is no to be equal to default value, it is determined as the authority request that the ordering values are equal to default value to meet preset condition.
In an embodiment of the present invention, described device further include:
Virtual tickets provide module, for receiving the transaction request of user's virtual tickets;When trading successfully, to the use
Provide virtual tickets in family.
According to a third aspect of the embodiments of the present invention, a kind of permission determining device is provided, comprising:
Processor;
Memory for the instruction that storage processor can be performed;
Wherein, the processor is configured to:
Determine that currently employed at least one permission determines mechanism;
Mechanism and authority request are determined according at least one permission, obtain the authority request for meeting preset condition;
The transmission user of the authority request for meeting preset condition is determined as target user;
To target user's issued rights.
The technical solution that the embodiment of the present invention provides can include the following benefits:
Method provided in an embodiment of the present invention determines mechanism by the currently employed at least one permission of determination;According to institute
It states at least one permission and determines mechanism and authority request, obtain the authority request for meeting preset condition;Meet default item for described
The transmission user of the authority request of part is determined as target user;To target user's issued rights.So that the power of network service
Limiting the mechanism of determination can flexibly change, so that the user for participating in network service can obtain network clothes by different modes
The permission of business, and then increase the number of users for participating in network service, improve the range of network service covering.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the flow chart that a kind of permission shown according to an exemplary embodiment determines method.
Fig. 2 is the flow chart that a kind of permission shown according to an exemplary embodiment determines method.
Fig. 3 is a kind of block diagram of permission determining device shown according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of permission determining device 400 shown according to an exemplary embodiment.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 is the flow chart that a kind of permission shown according to an exemplary embodiment determines method, as shown in Figure 1, the party
Method includes the following steps.
101, determine that currently employed at least one permission determines mechanism.
102, mechanism and authority request are determined according at least one permission, obtains the authority request for meeting preset condition.
103, the transmission user of the authority request for meeting preset condition is determined as target user.
104, to target user's issued rights.
Method provided in an embodiment of the present invention determines mechanism by the currently employed at least one permission of determination;According to this
At least one permission determines mechanism and authority request, obtains the authority request for meeting preset condition;This is met into preset condition
The transmission user of authority request is determined as target user;To target user's issued rights.The invention enables the power of network service
Limiting the mechanism of determination can flexibly change, so that the user for participating in network service can obtain network clothes by different modes
The permission of business, and then increase the number of users for participating in network service, improve the range of network service covering.
In one embodiment of the invention, the currently employed at least one permission of the determination determines that mechanism includes:
According to the quantity for the authority request currently having received and default access discharging quantity, determine it is currently employed at least
A kind of permission determines mechanism.
In one embodiment of the invention, the quantity for the authority request which currently has received and default granting number
Amount, determines that currently employed at least one permission determines that mechanism includes:
Obtain the quantity of the current authority request and the ratio of the default access discharging quantity;
When the ratio is greater than default value, the virtual tickets quantity progress permission for being included according at least to authority request is true
It is fixed;
Or, carrying out permission when the ratio is less than default value according at least to preset probability and determining.
In one embodiment of the invention, mechanism and authority request are determined according at least one permission, obtains and meets
The authority request of preset condition includes:
The virtual tickets quantity that the authority request includes is obtained, judges whether is virtual tickets quantity that the authority request includes
No less than default value is determined as the authority request that the virtual tickets quantity is no less than default value to meet preset condition;
Or, determining whether the authority request meets preset condition at random according to preset probability;
Or, obtain the authority request all permissions request in receiving time sequence, judge the ordering values whether etc.
In default value, it is determined as the authority request that the ordering values are equal to default value to meet preset condition.
It in one embodiment of the invention, should before the currently employed at least one permission of the determination determines mechanism
Method further include:
Receive the transaction request of user's virtual tickets;When trading successfully, virtual tickets are provided to the user.
Fig. 2 is the flow chart that a kind of permission shown according to an exemplary embodiment determines method, and this method is implemented in clothes
Business device, as shown in Fig. 2, this approach includes the following steps.
201, virtual tickets are provided to user.
When the user obtains the virtual tickets, can be requested based on the virtual tickets sending permission.For example, for interconnection
The network service of net concert, the virtual tickets can be based on for virtual lottery ticket when a user obtains the lottery ticket
The permission of the internet concert is watched in the lottery ticket application.
In embodiments of the present invention, the virtual tickets can the trading situation of basis and user provide.It specifically includes:
Receive the transaction request of user's virtual tickets;When trading successfully, virtual tickets are provided to the user.The transaction, which can be, to be based on
The transaction of network parting fee, the transaction of the network parting fee can refer to that the transaction of real money may also mean that the friendship of ideal money
Easily.For example, after receiving the transaction request, know whether the user for sending transaction request completes charge, when knowing the user
When completing charge, transaction success is determined, provide virtual tickets to the user.It in embodiments of the present invention, can be to same use
Individual or multiple virtual tickets are provided in family, for example, user obtains the transaction request of 5 virtual tickets by sending, and to this 5
The total value of virtual tickets is paid, and when transaction success, provides 5 virtual tickets to the user.It is obtained in the user more
After opening virtual tickets, it can be requested based on multiple virtual tickets sending permissions.
It should be noted that the virtual tickets can also be provided according to other conditions, for example, according to the account of user
Grade is provided, and when the account levels of the user are higher than preset value, provides the virtual tickets to the user, the present invention is to void
The granting condition of quasi- bill is not especially limited.
202, determine that currently employed at least one permission determines mechanism.
In order to enable the organizer of network service can be according to current rights object situation, flexibly adjustment rights object
Strategy, and then improve the coverage area of network service, it is a variety of preset that the permission in the embodiment of the present invention determines that method provides
Permission determines mechanism, and the organizer of the network service is allowed to determine that determination is currently adopted in mechanism from a variety of preset permissions
At least one permission determines mechanism.
It in embodiments of the present invention, can be automatic true by monitoring current rights object situation, according to default rule
Fixed at least one permission determines mechanism.Specifically, the authority request quantity currently having received can be monitored in real time, according to current
The quantity and default access discharging quantity for the authority request having received determine that currently employed at least one permission determines machine
System.
Present invention recognizes that the ratio of the authority request quantity and the default access discharging quantity that currently have received is got over
Height, then illustrate user participate in the network service positive degree it is higher, and then the standard of rights object should be improved, and currently connect
The authority request quantity received is lower with the ratio of the default access discharging quantity, then illustrates that user participates in the product of the network service
It is extremely lower, and then the standard of rights object should be reduced.It is based on the recognition, permission provided in an embodiment of the present invention determines
Method includes: the quantity for obtaining the current authority request and the ratio of the default access discharging quantity;It is preset when the ratio is greater than
When numerical value, the virtual tickets quantity progress permission for being included according at least to authority request is determined;Or, when the ratio is less than present count
When value, permission is carried out according at least to preset probability and is determined.The default value, the preset probability can be according to historical experiences
It is set.For example, virtual tickets are specially lottery ticket for the case where network service is specially a network concert, to
The permission of request is specially to watch the permission of the network concert;When watch the network concert application quantity be 1000 people,
When the quantity of the default permission provided is 200 people, then the lottery ticket quantity for being included according to authority request whether be greater than 20 into
Row rights object allows user to buy 20 lottery tickets and directly acquires the permission for watching the network concert;And when viewing
The application quantity of the network concert is 100 people, when the permission quantity for presetting granting is 200 people, then according to 1/5 probability to power
The lottery ticket that limit request includes is announced the winners in a lottery, and is just had an opportunity to obtain and is watched the concert so that user only buys 1 lottery ticket
Permission.
203, mechanism and authority request are determined according at least one permission, obtains the authority request for meeting preset condition.
In embodiments of the present invention, at least following three permissions are provided and determine mechanism, it is whether full for the request that defines the competence
Sufficient preset condition.
Permission determines mechanism 1: the mechanism is properly termed as direct exchange mechanism, comprising: obtains the void that the authority request includes
Quasi- bill quantity, judges whether the virtual tickets quantity that the authority request includes is no less than default value, by the virtual tickets number
The authority request that amount is no less than default value is determined as meeting preset condition.Specifically, which can be based at least one
Virtual tickets are sent, and then the quantity of the authority request virtual tickets that include be at least one, for example, for network performance
Can network service, user can 20 lottery tickets based on acquisition send an authority request, and then the authority request includes
Virtual tickets quantity be 20, default value be 20, then virtual tickets quantity is no less than default value, it is determined that the permission
Request meets preset condition.
Permission determines mechanism 2: the mechanism is properly termed as probability mechanism, comprising: according to preset probability, determines the power at random
Whether limit request meets preset condition, specifically, a numberical range can be determined, to each permission according to preset probability
Request, obtains random number using random device within the scope of default value, when the random number of the acquisition is equal to default value, then
Determine that the authority request meets preset condition.For example, when predetermined probabilities are 1/5, it is determined that numberical range is the integer of 1-5,
Default value is set as integer 2, for an authority request, obtained in the integer range of 1-5 using random device one with
Machine number, it is assumed that the random number of the acquisition is 2, and then equal with default value, it is determined that the authority request meets preset condition.
Permission determines mechanism 3: the mechanism is properly termed as quota mechanism, obtains the authority request in all permissions request
Receiving time sequence, judges whether the ordering values are equal to default value, and the permission which is equal to default value is asked
It asks and is determined as meeting preset condition.The default value can be configured according to the actual situation, for example, the numerical value can be arranged
For any number in the set of n*100, and then assume that receiving time of the authority request in all permissions request sorts number
Value is the 200th, since 200 be the numerical value in above-mentioned set, then is determined as an authority request to meet preset condition.
In order to enable user can select the mode for obtaining permission, and then improve network service according to their own situation
Coverage area.Permission provided in an embodiment of the present invention determines in method, and mechanism can be determined according to multiple permissions, obtains and meets in advance
If the authority request of condition.Specifically, multiple permissions being determined to, mechanism is determined as currently employed permission and determines mechanism, used
Family can voluntarily determine in mechanism from multiple permission when sending permission is requested specifies the permission needed to determine mechanism, according to this
User's specified power determines mechanism, obtains the authority request for meeting preset condition.For example, determining that above-mentioned permission determines mechanism 1
Determine that mechanism 2 is that current permission determines mechanism with permission, when user selects authority mechanism 1, then according to the authority request packet
Whether the authority request that the virtual tickets quantity contained determines that the user sends meets preset condition, which is directly used
No less than the virtual tickets of default value quantity obtain permission, when user selects permission to determine mechanism 2, then according to preset general
Whether rate, the authority request for determining that the user sends meet preset condition, which is had an opportunity with less than present count
The virtual tickets for being worth quantity obtain permission.
It should be noted that in practical applications, can also have other permissions to determine mechanism, for example, according to user
Account levels, define the competence request whether meet preset condition etc., the present invention determines that mechanism is not made specifically to other permissions
It limits.
204, the transmission user of the authority request for meeting preset condition is determined as target user.
In the present invention is implemented, to the letter for sending user and providing request failure for the authority request for being unsatisfactory for preset condition
The information of breath, request failure can carry the virtual present given, for example, the member's permission etc. given can be carried.
205, to target user's issued rights.
The target user can participate in corresponding network service based on the permission after receiving the permission.
The concrete form of the issued rights can be to provide token (Token) to the target user, so that the user can be with
Based on the token by the certification of network service, and then participate in the network service.It should be noted that the issued rights is specific
Form can also be other forms, for example, the account to user carries out rights markings, for another example identifying code etc. is provided to user,
The embodiment of the present invention is not construed as limiting the concrete form of issued rights.
Further, to after target user's issued rights, the permission that the present invention implements to provide determines that method is also wrapped
The information for including record target user sends the information reminded and participated in the target user when network service starts.
Method provided in an embodiment of the present invention determines mechanism by the currently employed at least one permission of determination;According to this
At least one permission determines mechanism and authority request, obtains the authority request for meeting preset condition;This is met into preset condition
The transmission user of authority request is determined as target user;To target user's issued rights.So that the permission of network service determines
Mechanism can flexibly change, so that the user for participating in network service can obtain the power of network service by different modes
Limit, and then increase the number of users for participating in network service, improve the range of network service covering.
Fig. 3 is that the block diagram that a kind of nearby users shown according to an exemplary embodiment search device should referring to such as Fig. 3
Device includes: mechanism determining module 301, obtains module 302, target user's determining module 303, provides module 304.
Mechanism determining module 301, at least one permission for determining currently employed determine mechanism;
Module 302 is obtained, for determining mechanism and authority request according at least one permission, acquisition meets preset condition
Authority request;
Target user's determining module 303 is determined as mesh for this to be met to the transmission user of authority request of preset condition
Mark user;
Module 304 is provided, is used for target user's issued rights.
In an embodiment of the present invention, which is used for:
According to the quantity for the authority request currently having received and default access discharging quantity, determine it is currently employed at least
A kind of permission determines mechanism.
In an embodiment of the present invention, which is used for:
Obtain the quantity of the current authority request and the ratio of the default access discharging quantity;
When the ratio is greater than default value, the virtual tickets quantity progress permission for being included according at least to authority request is true
It is fixed;
Or, carrying out permission when the ratio is less than default value according at least to preset probability and determining.
In an embodiment of the present invention, which is used for:
The virtual tickets quantity that the authority request includes is obtained, judges whether is virtual tickets quantity that the authority request includes
No less than default value is determined as the authority request that the virtual tickets quantity is no less than default value to meet preset condition;
Or, determining whether the authority request meets preset condition at random according to preset probability;
Or, obtain the authority request all permissions request in receiving time sequence, judge the ordering values whether etc.
In default value, it is determined as the authority request that the ordering values are equal to default value to meet preset condition.
In an embodiment of the present invention, the device further include:
Virtual tickets provide module, for receiving the transaction request of user's virtual tickets;When trading successfully, to the user
Provide virtual tickets.
Fig. 4 is a kind of block diagram of permission determining device 400 shown according to an exemplary embodiment.For example, device 400 can
To be provided as a server.Referring to Fig. 4, it further comprises one or more processing that device 400, which includes processing component 422,
Device, and the memory resource as representated by memory 432, for store can by the instruction of the execution of processing component 422, such as
Application program.The application program stored in memory 432 may include it is one or more each correspond to one group refer to
The module of order.In addition, processing component 422 is configured as executing instruction, determined with executing permission described in above-mentioned Fig. 1 or Fig. 2
Method.
Device 400 can also include the power management that a power supply module 424 is configured as executive device 400, and one has
Line or radio network interface 450 are configured as device 400 being connected to network and input and output (I/O) interface 458.Dress
Setting 400 can operate based on the operating system for being stored in memory 432, such as Windows ServerTM, Mac OS XTM,
UnixTM,LinuxTM, FreeBSDTMOr it is similar.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
Claims (8)
1. a kind of permission determines method, which is characterized in that the described method includes:
Determine that currently employed at least one permission determines mechanism;
Mechanism and authority request are determined according at least one permission, obtain the authority request for meeting preset condition;
The transmission user of the authority request for meeting preset condition is determined as target user;
To target user's issued rights;
The currently employed at least one permission of the determination determines that mechanism includes:
The authority request quantity that real-time monitoring currently has received according to the quantity for the authority request currently having received and is preset
Rights object quantity determines that currently employed at least one permission determines mechanism;
It is described that mechanism and authority request are determined according at least one permission, obtain the authority request for meeting preset condition, packet
It includes:
At least one permission is determined that mechanism is determined as currently employed permission and determines mechanism, user requests in sending permission
When from least one described permission determine in mechanism specify need permission determine mechanism, machine is determined according to user's specified power
System obtains the authority request for meeting preset condition.
2. the method according to claim 1, wherein the quantity for the authority request that the basis currently has received
And default discharging quantity, determine that currently employed at least one permission determines that mechanism includes:
Obtain the quantity of the current entitlement request and the ratio of the default access discharging quantity;
When the ratio is greater than default value, the virtual tickets quantity progress permission for being included according at least to authority request is true
It is fixed;
Or, carrying out permission when the ratio is less than default value according at least to preset probability and determining.
3. the method according to claim 1, wherein determining that mechanism and permission are asked according at least one permission
It asks, the authority request that acquisition meets preset condition includes:
The virtual tickets quantity that the authority request includes is obtained, judges whether is virtual tickets quantity that the authority request includes
No less than default value is determined as the authority request that the virtual tickets quantity is no less than default value to meet preset condition;
Or, determining whether the authority request meets preset condition at random according to preset probability;
Or, obtain the authority request all permissions request in receiving time sequence, judge the ordering values whether etc.
In default value, it is determined as the authority request that the ordering values are equal to default value to meet preset condition.
4. the method according to claim 1, wherein being determined in the currently employed at least one permission of the determination
Before mechanism, the method also includes:
Receive the transaction request of user's virtual tickets;When trading successfully, virtual tickets are provided to the user.
5. a kind of permission determining device, which is characterized in that described device includes:
Mechanism determining module, at least one permission for determining currently employed determine mechanism;
Module is obtained, for determining mechanism and authority request according at least one permission, obtains the power for meeting preset condition
Limit request;
Target user's determining module is used for the transmission user of the authority request for meeting preset condition to be determined as target
Family;
Module is provided, is used for target user's issued rights;
The mechanism determining module is used for:
The authority request quantity that real-time monitoring currently has received according to the quantity for the authority request currently having received and is preset
Rights object quantity determines that currently employed at least one permission determines mechanism;
The acquisition module, at least one permission to be determined that mechanism is determined as currently employed permission and determines mechanism,
User sending permission request when from least one described permission determine in mechanism specify need permission determine mechanism, according to
Family specified power determines mechanism, obtains the authority request for meeting preset condition.
6. device according to claim 5, which is characterized in that the mechanism determining module is used for:
Obtain the quantity of the current entitlement request and the ratio of the default access discharging quantity;
When the ratio is greater than default value, the virtual tickets quantity progress permission for being included according at least to authority request is true
It is fixed;
Or, carrying out permission when the ratio is less than default value according at least to preset probability and determining.
7. device according to claim 5, which is characterized in that the acquisition module is used for:
The virtual tickets quantity that the authority request includes is obtained, judges whether is virtual tickets quantity that the authority request includes
No less than default value is determined as the authority request that the virtual tickets quantity is no less than default value to meet preset condition;
Or, determining whether the authority request meets preset condition at random according to preset probability;
Or, obtain the authority request all permissions request in receiving time sequence, judge the ordering values whether etc.
In default value, it is determined as the authority request that the ordering values are equal to default value to meet preset condition.
8. device according to claim 5, which is characterized in that described device further include:
Virtual tickets provide module, for receiving the transaction request of user's virtual tickets;When trading successfully, sent out to the user
Put virtual tickets.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510751315.4A CN105429967B (en) | 2015-11-05 | 2015-11-05 | Permission determines method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510751315.4A CN105429967B (en) | 2015-11-05 | 2015-11-05 | Permission determines method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105429967A CN105429967A (en) | 2016-03-23 |
CN105429967B true CN105429967B (en) | 2019-02-22 |
Family
ID=55507909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510751315.4A Active CN105429967B (en) | 2015-11-05 | 2015-11-05 | Permission determines method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105429967B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106991319A (en) * | 2017-03-17 | 2017-07-28 | 维沃移动通信有限公司 | The right management method and mobile terminal of a kind of application program |
CN111860874A (en) * | 2019-04-11 | 2020-10-30 | 深圳市家家分类科技有限公司 | Method for realizing supervision authority and related device |
CN114338196A (en) * | 2021-12-30 | 2022-04-12 | 湖南快乐阳光互动娱乐传媒有限公司 | User identity authentication method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102842164A (en) * | 2012-09-10 | 2012-12-26 | 任建军 | Lucky draw method with prize self-chosen by participant |
CN103685154A (en) * | 2012-09-04 | 2014-03-26 | 深圳市世纪光速信息技术有限公司 | Internet-based probability product data processing method and server |
CN103778529A (en) * | 2012-10-19 | 2014-05-07 | 阿里巴巴集团控股有限公司 | Processing method and device for resource returning |
CN103984887A (en) * | 2014-05-30 | 2014-08-13 | 小米科技有限责任公司 | Method and device for controlling user permission |
CN104537549A (en) * | 2014-12-17 | 2015-04-22 | 广州酷狗计算机科技有限公司 | Presentation method and device for virtual currency |
CN104618336A (en) * | 2014-12-30 | 2015-05-13 | 广州酷狗计算机科技有限公司 | Account number management method, device and system |
-
2015
- 2015-11-05 CN CN201510751315.4A patent/CN105429967B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103685154A (en) * | 2012-09-04 | 2014-03-26 | 深圳市世纪光速信息技术有限公司 | Internet-based probability product data processing method and server |
CN102842164A (en) * | 2012-09-10 | 2012-12-26 | 任建军 | Lucky draw method with prize self-chosen by participant |
CN103778529A (en) * | 2012-10-19 | 2014-05-07 | 阿里巴巴集团控股有限公司 | Processing method and device for resource returning |
CN103984887A (en) * | 2014-05-30 | 2014-08-13 | 小米科技有限责任公司 | Method and device for controlling user permission |
CN104537549A (en) * | 2014-12-17 | 2015-04-22 | 广州酷狗计算机科技有限公司 | Presentation method and device for virtual currency |
CN104618336A (en) * | 2014-12-30 | 2015-05-13 | 广州酷狗计算机科技有限公司 | Account number management method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN105429967A (en) | 2016-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105279027B (en) | A kind of virtual machine deployment method and device | |
Chatzopoulos et al. | Privacy preserving and cost optimal mobile crowdsensing using smart contracts on blockchain | |
Yang et al. | Pricing-based decentralized spectrum access control in cognitive radio networks | |
Zhang et al. | Auction-based resource allocation in cognitive radio systems | |
CN105429967B (en) | Permission determines method and device | |
CN112468836A (en) | Virtual article issuing management method and device, electronic equipment and storage medium | |
CN109005220B (en) | Service implementation method of Internet of things terminal and Internet of things access gateway | |
Tan et al. | A payment-based incentive and service differentiation mechanism for peer-to-peer streaming broadcast | |
Chapman et al. | A healthy dose of reality for game-theoretic approaches to residential demand response | |
CN110276184A (en) | A kind of cloud computing resources authorization method and device | |
CN110493754A (en) | A kind of SIM card resource allocation methods, system, terminal device and storage medium | |
US20160267578A1 (en) | System and method for implementation of sharing economy in a web environment | |
CN104281951A (en) | Information processing apparatus | |
CN105824919B (en) | A kind of dynamic adjusting method and device of data query operation price | |
Kim | An effective sensor cloud control scheme based on a two-stage game approach | |
Niyato et al. | Optimal service auction for wireless powered internet of things (IoT) device | |
Pan et al. | An online task assignment based on quality constraint for spatio-temporal crowdsourcing | |
CN105120444B (en) | A kind of image transfer method, proxy server and network access system | |
CN108874805A (en) | The treating method and apparatus of data | |
CN104954493B (en) | A kind of method, proxy server and system accessing game server | |
CN116703071A (en) | Resource sharing method, device and equipment and storage medium | |
Jiang et al. | Quality of service‐aware coordinated dynamic spectrum access: prioritized M arkov model and call admission control | |
CN109327494B (en) | Service quality self-adaptive excitation method for multi-task cooperative application | |
CN108596746A (en) | Mobile intelligent perception and its resource allocation based on two way auction and incentive mechanism method | |
US20150003238A1 (en) | System and method for management and control of communication channels |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 511446 Guangzhou City, Guangdong Province, Panyu District, South Village, Huambo Business District Wanda Plaza, block B1, floor 28 Applicant after: Guangzhou Huaduo Network Technology Co., Ltd. Address before: 510655, Guangzhou, Whampoa Avenue, No. 2, creative industrial park, building 3-08, Applicant before: Guangzhou Huaduo Network Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |