IP Library Granted Patent US 11,509,662
Granted Patent B2
US 11,509,662 · App. 17/189,598 · Granted Nov 22, 2022

Method, device and computer program product for processing access management rights

Inventors: Fei Wang (Chengdu, CN); Changxu Jiang (Chengdu, CN)
Assignee: EMC IP Holding Company LLC
H04L63/102H04L63/101H04L63/20H04L67/06H04L67/1097
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,509,662
App. No.
17/189,598
Granted
Nov 22, 2022
Kind
B2
Abstract

Techniques process an access management permission. Such techniques involve: receiving, from a client, a first request for obtaining an access management permission of a file. The techniques further involve: obtaining a current score of the file, wherein the current score indicates a probability of receiving, after the access management permission is assigned to the client, a second request conflicting with the first request. The techniques further involve: assigning the access management permission to the client if it is determined that the current score is greater than or equal to a threshold score. Such techniques alleviate the need to assign, to a client, the access management permission of a file with a high probability of an access conflict, thus enhancing the performance of the server as well as the user experience.

Claims (80)

1. A method for processing an access management permission, comprising:

receiving, from a client, a first request for obtaining an access management permission of a file;

obtaining a current score of the file, wherein the current score indicates a probability of receiving, after the access management permission is assigned to the client, a second request conflicting with the first request; and

assigning the access management permission to the client-in response to determining that the current score is greater than or equal to a threshold score;

wherein the first request includes a type of a target access operation to be performed on the file;

wherein the method further comprises:

determining whether there is an assigned access management permission of the file, in response to determining that there is a first access operation on the file that conflicts with the type of the target access operation; and

reclaiming the assigned access management permission in response to determining that there is an assigned access management permission.

2. The method according to claim 1 , wherein the first request includes an identification of the file, wherein obtaining the current score comprises:

obtaining the current score based on the identification of the file and a predetermined mapping relationship between file identifications and scores of files associated with the file identifications.

3. The method according to claim 1 , wherein obtaining the current score comprises:

determining a set of access durations of a set of historical requests for obtaining historical access management permissions of the file, wherein each access duration indicates a length of time during which the historical access management permission was assigned to a corresponding historical request;

obtaining a set of reclaiming indication values for the historical access management permissions related to the set of historical requests, wherein each reclaiming indication value indicates the assigning and reclaiming status of the corresponding historical access management permission;

obtaining a set of conflict indication values corresponding to the set of historical requests, wherein each conflict indication value indicates, when a corresponding first historical request was executed, whether there was a second historical request that conflicted with the first historical request; and

determining the current score based on the set of access durations, the set of reclaiming indication values, and the set of conflict indication values.

4. The method according to claim 1 ,

wherein obtaining the current score of the file further comprises:

obtaining the current score of the file in response to determining that there is no first access operation on the file that conflicts with the type of the target access operation.

5. The method according to claim 1 , further comprising determining the threshold score,

wherein determining the threshold score comprises:

determining a threshold number of files of which access management permissions can be assigned;

obtaining a number of a set of files of which access management permissions have been assigned and a set of scores corresponding to the set of files, wherein each score in the set of scores indicates a probability of a conflict between multiple requests for a corresponding file after the access management permission of the corresponding file is assigned to a corresponding client; and

calculating the threshold score based on the threshold number, the number, and the set of scores.

6. The method according to claim 5 , wherein calculating the threshold score comprises:

obtaining a preset score for the file;

in response to determining that the number is greater than or equal to the threshold number,

sorting the set of scores in order from large to small,

determining a first score associated with the threshold number from the sorted set of scores, and

determining the threshold score based on the first score and the preset score; and

determining the preset score as the threshold score in response to determining that the number is less than the threshold number.

7. The method according to claim 1 , further comprising:

updating the current score of the file based on a first access duration, a first reclaiming indication value, and a first conflict indication value that are associated with the first request in response to determining that an instruction to terminate the access management permission is received from the client, wherein the first access duration indicates a length of time during which the access management permission is assigned to the first request; the first reclaiming indication value indicates the assigning and reclaiming status of the access management permission; and the first conflict indication value indicates, when the corresponding first request is executed, whether there is the second request that conflicts with the first request.

8. The method according to claim 1 , wherein receiving the first request includes:

receiving, as the first request, a request to access a shared file within a Network File System (NFS); and

wherein the second request indicates a request to access the shared file.

9. The method according to claim 1 , further comprising:

in response to receiving the first request, confirming that the access management permission is not currently assigned to another client; and

confirming, prior to obtaining the current score of the file, that the client has authority to obtain the access management permission of the file.

10. An electronic device, comprising:

at least one processor; and

a memory coupled to the at least one processor and having instructions stored thereon, wherein the instructions, when being executed by the at least one processor, cause the device to perform actions comprising:

receiving, from a client, a first request for obtaining an access management permission of a file;

obtaining a current score of the file, wherein the current score indicates a probability of receiving, after the access management permission is assigned to the client, a second request conflicting with the first request; and

assigning the access management permission to the client in response to determining that the current score is greater than or equal to a threshold score;

wherein the first request includes a type of a target access operation to be performed on the file;

wherein the actions further comprise:

determining whether there is an assigned access management permission of the file, in response to determining that there is a first access operation on the file that conflicts with the type of the target access operation; and

reclaiming the assigned access management permission in response to determining that there is an assigned access management permission.

11. The electronic device according to claim 10 , wherein the first request includes an identification of the file, wherein obtaining the current score comprises:

obtaining the current score based on the identification of the file and a predetermined mapping relationship between file identifications and scores of files associated with the file identifications.

12. The electronic device according to claim 10 , wherein obtaining the current score comprises:

determining a set of access durations of a set of historical requests for obtaining historical access management permissions of the file, wherein each access duration indicates a length of time during which the historical access management permission was assigned to a corresponding historical request;

obtaining a set of reclaiming indication values for the historical access management permissions related to the set of historical requests, wherein each reclaiming indication value indicates the assigning and reclaiming status of the corresponding historical access management permissions;

obtaining a set of conflict indication values corresponding to the set of historical requests, wherein each conflict indication value indicates, when a corresponding first historical request was executed, whether there was a second historical request that conflicted with the first historical request; and

determining the current score based on the set of access durations, the set of reclaiming indication values, and the set of conflict indication values.

13. The electronic device according to claim 10 ,

wherein obtaining the current score of the file further comprises:

obtaining the current score of the file in response to determining that there is no first access operation on the file that conflicts with the type of the target access operation.

14. The electronic device according to claim 10 , the actions further comprising determining the threshold score,

wherein determining the threshold score comprises:

determining a threshold number of files of which access management permissions can be assigned;

obtaining a number of a set of files of which access management permissions have been assigned and a set of scores corresponding to the set of files, wherein each score in the set of scores indicates a probability of a conflict between multiple requests for a corresponding file after the access management permission of the corresponding file is assigned to a corresponding client; and

calculating the threshold score based on the threshold number, the number, and the set of scores.

15. The electronic device according to claim 14 , wherein calculating the threshold score comprises:

obtaining a preset score for the file;

in response to determining that the number is greater than or equal to the threshold number,

sorting the set of scores in order from large to small,

determining a first score associated with the threshold number from the sorted set of scores, and

determining the threshold score based on the first score and the preset score; and

determining the preset score as the threshold score in response to determining that the number is less than the threshold number.

16. The electronic device according to claim 10 , wherein the actions further comprise:

updating the current score of the file based on a first access duration, a first reclaiming indication value, and a first conflict indication value that are associated with the first request in response to determining that an instruction to terminate the access management permission is received from the client, wherein the first access duration indicates a length of time during which the access management permission is assigned to the first request; the first reclaiming indication value indicates the assigning and reclaiming status of the access management permission; and the first conflict indication value indicates, when the corresponding first request is executed, whether there is the second request that conflicts with the first request.

17. A computer program product having a non-transitory computer readable medium which stores a set of instructions to process an access management permission; the set of instructions, when carried out by computerized circuitry, causing the computerized circuitry to perform a method of:

receiving, from a client, a first request for obtaining an access management permission of a file;

obtaining a current score of the file, wherein the current score indicates a probability of receiving, after the access management permission is assigned to the client, a second request conflicting with the first request; and

assigning the access management permission to the client in response to determining that the current score is greater than or equal to a threshold score;

wherein the first request includes a type of a target access operation to be performed on the file;

wherein the method further comprises:

determining whether there is an assigned access management permission of the file, in response to determining that there is a first access operation on the file that conflicts with the type of the target access operation; and

reclaiming the assigned access management permission in response to determining that there is an assigned access management permission.

Assignments (10)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (056295/0280) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 062022/0255 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (056295/0124) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 062022/0012 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (056295/0001) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 062021/0844 →
RELEASE OF SECURITY INTEREST Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 058297/0332 →
SECURITY INTEREST Recorded May 19, 2021
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 056295/0124 →
SECURITY INTEREST Recorded May 19, 2021
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 056295/0001 →
SECURITY INTEREST Recorded May 19, 2021
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 056295/0280 →
CORRECTIVE ASSIGNMENT TO CORRECT THE MISSING PATENTS THAT WERE ON THE ORIGINAL SCHEDULED SUBMITTED BUT NOT ENTERED PREVIOUSLY RECORDED AT REEL: 056250 FRAME: 0541. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded May 17, 2021
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 056311/0781 →
SECURITY AGREEMENT Recorded May 14, 2021
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 056250/0541 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 30, 2021
From: WANG, FEI; JIANG, CHANGXU
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 055765/0686 →