Information processing device, information processing method, and program
The information processing device addresses the issue of unused cloud resources by monitoring and analyzing usage trends and logs to detect and notify users of unnecessary resources, reducing costs by accurately identifying and deleting them based on user-specific patterns.
Patent Information
- Application Number
- JP2023079018
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-05-12
- Publication Date
- 2024-11-22
AI Technical Summary
Existing cloud computing systems face issues with users being charged for unused computing resources due to forgotten deletions, leading to unexpected costs, and existing technologies fail to accurately detect such resources based solely on CPU usage rates.
An information processing device that monitors resource metrics, access logs, and operation logs, calculates usage trends, and determines resource usage based on user tendencies to identify unused resources, incorporating user attributes and usage period attributes for precise detection.
Effectively identifies unused resources, including those incorrectly created or forgotten, reducing wasteful costs by enabling users to delete unnecessary resources, and optimizing cloud usage based on user-specific characteristics.
Smart Images

Figure 2024163430000001_ABST
Abstract
Description
[Technical field]
[0001] An embodiment of the present invention relates to an information processing device, an information processing method, and a program. [Background technology]
[0002] Cloud computing services that provide various services using computer resources provided via the Internet without being aware of their location are becoming widespread. In cloud computing services, cloud service providers use technologies such as virtualization and distributed processing to build public clouds and provide users with computing resources such as CPUs (Central Processing Units) and memory.
[0003] Users use computing resources in collaboration with other users. The usage of computing resources by each user is recorded on an hourly basis, and users are charged according to the duration of usage. In this way, computing resources on a public cloud are generally charged on a pay-as-you-go basis, and the hourly cost may vary depending on the type of computing resource (performance difference). When multiple people collaborate on development on a public cloud, each person uses computing resources. For this reason, if a computing resource is forgotten to be deleted, unexpected costs may be charged.
[0004] There is a known technology that detects inactive resources, leaves the minimum resources required for restart (resources sufficient to detect requests), and releases resources to reduce costs (see, for example, Patent Document 1). With this technology, inactive resources are detected by monitoring the CPU consumption state, etc. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2010-224914 A Summary of the Invention [Problem to be solved by the invention]
[0006] An object of the present invention is to provide an information processing apparatus, an information processing method, and a program capable of detecting unused resources. [Means for solving the problem]
[0007] An information processing device according to an embodiment has a resource monitoring unit, a usage trend calculation unit, a determination unit, a recording unit, and an output unit. The resource monitoring unit monitors the state of cloud resources. The usage trend calculation unit calculates a user's usage trend of the cloud. The determination unit determines whether the cloud resources are being used based on the state of the cloud resources and the user's usage trend of the cloud. The recording unit records the determination result as to whether the resources are being used. The output unit outputs the determination result as to whether the resources are being used. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram showing an example of an information processing apparatus according to an embodiment of the present invention; [Diagram 2] FIG. 11 is a sequence diagram showing an example 1 of the operation of the information processing device according to the present embodiment. [Diagram 3] FIG. 11 is a sequence diagram showing a second example of the operation of the information processing device according to the present embodiment. [Figure 4] FIG. 11 is a sequence diagram showing a third example of the operation of the information processing device according to the present embodiment. [Diagram 5] FIG. 4 is a sequence diagram showing a fourth example of the operation of the information processing device according to the present embodiment. [Figure 6] A flowchart showing a fifth example of the operation of the information processing device according to the present embodiment. [Figure 7] A flowchart showing a sixth example of the operation of the information processing device according to the present embodiment. [Figure 8] A flowchart showing a seventh example of the operation of the information processing device according to the present embodiment. [Figure 9] A flowchart showing a seventh example of the operation of the information processing device according to the present embodiment. [Figure 10] FIG. 13 is a diagram illustrating an example of an information processing device according to a modified example of an embodiment. [Figure 11] FIG. 11 is a sequence diagram showing an example 1 of an operation of an information processing device according to a modified example of the embodiment. [Figure 12A] 13 is an example of a user list data table recorded in an information processing device according to a modified example of an embodiment. [Figure 12B] 13 is an example of a resource list data table recorded in an information processing device according to a modified example of the embodiment. [Figure 12C] 13 is an example of a determination result list data table recorded in an information processing device according to a modified example of an embodiment. [Figure 13A] 13 is an example of a user list data table recorded in an information processing device according to a modified example of an embodiment. [Figure 13B] 13 is an example of a resource list data table recorded in an information processing device according to a modified example of the embodiment. [Figure 13C] 13 is an example of a determination result list data table recorded in an information processing device according to a modified example of an embodiment. [Figure 14A] 13 is an example of a user list data table recorded in an information processing device according to a modified example of an embodiment. [Figure 14B] 13 is an example of a resource list data table recorded in an information processing device according to a modified example of the embodiment. [Figure 14C] 13 is an example of a determination result list data table recorded in an information processing device according to a modified example of an embodiment. [Figure 15A] 13 is an example of a user list data table recorded in an information processing device according to a modified example of an embodiment. [Figure 15B] 13 is an example of a resource list data table recorded in an information processing device according to a modified example of the embodiment. [Figure 15C] 13 is an example of a determination result list data table recorded in an information processing device according to a modified example of an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an information processing apparatus, an information processing method, and a program according to the embodiments will be described with reference to the drawings. In the following description, components having the same or similar functions are denoted by the same reference numerals. In addition, duplicate descriptions of those components may be omitted.
[0010] In a cloud computing environment, the information processing device 1 of the present embodiment detects unused resources (hereinafter referred to as "unnecessary resources") among computing resources (hereinafter referred to as "resources") present on a cloud. An example of a cloud is a public cloud.
[0011] Computing resources are resources provided to users on the cloud, and include CPU computing power, memory, and storage capacity. For example, in a cloud computing environment, virtual machines are provided on the cloud. When detecting unnecessary resources, the information processing device 1 uses, in addition to metrics, the recording date and time of an access log for the resource, the recording date and time of an operation log, and the like.
[0012] The information processing device 1 may be installed in the same cloud as the cloud in which the unnecessary resources are detected, in a different cloud, or on-premise, as long as the environment allows acquisition of metrics of resources present on the cloud in which the unnecessary resources are detected, access log information, operation log information, and the like. The information processing device 1 notifies the operator by outputting the detection result of the unnecessary resources. For example, the information processing device 1 outputs the detection result of the unnecessary resources to a display device.
[0013] Furthermore, the information processing device 1 calculates the resource usage tendency for each user from the detection results of unnecessary resources from the previous time and before. The information processing device 1 performs weighting based on the usage tendency calculated for each user, and detects unnecessary resources. This allows the information processing device 1 to detect unnecessary resources based on the resource usage tendency for each user. For example, the information processing device 1 can make the detection of unnecessary resources stricter for people who frequently create unnecessary resources. The information processing device 1 will be described in detail below.
[0014] 1 is a diagram illustrating an example of an information processing device according to the present embodiment. The information processing device 1 is realized by a device such as a personal computer, a server, a smartphone, a tablet computer, or an industrial computer. The information processing device 1 includes a determination unit 13, a control unit 14, a resource monitoring unit 15, a usage trend calculation unit 16, a recording unit 17, and an output unit 18.
[0015] The recording unit 17 is realized by a hard disk drive (HDD), a flash memory, a random access memory (RAM), a read only memory (ROM), etc. The recording unit 17 stores a user list data table, a resource list data table, and a judgment result list data table.
[0016] The user list data table includes a user list. The user list is information in a table format that associates a user name, a last login date and time, an environment usage frequency, an unnecessary resource occurrence frequency, and attributes. The user list data table manages the use of resources in a cloud computing environment for each user. An example of a user name is user identification information, the last login date and time are the last date and time of logging in to a virtual machine, the environment usage frequency is the usage frequency of the cloud environment, the unnecessary resource occurrence frequency is the ratio of unnecessary resources to the total number of resources provided to the user, and the attributes are attributes for adjusting the detection of unnecessary resources. Examples of attributes are a user attribute and a usage period attribute. Examples of user attributes are a standard user who is a general user who uses a cloud computing environment, and a beginner who has just started using a cloud computing environment. Examples of usage period attributes are before development and after development is completed.
[0017] The resource list data table includes a resource list. The resource list is information in a table format that associates resource names, resource creators, CPU utilization rates (%), the date and time of the last access log record recording, and the date and time of the last operation log record recording. The resource list data table manages the use of resources in a cloud computing environment for each resource. An example of a resource name is resource identification information, an example of a resource creator is the identification information of the resource creator, the CPU utilization rate (%) is a value indicating the proportion of the amount of processing that the CPU can handle at one time that is being used by the resource, the date and time of the last access log record recording is the last date and time that the access history of the resource was recorded, and the date and time of the last operation log record recording is the last date and time that the history of the resource operation was recorded.
[0018] The judgment result list data table includes a list of judgment results. The judgment result list is information in a table format that associates resource names, resource creators, judgment results, and judgment dates and times. The judgment result list data table manages the judgment results of whether or not a resource is unnecessary for each resource. An example of a resource name is resource identification information, an example of a resource creator is identification information of the resource creator, the judgment result is the judgment result of whether or not a resource is unnecessary, and the judgment date and time are the date and time when it was judged whether or not a resource is unnecessary.
[0019] When starting resource monitoring, the control unit 14 outputs a resource monitoring start request to the resource monitoring unit 15 to request the resource monitoring unit 15 to monitor the resource. The resource monitoring unit 15 acquires the resource monitoring start request output by the control unit 14, and executes a process of acquiring resource information based on the acquired resource monitoring start request. For example, the resource monitoring unit 15 may acquire resource information from a device (not shown) that monitors resources of a cloud service. An example of a device that monitors resources of a cloud service is a public cloud that provides cloud services such as AWS (Amazon Web Services) and Azure (Microsoft Azure). The resource information includes a resource name, a resource creator, a CPU utilization rate, a date and time of the last record recorded in the access log, and a date and time of the last record recorded in the operation log. Also, for example, there are a plurality of cloud services that monitor resource information, and the resource monitoring unit 15 may acquire resource information from these cloud services. Details of the process of the resource monitoring unit 15 acquiring resource information will be described later.
[0020] The resource monitoring unit 15 registers the acquired resource information by outputting it to a resource list data table of the recording unit 17. The recording unit 17 registers the resource information output by the resource monitoring unit 15 in the resource list data table, and when the registration is complete, outputs a registration completion response to notify the control unit 14 that the registration of the resource information has been completed. The resource monitoring unit 15 acquires the registration completion response output by the recording unit 17, and outputs a resource monitoring completion response to the control unit 14 based on the acquired registration completion response to notify the control unit 14 that resource monitoring has been completed. The control unit 14 acquires the resource monitoring completion response output by the resource monitoring unit 15.
[0021] When calculating a usage trend, the control unit 14 outputs a usage trend calculation request to the usage trend calculation unit 16 to request the usage trend calculation unit 16 to calculate the usage trend. Based on the usage trend calculation request from the control unit 14, the usage trend calculation unit 16 outputs a user list request to the recording unit 17 to request a user list from the recording unit 17, and obtains a user list response output by the recording unit 17. The user list response includes the user name, the last login date and time, the environment usage frequency, the unnecessary resource occurrence frequency, and attributes.
[0022] The usage trend calculation unit 16 outputs a judgment result list request to the recording unit 17 to request a judgment result list from the recording unit 17, and acquires the judgment result list response output by the recording unit 17. The judgment result list response includes the resource name, the resource creator, the judgment result, and the judgment date and time. The usage trend calculation unit 16 calculates the usage trend for each user based on the acquired user list response and judgment result list response. The process by which the usage trend calculation unit 16 calculates the usage trend will be described later in detail.
[0023] The usage tendency calculation unit 16 outputs the environment usage frequency, which is the calculation result of the usage tendency, to the user list data table of the recording unit 17, thereby registering it. The recording unit 17 registers the environment usage frequency output by the usage tendency calculation unit 16 in the user list data table, and outputs a registration completion response to the usage tendency calculation unit 16 to notify that registration has been completed. The usage tendency calculation unit 16 acquires the registration completion response output by the recording unit 17, and based on the acquired registration completion request, outputs a usage tendency calculation completion response to notify the control unit 14 that the calculation of the usage tendency has been completed. The control unit 14 acquires the usage tendency calculation completion response output by the usage tendency calculation unit 16.
[0024] When starting a judgment, the control unit 14 outputs a judgment start request to the judgment unit 13 for requesting the judgment unit 13 to make a judgment. Based on the judgment start request from the control unit 14, the judgment unit 13 outputs a resource list request to the recording unit 17 for requesting a resource list, and obtains a resource list response output by the recording unit 17. The resource list response includes the resource name, the resource creator, the CPU utilization rate, the date and time of the last access log record, and the date and time of the last operation log record.
[0025] Furthermore, based on the judgment start request, the judgment unit 13 outputs a user list request to the recording unit 17 for requesting a user list from the recording unit 17, and obtains a user list response output by the recording unit 17. The user list response includes the user name, the last login date and time, the environment usage frequency, the unnecessary resource occurrence frequency, and the status.
[0026] The determination unit 13 performs a process of determining whether each resource is an unnecessary resource based on the acquired resource list response and user list response. The process of the determination unit 13 determining whether each resource is an unnecessary resource will be described later in detail. The determination unit 13 outputs the result of determining whether each resource is an unnecessary resource to the determination result list data table of the recording unit 17, thereby registering the result. The recording unit 17 registers the result of determining whether each resource is an unnecessary resource output by the determination unit 13 in the determination result list data table, and outputs a registration completion response to notify that registration of the result of determining whether each resource is an unnecessary resource has been completed when the registration is completed. The determination unit 13 acquires the registration completion response output by the recording unit 17, and outputs a calculation completion response to the control unit 14 based on the acquired registration completion request. The control unit 14 acquires the calculation completion response output by the determination unit 13.
[0027] Based on a judgment result request from user U for requesting output of the judgment result, output unit 18 outputs a judgment result list request for requesting a list of judgment results from recording unit 17 to recording unit 17, and acquires a judgment result list response output by recording unit 17. The judgment result list response includes the resource name, the resource creator, the judgment result, and the judgment date and time. Based on the acquired judgment result list response, output unit 18 outputs the resource name, the resource creator, the judgment result, and the judgment date and time. For example, output unit 18 may output the resource name, the resource creator, the judgment result, and the judgment date and time by voice, or by displaying them on a display device (not shown).
[0028] (Operation of information processing device 1) Fig. 2 is a sequence diagram showing a first example of the operation of the information processing device of this embodiment. A process of acquiring resource information by the resource monitoring unit 15 will be described with reference to Fig. 2. When starting resource monitoring, the control unit 14 outputs a resource monitoring start request to the resource monitoring unit 15 (step S1-1).
[0029] The resource monitoring unit 15 acquires the resource monitoring start request output by the control unit 14, and acquires resource information based on the acquired resource monitoring start request (step S2-1). The resource monitoring unit 15 outputs the acquired resource information to the recording unit 17 (step S3-1).
[0030] The recording unit 17 acquires resource information from the resource monitoring unit 15, registers the acquired resource information in a resource list data table, and outputs a registration completion response to the resource monitoring unit 15 (step S4-1). The resource monitoring unit 15 acquires the registration completion response output by the recording unit 17, and outputs a resource monitoring completion response to the control unit 14 based on the acquired registration completion response (step S5-1). The control unit 14 acquires the resource monitoring completion response output by the resource monitoring unit 15.
[0031] FIG. 3 is a sequence diagram showing a second example of the operation of the information processing device of this embodiment. The process of the usage tendency calculation unit 16 calculating the usage tendency will be described with reference to FIG. 3. The control unit 14 outputs a usage tendency calculation request to the usage tendency calculation unit 16 (step S1-2). The usage tendency calculation unit 16 acquires the usage tendency calculation request output by the control unit 14, and outputs a user list request to the recording unit 17 based on the acquired usage calculation request (step S2-2). The recording unit 17 acquires the judgment result request output by the usage tendency calculation unit 16, and outputs a user list response based on the acquired user list request (step S3-2). The usage tendency calculation unit 16 acquires the user list response output by the recording unit 17.
[0032] The usage tendency calculation unit 16 outputs a judgment result list request to the recording unit 17 (step S4-2). The recording unit 17 acquires the judgment result list request output by the usage tendency calculation unit 16, and outputs a judgment result list response based on the acquired judgment result list request (step S5-2). The usage tendency calculation unit 16 acquires the judgment result list response output by the recording unit 17.
[0033] The usage tendency calculation unit 16 acquires the user list response and the judgment result list response output by the recording unit 17, and calculates the usage tendency based on the acquired user list response and the judgment result list response (step S6-2). The usage tendency calculation unit 16 outputs the environment usage frequency, which is the calculation result of the usage tendency, to the recording unit 17.
[0034] The recording unit 17 acquires the environment usage frequency output by the usage tendency calculation unit 16, registers the acquired environment usage frequency in the user list data table (step S7-2), and outputs a registration completion response to the usage tendency calculation unit 16 (step S8-2). The usage tendency calculation unit 16 acquires the registration completion response output by the recording unit 17, and outputs a usage tendency calculation completion response to the control unit 14 based on the acquired registration completion response (step S9-2).
[0035] Fig. 4 is a sequence diagram showing a third example of the operation of the information processing device of this embodiment. A process in which the determination unit 13 determines whether each resource is an unnecessary resource or not will be described with reference to Fig. 4. The control unit 14 outputs a determination start request to the determination unit 13 (step S1-3). Based on the determination start request from the control unit 14, the determination unit 13 outputs a resource list request to the recording unit 17 (step S2-3) and acquires the resource list response output by the recording unit 17 (step S3-3).
[0036] The determination unit 13 outputs a user list request to the recording unit 17 (step S4-3), and acquires the user list response output by the recording unit 17 (step S5-3). The determination unit 13 performs a process of determining whether or not each resource is an unnecessary resource based on the acquired resource list response and user list response (step S6-3).
[0037] The judgment unit 13 registers the judgment result for each resource by outputting it to a judgment result list data table of the recording unit 17 (step S7-3), and acquires the registration completion response output by the recording unit 17 (step S8-3). The judgment unit 13 acquires the registration completion response output by the recording unit 17, and outputs a judgment completion response to the control unit 14 based on the acquired registration completion response (step S9-3). The control unit 14 acquires the judgment completion response output by the judgment unit 13.
[0038] Fig. 5 is a sequence diagram showing a fourth example of the operation of the information processing device of this embodiment. A process in which the output unit 18 outputs the judgment result will be described with reference to Fig. 5. A judgment result display request is made to the output unit 18 by the user U (step S1-4). The output unit 18 outputs a judgment result list request to the recording unit 17 based on the judgment result display request from the user U (step S2-4).
[0039] The recording unit 17 outputs a judgment result list response to the output unit 18 based on the judgment result acquisition request output by the output unit 18 (step S3-4). The output unit 18 acquires the judgment result list response output by the recording unit 17, and outputs the resource name, the resource creator, the judgment result, and the judgment date and time based on the acquired judgment result list response (step S4-4).
[0040] FIG. 6 is a flowchart showing a fifth example of the operation of the information processing device of this embodiment. With reference to FIG. 6, the details of the process in which the resource monitoring unit 15 acquires resource information will be described. Specifically, the details of the process of monitoring resources in steps S2-1 to S3-1 in FIG. 2 will be described. The resource monitoring unit 15 acquires cloud resource information. Specifically, the resource monitoring unit 15 acquires the resource name of the resource for the acquired cloud resource information (step S1-5). The resource monitoring unit 15 acquires the resource creator for the acquired cloud resource information (step S2-5). The resource monitoring unit 15 repeatedly performs the processes from step S3-5 to step S8-5 for one or more combinations of the acquired resource name and resource creator for the acquired cloud resource information.
[0041] The resource monitoring unit 15 determines whether or not resource metrics can be acquired (step S3-5), and if so, acquires the metrics (step S4-5). Metrics are information that indicates resource status such as CPU utilization. After acquiring the metrics or if the metrics cannot be acquired, the resource monitoring unit 15 determines whether or not an access log can be acquired (step S5-5), and if so, acquires the date and time of the last access log record (step S6-5).
[0042] After acquiring the access log or if the access log cannot be acquired, the resource monitoring unit 15 determines whether or not the operation log can be acquired (step S7-5), and if the operation log can be acquired, acquires the recording date and time of the last record of the operation log (step S8-5).
[0043] The resource monitoring unit 15 records the information that it has been able to obtain from among the metrics, the date and time of the last access log record, and the date and time of the last operation log record in the resource list data table of the recording unit 17. Specifically, the resource monitoring unit 15 stores the information that it has been able to obtain from among the metrics, the date and time of the last access log record, and the date and time of the last operation log record in the resource list data table in association with the resource name and the resource creator.
[0044] 6, the resource monitoring unit 15 acquires information that can be acquired by determining whether or not the metrics, access logs, and operation logs can be acquired in this order, but the example is not limited to this. For example, the resource monitoring unit 15 may acquire information that can be acquired by determining whether or not the metrics, access logs, and operation logs can be acquired in any order. Below, the explanation will continue for the case where the CPU utilization rate is used as an example of the metrics.
[0045] Fig. 7 is a flowchart showing a sixth example of the operation of the information processing device of this embodiment. The details of the process of calculating the usage trend by the usage trend calculation unit 16 will be described with reference to Fig. 7. Specifically, the details of the process of calculating the usage trend in steps S6-2 to S7-2 in Fig. 3 will be described. The usage trend calculation unit 16 acquires a user list from the acquired user list response (step S1-6). The usage trend calculation unit 16 repeatedly performs the processes from step S2-6 to step S8-6 for all users included in the acquired user list.
[0046] The usage tendency calculation unit 16 acquires the user's last login date and time from the user list (step S2-6). The usage tendency calculation unit 16 acquires a list of the judgment results of the resources created by that user from the acquired judgment result list response (step S3-6). The usage tendency calculation unit 16 judges whether or not there is a previous judgment result (step S4-6), and calculates the unnecessary resource occurrence frequency if there is a judgment result (step S5-6). Specifically, the usage tendency calculation unit 16 calculates the unnecessary resource occurrence frequency by formula (1). The unnecessary resource occurrence frequency is calculated for resources during the period from after the previous judgment was completed to the present. Frequency of unnecessary resources occurring = Number of unnecessary resources by the user / Total number of resources by the user (1)
[0047] After calculating the unnecessary resource occurrence frequency, or when there is no previous judgment result, the usage tendency calculation unit 16 acquires the last login date and time of the user from the user list, and judges whether or not n days or more have passed since the last login based on the acquired last login date and time (step S6-6). Here, n is the number of days. For example, if a user has not logged in to the cloud for more than six months, it is assumed that the user has not touched the environment, is not concerned about resources, and may no longer use the cloud. In this case, an example of n is 180 (days).
[0048] If it is determined that n days or more have passed since the last login, the usage trend calculation unit 16 determines that the cloud environment usage frequency is low (step S7-6), and if it is determined that n days or more have not passed since the last login, the usage trend calculation unit 16 determines that the cloud environment usage frequency is high (step S8-6). The usage trend calculation unit 16 stores the obtained information of the cloud environment usage frequency and the unnecessary resource occurrence frequency in the user list data table of the recording unit 17 in association with the user name.
[0049] 8 and 9 are flowcharts showing a seventh example of the operation of the information processing device of this embodiment. With reference to Figs. 8 and 9, the details of the process in which the determination unit 13 determines whether each resource is an unnecessary resource or not will be described. Specifically, the details of the process of determining the status (state) of the resource in steps S2-3 to S7-3 in Fig. 4 will be described. The determination unit 13 acquires a resource list and a user list (step S1-7). The determination unit 13 repeatedly performs the processes of steps S2-7 to S20-7 for all resources that are in operation at the time when the process of determining the resource status is started.
[0050] The determination unit 13 obtains the resource creator included in the obtained resource list (step S2-7). The determination unit 13 searches the user list for a user whose user name is the obtained resource creator (step S3-7). The determination unit 13 determines whether or not the search results in zero hits of user information (step S4-7). If the search results in zero hits of user information (step S4-7: YES), the determination unit 13 determines the resource status as "unnecessary candidate" (step S5-7). The determination unit 13 records the resource status determination result in a determination result list data table in the recording unit 17 (step S6-7).
[0051] If the hit user information is not 0 (step S4-7: NO), that is, if there is a resource creator as a user name, the determination unit 13 determines whether the environment usage frequency associated with the user name is low (step S7-7). If the environment usage frequency associated with the user name is low (step S7-7: YES), the determination unit 13 determines the status of the resource to be "unnecessary candidate" (step S8-7). Then, the process proceeds to step S6-7.
[0052] When the determination unit 13 determines that the environment usage frequency associated with the user name is not low (high) (step S7-7: NO), it determines from the resource list whether the CPU usage rate associated with the resource name is less than u (step S9-7). Here, u is a criterion for determining the CPU usage rate. When the CPU usage rate associated with the resource name is less than u (step S9-7: YES), the determination unit 13 determines the status of the resource to be "unnecessary candidate" (step S10-7). Then, it proceeds to step S6-7.
[0053] If the CPU usage rate associated with the resource name is not less than u (step S9-7: NO), the judgment unit 13 judges whether the unnecessary resource occurrence frequency associated with the user name is greater than m (step S11-7). Here, m is a judgment criterion for the unnecessary resource occurrence frequency. If the judgment unit 13 judges that the unnecessary resource occurrence frequency associated with the user name is greater than m (step S11-7: YES), it sets w=b (step S12-7), and if it judges that the unnecessary resource occurrence frequency is equal to or less than m (step S11-7: NO), it sets w=1.0 (step S13-7). Here, w is a judgment weighting value determined for each user, and b is a weighting value according to the unnecessary resource occurrence frequency. For example, b for a person with a high occurrence frequency is 0.7.
[0054] The determination unit 13 calculates the operation log no-output period (step S14-7), and determines whether the calculation result of the operation log no-output period is longer than t1×w (step S15-7). For example, the determination unit 13 calculates the operation log no-output period by the formula (2). Period when operation log has not been output = Judgment date and time - Date and time when last operation log record was recorded (2)
[0055] Here, t1 is the criterion for the period during which no operation log is obtained. An example of the criterion t1 for the period during which no operation log is obtained is 30 days. The fact that the criterion t1 for the period during which no operation log is obtained is 30 days means that a resource that has not been operated for 30 days is determined to be unnecessary. If the calculation result of the period during which no operation log is output is longer than t1×w (step S15-7: YES), the determination unit 13 determines the status of the resource to be "candidate for unnecessary" (step S16-7). Then, the process proceeds to step S6-8.
[0056] If the calculation result of the operation log no output period is equal to or less than t1×w (step S15-7: NO), the determination unit 13 calculates the access log no output period (step S17-7) and determines whether the calculation result of the access log no output period is longer than t2×w (step S18-7). For example, the determination unit 13 calculates the access log no output period by the formula (3). Period when access log has not been output = Judgment date and time - Last access log record recording date and time (3)
[0057] Here, t2 is the criterion for the period when no access log is obtained. An example of the criterion t2 for the period when no access log is obtained is 180 days. The fact that the criterion t2 for the period when no access log is obtained is 180 days means that a resource that has not been accessed for 180 days is determined to be unnecessary. If the calculation result of the period when no access log is output is longer than t2×w (step S18-7: YES), the determination unit 13 determines the status of the resource to be "candidate for unnecessary" (step S19-7). Then, the process proceeds to step S6-8. If the calculation result of the period when no access log is output is less than t2×w (step S18-7: NO), the determination unit 13 determines the status of the resource to be "necessary" (step S20-7). Then, the process proceeds to step S6-7.
[0058] In step S6-7, the determination unit 13 records the status determination results for all resources in the determination result list data table of the recording unit 17, and then the output unit 18 outputs the resource name, the resource creator, the determination result, and the determination date and time based on a determination result request from the user U. With this configuration, the information processing device 1 can inform the user U of the determination result as to whether or not all resources are unnecessary resources. The user U can take measures such as deleting resources as necessary based on the determination result as to whether or not all resources are unnecessary resources. Here, the determination unit 13 may record the status determination results for all resources in the determination result list data table of the recording unit 17, and the output unit 18 may output the resource name, the resource creator, the determination result, and the determination date and time based on a determination result request from the user U.
[0059] 8 and 9, the case where the determination unit 13 determines the cloud usage environment, the CPU utilization rate, the unnecessary resource occurrence rate, the period during which an operation log has not been output, and the access log has not been output in this order to determine the resource status has been described, but is not limited to this example. For example, the determination unit 13 may determine the resource status by determining the CPU utilization rate, the unnecessary resource occurrence rate, the period during which an operation log has not been output, and the access log has not been output in any order.
[0060] According to the information processing device 1 of this embodiment, the information processing device 1 includes a resource monitoring unit 15 that monitors the state of cloud resources, a usage trend calculation unit 16 that calculates a user's cloud usage trend, a judgment unit 13 that judges whether or not the cloud resources are being used based on the state of the cloud resources and the user's cloud usage trend, a recording unit 17 that records the judgment result as to whether or not the resources are being used, and an output unit 18 that outputs the judgment result as to whether or not the resources are being used.
[0061] By configuring in this way, the information processing device 1 can determine whether the cloud resources are being used based on the state of the cloud resources and the user's tendency to use the cloud. Compared to determining inactive resources based only on resource metrics such as CPU utilization, even resources that are in operation, such as resources that have been created by mistake or forgotten to be deleted, can be detected as unnecessary resources, making it possible to determine unnecessary resources according to the characteristics of the user who uses the cloud. Since unnecessary resources present in active resources can be detected, it is possible to reduce cost waste by having the user U or the operator deal with the detected unnecessary resources. For example, it is possible to reduce cost waste other than computing resources, such as charges for the capacity of files and data stored in a storage service, charges for acquiring fixed IP addresses, and charges for acquiring domains.
[0062] In the information processing device 1, the resource monitoring unit 15 monitors at least one of resource metrics, access logs, and operation logs, and the judgment unit 13 judges whether or not cloud resources are being used based on at least one of the resource metrics, access logs, and operation logs monitored by the resource monitoring unit 15.
[0063] With this configuration, the information processing device 1 can determine whether or not cloud resources are being used based on at least one of the cloud resource metrics, access logs, and operation logs, and the user's tendency to use the cloud. Compared to determining inactive resources based only on resource metrics such as CPU utilization, even resources that were created by mistake or forgotten to be deleted and that are in operation can be detected as unnecessary resources, making it possible to determine unnecessary resources according to the characteristics of the user who uses the cloud.
[0064] In the information processing device 1, the usage trend calculation unit 16 calculates the occurrence frequency of unused resources for a user based on the calculation results of previous usage trends, and the judgment unit 13 judges whether or not cloud resources are being used based on the occurrence frequency of resources calculated by the usage trend calculation unit 16.
[0065] With this configuration, the information processing device 1 can determine whether the cloud resources are being used based on the state of the cloud resources and the frequency of occurrence of resources not being used by the user. Compared to determining inactive resources based only on resource metrics such as CPU utilization, even resources that were created by mistake or forgotten to be deleted and that are in operation can be detected as unnecessary resources, making it possible to determine unnecessary resources according to the characteristics of the user who uses the cloud.
[0066] (Modification of the embodiment) In the information processing device 1a of the modified embodiment, attribute information is registered in the information processing device 1, and weighting is performed by the registered attribute information. Detection of unnecessary resources is adjusted by registering attribute information and performing weighting by the registered attribute information. For example, by registering user attributes and performing weighting by the registered user attributes, detection of unnecessary resources can be made stricter for people who are inexperienced in using resources, such as cloud beginners. By registering a usage period attribute and performing weighting by the registered usage period attribute, detection of unnecessary resources can be made stricter during periods when forgetting to delete resources occurs frequently, such as the latter half of development.
[0067] 10 is a diagram illustrating an example of an information processing device according to a modified example of the embodiment. The information processing device 1a is realized by a device such as a personal computer, a server, a smartphone, a tablet computer, or an industrial computer. The information processing device 1a includes an input unit 11a, a rule setting unit 12a, a determination unit 13a, a control unit 14, a resource monitoring unit 15, a usage trend calculation unit 16, a recording unit 17a, and an output unit 18.
[0068] The information processing device 1a may be installed in the same cloud as the cloud for which unnecessary resources are to be detected, in a different cloud, or on-premise, as long as it is in an environment where it can obtain metrics of resources existing on the cloud for which unnecessary resources are to be detected, access log information, operation log information, etc.
[0069] The input unit 11a inputs information. As an example, the input unit 11a may have an operation unit such as a keyboard and a mouse. In this case, the input unit 11a inputs information according to an operation performed by a user on the operation unit. As another example, the input unit 11a may input information from an external device. The external device may be, for example, a portable storage medium. Attribute information is input to the input unit 11a.
[0070] The recording unit 17a is realized by a HDD, a flash memory, a RAM, a ROM, etc. A user list data table, a resource list data table, and a judgment result list data table are stored in the recording unit 17a.
[0071] The user list data table is information in a table format that associates user names, last login dates and times, environment usage frequencies, unnecessary resource occurrence frequencies, and attributes, and manages resource usage in the cloud computing environment for each user. The attributes are used to adjust the detection of unnecessary resources. Examples of attributes are user attributes and usage period attributes. Examples of user attributes are a standard user who is a general user who uses the cloud computing environment, and a beginner who has just started using the cloud computing environment. Examples of usage period attributes are before development and after development is completed.
[0072] The resource list data table is information in a table format that associates resource names, resource creators, CPU utilization rates (%), the date and time of the last access log record, and the date and time of the last operation log record.
[0073] The judgment result list data table is information in a table format that associates resource names, resource creators, judgment results, and judgment dates and times.
[0074] The rule setting unit 12a acquires the attribute information input to the input unit 11a. The rule setting unit 12a outputs the acquired attribute information to the judgment unit 13a to reflect it. The judgment unit 13a acquires the attribute information output by the rule setting unit 12a and reflects the acquired attribute information in the judgment rule. When reflection of the attribute information is completed, the judgment unit 13a outputs a reflection completion response to the rule setting unit 12a to notify the rule setting unit 12a that reflection of the attribute information is completed. The rule setting unit 12a acquires the reflection completion response output by the judgment unit 13a and outputs the acquired reflection completion response to the input unit 11a.
[0075] (Operation of information processing device 1a) Fig. 11 is a sequence diagram showing a first example of the operation of an information processing device according to a modified embodiment. A process of inputting attribute information to the information processing device 1a will be described with reference to Fig. 11. Attribute information such as a user attribute and a usage period attribute is input to the input unit 11a by the user U (step S1-8). The rule setting unit 12a acquires the attribute information input to the input unit 11a (step S2-8).
[0076] The rule setting unit 12a outputs the acquired attribute information to the judgment unit 13a. The judgment unit 13a acquires the attribute information output by the rule setting unit 12a and reflects the acquired attribute information in the judgment rule (step S3-8). When reflection of the attribute information is completed, the judgment unit 13a outputs a reflection completion response to the rule setting unit 12a (step S4-8). The rule setting unit 12a acquires the reflection completion response output by the judgment unit 13a and outputs the acquired reflection completion response to the input unit 11a (step S5-8).
[0077] Fig. 2 can be applied to the process in which resource monitoring unit 15 acquires resource information, Fig. 3 can be applied to the process in which utilization trend calculation unit 16 calculates utilization trends, Fig. 4 can be applied to the process in which determination unit 13a determines whether each resource is an unnecessary resource or not, and Fig. 5 can be applied to the process in which output unit 18 outputs the determination result, and therefore their descriptions are omitted. Furthermore, Fig. 6 can be applied to details of the process in which resource monitoring unit 15 acquires resource information, and Fig. 7 can be applied to details of the process in which utilization trend calculation unit 16 calculates utilization trends, and therefore their descriptions are omitted.
[0078] 8 and 9 can be applied to the details of the process in which the determination unit 13a determines whether each resource is an unnecessary resource. However, the processes from steps S15-7 to S20-7 are different. The determination unit 13a determines whether the calculation result of the period in which the operation log has not been output is longer than t1×(w+a1+a2) (step S15-7).
[0079] Here, a1 is a weighting value according to user attributes. For example, for beginners such as newcomers, a1 = -0.1 to -0.2, and for standard users such as veterans, a1 = 0.1 to 0.2. a2 is a weighting value according to usage period attributes. For example, before development, a2 = -0.1, and after development is completed, a2 = 0.1. If the calculation result of the period during which the operation log has not been output is longer than t1 × (w + a1 + a2) (step S15-7: YES), the judgment unit 13a determines the status of the resource to be "unnecessary candidate" (step S16-7). Then, the process proceeds to step S6-8.
[0080] If the calculation result of the period during which the operation log has not been output is equal to or less than t1×(w+a1+a2) (step S15-7: NO), the judgment unit 13a calculates the period during which the access log has not been output (step S17-7) and judges whether the calculation result of the period during which the access log has not been output is longer than t2×(w+a1+a2) (step S18-7).
[0081] If the calculation result of the period when no access log is output is longer than t2×(w+a1+a2) (step S18-7: YES), the judgment unit 13a determines the status of the resource to be "candidate for unnecessary" (step S19-7). Then, the process proceeds to step S6-8. If the calculation result of the period when no access log is output is equal to or less than t2×(w+a1+a2) (step S18-7: NO), the judgment unit 13a determines the status of the resource to be "necessary" (step S20-7). Then, the process proceeds to step S6-7.
[0082] An application example of the information processing device 1a of the modified embodiment will be described separately for the first judgment and the second judgment. Since the second judgment can be applied from the third judgment onwards, the description will be omitted. As an example, the first judgment implementation date and time is 2022 / 4 / 1 10:00:00, and the second judgment implementation date and time is 2022 / 5 / 1 10:00:00. The users U are four people, user 1 to user 4, of which three users 1 to 3 are standard users and one user 4 is a beginner. The four resources that have already been created are resource A to resource D. It is assumed that the resources can be obtained from any of metrics such as CPU, operation logs, and access logs.
[0083] In the information processing device 1a, the reference t1 for the period during which an operation log is not acquired is set to 30 (days), which is expressed as a timestamp of 2592000. In the information processing device 1a, the reference t2 for the period during which an access log is not acquired is set to 180 (days), which is expressed as a timestamp of 15552000.
[0084] In the information processing device 1a, the CPU utilization rate judgment criterion u is set to 20(%). In the information processing device 1a, the unnecessary resource generation frequency judgment criterion m is set to 0.5. The unnecessary resource generation frequency judgment criterion m of 0.5 means that the user generates unnecessary resources with a 50% probability.
[0085] In the information processing device 1a, the weighting value b based on the frequency of occurrence of unnecessary resources is set to 0.7. The weighting value b based on the frequency of occurrence of unnecessary resources of 0.7 means that the judgment is stricter than when the weighting value b is 1.0. In the information processing device 1a, the weighting value a1 based on the user attributes is set to a1=-0.2 for beginners and a1=0.2 for average users.
[0086] In the information processing device 1a, the weighting value a2 based on the usage period attribute is set to a2=-0.1 before development and a=0.1 after development is completed. However, since the weighting value based on the usage period attribute is used in the same way as the weighting value a1 based on the user attribute, the following description will be given of the case where the weighting value a2 based on the usage period attribute is not used.
[0087] In the flowcharts shown in Figures 8 and 9, the following judgments are made. In step S9-7, the judgment unit 13a judges whether the CPU usage rate is less than 20(%). In step S11-7, the judgment unit 13a judges whether the unnecessary resource occurrence frequency is greater than 0.5. In step S15-7, the judgment unit 13a judges whether the calculation result of the period during which the operation log has not been output is longer than 2592000 x (w + a1). In step S18-7, the judgment unit 13a judges whether the calculation result of the period during which the access log has not been output is longer than 15552000 x (w + a1).
[0088] FIG. 12A shows an example of a user list data table recorded in an information processing device of a modified example of an embodiment. According to the user list data table, user attributes are registered. An example of user attributes is that, among users 1 to 4, users 1 to 3 are standard users and user 4 is a beginner. Before the initial judgment, the last login date and time are not registered. Before the initial judgment, the usage tendency calculation unit 16 has not performed a process to calculate a usage tendency, so no data is registered in the environment usage frequency. Before the initial judgment, the usage tendency calculation unit 16 has not performed a process to calculate an unnecessary resource occurrence frequency, so no data is registered in the unnecessary resource occurrence frequency.
[0089] Fig. 12B shows an example of a resource list data table recorded in an information processing device of a modified embodiment. According to Fig. 12B, resource names A to D are registered. Before the initial determination, the resource monitoring unit 15 has not performed a process to obtain resource information, and therefore no data is registered in the resource creator, CPU utilization rate (%), access log last record recording date and time, and operation log recording date and time.
[0090] 12C shows an example of a determination result list data table recorded in the information processing device of the modified embodiment. Before the initial determination, the determination unit 13a has not performed a process of determining whether each resource is an unnecessary resource or not, and therefore no data is stored in the resource name, resource creator, determination result, and determination date and time.
[0091] In the initial determination, the following process is performed. In step S1-8 of the process of inputting attribute information to information processing device 1a described with reference to Fig. 11, information indicating "average user" as the user attribute of users 1 to 3 and information indicating "beginner" as the user attribute of user 4 are input to input unit 11a. In the process of resource monitoring unit 15 acquiring resource information described with reference to Figs. 2 and 6, resource monitoring unit 15 acquires the CPU utilization rate, the date and time of the last access log record, and the date and time of the last operation log record.
[0092] The resource monitoring unit 15 stores in the resource list data table in association with the resource name, the resource creator, the CPU utilization rate, the date and time of the last access log record, and the date and time of the last operation log record. In the process of calculating the utilization trend by the utilization trend calculation unit 16 described with reference to Figs. 3 and 7, the utilization trend calculation unit 16 determines the environment utilization frequency for each user.
[0093] Because there is no previous judgment record, usage trend calculation unit 16 does not calculate the frequency of unnecessary resource occurrence. Usage trend calculation unit 16 stores the user name, the last login date and time, and the cloud environment usage frequency in the user list data table of recording unit 17a in association with each other.
[0094] 13A shows an example of a user list data table recorded in an information processing device of a modified embodiment. By performing the initial judgment, the user list data table records the last login date and time, the environment usage frequency, and attributes for each user name, User 1 to User 4, in association with each other. The frequency of unnecessary resource occurrence is not recorded because there is no previous judgment record.
[0095] 13B shows an example of a resource list data table recorded in an information processing device according to a modified example of the embodiment. As a result of the initial determination, the resource list data table records, for each of the resource names Resource A to Resource D, the resource creator, the CPU utilization rate, the date and time of the last access log record, and the date and time of the last operation log record in association with each other.
[0096] Furthermore, in the initial determination, the following process is performed: In the process in which the determination unit 13a determines whether each resource is an unnecessary resource or not, which has been described with reference to Fig. 4, Fig. 8, and Fig. 9, the determination unit 13a determines the status of resource A to be "necessary" since the resource does not fall under any of steps S4-7, S7-7, S9-7, S11-7, S15-7, and S17-7.
[0097] The judgment unit 13a judges that resource B does not fall under any of steps S4-7, S7-7, S9-7, and S11-7, and in step S14-7, calculates operation log no-output period = judgment date and time - operation log last record recording date and time = 1648774800 - 1638320400 = 10454400 using equation (2).
[0098] Furthermore, in step S15-7, the determination unit 13a determines whether the period during which an operation log has not been output is longer than 2592000×(w+a1)=2592000×(1.0+0) for resource B. Since 10454400>2592000 for resource B and the period during which an operation log has not been output is longer than 2592000×(w+a1)=2592000×(1.0+0), the determination unit 13a determines the status to be “unnecessary candidate”.
[0099] The determining unit 13a determines that neither step S4-7 nor step S7-7 applies to resource C, and in step S9-7, since the CPU utilization rate is less than 20, the determining unit 13a determines the status to be "candidate for unnecessary resource C."
[0100] The determination unit 13a determines that the resource D does not fall under step S4-7, and in step S7-7, since the environment usage frequency is low, determines the status to be “unnecessary candidate.” The determination unit 13a records the determination results of the statuses of the resources A to D in the determination result list data table of the recording unit 17.
[0101] 13C shows an example of a determination result list data table recorded in an information processing device of a modified embodiment. By performing an initial determination, the determination result list data table records, for each of the resource names Resource A to Resource D, the resource creator, the determination result, and the determination date and time in association with each other.
[0102] The second judgment will now be described. The conditions used are the same as those used in the first judgment. That is, in the information processing device 1a, the reference t1 for the period during which an operation log is not acquired is set to 30 (days), or 2592000 in timestamp notation. In the information processing device 1a, the reference t2 for the period during which an access log is not acquired is set to 180 (days), or 15552000 in timestamp notation.
[0103] In the information processing device 1a, the CPU utilization rate judgment criterion u is set to 20(%). In the information processing device 1a, the unnecessary resource occurrence frequency judgment criterion m is set to 0.5. In the information processing device 1a, the weighting value b based on the unnecessary resource occurrence frequency is set to 0.7. In the information processing device 1a, the user attribute weighting value a1 is set to a1=-0.2 for beginners and a1=0.2 for average users.
[0104] The second assessment is assumed to be performed one month after the previous assessment, specifically, at 10:00:00 on May 1, 2022. Resources B to D, which were determined to be "unnecessary candidates" in the previous assessment, are assumed to have been deleted by, for example, user U or the operator. Resources E, F, and G have been added in the one month between the first and second assessments.
[0105] 14A shows an example of a user list data table recorded in an information processing device of a modified embodiment. By performing the initial judgment, the user list data table records the last login date and time, the environment usage frequency, and attributes for each user name, User 1 to User 4, in association with each other. The frequency of unnecessary resource occurrence is not recorded because there is no previous judgment record.
[0106] 14B shows an example of a resource list data table recorded in an information processing device of a modified example of an embodiment. As a result of the initial determination, the resource list data table records, for each of the resource names Resource A to Resource D, the resource creator, the CPU utilization rate, the date and time of the last access log record, and the date and time of the last operation log record in association with each other. However, Resources B, C, and D, which were determined to be "unnecessary candidates," were deleted by, for example, User U. After that, Resources E, F, and G were detected and added.
[0107] 14C shows an example of a determination result list data table recorded in an information processing device of a modified embodiment. After the initial determination, the determination result list data table records the resource creator, the determination result, and the determination date and time for each of the resource names Resource A to Resource D in association with each other.
[0108] In the second determination, the following process is performed. In the process in which the resource monitoring unit 15 acquires resource information described with reference to Figures 2 and 6, the resource monitoring unit 15 acquires the CPU utilization rate, the date and time of the last access log record, and the date and time of the last operation log record. The resource monitoring unit 15 associates the resource name, the resource creator, the CPU utilization rate, the date and time of the last access log record, and the date and time of the last operation log record, and stores them in the resource list data table.
[0109] In the process of calculating usage trends by the usage trend calculation unit 16 described with reference to Fig. 3 and Fig. 7, the usage trend calculation unit 16 judges the cloud environment usage frequency for each user. The usage trend calculation unit 16 calculates the unnecessary resource occurrence frequency because it has a previous judgment record. For users 1 and 4, the usage trend calculation unit 16 sets the unnecessary resource occurrence frequency to 0 (zero) because no resources are provided to them.
[0110] For user 2, among resources A, B, and C provided to user 2, resources B and C are unnecessary resources, so the usage tendency calculation unit 16 generates "unnecessary candidates" two-thirds of the time. Therefore, the usage tendency calculation unit 16 calculates the unnecessary resource occurrence frequency as 2 / 3 = 0.67. For user 3, since resource D provided to user 3 is unnecessary, the usage tendency calculation unit 16 generates "unnecessary candidates" one-third of the time. Therefore, the usage tendency calculation unit 16 calculates the unnecessary resource occurrence frequency as 1 / 1 = 1.0. The usage tendency calculation unit 16 stores the unnecessary resource occurrence frequency in the user list data table of the recording unit 17a in association with the user name.
[0111] 15A shows an example of a user list data table recorded in an information processing device of a modified embodiment. By performing the second determination, the user list data table records, for each of the user names User 1 to User 4, the last login date and time, the environment usage frequency, the unnecessary resource occurrence frequency, and attributes in association with each other.
[0112] 15B shows an example of a resource list data table recorded in an information processing device of a modified example of an embodiment. By performing the second determination, the resource list data table records, in association with each other, the resource creator, the CPU utilization rate, the date and time of the last access log record, and the date and time of the last operation log record for each of the resource names Resource A, Resource E, Resource F, and Resource G.
[0113] Furthermore, in the second determination, the following process is performed. In the process in which the determination unit 13 determines whether each resource is an unnecessary resource or not, as described with reference to Figures 4, 8, and 9, the determination unit 13a determines that none of steps S4-7, S7-7, and S9-7 applies to resource A. Furthermore, since the unnecessary resource occurrence frequency is >0.5 for resource A in step S11-7, the determination unit 13a sets the weight w=0.7 in step S12-7.
[0114] Furthermore, in step S14-7, the determination unit 13a calculates, for resource A, operation log no-output period=determination date and time-operation log last record recording date and time=1651366800-1649984400=1382400 using formula (2). Furthermore, in step S15-7, the determination unit 13a determines whether or not the operation log no-output period for resource A is longer than 2592000×(w+a1)=2592000×(0.7+0)=1814400.
[0115] Furthermore, for Resource A, since 1382400 <1814400> and the period without operation log output is 2592000×(w + a1) = 2592000×(0.7 + 0) or less, in step S17-7, from equation (3), the period without access log output = determination date and time - access log last record date and time = 1651366800 - 1649984400 = 1382400 is calculated.
[0116] Furthermore, for Resource A, in step S18-7, the determination unit 13a determines whether the period without access log output is longer than 15552000×(w + a1) = 15552000×(0.7 + 0) = 10886400. For Resource A, since 1382400 <1088640>0 and the period without access log output is 15552000×(w + a1) = 15552000×(0.7 + 0) or less, the status is determined to be "necessary".
[0117] The determination unit 13a determines that Resource E does not correspond to any of steps S4-7, S7-7, and S9-7. In step S11-7, since the frequency of unnecessary resource generation > 0.5, in step S12-7, w = 0.7 is set as the weighting. Furthermore, for Resource E, in step S14-7, the period without operation log output = determination date and time - operation log last record date and time = 1651330800 - 1649379600 = 1951200 is calculated.
[0118] Furthermore, for Resource E, in step S15-7, the determination unit 13a determines whether the period without operation log output is longer than 2592000×(w + a1) = 2592000×(0.7 + 0) = 1814400. Furthermore, for Resource E, since <1951200> 1814400 and the period without operation log output is longer than 2592000×(w + a1) = 2592000×(1.0 + 0), the status is determined to be "unnecessary candidate".
[0119] The determination unit 13a determines that the resource F does not correspond to any of steps S4-7, S7-7, and S9-7. In step S11-7, since the frequency of unnecessary resource generation > 0.5 is not satisfied, in step S13-7, a weight of w = 1.0 is set. Further, for the resource F, in step S14-7, the determination unit 13a calculates the non-output period of the operation log = determination date and time - operation log last record date and time = 1651366800 - 1649120400 = 2246400 from Equation (2).
[0120] Furthermore, for the resource F, in step S15-7, the determination unit 13a determines whether the non-output period of the operation log is longer than 2592000×(w + a1)=2592000×(1.0 + 0)=2592000. For the resource F, since 2246400 <2592000> and the non-output period of the operation log is 2592000×(w + a1)=2592000×(1.0 + 0) or less, in step S17-7, the non-output period of the access log = determination date and time - access log last record date and time = 1651366800 - 1649120400 = 2246400 is calculated.
[0121] Furthermore, for the resource F, in step S18-7, the determination unit 13a determines whether the non-output period of the access log is longer than 15552000×(w + a1)=15552000×(1.0 + 0)=15552000. For the resource F, since 2246400 <1555200>0 and the non-output period of the access log is 15552000×(w + a1)=15552000×(1.0 + 0) or less, the status is determined to be "necessary".
[0122] The determination unit 13a determines that resource G does not correspond to any of steps S4-7, S7-7, and S9-7. In step S11-7, since the frequency of unnecessary resource generation > 0.5 does not hold, in step S13-7, w = 1.0 is set as the weighting. Further, for resource G, in step S14-7, the determination unit 13a calculates the period without operation log output from formula (2) = determination date and time - operation log last record date and time = 1651366800 - 1649120400 = 2246400. Further, for resource G, in step S15-7, the determination unit 13a determines whether the period without operation log output is longer than 2592000×(w + a1) = 2592000×(1.0 - 0.2) = 2073600.
[0123] For resource G, since <2210400> 2073600 and the period without operation log output is longer than 2592000×(w + a1) = 2592000×(1.0 - 0.2), the determination unit 13a determines the status as "unnecessary candidate". The determination unit 13a records the determination result of the status of each of resource A, resource E, resource F, and resource G in the determination result list data table of the recording unit 17.
[0124] FIG. 15C shows an example of the determination result list data table recorded in the information processing apparatus according to the modification example of the embodiment. By performing the second determination, in the determination result list data table, for each of resource names resource A, resource E, resource F, and resource G, the resource creator, the determination result, and the determination date and time are recorded in association with each other.
[0125] After the judgment unit 13a records the status judgment results for all resources in the judgment result list data table of the recording unit 17a, the output unit 18 outputs the resource name, the resource creator, the judgment result, and the judgment date and time based on a judgment result request from the user U. With this configuration, the information processing device 1 can inform the user U of the judgment result as to whether or not all resources are unnecessary resources. The user U can take measures such as deleting resources as necessary based on the judgment result as to whether or not all resources are unnecessary resources. Here, the judgment unit 13a may record the status judgment results for all resources in the judgment result list data table of the recording unit 17a, and the output unit 18 may output the resource name, the resource creator, the judgment result, and the judgment date and time based on a judgment result request from the user U.
[0126] According to the information processing device 1a of the modified embodiment, the information processing device 1 further includes a rule setting unit 12a that acquires attributes of a user U and sets the acquired user attributes in a determination unit 13a. The determination unit 13a determines whether or not cloud resources are unnecessary based on the attributes of the user U that are set by the rule setting unit 12a.
[0127] By configuring in this way, the information processing device 1a can weight the judgment of unnecessary resources in the judgment unit 13a by using the attribute information of the user. The information processing device 1a can judge whether the cloud resource is being used or not based on the attributes of the user U in addition to the state of the cloud resource and the occurrence frequency of the user's unused resources. Compared to the case where an inactive resource is judged only based on resource metrics such as CPU utilization rate, even a resource that is in operation, among resources that have been created by mistake or forgotten to be deleted, can be detected as an unnecessary resource, so that it is possible to judge the unnecessary resource according to the characteristics of the user who uses the cloud. For example, when there are multiple technical levels of users such as beginner, average, and veteran, it is possible to judge that a beginner is more likely to generate unnecessary resources, and to make the condition formula used for the unnecessary resource judgment stricter.
[0128] According to the information processing device 1a of the modified embodiment, the information processing device 1 further includes a rule setting unit 12a that acquires a usage period attribute of the user's resource and sets the acquired usage period attribute of the user's resource in the determination unit 13a. The determination unit 13a determines whether or not the cloud resource is unnecessary based on the usage period attribute of the user's resource set by the rule setting unit 12a.
[0129] By configuring in this way, the information processing device 1a can weight the judgment of unnecessary resources in the judgment unit by using attribute information of the usage period. The information processing device 1a can judge whether the cloud resource is being used or not based on the usage period attribute of the user's resource in addition to the state of the cloud resource and the occurrence frequency of the user's unused resources. Compared to the case where an inactive resource is judged only based on resource metrics such as CPU utilization rate, even a resource that is in operation among resources that have been created by mistake or forgotten to be deleted can be detected as an unnecessary resource, so that it is possible to judge unnecessary resources according to the characteristics of the user who uses the cloud. For example, since the usage period is in the latter half of development, it is expected that resources created during busy development times will be frequently forgotten to be deleted, so that there is a high possibility that unnecessary resources will be generated or forgotten to be deleted. Therefore, the condition formula used for unnecessary resource judgment can be made stricter during the period before development starts.
[0130] Although the embodiments and modifications of the present invention have been described above, these embodiments and modifications are presented as examples and are not intended to limit the scope of the invention. These embodiments and modifications can be implemented in various other forms, and various omissions, substitutions, changes, and combinations can be made without departing from the gist of the invention. These embodiments and modifications are included in the scope and gist of the invention, and are also included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]
[0131] 1, 1a...information processing device, 11a...input section, 12a...rule setting section, 13a...judgment section, 14...control section, 15...resource monitoring section, 16...usage trend calculation section, 17a...recording section, 18...output section
Claims
1. a resource monitoring unit that monitors the state of cloud resources; A usage tendency calculation unit that calculates a usage tendency of the cloud by a user; a determination unit that determines whether the resources of the cloud are being utilized based on a state of the resources of the cloud and a usage tendency of the cloud by the user; a recording unit that records a result of determining whether the resource is being used; an output unit that outputs a determination result as to whether the resource is being used; An information processing device having the above configuration.
2. the resource monitoring unit monitors at least one of metrics, an access log, and an operation log of the resource; The information processing apparatus according to claim 1 , wherein the determining unit determines whether the resource of the cloud is being utilized based on at least one of the metrics of the resource monitored by the resource monitoring unit, the access log, and the operation log.
3. a rule setting unit that acquires attributes of the user and sets the acquired attributes of the user to the determination unit; The information processing apparatus according to claim 1 , wherein the determination unit determines whether the resource of the cloud is unnecessary based further on the attribute of the user set by the rule setting unit.
4. a rule setting unit that acquires a usage period attribute of the resource of the user and sets the acquired usage period attribute of the resource of the user to the determination unit; The information processing apparatus according to claim 1 , wherein the determination unit determines whether the resource of the cloud is unnecessary based further on the usage period attribute of the resource of the user set by the rule setting unit.
5. the utilization tendency calculation unit calculates an occurrence frequency of unused resources for the user based on a calculation result of the utilization tendency from a previous time onward; and The information processing apparatus according to claim 1 , wherein the determining unit determines whether the resource of the cloud is being utilized based on the occurrence frequency of the resource calculated by the utilization trend calculating unit.
6. The computer Monitor the state of your cloud resources, Calculate the user's usage trend of the cloud; determining whether the resources of the cloud are being utilized based on a state of the resources of the cloud and a usage tendency of the cloud by the user; Recording a determination of whether the resource is being utilized; An information processing method for outputting a determination result as to whether or not the resource is being utilized.
7. On the computer, Monitor the status of cloud resources Calculating the user's usage trends of the cloud; determining whether the resources of the cloud are being utilized based on the state of the resources of the cloud and the usage tendency of the user of the cloud; recording a determination of whether the resource is being utilized; A program that outputs a determination result as to whether or not the resource is being utilized.
Citation Information
Patent Citations
Instance management system and computer program
JP2010224914A
