US11861045B2ActiveUtilityA1

Method, electronic device, and computer program product for system feature management

60
Assignee: DELL PRODUCTS LPPriority: Feb 25, 2022Filed: Apr 28, 2022Granted: Jan 2, 2024
Est. expiryFeb 25, 2042(~15.6 yrs left)· nominal 20-yr term from priority
G06F 21/629G06F 21/105G06F 21/1011G06F 21/10G06F 21/121G06F 9/45558G06F 21/604G06F 2009/45587G06F 2009/45595G06F 2221/2141
60
PatentIndex Score
0
Cited by
11
References
20
Claims

Abstract

Embodiments of the present disclosure relate to a method, an electronic device, and a computer program product for system feature management. The method for system feature management provided by the embodiments of the present disclosure includes loading a feature item set including multiple feature items, where the multiple feature items respectively correspond to multiple microservices, the feature items each include at least an availability indicator and a status indicator, the availability indicator indicates whether the feature item is available, and the status indicator indicates whether the feature item is enabled while the feature item is available; and disabling a first feature item in the feature item set in response to an availability indicator of the first feature item indicating that the first feature item is unavailable. In this way, software can be made to better adapt to more platforms. Moreover, a user can choose to enable or disable some services as required, thereby reducing energy consumption.

Claims

exact text as granted — not AI-modified
The invention claimed is: 
     
       1. A method for system feature management, comprising:
 loading a feature item set comprising multiple feature items, wherein the multiple feature items respectively correspond to multiple microservices, the feature items each comprise at least an availability indicator and a status indicator, the availability indicator indicates whether the feature item is available, and the status indicator indicates whether the feature item is enabled while the feature item is available; and 
 disabling a first feature item in the feature item set in response to an availability indicator of the first feature item indicating that the first feature item is unavailable. 
 
     
     
       2. The method according to  claim 1 , wherein disabling the first feature item comprises:
 disabling the first feature item in response to a status indicator of the first feature item indicating that the first feature item is disabled. 
 
     
     
       3. The method according to  claim 1 , wherein the feature item further comprises an application programming interface (API) rule, and the API rule indicates part of a microservice corresponding to the feature item, and
 wherein disabling the first feature item comprises: disabling part of a first microservice corresponding to the first feature item according to the API rule of the first feature item. 
 
     
     
       4. The method according to  claim 1 , wherein the first feature item further comprises an association indicator indicating that the first feature item is associated with a corresponding first microservice, and
 wherein disabling the first feature item comprises: disabling the first microservice. 
 
     
     
       5. The method according to  claim 1 , wherein loading the feature item set comprises:
 acquiring license information for the multiple microservices; 
 determining, based on the license information, availability indicators in the feature item set; and 
 determining the status indicators in the feature item set based on cached data for the feature item set. 
 
     
     
       6. The method according to  claim 1 , wherein a second feature item in the feature item set comprises one or more dependency indicators that indicate one or more upper-level feature items on which the second feature item depends, and the method further comprises:
 determining, in response to receiving a request to transition the second feature item from disabled to enabled, whether an availability indicator of the second feature item indicates available; 
 determining, in response to determining that the availability indicator of the second feature item indicates available, whether status indicators of the one or more upper-level feature items all indicate enabled; and 
 enabling the second feature item in response to determining that the status indicators of the one or more upper-level feature items all indicate enabled. 
 
     
     
       7. The method according to  claim 6 , wherein the upper-level feature items are parent feature items of the second feature item, and the method further comprises:
 disabling the parent feature items and the second feature item in response to receiving a request to transition the parent feature items from enabled to disabled. 
 
     
     
       8. An electronic device, comprising:
 a processor; and 
 a memory coupled to the processor, the memory having instructions stored therein, which when executed by the processor, cause the processor to perform actions, the actions comprising: 
 loading a feature item set comprising multiple feature items, wherein the multiple feature items respectively correspond to multiple microservices, the feature items each comprise at least an availability indicator and a status indicator, the availability indicator indicates whether the feature item is available, and the status indicator indicates whether the feature item is enabled while the feature item is available; and 
 disabling a first feature item in the feature item set in response to an availability indicator of the first feature item indicating that the first feature item is unavailable. 
 
     
     
       9. The device according to  claim 8 , wherein disabling the first feature item comprises:
 disabling the first feature item in response to a status indicator of the first feature item indicating that the first feature item is disabled. 
 
     
     
       10. The device according to  claim 8 , wherein the feature item further comprises an application programming interface (API) rule, and the API rule indicates part of a microservice corresponding to the feature item, and
 wherein disabling the first feature item comprises: disabling part of a first microservice corresponding to the first feature item according to the API rule of the first feature item. 
 
     
     
       11. The device according to  claim 8 , wherein the first feature item further comprises an association indicator indicating that the first feature item is associated with a corresponding first microservice, and
 wherein disabling the first feature item comprises: disabling the first microservice. 
 
     
     
       12. The device according to  claim 8 , wherein loading the feature item set comprises:
 acquiring license information for the multiple microservices; 
 determining, based on the license information, availability indicators in the feature item set; and 
 determining the status indicators in the feature item set based on cached data for the feature item set. 
 
     
     
       13. The device according to  claim 8 , wherein a second feature item in the feature item set comprises one or more dependency indicators that indicate one or more upper-level feature items on which the second feature item depends, and the actions further comprise:
 determining, in response to receiving a request to transition the second feature item from disabled to enabled, whether an availability indicator of the second feature item indicates available; 
 determining, in response to determining that the availability indicator of the second feature item indicates available, whether status indicators of the one or more upper-level feature items all indicate enabled; and 
 enabling the second feature item in response to determining that the status indicators of the one or more upper-level feature items all indicate enabled. 
 
     
     
       14. The device according to  claim 13 , wherein the upper-level feature items are parent feature items of the second feature item, and the actions further comprise:
 disabling the parent feature items and the second feature item in response to receiving a request to transition the parent feature items from enabled to disabled. 
 
     
     
       15. A computer program product tangibly stored on a computer-readable medium and comprising machine-executable instructions, which when executed by a processor, cause the processor to perform actions, the actions comprising:
 loading a feature item set comprising multiple feature items, wherein the multiple feature items respectively correspond to multiple microservices, the feature items each comprise at least an availability indicator and a status indicator, the availability indicator indicates whether the feature item is available, and the status indicator indicates whether the feature item is enabled while the feature item is available; and 
 disabling a first feature item in the feature item set in response to an availability indicator of the first feature item indicating that the first feature item is unavailable. 
 
     
     
       16. The computer program product according to  claim 15 , wherein disabling the first feature item comprises:
 disabling the first feature item in response to a status indicator of the first feature item indicating that the first feature item is disabled. 
 
     
     
       17. The computer program product according to  claim 15 , wherein the feature item further comprises an application programming interface (API) rule, and the API rule indicates part of a microservice corresponding to the feature item, and
 wherein disabling the first feature item comprises: disabling part of a first microservice corresponding to the first feature item according to the API rule of the first feature item. 
 
     
     
       18. The computer program product according to  claim 15 , wherein the first feature item further comprises an association indicator indicating that the first feature item is associated with a corresponding first microservice, and
 wherein disabling the first feature item comprises: disabling the first microservice. 
 
     
     
       19. The computer program product according to  claim 15 , wherein loading the feature item set comprises:
 acquiring license information for the multiple microservices; 
 determining, based on the license information, availability indicators in the feature item set; and 
 determining the status indicators in the feature item set based on cached data for the feature item set. 
 
     
     
       20. The computer program product according to  claim 15 , wherein a second feature item in the feature item set comprises one or more dependency indicators that indicate one or more upper-level feature items on which the second feature item depends, and the actions further comprise:
 determining, in response to receiving a request to transition the second feature item from disabled to enabled, whether an availability indicator of the second feature item indicates available; 
 determining, in response to determining that the availability indicator of the second feature item indicates available, whether status indicators of the one or more upper-level feature items all indicate enabled; and 
 enabling the second feature item in response to determining that the status indicators of the one or more upper-level feature items all indicate enabled.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.