System function management method, electronic device, and computer program product

By using a feature set management approach and utilizing availability and status indicators to control microservice activation, the complexity and high operating costs of software feature management in a multi-platform environment are resolved, enabling flexible feature management and resource conservation.

CN116700880BActive Publication Date: 2026-11-24DELL PROD LP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210179863.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-25
Publication Date
2026-11-24
Estimated Expiration
2042-02-25

AI Technical Summary

Technical Problem

In a multi-platform environment, unsupported features in existing software result in a poor user experience, complex feature management, high operating costs, and an inability to flexibly adjust feature activation status.

Method used

By using a feature set management approach, we can control the enabling and disabling of microservices using availability indicators and status indicators. We can also manage feature items in a unified manner based on license information and platform support, thereby avoiding the operation of unsupported features and reducing resource consumption.

Benefits of technology

It improves the software's applicability across multiple platforms, simplifies function management, reduces operating costs, minimizes resource waste, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116700880B_ABST
    Figure CN116700880B_ABST
Patent Text Reader

Abstract

The embodiments of this disclosure relate to system function management methods, electronic devices, and computer program products. In the system function management method provided by the embodiments of this disclosure, a function item set including multiple function items is loaded. Each function item corresponds to a multiple microservice. Each function item includes at least an availability indicator and a status indicator. The availability indicator indicates whether the function item is available, and the status indicator indicates whether the function item is enabled while being available. In response to the availability indicator of a first function item in the function item set indicating that the first function item is unavailable, the first function item is disabled. In this way, the software can be better adapted to more platforms. Furthermore, users can choose to enable or disable some services as needed, thereby reducing energy consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of this disclosure relate to the field of computers, and more specifically, to system function management methods, electronic devices, and computer program products. Background Technology

[0002] With the increasing adoption of software such as PowerProtect Data Manager (PPDM), such software may be used for more than just data protection. It may run on multiple platforms (such as local virtual machines, public clouds, and cloud virtual machines) for more generalized applications. Some features in PPDM may not be supported on certain platforms. Microservices are a software architecture approach where software can consist of small, independent services that communicate through well-defined application programming interfaces (APIs). Summary of the Invention

[0003] In a first aspect of this disclosure, a system function management method is provided. The method includes loading a function item set comprising multiple function items, each corresponding to a multiple microservice. Each function item includes at least an availability indicator and a status indicator. The availability indicator indicates whether the function item is available, and the status indicator indicates whether the function item is enabled while being available. The method further includes disabling the first function item in response to its availability indicator indicating that it is unavailable.

[0004] In a second aspect of this disclosure, an electronic device is provided. The electronic device includes a processor and a memory coupled to the processor, the memory having instructions stored therein, the instructions causing the device to perform actions when executed by the processor. The actions include loading a set of function items comprising multiple function items, each function item corresponding to a multiple microservice, each function item including at least an availability indicator and a status indicator, the availability indicator indicating whether the function item is available, and the status indicator indicating whether the function item is enabled while being available. The actions also include disabling a first function item in response to an availability indicator of a first function item in the set of function items indicating that the first function item is unavailable.

[0005] In a third aspect of this disclosure, a computer program product is provided, which is tangibly stored on a computer-readable medium and includes machine-executable instructions that, when executed, cause a machine to perform the method according to the first aspect.

[0006] The summary section is provided to present the chosen concepts in a simplified form, which will be further described in the detailed description below. The summary section is not intended to identify key or principal features of this disclosure, nor is it intended to limit the scope of this disclosure. Attached Figure Description

[0007] The above and other objects, features, and advantages of this disclosure will become more apparent from the accompanying drawings, in which like reference numerals generally denote like parts. In the drawings:

[0008] Figure 1 A schematic diagram of an example environment in which embodiments of the present disclosure may be implemented is shown;

[0009] Figure 2 A flowchart illustrating an example method for managing system functionality according to an embodiment of the present disclosure is shown;

[0010] Figure 3 This is a schematic diagram illustrating code that defines functional items according to some embodiments of the present disclosure;

[0011] Figure 4 A flowchart illustrating an example method for enabling a second functional item that depends on a parent functional item, according to some embodiments of this disclosure, is shown; and

[0012] Figure 5 A block diagram of an example device that can be used to implement embodiments of the present disclosure is shown. Detailed Implementation

[0013] The principles of this disclosure will now be described with reference to several exemplary embodiments illustrated in the accompanying drawings. While preferred embodiments of this disclosure are shown in the drawings, it should be understood that these embodiments are described only to enable those skilled in the art to better understand and implement this disclosure, and are not intended to limit the scope of this disclosure in any way.

[0014] The term "comprising" and its variations as used herein signify open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "at least partially based on". The terms "one example embodiment" and "one embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0015] As mentioned earlier, some software may be rolled out to more platforms. When used on multiple platforms, some features may not be supported on certain platforms. Unsupported features need to be disabled or hidden for specific platforms. Otherwise, it will result in a poor user experience, as users won't know whether it's an error or simply a lack of support. However, with so many features running in the software and supporting so many platforms, without a unified method for managing feature availability, the user interface (UI) will be overwhelmed by a large amount of code logic. Furthermore, if the enabled status of certain features needs to be changed in the future (e.g., clients purchase different licenses, or clients enable or disable certain features as needed), the UI code will have to be modified and refactored.

[0016] Embodiments of this disclosure propose a scheme for managing system functions, enabling unified management of software functionality. According to various embodiments of this disclosure, a function item set is loaded, comprising multiple function items corresponding to multiple microservices. In response to an availability indicator for a first function item indicating that the first function item is unavailable, the first function item is disabled.

[0017] According to the embodiments described herein, by disabling features not supported by the platform running the software during booting, runtime failures can be avoided. This allows the software to be better adapted to more platforms. Furthermore, even if a user repurchases a different service, the operator only needs to enable or disable the corresponding features, without needing to redeploy to the user, thus saving operational costs. Users can also choose to enable or disable the purchased services according to their own needs, thereby reducing the resources consumed by microservices running in the background.

[0018] The basic principles and several exemplary implementations of this disclosure will be described below with reference to the accompanying drawings. It should be understood that these exemplary embodiments are given only to enable those skilled in the art to better understand and implement the embodiments of this disclosure, and are not intended to limit the scope of this disclosure in any way.

[0019] Figure 1 A schematic diagram of an example environment in which embodiments of this disclosure may be implemented is shown. For example... Figure 1 As shown, environment 100 includes a system function manager 110, a client 120, a microservice 130, a function library 140, and a license manager 150. Client 120 can communicate with system function manager 110, microservice 130, and function library 140 through API gateway 160.

[0020] Microservice 130 can provide various services to client 120. Although microservice 130 is shown as a single entity, it should be understood that this is merely for illustrative purposes. In reality, microservice 130 may include one or more microservices (collectively or individually referred to as "microservice 130") that can communicate and be coupled with each other and deployed independently. These microservices communicate with each other via a Representation Layer State Transition (REST) ​​API.

[0021] Any two of the System Function Manager 110, Microservice 130, and Function Item Library 140 can communicate with each other. The System Function Manager 110 can obtain data from the License Manager 150.

[0022] In some embodiments, the system function manager 110 and the microservice 130 may be arranged together. In some embodiments, the system function manager 110 and the microservice 130 may be arranged separately but may communicate with each other. The platform on which the system function manager 110 and the microservice 130 run may be a local virtual machine, a public cloud, or a cloud virtual machine, etc. The scope of this disclosure is not limited in this respect.

[0023] It should be understood that the structure and function of environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure. For example, embodiments of this disclosure can also be applied to environments different from environment 100.

[0024] Figure 2 A flowchart illustrating an example method 200 for managing system functions according to an embodiment of the present disclosure is shown. Method 200 may, for example, be derived from... Figure 1 The system function manager 110 shown is used to execute this. It should be understood that method 200 may also include additional actions not shown and / or the actions shown may be omitted; the scope of this disclosure is not limited in this respect. The following is in conjunction with... Figure 1 and Figure 3 Let me describe method 200 in detail.

[0025] At box 210, the system function manager 110 loads a set of function items, which includes multiple function items, each corresponding to a microservice. Figure 3 Code is shown that defines functional items according to some embodiments of this disclosure.

[0026] like Figure 3 As shown, in some embodiments, a function item may include a function identifier 310, a function descriptor 320, an availability indicator 330, and a status indicator 340. The function identifier 310 is an identifier that can uniquely identify the function item. The function descriptor 320 can describe the function item and can be presented on the user interface as an option to present the function item to the user.

[0027] The availability indicator 330 indicates whether a feature item is available. For example, if the service purchased by client 120 does not include the microservice corresponding to the feature item, then the availability indicator 330 should indicate unavailability. In some embodiments, loading a set of feature items may include obtaining license information for multiple microservices. The availability indicator 330 for the feature item set is then determined based on this license information. Figure 3 In the illustrated embodiment, the field “available” is used to represent the availability indicator 330, and its value is “true” to indicate availability. Conversely, the value “false” (not shown) can be used to indicate unavailability. In some other embodiments, “true” and “false”, or “1” and “0”, can also be used to indicate availability or unavailability, and the scope of this disclosure is not limited in this respect.

[0028] Back Figure 2 At box 220, in response to the availability indicator 330 of the first function in the function set indicating that the first function is unavailable, the system function manager 110 disables the first function. In this way, even if the user repurchases a different service, the operator only needs to enable or disable the corresponding function, without redeploying it to the user, thus saving operating costs.

[0029] In some embodiments, in response to the status indicator 340 of the first function item indicating that the first function item is not enabled, the system function manager 110 disables the first function item.

[0030] Status indicator 340 can indicate whether a feature item is enabled while it is available. For example, although the services purchased by client 120 include the microservice corresponding to this feature item, client 120 can choose to enable or disable the feature item based on actual circumstances and needs. Client 120's enabling or disabling action can be passed as metadata to feature item library 140 and stored in feature item library 140 as cached data for the feature item set. Figure 3 In the illustrated embodiment, the field "status" is used to represent the status indicator 340, and its value equal to "ENABLED" indicates that it is on. Conversely, the value "DISABLED" (not shown) can be used to indicate that it is not on. In some other embodiments, "on" and "not on", or "1" and "0" can also be used to indicate that it is on or not on, and the scope of this disclosure is not limited in this respect.

[0031] In some embodiments, a feature set may include a platform indicator to indicate the platform to which the feature set is targeted. Based on the platform indicator of the feature set, features not supported by the platform indicated by the platform indicator are disabled. In this way, by disabling those features not supported by the platform on which the software is running when booting the software, runtime malfunctions can be avoided. This allows the software to be better compatible with a wider range of platforms.

[0032] In some embodiments, loading a feature set may include determining a status indicator 340 within the feature set based on cached data for the feature set. In this way, users can choose to enable or disable purchased services according to their needs, thereby reducing the resources consumed by the microservice 130 running in the background.

[0033] Features also include, for example Figure 3 API rule 360, as shown, specifies a subset of services within microservice 130 corresponding to a feature item. When a feature item is disabled, the API rule can be used to disable only a subset of services within microservice 130 corresponding to that feature item. This approach avoids disabling the entire microservice associated with the feature item, instead selectively disabling only essential services. This reduces energy consumption while ensuring the software continues to function normally.

[0034] In some embodiments, some of the functional items in the functional item set may include, for example Figure 3 The association indicator 350 indicates that the feature item is associated with the corresponding microservice 130. Therefore, if the feature item is disabled, the associated microservice 130 is also disabled. In this way, because the feature item is associated with the corresponding microservice 130, it is unnecessary to consider what services the API rules in the feature item define; disabling the feature item will disable the entire microservice 130.

[0035] There may be dependencies between functional items; that is, a microservice 130 corresponding to a functional item, or a part of that microservice 130, may depend on microservices 130 or parts thereof corresponding to other functional items. In some embodiments, a second functional item in the functional item set may include one or more dependency indicators to indicate one or more parent functional items that the second functional item depends on.

[0036] When enabling a second function that has a parent function, the dependency relationship needs to be considered. Figure 4 A flowchart of an example method 400 for enabling a second function item that depends on a parent function item, according to some embodiments of this disclosure, is shown. Method 400 may, for example, continue as... Figure 1The system function manager 110 shown is used to execute this. It should be understood that method 400 may also include additional actions not shown and / or the actions shown may be omitted; the scope of this disclosure is not limited in this respect. The following is in conjunction with... Figure 1 and Figure 3 Let me describe method 400 in detail.

[0037] At box 410, the System Function Manager 110 receives a request to change the second function item from off to on. Then at box 420, the System Function Manager 110 determines whether the availability indicator 330 of the second function item indicates availability. If the availability indicator 330 indicates unavailability ("No" branch), it means that the service corresponding to the second function item is unavailable (e.g., the corresponding service has not been purchased), and the second function item cannot be enabled, so the request is rejected by the System Function Manager 110 at box 450.

[0038] If the availability indicator 330 of the second feature item indicates availability ("Yes" branch), the system feature manager 110 determines at box 430 whether the status indicators 340 of one or more parent feature items of the second feature item all indicate that they are enabled. The second feature item cannot be enabled if even one parent feature item's status indicator 340 indicates that it is not enabled. This is because its corresponding service depends on other services to function. Therefore, the request will be rejected by the system feature manager 110 at box 450.

[0039] If it is determined that the status indicators 340 of one or more parent function items are both enabled, the system function manager 110 enables the second function item in box 440.

[0040] If a parent function is a strongly related function to the second function, then when closing the parent function, the dependency relationship must also be considered. If a request is received to switch the parent function from enabled to disabled, since the second function is its child function, closing the parent function will also disable the second function, which is its child function. If the parent function has other child functions, those other child functions will also be disabled.

[0041] If the dependency between the parent function and the second function is weak, then when the parent function is turned off, the second function may or may not be turned off.

[0042] In this way, it can be ensured that enabling or disabling functions will not cause the software to malfunction.

[0043] Figure 5 A schematic block diagram of an example device 500 that can be used to implement embodiments of the present disclosure is shown. For example, such as Figure 1 The system function manager 110 shown can be implemented by device 500. For example... Figure 5 As shown, device 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to computer program instructions stored in read-only memory (ROM) 502 or loaded from storage unit 508 into random access memory (RAM) 503. RAM 503 may also store various programs and data required for the operation of device 500. CPU 501, ROM 502, and RAM 503 are interconnected via bus 504. Input / output (I / O) interface 505 is also connected to bus 504.

[0044] Multiple components in device 500 are connected to I / O interface 505, including: input unit 506, such as keyboard, mouse, etc.; output unit 507, such as various types of monitors, speakers, etc.; storage unit 508, such as disk, optical disk, etc.; and communication unit 509, such as network card, modem, wireless transceiver, etc. Communication unit 509 allows device 500 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0045] The various processes and handling described above, such as methods 200 and 400, can be executed by processing unit 501. For example, in some embodiments, methods 200 and 400 can be implemented as computer software programs tangibly contained in a machine-readable medium, such as storage unit 508. In some embodiments, part or all of the computer program can be loaded and / or installed on device 500 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by CPU 501, one or more actions of methods 200 and 400 described above can be performed.

[0046] This disclosure can be a method, apparatus, system, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for performing various aspects of this disclosure.

[0047] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination of the foregoing. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.

[0048] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.

[0049] Computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing the status information of the computer-readable program instructions to implement various aspects of this disclosure.

[0050] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0051] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0052] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0053] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0054] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A system function management method, comprising: Load a set of function items, which includes multiple function items corresponding to multiple microservices. Each function item includes at least an availability indicator, a platform indicator, and a status indicator. The availability indicator indicates whether the function item is available. The platform indicator indicates the platform to which the set of function items is targeted. The status indicator indicates whether the function item is enabled while it is available. Based on the platform indicator, at least one of the multiple function items is turned off, and the at least one function item is not supported by the platform indicated by the platform indicator; as well as In response to the availability indicator of the first function in the function set indicating that the first function is unavailable, the first function is turned off.

2. The method according to claim 1, wherein disabling the first function item comprises: In response to the status indicator of the first function item indicating that it is not enabled, the first function item is disabled.

3. The method according to any one of claims 1 to 2, wherein the functional item further includes an application programming interface (API) rule, the API rule indicating a portion of the services in the microservice corresponding to the functional item, and Disabling the first function item includes: According to the API rules of the first functional item, some services in the first microservice corresponding to the first functional item are shut down.

4. The method according to any one of claims 1 to 2, wherein the first functional item further includes an association indicator, the association indicator indicating that the first functional item is associated with a corresponding first microservice, and Disabling the first function item includes: Shut down the first microservice.

5. The method according to claim 1, wherein loading the feature set comprises: Obtain license information for the aforementioned microservices; Based on the license information, determine the available indicators in the set of function items; as well as The status indicator in the set of function items is determined based on the cached data for the set of function items.

6. The method of claim 1, wherein the second functional item in the functional item set includes one or more dependency indicators, the one or more dependency indicators indicating one or more parent functional items to which the second functional item depends, and the method further includes: In response to receiving a request to switch the second function item from off to on, determine whether the availability indicator of the second function item indicates that it is available; In response to determining that the availability indicator of the second function item is available, determine whether the status indicators of the one or more parent function items all indicate that they are enabled; as well as In response to the determination that the status indicators of the one or more parent function items all indicate that they are enabled, the second function item is enabled.

7. The method according to claim 6, wherein the parent function item is the parent function item of the second function item, and the method further comprises: In response to receiving a request to switch the parent function item from on to off, the parent function item and the second function item are turned off.

8. An electronic device, comprising: processor; as well as A memory coupled to the processor, the memory having instructions stored therein, the instructions causing the device to perform actions when executed by the processor, the actions including: Load a set of function items, which includes multiple function items corresponding to multiple microservices. Each function item includes at least an availability indicator, a platform indicator, and a status indicator. The availability indicator indicates whether the function item is available. The platform indicator indicates the platform to which the set of function items is targeted. The status indicator indicates whether the function item is enabled while it is available. Based on the platform indicator, at least one of the plurality of function items is disabled, wherein the at least one function item is not supported by the platform indicated by the platform indicator; and In response to the availability indicator of the first function in the function set indicating that the first function is unavailable, the first function is turned off.

9. The device according to claim 8, wherein disabling the first function item comprises: In response to the status indicator of the first function item indicating that it is not enabled, the first function item is disabled.

10. The device according to any one of claims 8 to 9, wherein the functional item further includes an application programming interface (API) rule, the API rule indicating a portion of a service in a microservice corresponding to the functional item, and Disabling the first function item includes: According to the API rules of the first functional item, some services in the first microservice corresponding to the first functional item are shut down.

11. The device according to any one of claims 8 to 9, wherein the first functional item further includes an association indicator, the association indicator indicating that the first functional item is associated with a corresponding first microservice, and Disabling the first function item includes: Shut down the first microservice.

12. The device of claim 8, wherein loading the set of functions comprises: Obtain license information for the aforementioned microservices; Based on the license information, determine the available indicators in the set of function items; as well as The status indicator in the set of function items is determined based on the cached data for the set of function items.

13. The device of claim 8, wherein the second functional item in the functional item set includes one or more dependency indicators, the one or more dependency indicators indicating one or more parent functional items on which the second functional item depends, and the action further includes: In response to receiving a request to switch the second function item from off to on, determine whether the availability indicator of the second function item indicates that it is available; In response to determining that the availability indicator of the second function item is available, determine whether the status indicators of the one or more parent function items all indicate that they are enabled; as well as In response to the determination that the status indicators of the one or more parent function items all indicate that they are enabled, the second function item is enabled.

14. The device of claim 13, wherein the superior function item is the parent function item of the second function item, and the action further includes: In response to receiving a request to switch the parent function item from on to off, the parent function item and the second function item are turned off.

15. A computer program product tangibly stored on a computer-readable medium and comprising machine-executable instructions that, when executed, cause a machine to perform the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Software licensing method and device for function-level fine authorization

    CN113934986A

  • Enabling and disabling software features

    CN1500242A