Information resource allocation support device, information resource allocation support method, and information resource allocation support program
The information resource allocation support device optimizes cloud resource allocation for AI processing by calculating execution time and fees based on user-defined criteria, ensuring efficient and cost-effective execution.
Patent Information
- Application Number
- JP2023509130
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-03-25
- Filing Date
- 2022-03-18
- Publication Date
- 2024-10-02
- Estimated Expiration
- 2042-03-18
AI Technical Summary
Balancing the usage fee and execution time of AI processing on cloud resources is challenging, as existing technologies struggle to allocate resources effectively, leading to inefficiencies or excessive costs.
An information resource allocation support device that acquires permissible conditions for execution time and usage fees, calculates the required resources based on user-defined criteria, and outputs the execution time and fee to ensure alignment with user preferences.
Enables AI processing to be executed at desired usage fees and execution times by optimizing resource allocation, thereby providing a balanced and efficient use of cloud resources.
Smart Images

Figure 0007559930000001 
Figure 0007559930000002 
Figure 0007559930000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an information resource allocation support device, an information resource allocation support method, and an information resource allocation support program. [Background technology]
[0002] In a computer system, it is important to appropriately allocate information processing resources for executing information processing in accordance with requirements related to performance, etc. for the information processing to be executed. For example, if excessive information processing resources are allocated in accordance with requirements such as performance, some of the information processing resources may not be used effectively and the usage fee for the information processing resources may be higher than necessary. Alternatively, for example, if insufficient information processing resources are allocated in accordance with requirements such as performance, the execution time of the information processing may become unacceptably long or the information processing may abnormally terminate due to a lack of resources. Therefore, a technology for appropriately allocating information processing resources in accordance with requirements for the information processing is desired.
[0003] As a technique related to such a technique, Patent Document 1 discloses a placement device that places a network function on multiple types of hardware. The device stores statistical information including performance information representing the resource consumption and performance of each of multiple types of hardware that are candidates for the placement of the function. The device accepts input of the description of the function written in a high-level language that is a hardware description language corresponding to the multiple types of hardware, and performance requirements representing the required performance. The device calculates, for each piece of hardware, predicted performance, which is the predicted performance, and predicted resource consumption, which is the predicted resource consumption, using the description and a predetermined algorithm. Then, the device selects, as the placement destination, hardware whose calculated predicted performance and performance information satisfy the performance requirements and whose total value of the predicted resource consumption and the resource consumption is equal to or less than the resource capacity.
[0004] Patent Document 2 discloses a resource determination device that determines a resource combination and resource parameters suitable for a service layer requirement. This device analyzes a service layer requirement expressed in natural language for a communication service. This device determines a resource combination suitable for the analyzed service layer requirement. This device then determines the resource parameters included in the determined resource combination. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2019-212069 A [Patent Document 2] JP 2019-087105 A Summary of the Invention [Problem to be solved by the invention]
[0006] For example, in cloud AI (Artificial Intelligence), users can use cloud resources to execute desired AI processing by paying a certain fee. However, when using cloud resources, it is difficult to balance the usage fee according to the user's desire and the execution time of the AI processing that the user allows.
[0007] A primary object of the present invention is to provide an information resource allocation support device and the like that solves the above-mentioned problems. [Means for solving the problem]
[0008] The system comprises an acquisition means for acquiring acceptable conditions related to the execution time required for executing a first AI processing and the usage fee of the hardware resources used for the first AI processing desired by a user, a calculation means for calculating the execution time required for the first AI processing and the usage fee of the hardware resources used for the first AI processing that satisfy the acceptable conditions based on calculation criteria related to the relationship between the execution time required for the second AI processing and the usage fee of the hardware resources used for the second AI processing, and an output means for outputting the execution time and the usage fee calculated by the calculation means.
[0009] In another aspect of achieving the above-mentioned object, an information resource allocation support method according to one embodiment of the present invention obtains acceptable conditions regarding the execution time required for executing a first AI processing and the usage fees for hardware resources used for the first AI processing desired by a user, calculates the execution time required for the first AI processing and the usage fees for the hardware resources used for the first AI processing that satisfy the acceptable conditions based on calculation criteria regarding the relationship between the execution time required for a second AI processing and the usage fees for the hardware resources used for the second AI processing, and outputs the calculated execution time and usage fees.
[0010] In addition, in a further aspect of achieving the above-mentioned object, an information resource allocation support program according to one embodiment of the present invention causes a computer to execute an acquisition process for acquiring acceptable conditions regarding the execution time required for executing a first AI processing and the usage fees for hardware resources used for the first AI processing desired by a user, a calculation process for calculating the execution time required for the first AI processing and the usage fees for the hardware resources used for the first AI processing that satisfy the acceptable conditions based on calculation criteria regarding the relationship between the execution time required for the second AI processing and the usage fees for the hardware resources used for the second AI processing, and an output process for outputting the execution time and usage fees calculated by the calculation process.
[0011] Furthermore, the present invention can also be realized by a computer-readable, non-volatile recording medium in which such an information resource allocation support program (computer program) is stored. Effect of the Invention
[0012] According to the present invention, it is possible to provide a user with resources capable of executing desired AI processing within a usage fee and execution time of the AI processing that is acceptable to the user. [Brief description of the drawings]
[0013] [Figure 1] 1 is a block diagram showing a configuration of an information resource allocation support device 10 according to a first embodiment of the present invention. [Diagram 2] FIG. 11 illustrates an example of an input instruction for the acceptable condition information 141 by a chatbot when the acquisition unit 11 according to the first embodiment of the present invention acquires the acceptable condition information 141 via a chatbot, and the acceptable condition information 141 input by a user in response to the input instruction. [Diagram 3] 1 is a diagram illustrating an example of execution history information 143 according to the first embodiment of the present invention. FIG. [Figure 4] 2 is a flowchart showing the overall operation of the information resource allocation support device 10 according to the first embodiment of the present invention. [Diagram 5] A flowchart showing detailed operations performed by the information resource allocation support device 10 according to the first embodiment of the present invention to calculate execution time and usage fee based on the calculation criterion 142 generated or updated while performing regression analysis on the evaluation results of the execution time of the script and the usage fee of the hardware resource 15. [Figure 6] FIG. 11 is a block diagram showing a configuration of an information resource allocation support device 30 according to a second embodiment of the present invention. [Figure 7] FIG. 9 is a block diagram showing a configuration of an information processing device 900 capable of realizing an information resource allocation support device according to each embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
[0015] <First embodiment> FIG. 1 is a block diagram showing a configuration of an information resource allocation assistance device 10 according to a first embodiment of the present invention. The information resource allocation assistance device 10 is a device that, when executing a script (an example of a first AI process) using a hardware resource 15, calculates a balanced value based on a user's tolerance conditions regarding the execution time of the script and the usage fee of the hardware resource 15. Note that the script according to this embodiment is, for example, an AI process that performs an analysis of a phenomenon to be analyzed by machine learning. Note that the AI process is roughly divided into a "learning process" for generating a trained model and an "analysis process" that is executed using the trained model.
[0016] The hardware resource 15 includes a CPU (Central Processing Unit) 151 and a memory 152. The hardware resource 15 may include a plurality of CPUs 151, and the CPU 151 may be a processor having a plurality of cores. The memory 152 is a main memory that stores a program representing a script to be executed by the CPU 151, and data used when the CPU 151 executes the script. The hardware resource 15 may include a storage device, such as a hard disk, that is used as an extended storage when the CPU 151 executes the script.
[0017] The hardware resources 15 may be provided in the information resource allocation support device 10, as illustrated in FIG. 1, or may be provided in a device such as a server different from the information resource allocation support device 10 and communicatively connected to the information resource allocation support device 10 via a communications network.
[0018] The information resource allocation support device 10 is communicatively connected to a terminal device 20. The terminal device 20 is an information processing device, such as a personal computer, a tablet, or a smartphone, that has a display screen 200. The terminal device 20 accepts an input operation by a user when the user inputs information to the information resource allocation support device 10. The terminal device 20 also displays information output from the information resource allocation support device 10 on the display screen 200.
[0019] The information resource allocation support device 10 includes an acquisition unit 11, a calculation unit 12, an output unit 13, a storage unit 14, and a generation unit 16. The acquisition unit 11, the calculation unit 12, the output unit 13, and the generation unit 16 are examples of an acquisition means, a calculation means, an output means, and a generation means, respectively.
[0020] The storage unit 14 is, for example, a storage device such as a RAM (Random Access Memory) 903, which will be described later with reference to Fig. 7, or a hard disk 904. The storage unit 14 stores allowable condition information 141, a calculation criterion 142, and execution history information 143, which will be described later.
[0021] The acquisition unit 11 acquires permissible condition information 141 related to the execution time required to execute the AI processing and the usage fee of the hardware resources used for the AI processing. Note that the permissible condition information 141 may include, in addition to the above, the name (identification information) of the script to be executed by the hardware resources 15 and the size of the input data used by the script. Also, the permissible condition information 141 is not limited to the above as long as it is information related to the execution of the AI processing.
[0022] Fig. 2 is a diagram illustrating an input instruction for the acceptable condition information 141 by the chatbot and the acceptable condition information 141 input by the user in response to the input instruction when the acquiring unit 11 according to this embodiment acquires the acceptable condition information 141 via the chatbot. The acquiring unit 11 displays the input instruction for the acceptable condition information 141 illustrated in Fig. 2 on the display screen 200 of the terminal device 20, and acquires the acceptable condition information 141 input by the user in response to the input instruction. Note that the information resource allocation support device 10 performs a login process (authentication process) using a user ID (Identification) before displaying the screen illustrated in Fig. 2 on the display screen 200.
[0023] In the example of Figure 2, the acquisition unit 11 displays an input instruction for the name of a script, "Please enter the script to be executed," on the display screen 200, and acquires the name of the script, " / home / hoge / script1.py," entered by the user in response to the input instruction.
[0024] Next, the acquisition unit 11 displays on the display screen 200 an input instruction for the size of the number of samples of the input data to be used by the script, saying "Please enter the number of samples (number of data rows).", and acquires the value of the number of samples, "300,000", entered by the user in response to the input instruction.
[0025] Next, the acquisition unit 11 displays an input instruction on the display screen 200, "Please enter the number of attributes (number of data columns)," which is an input instruction indicating the size of the number of attributes of the input data used by the script, and acquires the value of the number of attributes, "50," entered by the user in response to the input instruction.
[0026] Next, the acquisition unit 11 displays an input instruction on the display screen 200, "Please enter the acceptable execution time (seconds)," which is the acceptable execution time of the script (the maximum execution time of the script that the user is willing to accept), and acquires the value of "2000" for the acceptable execution time (seconds) entered by the user in response to the input instruction.
[0027] Next, the acquisition unit 11 displays an instruction on the display screen 200, asking the user to confirm the server (hardware resource 15) usage fee, stating, "The server usage fee is estimated to be 1000 yen. If you want to execute it as is, enter Y. If you want to change the allowable execution time, enter N." However, the server usage fee is an amount based on the amount of hardware resource 15 used to execute the script, which is calculated by the calculation unit 12, which will be described later. In the example of FIG. 2, the user has input "N," which indicates that the allowable execution time will be changed. This is because the user has determined that the server usage fee of 1000 yen is too high.
[0028] Next, in response to the user inputting "N", the acquisition unit 11 displays on the display screen 200 a message saying "Please enter the acceptable execution time (seconds)", indicating that the acquisition unit 11 is accepting an input by the user to change the acceptable execution time. In the example of Fig. 2, a new acceptable execution time (seconds) value of "3000" is input by the user.
[0029] Next, the acquisition unit 11 displays an instruction on the display screen 200, asking the user to confirm the server usage fee again, saying, "The server usage fee is expected to be 700 yen. If you want to execute it as is, enter Y. If you want to change the allowable execution time, enter N." However, the server usage fee of 700 yen is an amount based on the amount of hardware resources 15 used to execute the script, which is calculated by the calculation unit 12 based on the new allowable execution time of 3000 seconds. In the example of FIG. 2, the user has input "Y," which indicates that the script will be executed as is without changing the allowable execution time. This is because the user has determined that the server usage fee of 700 yen is appropriate.
[0030] After this, the acquisition unit 11 displays on the display screen 200 messages such as "The execution environment is being prepared. Please wait a moment." and "The execution environment is ready. Please access it from this button.", and displays a button called "Access the execution environment" that can be pressed by the user on the screen. After the button is pressed by the user, the hardware resource 15 starts executing the script " / home / hoge / script1.py".
[0031] The acquisition unit 11 changes the input format of the user regarding execution requirements such as the size of input data used by the script, in accordance with the name of the script, in a UI (User Interface) via the chatbot described above.
[0032] Note that the input instructions for the acceptable condition information 141 by the chatbot illustrated in FIG. 2 and the acceptable condition information 141 input by the user in response to the input instructions are merely examples, and the input instructions and the acceptable condition information 141 input by the user may be in a form different from that shown in the example of FIG. 2.
[0033] 2, the user can select whether or not to accept the amount of the usage fee presented to the user by the server, but the user may input the amount of the usage fee he / she desires. For example, the acquisition unit 11 may acquire from the user an amount (allowable usage fee) such as "1000 yen to 1500 yen" as the server usage fee he / she desires.
[0034] The acquisition unit 11 may also acquire the acceptable condition information 141 using a method other than the UI, such as the chatbot described above. The acquisition unit 11 may acquire the acceptable condition information 141 inputted via, for example, an API (Application Programming Interface).
[0035] The acquisition unit 11 stores the permissible condition information 141 acquired as described above in the storage unit 14.
[0036] The calculation unit 12 calculates the execution time of the script and the usage fee of the hardware resource 15 based on the allowable condition information 141 and the calculation criterion 142 stored in the storage unit 14.
[0037] The calculation criterion 142 is a criterion for suitably calculating the execution time of the script to be executed and the usage fee of the hardware resources 15 to be used from the permissible condition information 141 related to the script, in terms of the balance between performance (execution time) and cost (usage fee), taking into account the permissible conditions (execution requirements) of the user. The calculation criterion 142 is a criterion given by the user, and is generated or updated by the generation unit 16 using the execution history information 143, as described later. However, the execution history information 143 represents the execution requirements, execution time and usage fee related to a script (an example of a second AI process) executed in the past, and the amount of the hardware resources 15 that executed the script, and is information generated or updated by the information resource allocation support device 10.
[0038] Fig. 3 is a diagram illustrating execution history information 143 according to this embodiment. The execution history information 143 may be information managed for each user who uses the hardware resource 15. In the execution history information 143 illustrated in Fig. 3, each line individually numbered represents an execution history relating to a script executed on a certain date and time. In the execution history information 143 illustrated in Fig. 3, lines numbered 1 to 6 represent an execution history relating to a script called "script1.py", and lines numbered 7 to 10 represent an execution history relating to a script called "script2.py".
[0039] The execution history information 143 includes the data size (MB: megabytes), the number of data attributes (number of data columns), and the number of data samples (number of data rows) as the size of the input data used by the executed script. The number of data attributes and the number of data samples are values input by the user when the script is executed, as shown in Fig. 2, and the data size is a value determined from the number of data attributes and the number of data samples.
[0040] The execution history information 143 also includes the actual execution time (in seconds) of the script, as shown in FIG.
[0041] The execution history information 143 also includes, as the amount of hardware resources 15 that executed the script, the number of used cores for the CPU 151, and the maximum memory usage (MB) and reserved memory (MB) for the memory 152. The reserved memory indicates the size of the area reserved in the memory 152 as a storage area for data that the script can use, and the maximum memory usage indicates the size of the area actually used by the script out of the reserved area.
[0042] The execution history information 143 also includes the usage fee (yen) of the hardware resource 15 that executed the script, calculated by the calculation unit 12.
[0043] The execution history information 143 also includes a user's evaluation of the actual execution time of the script and the usage fee of the hardware resources 15. For example, the execution history of No. 1 in the execution history information 143 illustrated in Fig. 3 includes a user evaluation of "I don't mind the execution time being longer, so I would like the usage fee to be cheaper." This means that in the execution of the script indicated by the execution history of No. 1, an excessive amount of hardware resources 15 was used compared to the execution requirements originally desired by the user.
[0044] 3 includes a user evaluation that "I would like to shorten the execution time even if the usage fee is higher." This means that in the execution of the script indicated by the execution history of number 2, a smaller amount of hardware resources 15 was used than the execution requirements originally desired by the user.
[0045] 3 includes a user evaluation of "appropriate." This means that an appropriate amount of hardware resources 15 that matches the execution requirements originally desired by the user was used in the execution of the script indicated by the execution history of number 4.
[0046] Note that the execution history information 143 illustrated in FIG. 3 is just an example, and the execution history information 143 may include items different from the items illustrated in FIG.
[0047] The calculation unit 12 refers to the execution history information 143 when calculating the execution time of the script and the usage fee of the hardware resource 15 .
[0048] The calculation unit 12 first judges whether or not the number of executions of the script to be executed is equal to or greater than a predetermined threshold in the execution history information 143. That is, the calculation unit 12 judges whether or not a sufficient execution history has been accumulated for the script to be executed. When the number of executions of the script is less than the predetermined threshold (that is, the execution history has not yet been sufficiently accumulated), the calculation unit 12 uses a calculation formula given in advance by the user as the calculation criterion 142. The calculation unit 12 calculates the execution time of the script and the usage fee of the hardware resource 15 based on this calculation formula and the allowable condition information 141. The calculation formula is, for example, a calculation formula with the name of the script (identification information), the size of the input data used by the script, and the allowable execution time of the script, which are included in the allowable condition information 141, as variables.
[0049] When the number of times the script to be executed is executed is equal to or greater than a predetermined threshold value (i.e., the execution history is sufficiently accumulated) in the judgment based on the execution history information 143 described above, the calculation unit 12 calculates the execution time of the script and the usage fee of the hardware resource 15 based on the calculation criterion 142. At this time, the generation unit 16 generates or updates the calculation criterion 142 while performing a regression analysis on the user evaluation indicated by the execution history information 143.
[0050] In this case, the calculation unit 12 sets the amount of the hardware resources 15 to be used as a variable X and sets the value of the variable X to a predetermined initial value. For example, the calculation unit 12 sets the number of cores of the CPU 151 as the variable X and sets the initial value to "1".
[0051] The calculation unit 12 searches for an execution history related to the script to be executed that has the same size of input data and uses the same amount of hardware resources 15 as X (i.e., the initial value "1"). For example, the execution history information 143 is as illustrated in FIG. 3, and in the allowable condition information 141, the script to be executed is "script1.py", the number of data attributes is "30", and the number of data samples is "12000". In this case, the execution history of number 2 in the execution history information 143 almost matches the above-mentioned search conditions. And, since the user's evaluation of the execution history of number 2 is "I don't mind a higher usage fee, so I want to shorten the execution time", the generation unit 16 updates the calculation criterion 142 and sets the variable X to "2", for example, which is twice the current value.
[0052] The calculation unit 12 then searches for execution histories related to the script to be executed that have the same size of input data and use the same amount of hardware resources 15 as X (i.e., "2"). In this case, the execution history with number 3 in the execution history information 143 almost matches the above-mentioned search conditions. The user's evaluation of the execution history with number 3 is "I don't mind a higher usage fee, so I would like to shorten the execution time," so the generation unit 16 updates the calculation criterion 142, and sets the variable X to, for example, "4," which is twice the current value.
[0053] The calculation unit 12 then searches for execution histories related to the script to be executed that have the same size of input data and use the same amount of hardware resources 15 as X (i.e., "4"). In this case, the execution history with number 4 in the execution history information 143 almost matches the above-mentioned search conditions. Since the user's evaluation of the execution history with number 4 is "appropriate", the generation unit 16 determines the value of the desired variable X (i.e., the number of cores of the CPU 151) to be "4".
[0054] The calculation unit 12 and the generation unit 16 may also calculate the execution time of the script and the usage fee of the hardware resource 15 based on the permissible condition information 141 and the calculation criterion 142 by a procedure different from the above-mentioned procedure.
[0055] For example, according to the user's evaluation indicated by the execution history numbered 1 in the execution history information 143 illustrated in Fig. 3, excessive hardware resources 15 are used to execute the script compared to the execution requirements of the script. That is, the permissible execution time (not shown) in the execution history numbered 1 is a value longer than the actual execution time of 130 seconds. When the execution requirements related to the size of input data and the permissible execution time for the execution of a script "script1.py" are as indicated by number 1 in the execution history information 143, the generation unit 16 generates or updates the calculation criterion 142 so that the execution time of the script is longer and the usage fee for the hardware resources 15 is cheaper.
[0056] According to the user's evaluation indicated by the execution history numbered 2 in the execution history information 143 illustrated in Fig. 3, insufficient hardware resources 15 are used to execute the script compared to the execution requirements of the script. That is, the permissible execution time (not shown) in the execution history numbered 2 is a value shorter than the actual execution time of 1350 seconds. When the execution requirements related to the size of input data and the permissible execution time for the execution of a script "script1.py" are as indicated by number 2 in the execution history information 143, the generation unit 16 generates or updates the calculation criterion 142 so that the execution time of the script is shortened and the usage fee for the hardware resources 15 is increased.
[0057] 3, an appropriate amount of hardware resources 15 that matches the execution requirements of the script is used to execute the script. That is, the allowable execution time (not shown) in the execution history of number 2 is approximately equal to the actual execution time of 658 seconds. When the execution requirements regarding the size of input data and the allowable execution time for the execution of a script "script1.py" are as shown by number 4 in the execution history information 143, the generation unit 16 generates or updates the calculation criterion 142 so that the execution time of the script and the usage fee for the hardware resources 15 become the values shown by number 4.
[0058] The generating unit 16 generates the calculation criterion 142 by learning the relationship between the previously acquired permissible condition information 141 and the execution history information 143 corresponding to the permissible condition information 141 .
[0059] For example, the generation unit 16 generates or updates a model representing the calculation criterion 142 by performing learning using the execution history information 143 as learning data. In this case, the generation unit 16 may perform learning, for example, for each script to be executed, on the relationship between the size of input data and the allowable execution time (not shown) and the execution time of the script and the usage fee of the hardware resource 15, using the user's evaluation as a label.
[0060] The output unit 13 outputs the usage fee and execution time calculated by the calculation unit 12.
[0061] For example, the output unit 13 outputs the usage fee and execution time calculated by the calculation unit 12 to the terminal device 20.
[0062] Furthermore, for example, upon obtaining approval from the user, the output unit 13 may output the execution time of the script and the usage fee of the hardware resource 15 calculated as described above based on the acceptable condition information 141 and the calculation criterion 142 to an allocation unit (not shown) provided in the information resource allocation support device 10.
[0063] The allocation unit determines the amount of hardware resources 15 to be used according to the execution time of the script output from the calculation unit 12 and the usage fee of the hardware resources 15. Then, the allocation unit allocates the execution of the script to the determined amount of hardware resources 15.
[0064] The hardware resources 15 may include a plurality of execution environments in which the script can be executed, each having a different configuration with respect to the CPU 151 and the memory 152. The plurality of execution environments having different configurations may be, for example, an execution environment including one core in the CPU 151 and a storage area of 1 GB (gigabyte) in the memory 152, and an execution environment including two cores in the CPU 151 and a storage area of 2 GB in the memory 152. In this case, the information resource allocation support device 10 may allocate the execution of the script to one of the above-mentioned plurality of execution environments based on the execution time of the script output from the output unit 13 and the usage fee of the hardware resources 15. When there is no execution environment having a configuration matching the amount of the hardware resources 15 determined by the allocation unit, the information resource allocation support device 10 may control the hardware resources 15 to newly launch an execution environment matching the amount.
[0065] The information resource allocation support device 10 controls the hardware resource 15 to which the execution of the script is assigned so as to start execution of the script. After the execution of the script by the hardware resource 15 is completed, the information resource allocation support device 10 generates or updates execution history information 143 indicating the execution history of the script.
[0066] The information resource allocation support device 10 is provided with a library function for reading data (files) from the storage unit 14. When the information resource allocation support device 10 reads data using the library function, it stores information such as the size of the read data, the number of data attributes, the number of data samples, etc., in the storage unit 14 as execution history information 143. By reading out the library function, the information resource allocation support device 10 stores the execution start date and time of the script and the execution time calculated from the difference between the execution end date and time and the execution start date and time in the storage unit 14 as execution history information 143.
[0067] Next, the operation (processing) of the information resource allocation support device 10 according to this embodiment will be described in detail with reference to the flowcharts of FIG. 4 and FIG.
[0068] FIG. 4 is a flowchart showing the overall operation of the information resource allocation support device 10 according to this embodiment.
[0069] The acquisition unit 11 acquires, via the chatbot, the permissible condition information 141 related to the script to be executed, and stores it in the storage unit 14 (step S101). The calculation unit 12 refers to the execution history related to the script to be executed, which is included in the execution history information 143 stored in the storage unit 14 (step S102). The calculation unit 12 determines whether the number of times the script has been executed is equal to or greater than a threshold (step S103).
[0070] If the number of executions of the script is equal to or greater than the threshold (Yes in step S104), the information resource allocation support device 10 performs the process of step S200, which will be described later with reference to Fig. 5, and the process proceeds to step S106. If the number of executions of the script is not equal to or greater than the threshold (No in step S104), the calculation unit 12 uses a calculation formula given in advance as the calculation criterion 142, and calculates the execution time of the script and the usage fee of the hardware resource 15 based on the calculation criterion 142 and the acceptable condition information 141 (step S105). The output unit 13 outputs the calculated execution time of the script and the usage fee of the hardware resource 15 to the terminal device 20, and after the usage fee and execution time are approved by the user in the terminal device 20, the usage fee and execution time are output to the allocation unit (step S106).
[0071] The allocating unit selects a suitable execution environment for executing the script from among a plurality of execution environments having different configurations included in the hardware resource 15, based on the execution time and usage fee calculated by the calculating unit 12 (step S107). The information resource allocation assistance device 10 controls the selected execution environment so as to execute the script (step S108). After completing execution of the script, the information resource allocation assistance device 10 generates or updates execution history information 143 including the execution history and the user's evaluation of the execution time and usage fee (step S109), and the entire process ends.
[0072] Fig. 5 is a flowchart showing a detailed operation of the information resource allocation support device 10 according to this embodiment for calculating the execution time and the usage fee based on the calculation criterion 142 generated or updated while performing a regression analysis on the evaluation results of the execution time of the script and the usage fee of the hardware resource 15. Note that the flowchart shown in Fig. 5 corresponds to the process of step S200 described above with reference to Fig. 4.
[0073] The calculation unit 12 sets the value of the variable X to a predetermined initial value related to the amount of the hardware resources 15 to be used (step S201). The calculation unit 12 searches the execution history related to the script to be executed for a script having the same input data size and using the same amount of the hardware resources 15 as X (step S202).
[0074] If there is no unconfirmed execution history that satisfies the condition (No in step S203), the calculation unit 12 performs the process of step S105 described above with reference to Fig. 4, and the process of step S200 ends. If there is an unconfirmed execution history that satisfies the condition (Yes in step S203), the calculation unit 12 checks the execution time of the script in the execution history that satisfies the condition and the evaluation of the usage fee for the hardware resource 15 (step S204).
[0075] If the evaluation is "appropriate" (Yes in step S205), the calculation unit 12 determines the amount of hardware resources 15 to be used as the value of X (step S207), and the process of step S200 ends. If the evaluation is not "appropriate" (No in step S205), the calculation unit 12 decreases the value of X according to a predetermined criterion if the evaluation is "I would like to make the usage fee cheaper even if the execution time is longer", and increases the value of X according to a predetermined criterion if the evaluation is "I would like to make the execution time shorter even if the usage fee is higher" (step S206), and the process returns to step S202.
[0076] The information resource allocation support device 10 according to this embodiment can provide the user with resources capable of executing the desired AI processing at a usage fee and execution time of the AI processing that the user allows. This is because the information resource allocation support device 10 calculates, using the calculation criteria 142, an execution time and usage fee for the hardware resources 15 that execute the information processing that satisfy the user's tolerance conditions.
[0077] The following describes the effects achieved by the information resource allocation support device 10 according to this embodiment.
[0078] For example, with cloud AI, users can pay a set fee to use hardware resources from other companies' data centers to execute desired AI processing. However, when using other companies' hardware resources, it is difficult to balance the usage fee that meets the user's needs with the execution time of the AI processing that the user is willing to accept.
[0079] The information resource allocation support device 10 according to this embodiment includes an acquisition unit 11, a calculation unit 12, and an output unit 13, and operates as described above with reference to, for example, Figs. 1 to 5. That is, the acquisition unit 11 acquires permissible condition information 141 related to the execution time required for execution of a first AI processing desired by a user and the usage fee of the hardware resource 15 used for the first AI processing. The calculation unit 12 calculates the execution time required for the first AI processing that satisfies the permissible condition and the usage fee of the hardware resource 15 used for the first AI processing based on a calculation criterion 142 related to the relationship between the execution time required for the second AI processing and the usage fee of the hardware resource 15 used for the second AI processing. Then, the output unit 13 outputs the execution time and the usage fee calculated by the calculation unit 12.
[0080] In other words, the information resource allocation support device 10 of this embodiment calculates, using the calculation criterion 142, the execution time and usage fee for the hardware resource 15 that executes the script that satisfies the user's tolerance conditions, and can provide the user with resources that can execute the desired AI processing within the usage fee and execution time of the AI processing that the user can tolerate.
[0081] Furthermore, the information resource allocation support device 10 according to this embodiment acquires execution history information 143 including the execution time required to execute a script and the usage fee of the hardware resource 15 for executing the script. The information resource allocation support device 10 then refers to the evaluation results as to whether the execution time and the usage fee are appropriate. This allows the information resource allocation support device 10 to calculate a balanced usage fee and execution time for the execution of the script.
[0082] The acquiring unit 11 according to the present embodiment may further acquire a data size of the program code related to the script to be executed. In this case, the calculating unit 12 may further use the data size to calculate, based on the calculation criterion 142, an execution time required to execute the script that satisfies the permissible conditions indicated by the permissible condition information 141, and a usage fee for the hardware resource 15 to be used.
[0083] Furthermore, the information resource allocation support device 10 according to this embodiment acquires the acceptable condition information 141 input by the user via the chatbot. Then, the information resource allocation support device 10 changes the input format by the user regarding the execution requirements, such as the size of the input data, in accordance with the script to be executed, in the UI via the chatbot. This enables the information resource allocation support device 10 to acquire the acceptable condition information 141 that more accurately reflects the user's requirements, through a simple input operation by the user.
[0084] Furthermore, the information resource allocation assistance device 10 according to this embodiment includes a plurality of hardware resources 15 with different configurations that are capable of executing a script, and allocates execution of the script to one of the plurality of hardware resources 15 based on the amount of the hardware resources 15 according to the calculated execution time and usage fee. This allows the information resource allocation assistance device 10 to realize prompt start of execution of the script by the hardware resources 15.
[0085] <Second embodiment> Fig. 6 is a block diagram showing a configuration of an information resource allocation support device 30 according to the second embodiment of the present invention. However, for convenience of explanation, hardware resources 34 are shown in Fig. 6, and the operation of information resource allocation support device 30 will be explained taking into account the relationship with the hardware resources 34.
[0086] The information resource allocation support device 30 according to this embodiment includes an acquisition unit 31, a calculation unit 32, and an output unit 33. The acquisition unit 31, the calculation unit 32, and the output unit 33 are examples of an acquisition means, a calculation means, and an allocation means, respectively.
[0087] The acquisition unit 31 acquires permissible conditions 310 related to the execution time required for executing a first AI processing desired by a user and the usage fee of a hardware resource 34 used for the first AI processing. The hardware resource 34 is, for example, a resource similar to the hardware resource 15 according to the first embodiment. The first AI processing is, for example, a process such as a script according to the first embodiment. The permissible conditions 310 are, for example, information similar to the permissible condition information 141 according to the first embodiment. The acquisition unit 31 operates in the same manner as, for example, the acquisition unit 11 according to the first embodiment.
[0088] The calculation unit 32 calculates the execution time required for the first AI processing that satisfies the tolerance condition 310 and the usage fee for the hardware resources used for the first AI processing, based on calculation criteria 320 related to the relationship between the execution time required for the second AI processing and the usage fee for the hardware resources 34 used for the second information processing. The calculation criteria 320 is, for example, a criterion similar to the calculation criteria 142 according to the first embodiment. The calculation unit 32 operates in the same manner as the calculation unit 12 according to the first embodiment, for example.
[0089] The output unit 33 outputs the execution time and the usage fee calculated by the calculation unit 32. The output unit 33 operates in the same manner as the output unit 13 according to the first embodiment, for example.
[0090] The information resource allocation support device 30 according to this embodiment can provide the user with resources capable of executing the desired AI processing at a usage fee and execution time of the AI processing that the user is willing to accept. This is because the information resource allocation support device 30 can present the user with an execution time and usage fee that meets the user's tolerance conditions for the hardware resources 34 that execute the information processing.
[0091] <Hardware configuration example> In each of the above-mentioned embodiments, each unit in the information resource allocation support device shown in Fig. 1 and Fig. 6 can be realized by a dedicated HW (Hardware) (electronic circuit). In Fig. 1 and Fig. 6, at least the following configurations can be considered as functional (processing) units (software modules) of a software program including instructions executed by a processor. Acquisition units 11 and 31, Calculation units 12 and 32, Output units 13 and 33, A memory control function in the memory unit 14; ·Generation part 16.
[0092] However, the division of the various parts shown in these drawings is for the convenience of explanation, and various configurations may be assumed for implementation. An example of the hardware environment in this case will be described with reference to FIG.
[0093] Fig. 7 is a diagram for explaining an example of the configuration of an information processing device 900 (computer) capable of realizing the information resource allocation support device according to each embodiment of the present invention. That is, Fig. 7 shows the configuration of a computer (information processing device) capable of realizing the information resource allocation support device shown in Fig. 1 and Fig. 6, and represents a hardware environment capable of realizing each function in the above-mentioned embodiment.
[0094] The information processing device 900 shown in FIG. ·CPU(Central_Processing_Unit)901, ROM (Read_Only_Memory) 902, ·RAM(Random_Access_Memory)903, Hard disk (storage device) 904, A communication interface 905; Bus 906 (communication line), A reader / writer 908 capable of reading and writing data stored in a recording medium 907 such as a CD-ROM (Compact Disc Read Only Memory), · Input / output interfaces 909 such as monitors, speakers, keyboards, etc.
[0095] That is, the information processing device 900 including the above components is a general computer in which these components are connected via a bus 906. The information processing device 900 may include a plurality of CPUs 901, or may include a CPU 901 configured with a multi-core.
[0096] The above-described embodiment may supply a computer program capable of realizing the following functions to the information processing device 900 shown in Fig. 7. For example, the functions are the above-described configurations in the block configuration diagrams (Figs. 1 and 6) referred to in the description of the embodiment, or the functions of the flowcharts (Figs. 4 and 5). The functions of the information resource allocation support device according to this embodiment are then achieved by reading the computer program into the CPU 901 of the hardware, interpreting and executing it. The computer program supplied to the device may be stored in a readable and writable volatile memory (RAM 903), or a non-volatile storage device such as a ROM 902 or a hard disk 904.
[0097] In the above case, the method of supplying the computer program into the hardware can employ currently common procedures. Examples of such procedures include a method of installing the program into the device via various recording media 907 such as a CD-ROM, or a method of downloading the program from an external source via a communication line such as the Internet. In such a case, the computer program supplied to the information processing device according to this embodiment can be considered to be composed of the code constituting the program, or the recording media 907 on which the code is stored.
[0098] The present invention has been described above by taking the above-mentioned embodiment as an exemplary example. However, the present invention is not limited to the above-mentioned embodiment. That is, the present invention can be applied in various aspects that can be understood by a person skilled in the art within the scope of the present invention.
[0099] This application claims priority based on Japanese Patent Application No. 2021-051807, filed on March 25, 2021, the disclosure of which is incorporated herein in its entirety. [Explanation of symbols]
[0100] 10. Information resource allocation support device 11 Acquisition Department 12 Calculation section 13 Output section 14 Storage section 141 Acceptable Condition Information 142 Calculation criteria 143 Execution History Information 15 Hardware Resources 151 CPU 152 Memory 16 Generation part 20 Terminal Equipment 200 display screen 30 Information resource allocation support device 31 Acquisition Department 310 Acceptable Conditions 32 Calculation section 320 Calculation criteria 33 Output section 34 Hardware Resources 900 Information processing device 901 CPU 902 ROM 903 RAM 904 Hard disk (storage device) 905 Communication Interface 906 Bus 907 Recording media 908 Reader / Writer 909 Input / Output Interface
Claims
1. An acquisition means for acquiring allowable conditions regarding an execution time required for a first AI (Artificial Intelligence) processing that a user desires to execute and a usage fee for a hardware resource used for the first AI processing; a calculation means for calculating an execution time required for the first AI processing that satisfies the tolerance condition and a usage fee for a hardware resource used for the first AI processing, based on a calculation criterion generated using an evaluation by the user regarding a relationship between an execution time required for a second AI processing that was executed in the past and a usage fee for a hardware resource used for the second AI processing; an output means for outputting the execution time and the usage fee calculated by the calculation means; An information resource allocation support device comprising:
2. The acquisition means acquires the permissible conditions input by the user via a chatbot.
2. An information resource allocation support device according to claim 1.
3. Further comprising a generating means for generating the calculation criterion by learning the relationship between the execution time required for the second AI processing and the usage fee of the hardware resource used for the second AI processing and the user's evaluation regarding the relationship.
3. An information resource allocation support device according to claim 1.
4. The acquiring means acquires an evaluation by the user of an execution time required for the first AI processing and a usage fee for a hardware resource used for the first AI processing, the execution time being output by the output means.
4. An information resource allocation support device according to claim 3.
5. The acquisition means acquires the allowable conditions including the size of the input data used by the first AI processing.
5. An information resource allocation support device according to claim 1.
6. The acquisition means further acquires a data size of the program code related to the first AI processing, The calculation means further uses the data size to calculate, based on the calculation criterion, an execution time required for the first AI processing that satisfies the tolerance condition and a usage fee for hardware resources used for the first AI processing.
6. An information resource allocation support device according to claim 1.
7. By the information processing device, Acquire allowable conditions regarding the execution time required for a first AI processing operation that the user desires to execute and the usage fee for hardware resources used for the first AI processing operation; Calculate the execution time required for the first AI processing that satisfies the tolerance condition and the usage fee of the hardware resources used for the first AI processing based on a calculation criterion generated using the user's evaluation regarding the relationship between the execution time required for the second AI processing that was executed in the past and the usage fee of the hardware resources used for the second AI processing; Output the calculated execution time and usage fee. A method for supporting information resource allocation.
8. An acquisition process for acquiring allowable conditions regarding the execution time required for a first AI processing operation that a user desires to execute and the usage fee for hardware resources used in the first AI processing operation; A calculation process for calculating the execution time required for the first AI processing that satisfies the tolerance condition and the usage fee of the hardware resources used for the first AI processing, based on a calculation criterion generated using the user's evaluation regarding the relationship between the execution time required for the second AI processing that was executed in the past and the usage fee of the hardware resources used for the second AI processing; an output process for outputting the execution time and the usage fee calculated by the calculation process; An information resource allocation support program for causing a computer to execute the above.
Citation Information
Patent Citations
Charging system by operation unit
JP2001319153A
System proposing method, device for performing it, storage medium storing its processing program
JP2002183416A
Method and system for trading information processing performance
JP2007140906A
Systems and methods for optimizing cloud service selection based on price and performance
JP2017521765A
Resource determination device, resource determination method and resource determination processing program
JP2019087105A
Cited By
Information processing device and control method
JP2026145652A
Information processing device and control method
JP7805497B1
