IP Library Granted Patent US 11,373,062
Granted Patent B1
US 11,373,062 · App. 17/200,986 · Granted Jun 28, 2022

Model training method, data processing method, electronic device, and program product

Inventors: Zijia Wang (WeiFang, CN); Jiacheng Ni (Shanghai, CN); Xuwei Tang (Nanjing, CN); Zhen Jia (Shanghai, CN); Jin Ru Yan (Shanghai, CN); Chenxi Hu (Beijing, CN)
Assignee: EMC IP Holding Company LLC
G06K9/6256G06K9/6262G06N3/08H04L41/12H04L41/145H04L41/5009H04L67/568
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,373,062
App. No.
17/200,986
Granted
Jun 28, 2022
Kind
B1
Abstract

Embodiments of the present disclosure relate to a model training method, a data processing method, an electronic device, and a computer program product. The method includes: acquiring storage information associated with a simulated network environment; and training a reinforcement learning model using simulated data and based on a simulated-data read request for a node among multiple nodes included in the simulated network environment and each having a cache. With the technical solutions of the present disclosure, the cache allocation and cache replacement problems can be simultaneously solved by using a reinforcement learning model to determine in a dynamic environment a data caching scheme that meets predetermined criteria, so that it is possible to not only improve the accuracy and efficiency of determining the data caching scheme with less cost overhead, but also improve the user experience of users using the caching system.

Claims (65)

1. A method, comprising:

acquiring storage information associated with a simulated network environment, wherein the simulated network environment includes multiple nodes each having a cache, and the storage information indicates the usage of the cache of each node; and

training a reinforcement learning model using simulated data and based on a simulated-data read request for a node among the multiple nodes, wherein the reinforcement learning model utilizes one of a first reinforcement learning algorithm that incorporates an environment model and a second reinforcement learning algorithm that does not incorporate an environment model, and wherein the reinforcement learning model includes an environment corresponding to the simulated network environment, the reinforcement learning model includes an agent corresponding to the multiple nodes, a state corresponding to the storage information, an action corresponding to a candidate data caching scheme, and a reward corresponding to a performance evaluation of the candidate data caching scheme with regard to the simulated-data read request, and the reinforcement learning model is trained such that the performance evaluation in the reinforcement learning model satisfies a predetermined performance evaluation requirement, and such that the reinforcement learning model can be used for determining a data caching scheme for input data;

wherein acquiring the storage information includes acquiring the storage information and topological information of the multiple nodes;

wherein the reinforcement learning model includes the state corresponding to the storage information and the topological information;

wherein the performance evaluation is indicated by a performance evaluation score which includes a weighted sum of sub-performance evaluation scores of multiple sub-performance evaluations; and

wherein training the reinforcement learning model includes determining a data caching scheme using the trained reinforcement learning model and based on the candidate data caching scheme corresponding to a higher performance evaluation score relative to other performance evaluation scores in the trained reinforcement learning model.

2. The method according to claim 1 , wherein the simulated-data read request is received from the environment in the reinforcement learning model.

3. The method according to claim 1 , wherein the data caching scheme indicates at least one of the following:

a cache in which the simulated data is to be cached; and

cached data to be cleared from the cache, wherein the remaining available space of the cache in which the simulated data is to be cached is insufficient.

4. The method according to claim 1 , wherein training the reinforcement learning model includes:

acquiring an initial data caching scheme; and

training the reinforcement learning model based on the initial data caching scheme.

5. The method according to claim 1 , wherein training the reinforcement learning model includes:

acquiring restrictions on data caching schemes; and

training the reinforcement learning model based on the restrictions.

6. The method according to claim 1 , wherein training the reinforcement learning model includes:

training the reinforcement learning model such that the performance evaluation in the trained reinforcement learning model is better than a performance evaluation of a predetermined candidate data caching scheme with regard to the simulated-data read request.

7. The method according to claim 1 , wherein the performance evaluation is indicated by a performance evaluation score which includes a weighted sum of sub-performance evaluation scores of multiple sub-performance evaluations, and training the reinforcement learning model includes:

training the reinforcement learning model such that the performance evaluation score in the trained reinforcement learning model is higher than a predetermined performance evaluation score.

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

receiving the input data; and

determining the data caching scheme for the input data using the reinforcement learning model.

9. An electronic device, including:

at least one hardware processing unit; and

at least one memory coupled to the at least one hardware processing unit and storing instructions for execution by the at least one hardware processing unit, wherein the instructions, when executed by the at least one hardware processing unit, cause the electronic device to perform actions including:

acquiring storage information associated with a simulated network environment, wherein the simulated network environment includes multiple nodes each having a cache, and the storage information indicates the usage of the cache of each node; and

training a reinforcement learning model using simulated data and based on a simulated-data read request for a node among the multiple nodes, wherein the reinforcement learning model utilizes one of a first reinforcement learning algorithm that incorporates an environment model and a second reinforcement learning algorithm that does not incorporate an environment model, and wherein the reinforcement learning model includes an environment corresponding to the simulated network environment, the reinforcement learning model includes an agent corresponding to the multiple nodes, a state corresponding to the storage information, an action corresponding to a candidate data caching scheme, and a reward corresponding to a performance evaluation of the candidate data caching scheme with regard to the simulated-data read request, and the reinforcement learning model is trained such that the performance evaluation in the reinforcement learning model satisfies a predetermined performance evaluation requirement, and such that the reinforcement learning model can be used for determining a data caching scheme for input data;

wherein acquiring the storage information includes acquiring the storage information and topological information of the multiple nodes;

wherein the reinforcement learning model includes the state corresponding to the storage information and the topological information;

wherein the performance evaluation is indicated by a performance evaluation score which includes a weighted sum of sub-performance evaluation scores of multiple sub-performance evaluations; and

wherein training the reinforcement learning model includes determining a data caching scheme using the trained reinforcement learning model and based on the candidate data caching scheme corresponding to a higher performance evaluation score relative to other performance evaluation scores in the trained reinforcement learning model.

10. The electronic device according to claim 9 , wherein the simulated-data read request is received from the environment in the reinforcement learning model.

11. The electronic device according to claim 9 , wherein the data caching scheme indicates at least one of the following:

a cache in which the simulated data is to be cached; and

cached data to be cleared from the cache, wherein the remaining available space of the cache in which the simulated data is to be cached is insufficient.

12. The electronic device according to claim 9 , wherein training the reinforcement learning model includes:

acquiring an initial data caching scheme; and

training the reinforcement learning model based on the initial data caching scheme.

13. The electronic device according to claim 9 , wherein training the reinforcement learning model includes:

acquiring restrictions on data caching schemes; and

training the reinforcement learning model based on the restrictions.

14. The electronic device according to claim 9 , wherein training the reinforcement learning model includes:

training the reinforcement learning model such that the performance evaluation in the trained reinforcement learning model is better than a performance evaluation of a predetermined candidate data caching scheme with regard to the simulated-data read request.

15. The electronic device according to claim 9 , wherein the performance evaluation is indicated by a performance evaluation score which includes a weighted sum of sub-performance evaluation scores of multiple sub-performance evaluations, and training the reinforcement learning model includes:

training the reinforcement learning model such that the performance evaluation score in the trained reinforcement learning model is higher than a predetermined performance evaluation score.

16. A computer program product tangibly stored on a non-transitory computer-readable medium and including machine-executable instructions, wherein the machine-executable instructions, when executed, cause a machine to perform steps of a method, the method comprising:

acquiring storage information associated with a simulated network environment, wherein the simulated network environment includes multiple nodes each having a cache, and the storage information indicates the usage of the cache of each node; and

training a reinforcement learning model using simulated data and based on a simulated-data read request for a node among the multiple nodes, wherein the reinforcement learning model utilizes one of a first reinforcement learning algorithm that incorporates an environment model and a second reinforcement learning algorithm that does not incorporate an environment model, and wherein the reinforcement learning model includes an environment corresponding to the simulated network environment, the reinforcement learning model includes an agent corresponding to the multiple nodes, a state corresponding to the storage information, an action corresponding to a candidate data caching scheme, and a reward corresponding to a performance evaluation of the candidate data caching scheme with regard to the simulated-data read request, and the reinforcement learning model is trained such that the performance evaluation in the reinforcement learning model satisfies a predetermined performance evaluation requirement, and such that the reinforcement learning model can be used for determining a data caching scheme for input data;

wherein acquiring the storage information includes acquiring the storage information and topological information of the multiple nodes;

wherein the reinforcement learning model includes the state corresponding to the storage information and the topological information;

wherein the performance evaluation is indicated by a performance evaluation score which includes a weighted sum of sub-performance evaluation scores of multiple sub-performance evaluations; and

wherein training the reinforcement learning model includes determining a data caching scheme using the trained reinforcement learning model and based on the candidate data caching scheme corresponding to a higher performance evaluation score relative to other performance evaluation scores in the trained reinforcement learning model.

17. The computer program product according to claim 16 , wherein the data caching scheme indicates at least one of the following:

a cache in which the simulated data is to be cached; and

cached data to be cleared from the cache, wherein the remaining available space of the cache in which the simulated data is to be cached is insufficient.

18. The computer program product according to claim 16 , wherein training the reinforcement learning model includes:

acquiring an initial data caching scheme; and

training the reinforcement learning model based on the initial data caching scheme.

19. The computer program product according to claim 16 , wherein training the reinforcement learning model includes:

acquiring restrictions on data caching schemes; and

training the reinforcement learning model based on the restrictions.

20. The computer program product according to claim 16 , wherein training the reinforcement learning model includes:

training the reinforcement learning model such that the performance evaluation in the trained reinforcement learning model is better than a performance evaluation of a predetermined candidate data caching scheme with regard to the simulated-data read request.

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 15, 2021
From: WANG, ZIJIA; NI, JIACHENG; TANG, XUWEI; JIA, ZHEN; YAN, JIN RU; HU, CHENXI
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 055586/0363 →
Priority Claims (1)
CN 202110126721.7 · Jan 29, 2021 · national