WO2022202676A1 - Information resource allocation assistance device, information resource allocation assistance method, and recording medium storing information resource allocation assistance program - Google Patents

Information resource allocation assistance device, information resource allocation assistance method, and recording medium storing information resource allocation assistance program Download PDF

Info

Publication number
WO2022202676A1
WO2022202676A1 PCT/JP2022/012662 JP2022012662W WO2022202676A1 WO 2022202676 A1 WO2022202676 A1 WO 2022202676A1 JP 2022012662 W JP2022012662 W JP 2022012662W WO 2022202676 A1 WO2022202676 A1 WO 2022202676A1
Authority
WO
WIPO (PCT)
Prior art keywords
processing
execution time
usage fee
resource allocation
execution
Prior art date
Application number
PCT/JP2022/012662
Other languages
French (fr)
Japanese (ja)
Inventor
雄一 赤池
Original Assignee
日本電気株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 日本電気株式会社 filed Critical 日本電気株式会社
Priority to JP2023509130A priority Critical patent/JPWO2022202676A5/en
Publication of WO2022202676A1 publication Critical patent/WO2022202676A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services

Definitions

  • the present invention relates to an information resource allocation support device, an information resource allocation support method, and an information resource allocation support program.
  • information processing resources for executing information processing in accordance with the performance requirements for the information processing to be executed. For example, if an excessive amount of information processing resources is allocated for requirements such as performance, some of the information processing resources may not be effectively used, and the usage fee for the information processing resources may become higher than necessary. Alternatively, for example, if insufficient information processing resources are allocated to requirements such as performance, the execution time of information processing may become unacceptably long, or information processing may end abnormally due to insufficient resources. Therefore, a technique for appropriately allocating information processing resources according to requirements for information processing is expected.
  • Patent Document 1 discloses an arrangement device that arranges network functions to multiple types of hardware.
  • This device stores statistical information including performance information representing the resource consumption and performance of each of a plurality of types of hardware that are candidates for placement of functions.
  • This device accepts input of functional description contents in a high-level language, which is a hardware description language corresponding to multiple types of hardware, and performance requirements representing required performance.
  • This device calculates predicted performance, which is predicted performance, and predicted resource consumption, which is predicted resource consumption, for each piece of hardware using description content and a predetermined algorithm. Then, the device selects, as a placement destination, hardware for which the calculated predicted performance and performance information satisfy the performance requirements and the total value of the predicted resource consumption amount and the resource consumption amount is equal to or less than the resource capacity.
  • Patent Document 2 discloses a resource determination device that determines a combination of resources and resource parameters that are suitable for the needs of the service layer.
  • the device analyzes service layer needs expressed in natural language for communication services.
  • the device determines a combination of resources suitable for the needs of the analyzed service layer.
  • the device then determines the parameters of the resources included in the determined combination of resources.
  • cloud AI Artificial Intelligence
  • cloud AI Artificial Intelligence
  • a main object of the present invention is to provide an information resource allocation support device or the like that solves the above-mentioned problems.
  • Acquisition means for acquiring user-desired permissible conditions regarding the execution time required for execution of the first AI processing and the usage fee for the hardware resources used for the first AI processing; the execution time required for the first AI processing that satisfies the allowable condition, and the first and an output means for outputting the execution time and the usage fee calculated by the calculating means.
  • an information resource allocation support method provides a user-desired execution time required for execution of a first AI process and an execution time required for the first AI process. Acquire the permissible conditions related to the hardware resource usage fee and the usage fee of the hardware resource used for the second AI processing, based on the calculation criteria related to the relationship between the execution time required for the second AI processing and the hardware resource usage fee used for the second AI processing. An execution time required for the first AI processing that satisfies an allowable condition and a usage fee for hardware resources used in the first AI processing are calculated, and the calculated execution time and usage fee are output.
  • an information resource allocation support program provides a user-desired execution time required to execute a first AI process and the first AI process.
  • Acquisition processing for acquiring permissible conditions related to usage fees for hardware resources used, execution time required for second AI processing, and calculation criteria for the relationship between usage fees for hardware resources used in the second AI processing a calculation process for calculating an execution time required for the first AI process that satisfies the allowable condition and a usage fee for hardware resources used in the first AI process, based on the calculation process; and an output process for outputting the execution time and usage fee calculated by the computer.
  • the present invention can also be implemented by a computer-readable, non-volatile recording medium storing such an information resource allocation support program (computer program).
  • the present invention it is possible to provide the user with a resource capable of executing desired AI processing at the usage fee and execution time allowed by the user.
  • FIG. 1 is a block diagram showing the configuration of an information resource allocation support device 10 according to a first embodiment of the present invention
  • FIG. When the acquisition unit 11 according to the first embodiment of the present invention acquires the permissible condition information 141 via the chatbot, an input instruction for the permissible condition information 141 by the chatbot and a user input in response to the input instruction 14 is a diagram exemplifying permissible condition information 141.
  • FIG. 4 is a diagram illustrating execution history information 143 according to the first embodiment of the present invention; FIG.
  • 4 is a flow chart showing the overall operation of the information resource allocation support device 10 according to the first embodiment of the present invention; Based on the calculation criteria 142 generated or updated by the information resource allocation support apparatus 10 according to the first embodiment of the present invention while performing a regression analysis on the evaluation performance of the execution time of the script and the usage fee of the hardware resource 15, 4 is a flow chart showing detailed operations for calculating an execution time and usage fee; It is a block diagram which shows the structure of the information resource allocation assistance apparatus 30 based on the 2nd Embodiment of this invention. 1 is a block diagram showing the configuration of an information processing device 900 capable of realizing an information resource allocation support device according to each embodiment of the present invention; FIG.
  • FIG. 1 is a block diagram showing the configuration of an information resource allocation support device 10 according to the first embodiment of the present invention.
  • the information resource allocation support device 10 balances the execution time of the script and the usage fee of the hardware resource 15 based on the user's allowable conditions. It is a device for calculating the value obtained by Note that the script according to the present embodiment is, for example, AI processing that analyzes an event to be analyzed by machine learning. AI processing is roughly divided into “learning processing” for generating a learned model and “analysis processing” executed using the learned model.
  • the hardware resource 15 has a CPU (Central Processing Unit) 151 and a memory 152 .
  • the hardware resource 15 may comprise multiple CPUs 151, and the CPUs 151 may be processors having multiple cores.
  • the memory 152 is a main memory that stores a program representing a script 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 extended storage when the CPU 151 executes the script.
  • the hardware resource 15 may be provided in the information resource allocation support device 10, as illustrated in FIG. 1, or may be a device such as a server different from the information resource allocation support device 10. It may be provided in a device communicably connected to the support device 10 .
  • the information resource allocation support device 10 is communicably connected to the terminal device 20 .
  • the terminal device 20 is an information processing device including a display screen 200, such as a personal computer, tablet, or smart phone.
  • the terminal device 20 accepts an input operation by the 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 .
  • 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 acquisition means, calculation means, output means, and generation means, respectively.
  • the storage unit 14 is a storage device such as a RAM (Random Access Memory) 903 or a hard disk 904, which will be described later with reference to FIG.
  • the storage unit 14 stores permissible condition information 141, calculation criteria 142, and execution history information 143, which will be described later.
  • the acquisition unit 11 acquires the permissible condition information 141 regarding the execution time required to execute the AI processing and the usage fee for the hardware resources used for the AI processing.
  • the allowable condition information 141 may include the name (identification information) of the script to be executed by the hardware resource 15 and the size of the input data used by the script.
  • the permissible condition information 141 is not limited to the above as long as it is information related to the execution of AI processing.
  • FIG. 2 shows an input instruction of the permissible condition information 141 by the chatbot when the acquisition unit 11 according to the present embodiment acquires the permissible condition information 141 via the chatbot, and a user input in response to the input instruction.
  • 3 is a diagram exemplifying permissible condition information 141.
  • FIG. The acquisition unit 11 displays an input instruction for the permissible condition information 141 illustrated in FIG. 2 on the display screen 200 of the terminal device 20, and acquires the permissible condition information 141 input by the user in response to the input instruction.
  • the information resource allocation support device 10 performs login processing (authentication processing) using a user ID (Identification) before displaying the screen illustrated in FIG. 2 on the display screen 200 .
  • the acquisition unit 11 displays an input instruction for the name of the script, "Please enter the script to be executed.” /home/hoge/script1.py” to get the name of the script.
  • 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 used by the script, "Please enter the number of samples (number of data lines).” acquires the value of the number of samples "300000" input by the user in response to .
  • the acquisition unit 11 displays on the display screen 200 an input instruction for the size of the number of attributes of the input data used by the script, such as "Please enter the number of attributes (the number of data columns).” Acquire the value of the attribute number "50" input by the user in response to .
  • the acquisition unit 11 displays an instruction to input an allowable script execution time (maximum value of script execution time allowed by the user) such as “Please enter an allowable execution time (seconds)” on the display screen 200 . , and acquires the allowable execution time (seconds) value of "2000" input by the user in response to the input instruction.
  • an allowable script execution time maximum value of script execution time allowed by the user
  • the acquisition unit 11 receives the server (hardware resource 15 ) is displayed on the display screen 200 to prompt the user for confirmation.
  • the server usage fee is an amount based on the amount of the hardware resource 15 used for executing the script, which is calculated by the calculation unit 12 to be described later.
  • the user has entered "N" to indicate that the allowable execution time is to be changed. This is because the user judged that the server usage fee of 1000 yen was too high.
  • the acquisition unit 11 accepts an input by the user to change the allowable execution time, such as "Please enter the allowable execution time (seconds).” is displayed on the display screen 200.
  • the allowable execution time (seconds) value of "3000" has been entered by the user.
  • the acquisition unit 11 asks the user about the server usage fee, "The server usage fee is expected to be 700 yen. Enter Y to continue execution, and enter N to change the allowable execution time.” An instruction to request confirmation again is displayed on the display screen 200 .
  • the server usage fee of 700 yen is an amount based on the amount of hardware resources 15 used to execute the script calculated by the calculator 12 based on the new allowable execution time of 3000 seconds.
  • the user has entered "Y" indicating that the script is to be executed without changing the allowable execution time. This is because the user judged that the server usage fee of 700 yen was appropriate.
  • the acquisition unit 11 displays on the display screen 200 "Preparing the execution environment. Please wait for a while.” Display a button that the user can press on the screen, "Access environment”. After the button is pressed by the user, the hardware resource 15 starts executing the script "/home/hoge/script1.py”.
  • the acquisition unit 11 changes the input format by the user regarding execution requirements such as the size of the input data used by the script according to the name of the script in the UI (User Interface) via the chatbot described above.
  • the input instruction of the permissible condition information 141 by the chatbot illustrated in FIG. 2 and the permissible condition information 141 input by the user in response to the input instruction are examples. may differ from the example of FIG.
  • the acquisition unit 11 may acquire an amount (permissible usage fee) such as "1000 yen to 1500 yen" from the user as the usage fee for the server desired by the user.
  • the acquisition unit 11 may acquire the permissible condition information 141 using a method other than the UI such as the chatbot described above.
  • the acquisition unit 11 may acquire the permissible condition information 141 input via an API (Application Programming Interface), for example.
  • API Application Programming Interface
  • the acquisition unit 11 stores the permissible condition information 141 acquired as described above in the storage unit 14 .
  • the calculation unit 12 calculates the execution time of the script and the usage fee of the hardware resource 15 based on the permissible condition information 141 stored in the storage unit 14 and the calculation criteria 142 .
  • Calculation standard 142 calculates the execution time of the script and the usage fee of the hardware resource 15 to be used from the permissible condition information 141 regarding the script to be executed, from the viewpoint of the balance between performance (execution time) and cost (usage fee). , are criteria for suitable calculation based on the user's allowable conditions (execution requirements).
  • the calculation criteria 142 are criteria given by the user, and are generated or updated by the generation unit 16 using the execution history information 143 as will be described later.
  • the execution history information 143 represents the execution requirements, the execution time, the usage fee, and the amount of the hardware resource 15 that executed the script (an example of the second AI processing) regarding the script executed in the past, It is information generated or updated by the information resource allocation support device 10 .
  • FIG. 3 is a diagram illustrating the 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 .
  • one row individually numbered represents an execution history of a script executed on a certain date and time.
  • lines numbered 1 to 6 represent the execution history related to the script "script1.py”
  • lines numbered 7 to 10 represent the execution history related to the script "script2.py”. represents.
  • 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 illustrated in FIG. 2, and the data size is a value determined from the number of data attributes and the number of data samples.
  • the execution history information 143 also includes the actual execution time (seconds) of the script, as illustrated in FIG.
  • the execution history information 143 also includes the number of used cores for the CPU 151 and the maximum used memory (MB) and reserved memory (MB) for the memory 152 as the amount of the hardware resource 15 that executed the script.
  • the reserved memory indicates the size of the area reserved in the memory 152 as a storage area for data that can be used by the script, and the maximum used memory is the area actually used by the script in the reserved area. represents the size of
  • 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 .
  • the execution history information 143 also includes the user's evaluation of the actual execution time of the script and the usage fee of the hardware resource 15 .
  • the execution history of number 1 in the execution history information 143 illustrated in FIG. 3 includes an evaluation by the user that "the execution time may be longer, so I would like the usage fee to be lower.” This means that the execution of the script indicated by the execution history of number 1 used an excessive amount of the hardware resource 15 for the execution requirements originally desired by the user.
  • the execution history numbered 2 in the execution history information 143 illustrated in FIG. This means that an insufficient amount of the hardware resource 15 was used for the execution requirements originally desired by the user in executing the script indicated by the execution history of number 2 .
  • the execution history number 4 in the execution history information 143 illustrated in FIG. 3 includes the user's evaluation of "appropriate.” This means that an appropriate amount of hardware resources 15 that meet the execution requirements originally desired by the user were used in executing the script indicated by the execution history of number 4 .
  • execution history information 143 illustrated in FIG. 3 is an example, and the execution history information 143 may include items different from the items illustrated in FIG.
  • 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 .
  • the calculation unit 12 first determines in the execution history information 143 whether or not the number of executions of the script to be executed is equal to or greater than a predetermined threshold. That is, the calculation unit 12 determines whether or not a sufficient amount of execution history has been accumulated for the script to be executed. When the number of executions of the script is less than a predetermined threshold (that is, the execution history is not sufficiently accumulated yet), the calculation unit 12 uses the calculation formula given in advance by the user as the calculation standard 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 permissible condition information 141 .
  • the calculation formula is, for example, a calculation formula that uses the script name (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. be.
  • the calculation unit 12 calculates based on the calculation criteria 142. , the execution time of the script and the usage fee of the hardware resource 15 are calculated. At this time, the generation unit 16 generates or updates the calculation criteria 142 while performing regression analysis on the user's evaluation indicated by the execution history information 143 .
  • the calculation unit 12 sets the amount of the hardware resource 15 to be used as a variable X, and sets the value of the variable X to a predetermined initial value.
  • the calculation unit 12 sets, for example, the number of cores of the CPU 151 as a variable X, and sets “1” as its initial value.
  • the calculation unit 12 finds in the execution history of the script to be executed that the size of the input data is the same and the amount of the hardware resource 15 to be used is the same as X (that is, the initial value “1”). Search for what is For example, the execution history information 143 is as exemplified in FIG. 12000". In this case, the execution history of number 2 in the execution history information 143 substantially matches the search condition described above. Then, since the evaluation by the user in the execution history of number 2 is "I want to make the execution time shorter because the usage fee may be higher", the generation unit 16 updates the calculation criteria 142, for example, the variable Set X to "2" which is twice the current value.
  • the calculation unit 12 finds, in the execution history related to the script to be executed, that the size of the input data is the same and the amount of the hardware resource 15 to be used is the same as X (that is, "2"). search for something.
  • the execution history of number 3 in the execution history information 143 substantially matches the search condition described above.
  • the generation unit 16 updates the calculation criteria 142, for example, the variable Set X to "4" which is double the current value.
  • the calculation unit 12 further determines, in the execution history of the script to be executed, that the size of the input data is the same and the amount of the hardware resource 15 to be used is the same as X (that is, "4"). Search for what is In this case, the execution history of number 4 in the execution history information 143 substantially matches the search condition described above. Since the user's evaluation of the execution history of number 4 is "appropriate", the generation unit 16 determines the value of the desired variable X (that is, the number of cores of the CPU 151) to be "4".
  • the calculation unit 12 and the generation unit 16 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 criteria 142 by a procedure different from the procedure described above. good too.
  • the generation unit 16 determines that the execution time of the script is Create or update the calculation criteria 142 so that they are longer and cost less to use the hardware resource 15 .
  • the permissible execution time (not shown) in the execution history of number 2 is a value shorter than the actual execution time of 1350 seconds.
  • the generation unit 16 determines that the execution time of the script is Create or update the calculation criteria 142 so that it is shorter and charges more for using the hardware resource 15 .
  • the permissible execution time (not shown) in the execution history of number 2 is approximately the same value as the actual execution time of 658 seconds.
  • the generation unit 16 determines the execution time and The calculation criteria 142 are generated or updated so that the usage fee for the hardware resource 15 becomes the value indicated by number 4 .
  • the generation unit 16 generates the calculation criteria 142 by learning the relationship between the permissible condition information 141 acquired in the past and the execution history information 143 corresponding to the permissible condition information 141 .
  • the generation unit 16 generates or updates a model representing the calculation criteria 142 by performing learning using the execution history information 143 as learning data.
  • the generating unit 16 for example, for each script to be executed, determines the relationship between the size of the input data and the allowable execution time (not shown), the execution time of the script, and the usage fee of the hardware resource 15. , learning may be performed using the user's evaluation as a label.
  • the output unit 13 outputs the usage fee and the execution time calculated by the calculation unit 12.
  • the output unit 13 outputs the usage fee and the execution time calculated by the calculation unit 12 to the terminal device 20 .
  • the output unit 13 outputs the execution time of the script and the usage fee of the hardware resource 15 calculated as described above based on the allowable condition information 141 and the calculation criteria 142. You may output to the allocation part (not shown) with which the resource allocation assistance apparatus 10 is equipped.
  • 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 for the hardware resources 15 . The allocation unit then allocates the determined amount of hardware resources 15 to execute the script.
  • the hardware resource 15 may include a plurality of execution environments in which scripts can be executed, with different configurations of the CPU 151 and memory 152 .
  • the multiple execution environments with different configurations are, for example, an execution environment including one core in the CPU 151 and a 1 GB (gigabyte) storage area in the memory 152, and two cores in the CPU 151 and a 2 GB storage area in the memory 152. It is an execution environment including In this case, the information resource allocation support device 10 selects one of the plurality of execution environments described above based on the execution time of the script output from the output unit 13 and the usage fee of the hardware resource 15. All you have to do is assign execution. If there is no execution environment with a configuration that matches the amount of hardware resources 15 determined by the allocation unit, the information resource allocation support device 10 instructs the hardware resources 15 to newly start up an execution environment that matches the amount. may be controlled.
  • the information resource allocation support device 10 controls the hardware resource 15 allocated to execute the script so as to start executing 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 the execution history information 143 representing the execution history of the script.
  • the information resource allocation support device 10 is provided with library functions for reading data (files) from the storage unit 14 .
  • the information resource allocation support device 10 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 the execution history information 143 .
  • the information resource allocation support device 10 stores the script execution start date and time and the execution time obtained from the difference between the execution end date and time and the execution start date and time in the storage unit 14 as the execution history information 143. Store.
  • FIG. 4 is a flowchart showing the overall operation of the information resource allocation support device 10 according to this embodiment.
  • the acquisition unit 11 acquires the permissible condition information 141 regarding the script to be executed via the chatbot, and stores it in the storage unit 14 (step S101).
  • the calculation unit 12 refers to the execution history regarding 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 or not the number of times the script has been executed is greater than or equal to a threshold (step S103).
  • step S104 If the number of times the script has been executed is greater than or equal to 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.
  • the calculation unit 12 uses a calculation formula given in advance as the calculation criterion 142, and based on the calculation criterion 142 and the permissible condition information 141, , the execution time of the script and the usage fee of the hardware resource 15 are calculated (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 the execution time are approved by the user in the terminal device 20, the usage fee is calculated. And the execution time is output to the allocation unit (step S106).
  • the allocation unit selects a suitable execution environment for executing the script from among a plurality of execution environments with different configurations included in the hardware resource 15. (step S107).
  • the information resource allocation support device 10 controls the selected execution environment so as to execute the script (step S108).
  • the information resource allocation support device 10 After the execution of the script is completed, the information resource allocation support device 10 generates or updates the execution history information 143 including the execution history and the user's evaluation of the execution time and usage fee (step S109). Processing ends.
  • FIG. 5 shows that the information resource allocation support apparatus 10 according to the present embodiment executes based on the calculation criteria 142 generated or updated while performing the regression analysis on the evaluation performance of the execution time of the script and the usage fee of the hardware resource 15.
  • 4 is a flowchart showing detailed operations for calculating time and usage fees; However, the flowchart shown in FIG. 5 corresponds to the process of step S200 described above with reference to FIG.
  • the calculation unit 12 sets the value of the variable X to a predetermined initial value related to the amount of hardware resources 15 to be used (step S201).
  • the calculation unit 12 searches the execution histories related to the script to be executed for those having the same size of input data and the same amount of hardware resources 15 to be used as X (step S202). .
  • step S203 If there is no unconfirmed execution history that satisfies the conditions (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 conditions (Yes in step S203), the calculation unit 12 confirms the execution time of the script in the execution history that satisfies the conditions and the evaluation of the usage fee of the hardware resource 15 (step S204). .
  • step S205 If the evaluation is "appropriate” (Yes in step S205), the calculation unit 12 determines the amount of the hardware resource 15 to be used to be 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 sets the value of X to a predetermined criterion If the evaluation is "I want to shorten the execution time even if the usage fee is high", the value of X is increased according to a predetermined standard (step S206), and the process returns to step S202.
  • the information resource allocation support device 10 can provide the user with resources that can execute desired AI processing at the usage fee and AI processing execution time allowed by the user. This is because the information resource allocation support device 10 uses the calculation criteria 142 to calculate the execution time and usage fee that satisfy the user's allowable conditions for the hardware resource 15 that executes information processing.
  • cloud AI by paying a predetermined fee, it is possible to use hardware resources such as data centers of other companies and execute desired AI processing. However, when using the hardware resources of other companies, it is difficult to strike a balance between the user's desired usage fee and the user's allowable AI processing execution time.
  • the information resource allocation support device 10 includes an acquisition unit 11, a calculation unit 12, and an output unit 13, and operates as described above with reference to FIGS. 1 to 5, for example. That is, the acquisition unit 11 acquires the user-desired permissible condition information 141 regarding the execution time required to execute the first AI processing and the usage fee of the hardware resource 15 used for the first AI processing. .
  • the calculation unit 12 calculates the first data that satisfies the permissible condition based on the calculation standard 142 regarding 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. The execution time required for the AI processing and the usage fee for the hardware resource 15 used for the first AI processing are calculated. Then, the output unit 13 outputs the execution time and usage fee calculated by the calculation unit 12 .
  • the information resource allocation support apparatus 10 calculates the execution time and usage fee that satisfy the user's allowable conditions for the hardware resource 15 for executing the script using the calculation criteria 142. It is possible to provide the user with a resource capable of executing a desired AI process at the usage fee and the execution time of the AI process that are allowed by the user.
  • the information resource allocation support device 10 acquires the execution history information 143 including the execution time required to execute the script and the usage fee of the hardware resource 15 in executing the script. Then, the information resource allocation support device 10 refers to the evaluation result as to whether or not the execution time and usage fee are appropriate. As a result, the information resource allocation support device 10 can calculate a well-balanced usage fee and execution time for script execution.
  • the acquisition unit 11 may further acquire the data size of the program code related to the script to be executed.
  • the calculation unit 12 further uses the data size, and based on the calculation criteria 142, the execution time required to execute the script that satisfies the allowable condition indicated by the allowable condition information 141, and the hardware to be used. A usage fee for the wear resource 15 may also be calculated.
  • the information resource allocation support device 10 acquires the permissible 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 the UI via the chatbot, according to the script to be executed. As a result, the information resource allocation support device 10 can acquire the permissible condition information 141 that more accurately reflects the user's request through a simple input operation by the user.
  • the information resource allocation support device 10 includes a plurality of hardware resources 15 with different configurations that are ready to execute scripts, and the hardware resources 15 according to the calculated execution time and usage fee. , the script execution is assigned to one of the plurality of hardware resources 15 . As a result, the information resource allocation support device 10 can quickly start execution of the script by the hardware resource 15 .
  • FIG. 6 is a block diagram showing the configuration of the information resource allocation support device 30 according to the second embodiment of the present invention. However, for convenience of explanation, the hardware resources 34 are shown in FIG.
  • the information resource allocation support device 30 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 acquisition means, calculation means, and allocation means, respectively.
  • the acquisition unit 31 acquires user-desired permissible conditions 310 regarding the execution time required to execute the first AI process and the usage fee for the hardware resource 34 used in the first AI process.
  • the hardware resource 34 is, for example, a resource similar to the hardware resource 15 according to the first embodiment.
  • the first AI process is, for example, a script-like process according to the first embodiment.
  • the permissible condition 310 is, for example, information similar to the permissible condition information 141 according to the first embodiment.
  • the acquisition unit 31 operates, for example, in the same manner as the acquisition unit 11 according to the first embodiment.
  • the calculation unit 32 calculates the first AI processing that satisfies the permissible condition 310 based on the calculation criteria 320 regarding the relationship between the execution time required for the second AI processing and the usage fee of the hardware resource 34 used for the second information processing. and the usage fee for the hardware resources used for the first AI processing.
  • the calculation criterion 320 is, for example, the same criterion as the calculation criterion 142 according to the first embodiment.
  • the calculator 32 operates, for example, in the same manner as the calculator 12 according to the first embodiment.
  • the output unit 33 outputs the execution time and usage fee calculated by the calculation unit 32 .
  • the output unit 33 operates, for example, in the same manner as the output unit 13 according to the first embodiment.
  • the information resource allocation support device 30 can provide the user with resources that can execute desired AI processing at the usage fee and AI processing execution time allowed by the user. The reason for this is that the information resource allocation support device 30 can present to the user the execution time and usage fee that satisfy the user's allowable conditions regarding the hardware resource 34 for executing information processing.
  • Each unit in the information resource allocation support apparatus shown in FIG. 1 and FIG. 6 in each of the above-described embodiments can be realized by a dedicated HW (Hardware) (electronic circuit).
  • HW Hardware
  • FIGS. 1 and 6 at least the following configuration can be regarded as a functional (processing) unit (software module) of a software program including instructions to be executed by a processor.
  • FIG. 7 is a diagram illustrating the configuration of an information processing device 900 (computer) capable of realizing an 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 FIGS. show.
  • the information processing apparatus 900 shown in FIG. 7 has the following components as components.
  • CPU Central_Processing_Unit
  • ROM Read_Only_Memory
  • RAM Random_Access_Memory
  • Hard disk storage device
  • 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); -
  • An input/output interface 909 such as a monitor, a speaker, and a keyboard.
  • the information processing device 900 having the above components is a general computer in which these components are connected via a bus 906 .
  • the information processing apparatus 900 may include a plurality of CPUs 901 or may include CPUs 901 configured by multi-cores.
  • a computer program capable of realizing the following functions may be supplied to the information processing apparatus 900 shown in FIG.
  • the function is the above-described configuration in the block configuration diagrams (FIGS. 1 and 6) referred to in the description of the embodiment, or the function of the flow charts (FIGS. 4 and 5).
  • the functions of the information resource allocation support apparatus according to this embodiment are achieved by reading the computer program to the CPU 901 of the hardware, interpreting it, and executing it.
  • the computer program supplied to the apparatus may be stored in a readable/writable volatile memory (RAM 903) or a nonvolatile storage device such as ROM 902 or hard disk 904.
  • the method of supplying the computer program to the hardware concerned can adopt a general procedure at present.
  • the procedure includes, for example, a method of installing in the device via various recording media 907 such as a CD-ROM, and a method of downloading from the outside via a communication line such as the Internet.
  • the computer program supplied to the information processing apparatus according to this embodiment can be considered to be composed of the code that constitutes the program or the recording medium 907 that stores the code. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

An information resource allocation assistance device 30 comprises: an acquisition unit 31 for acquiring acceptable conditions 310 relating to an execution time required for executing first AI processing and a usage fee for a hardware resource 34 used for the first AI processing, the time and fee being desired by a user; a calculation unit 32 for calculating, on the basis of calculation criteria 320 relating to the relationship between an execution time required for second AI processing and a usage fee for the hardware resource 34 used for the second AI processing, the execution time required for the first AI processing, and the usage fee for the hardware resource 34 used for the first AI processing that satisfy the acceptable conditions 310; and an output unit 33 for outputting the execution time and the usage fee calculated by the calculation unit 32. Thus, the user is provided with a resource with which it is possible to execute desired AI processing at the usage fee and within the AI processing execution time that are permissible by the user.

Description

情報資源割当支援装置、情報資源割当支援方法、及び、情報資源割当支援プログラムが格納された記録媒体Information resource allocation support device, information resource allocation support method, and recording medium storing information resource allocation support program
 本発明は、情報資源割当支援装置、情報資源割当支援方法、及び、情報資源割当支援プログラムに関する。 The present invention relates to an information resource allocation support device, an information resource allocation support method, and an information resource allocation support program.
 コンピュータシステムにおいては、実行する情報処理に対する性能等に関する要件に応じて、その情報処理を実行する情報処理資源(リソース)を適切に割り当てることが重要である。例えば、性能等の要件に対して過大な情報処理資源を割り当てた場合、一部の情報処理資源が有効活用されないとともに、情報処理資源の使用料金が必要以上に高くなるおそれがある。あるいは例えば、性能等の要件に対して過少な情報処理資源を割り当てた場合、情報処理の実行時間が許容できないほど長くなったり、資源不足により情報処理が異常終了したりするおそれがある。したがって、情報処理に対する要件に応じて、情報処理資源の割り当てを適切に行う技術が期待されている。 In a computer system, it is important to appropriately allocate information processing resources (resources) for executing information processing in accordance with the performance requirements for the information processing to be executed. For example, if an excessive amount of information processing resources is allocated for requirements such as performance, some of the information processing resources may not be effectively used, and the usage fee for the information processing resources may become higher than necessary. Alternatively, for example, if insufficient information processing resources are allocated to requirements such as performance, the execution time of information processing may become unacceptably long, or information processing may end abnormally due to insufficient resources. Therefore, a technique for appropriately allocating information processing resources according to requirements for information processing is expected.
 このような技術に関連する技術として、特許文献1には、複数種のハードウェアへのネットワーク機能の配置を行う配置装置が開示されている。この装置は、機能の配置先の候補である複数種のハードウェアのそれぞれのリソース消費量と性能を表す性能情報とを含む統計情報を記憶する。この装置は、複数種のハードウェアに対応したハードウェア記述言語である高位言語による機能の記述内容と、要求される性能を表す性能要件との入力を受け付ける。この装置は、ハードウェアごとに、記述内容と所定のアルゴリズムとを用いて、予測される性能である予測性能と、予測されるリソース消費量である予測リソース消費量とを算出する。そしてこの装置は、算出された予測性能および性能情報が性能要件を満たし、かつ予測リソース消費量とリソース消費量との合計値がリソース容量以下であるハードウェアを、配置先として選択する。 As a technology related to such technology, Patent Document 1 discloses an arrangement device that arranges network functions to multiple types of hardware. This device stores statistical information including performance information representing the resource consumption and performance of each of a plurality of types of hardware that are candidates for placement of functions. This device accepts input of functional description contents in a high-level language, which is a hardware description language corresponding to multiple types of hardware, and performance requirements representing required performance. This device calculates predicted performance, which is predicted performance, and predicted resource consumption, which is predicted resource consumption, for each piece of hardware using description content and a predetermined algorithm. Then, the device selects, as a placement destination, hardware for which the calculated predicted performance and performance information satisfy the performance requirements and the total value of the predicted resource consumption amount and the resource consumption amount is equal to or less than the resource capacity.
 また、特許文献2には、サービスレイヤの要望に適したリソースの組合せおよびリソースのパラメータを決定するリソース決定装置が開示されている。この装置は、通信サービスについて、自然言語で表現されたサービスレイヤの要望を解析する。この装置は、解析したサービスレイヤの要望に適したリソースの組合せを決定する。そしてこの装置は、決定したリソースの組合せに含まれるリソースのパラメータを決定する。 In addition, Patent Document 2 discloses a resource determination device that determines a combination of resources and resource parameters that are suitable for the needs of the service layer. The device analyzes service layer needs expressed in natural language for communication services. The device determines a combination of resources suitable for the needs of the analyzed service layer. The device then determines the parameters of the resources included in the determined combination of resources.
特開2019-212069号公報JP 2019-212069 A 特開2019-087105号公報JP 2019-087105 A
 例えば、クラウドAI(Artificial Intelligence)では、所定の料金を支払うことでクラウド上のリソースを使用し、所望のAI処理を実行することができる。しかしながら、クラウド上のリソースを使用する場合、ユーザの希望に沿った使用料金と、ユーザの許容するAI処理の実行時間とのバランスを取ることは難しい。 For example, with cloud AI (Artificial Intelligence), it is possible to use resources on the cloud and execute desired AI processing by paying a predetermined fee. However, when using resources on the cloud, it is difficult to strike a balance between the user's desired usage fee and the user's allowed AI processing execution time.
 本発明の主たる目的は、上述した課題を解決する情報資源割当支援装置等を提供することにある。 A main object of the present invention is to provide an information resource allocation support device or the like that solves the above-mentioned problems.
 ユーザが所望する、第一のAI処理の実行に要する実行時間と前記第一のAI処理に使用されるハードウェア資源の使用料金とに関する許容条件を取得する取得手段と、第二のAI処理に要する実行時間及び前記第二のAI処理に使用したハードウェア資源の使用料金の関係に関する算出基準に基づいて、前記許容条件を満たすような前記第一のAI処理に要する実行時間と、前記第一のAI処理に使用されるハードウェア資源の使用料金とを算出する算出手段と、前記算出手段により算出される実行時間及び使用料金を出力する出力手段と、を備える。 Acquisition means for acquiring user-desired permissible conditions regarding the execution time required for execution of the first AI processing and the usage fee for the hardware resources used for the first AI processing; the execution time required for the first AI processing that satisfies the allowable condition, and the first and an output means for outputting the execution time and the usage fee calculated by the calculating means.
 上記目的を達成する他の見地において、本発明の一態様に係る情報資源割当支援方法は、ユーザが所望する、第一のAI処理の実行に要する実行時間と前記第一のAI処理に使用されるハードウェア資源の使用料金とに関する許容条件を取得し、第二のAI処理に要する実行時間及び前記第二のAI処理に使用したハードウェア資源の使用料金の関係に関する算出基準に基づいて、前記許容条件を満たすような前記第一のAI処理に要する実行時間と、前記第一のAI処理に使用されるハードウェア資源の使用料金とを算出し、算出した実行時間及び使用料金を出力する。 In another aspect of achieving the above object, an information resource allocation support method according to an aspect of the present invention provides a user-desired execution time required for execution of a first AI process and an execution time required for the first AI process. Acquire the permissible conditions related to the hardware resource usage fee and the usage fee of the hardware resource used for the second AI processing, based on the calculation criteria related to the relationship between the execution time required for the second AI processing and the hardware resource usage fee used for the second AI processing. An execution time required for the first AI processing that satisfies an allowable condition and a usage fee for hardware resources used in the first AI processing are calculated, and the calculated execution time and usage fee are output.
 また、上記目的を達成する更なる見地において、本発明の一態様に係る情報資源割当支援プログラムは、ユーザが所望する、第一のAI処理の実行に要する実行時間と前記第一のAI処理に使用されるハードウェア資源の使用料金とに関する許容条件を取得する取得処理と、第二のAI処理に要する実行時間及び前記第二のAI処理に使用したハードウェア資源の使用料金の関係に関する算出基準に基づいて、前記許容条件を満たすような前記第一のAI処理に要する実行時間と、前記第一のAI処理に使用されるハードウェア資源の使用料金とを算出する算出処理と、前記算出処理により算出される実行時間及び使用料金を出力する出力処理と、をコンピュータに実行させる。 In addition, in a further aspect of achieving the above object, an information resource allocation support program according to an aspect of the present invention provides a user-desired execution time required to execute a first AI process and the first AI process. Acquisition processing for acquiring permissible conditions related to usage fees for hardware resources used, execution time required for second AI processing, and calculation criteria for the relationship between usage fees for hardware resources used in the second AI processing a calculation process for calculating an execution time required for the first AI process that satisfies the allowable condition and a usage fee for hardware resources used in the first AI process, based on the calculation process; and an output process for outputting the execution time and usage fee calculated by the computer.
 更に、本発明は、係る情報資源割当支援プログラム(コンピュータプログラム)が格納された、コンピュータ読み取り可能な、不揮発性の記録媒体によっても実現可能である。 Furthermore, the present invention can also be implemented by a computer-readable, non-volatile recording medium storing such an information resource allocation support program (computer program).
 本発明によれば、ユーザの許容する利用料金及びAI処理の実行時間で所望のAI処理を実行可能なリソースを、ユーザに提供することができる。 According to the present invention, it is possible to provide the user with a resource capable of executing desired AI processing at the usage fee and execution time allowed by the user.
本発明の第1の実施形態に係る情報資源割当支援装置10の構成を示すブロック図である。1 is a block diagram showing the configuration of an information resource allocation support device 10 according to a first embodiment of the present invention; FIG. 本発明の第1の実施形態に係る取得部11がチャットボットを介して許容条件情報141を取得する際の、チャットボットによる許容条件情報141の入力指示と、当該入力指示に応じてユーザが入力した許容条件情報141とを例示する図である。When the acquisition unit 11 according to the first embodiment of the present invention acquires the permissible condition information 141 via the chatbot, an input instruction for the permissible condition information 141 by the chatbot and a user input in response to the input instruction 14 is a diagram exemplifying permissible condition information 141. FIG. 本発明の第1の実施形態に係る実行履歴情報143を例示する図である。4 is a diagram illustrating execution history information 143 according to the first embodiment of the present invention; FIG. 本発明の第1の実施形態に係る情報資源割当支援装置10の全体動作を示すフローチャートである。4 is a flow chart showing the overall operation of the information resource allocation support device 10 according to the first embodiment of the present invention; 本発明の第1の実施形態に係る情報資源割当支援装置10が、スクリプトの実行時間及びハードウェア資源15の使用料金の評価実績に対する回帰分析を行いながら生成あるいは更新した算出基準142に基づいて、実行時間及び使用料金を算出する詳細動作を示すフローチャートである。Based on the calculation criteria 142 generated or updated by the information resource allocation support apparatus 10 according to the first embodiment of the present invention while performing a regression analysis on the evaluation performance of the execution time of the script and the usage fee of the hardware resource 15, 4 is a flow chart showing detailed operations for calculating an execution time and usage fee; 本発明の第2の実施形態に係る情報資源割当支援装置30の構成を示すブロック図である。It is a block diagram which shows the structure of the information resource allocation assistance apparatus 30 based on the 2nd Embodiment of this invention. 本発明の各実施形態に係る情報資源割当支援装置を実現可能な情報処理装置900の構成を示すブロック図である。1 is a block diagram showing the configuration of an information processing device 900 capable of realizing an information resource allocation support device according to each embodiment of the present invention; FIG.
 以下、本発明の実施の形態について図面を参照して詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
 <第1の実施形態>
 図1は、本発明の第1の実施の形態に係る情報資源割当支援装置10の構成を示すブロック図である。情報資源割当支援装置10は、ハードウェア資源15を用いてスクリプト(第1のAI処理の一例)を実行するに当たって、スクリプトの実行時間及びハードウェア資源15の使用料金に関してユーザの許容条件に基づくバランスのとれた値を算出する装置である。尚、本実施形態に係るスクリプトは、例えば、分析対象とする事象に対して機械学習により分析を行うAI処理である。尚、AI処理は、学習済みモデルを生成するための「学習処理」と、当該学習済みモデルを用いて実行される「分析処理」とに大別される。
<First embodiment>
FIG. 1 is a block diagram showing the configuration of an information resource allocation support device 10 according to the first embodiment of the present invention. When executing a script (an example of the first AI processing) using the hardware resource 15, the information resource allocation support device 10 balances the execution time of the script and the usage fee of the hardware resource 15 based on the user's allowable conditions. It is a device for calculating the value obtained by Note that the script according to the present embodiment is, for example, AI processing that analyzes an event to be analyzed by machine learning. AI processing is roughly divided into “learning processing” for generating a learned model and “analysis processing” executed using the learned model.
 ハードウェア資源15は、CPU(Central Processing Unit)151、及び、メモリ152を備える。ハードウェア資源15は、複数のCPU151を備えてもよく、CPU151は、複数のコアを有するプロセッサであってもよい。メモリ152は、CPU151が実行するスクリプトを表すプログラム、及び、CPU151が当該スクリプトを実行する際に使用するデータを記憶する主記憶である。ハードウェア資源15は、CPU151が当該スクリプトを実行する際の拡張記憶として使用される、ハードディスク等の記憶デバイスを含んでもよい。 The hardware resource 15 has a CPU (Central Processing Unit) 151 and a memory 152 . The hardware resource 15 may comprise multiple CPUs 151, and the CPUs 151 may be processors having multiple cores. The memory 152 is a main memory that stores a program representing a script 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 extended storage when the CPU 151 executes the script.
 ハードウェア資源15は、図1に例示する通り、情報資源割当支援装置10に備えられてもよいし、情報資源割当支援装置10とは異なるサーバ等の装置であって、通信ネットワークによって情報資源割当支援装置10と通信可能に接続された装置に備えられてもよい。 The hardware resource 15 may be provided in the information resource allocation support device 10, as illustrated in FIG. 1, or may be a device such as a server different from the information resource allocation support device 10. It may be provided in a device communicably connected to the support device 10 .
 情報資源割当支援装置10は、端末装置20と通信可能に接続されている。端末装置20は、表示画面200を備える、例えばパーソナルコンピュータ、タブレット、スマートフォン等の情報処理装置である。端末装置20は、ユーザが情報資源割当支援装置10に対して情報を入力する際に、ユーザによる入力操作を受け付ける。端末装置20は、また、情報資源割当支援装置10から出力された情報を、表示画面200に表示する。 The information resource allocation support device 10 is communicably connected to the terminal device 20 . The terminal device 20 is an information processing device including a display screen 200, such as a personal computer, tablet, or smart phone. The terminal device 20 accepts an input operation by the 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 .
 情報資源割当支援装置10は、取得部11、算出部12、出力部13、記憶部14、及び、生成部16を備える。取得部11、算出部12、出力部13、生成部16は、順に、取得手段、算出手段、出力手段、生成手段の一例である。 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 acquisition means, calculation means, output means, and generation means, respectively.
 記憶部14は、例えば図7を参照して後述するRAM(Random Access Memory)903、あるいはハードディスク904のような記憶デバイスである。記憶部14は、後述する許容条件情報141、算出基準142、及び、実行履歴情報143を記憶する。 The storage unit 14 is a storage device such as a RAM (Random Access Memory) 903 or a hard disk 904, which will be described later with reference to FIG. The storage unit 14 stores permissible condition information 141, calculation criteria 142, and execution history information 143, which will be described later.
 取得部11は、AI処理の実行に要する実行時間と、当該AI処理に使用されるハードウェア資源の使用料金と、に関する許容条件情報141を取得する。尚、許容条件情報141は、上記以外にも、ハードウェア資源15に実行させるスクリプトの名称(識別情報)と、当該スクリプトが使用する入力データの大きさと、を含んでもよい。また、許容条件情報141は、AI処理の実行に関する情報であれば、上記に限定されない。 The acquisition unit 11 acquires the permissible condition information 141 regarding the execution time required to execute the AI processing and the usage fee for the hardware resources used for the AI processing. In addition to the above, the allowable condition information 141 may include the name (identification information) of the script to be executed by the hardware resource 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 AI processing.
 図2は、本実施形態に係る取得部11がチャットボットを介して許容条件情報141を取得する際の、チャットボットによる許容条件情報141の入力指示と、当該入力指示に応じてユーザが入力した許容条件情報141とを例示する図である。取得部11は、図2に例示する許容条件情報141の入力指示を、端末装置20の表示画面200に表示し、当該入力指示に応じてユーザにより入力された許容条件情報141を取得する。尚、情報資源割当支援装置10は、図2に例示する画面を表示画面200に表示する前に、ユーザID(Identification)を用いたログイン処理(認証処理)を行うこととする。 FIG. 2 shows an input instruction of the permissible condition information 141 by the chatbot when the acquisition unit 11 according to the present embodiment acquires the permissible condition information 141 via the chatbot, and a user input in response to the input instruction. 3 is a diagram exemplifying permissible condition information 141. FIG. The acquisition unit 11 displays an input instruction for the permissible condition information 141 illustrated in FIG. 2 on the display screen 200 of the terminal device 20, and acquires the permissible condition information 141 input by the user in response to the input instruction. Note that the information resource allocation support device 10 performs login processing (authentication processing) using a user ID (Identification) before displaying the screen illustrated in FIG. 2 on the display screen 200 .
 図2の例では、取得部11は、「実行するスクリプトを入力してください。」という、スクリプトの名称の入力指示を表示画面200に表示し、当該入力指示に応じてユーザにより入力された「/home/hoge/script1.py」というスクリプトの名称を取得する。 In the example of FIG. 2, the acquisition unit 11 displays an input instruction for the name of the script, "Please enter the script to be executed." /home/hoge/script1.py” to get the name of the script.
 次に取得部11は、「サンプル数(データ行数)を入力してください。」という、スクリプトが使用する入力データのサンプル数の大きさの入力指示を表示画面200に表示し、当該入力指示に応じてユーザにより入力された「300000」というサンプル数の値を取得する。 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 used by the script, "Please enter the number of samples (number of data lines)." acquires the value of the number of samples "300000" input by the user in response to .
 次に取得部11は、「属性数(データ列数)を入力してください。」という、スクリプトが使用する入力データの属性数の大きさの入力指示を表示画面200に表示し、当該入力指示に応じてユーザにより入力された「50」という属性数の値を取得する。 Next, the acquisition unit 11 displays on the display screen 200 an input instruction for the size of the number of attributes of the input data used by the script, such as "Please enter the number of attributes (the number of data columns)." Acquire the value of the attribute number "50" input by the user in response to .
 次に取得部11は、「許容可能実行時間(秒)を入力してください。」という、スクリプトの許容可能実行時間(ユーザが許容するスクリプトの実行時間の最大値)の入力指示を表示画面200に表示し、当該入力指示に応じてユーザにより入力された「2000」という許容可能実行時間(秒)の値を取得する。 Next, the acquisition unit 11 displays an instruction to input an allowable script execution time (maximum value of script execution time allowed by the user) such as “Please enter an allowable execution time (seconds)” on the display screen 200 . , and acquires the allowable execution time (seconds) value of "2000" input by the user in response to the input instruction.
 次に取得部11は、「サーバ使用料金は1000円の見込みです。このまま実行する場合はY、許容可能実行時間を変更する場合はNを入力してください。」という、サーバ(ハードウェア資源15)の使用料金についてユーザに確認を求める指示を表示画面200に表示する。但し、サーバ使用料金は、後述する算出部12によって算出される、当該スクリプトの実行に使用されるハードウェア資源15の量に基づく金額である。図2の例では、許容可能実行時間を変更することを示す「N」がユーザによって入力されている。これは、ユーザが1000円というサーバ使用料金では高いと判断したことによる。 Next, the acquisition unit 11 receives the server (hardware resource 15 ) is displayed on the display screen 200 to prompt the user for confirmation. However, the server usage fee is an amount based on the amount of the hardware resource 15 used for executing the script, which is calculated by the calculation unit 12 to be described later. In the example of FIG. 2, the user has entered "N" to indicate that the allowable execution time is to be changed. This is because the user judged that the server usage fee of 1000 yen was too high.
 次に取得部11は、ユーザにより「N」が入力されたことに応じて、「許容可能実行時間(秒)を入力してください。」という、ユーザによる許容可能実行時間を変更する入力を受け付けることを表示画面200に表示する。図2の例では、「3000」という新たな許容可能実行時間(秒)の値がユーザによって入力されている。 Next, in response to the user inputting "N", the acquisition unit 11 accepts an input by the user to change the allowable execution time, such as "Please enter the allowable execution time (seconds)." is displayed on the display screen 200. In the example of FIG. 2, a new allowable execution time (seconds) value of "3000" has been entered by the user.
 次に取得部11は、「サーバ使用料金は700円の見込みです。このまま実行する場合はY、許容可能実行時間を変更する場合はNを入力してください。」という、サーバの使用料金についてユーザに再度確認を求める指示を表示画面200に表示する。但し、700円というサーバ使用料金は、3000秒という新たな許容可能実行時間に基づいて算出部12によって算出された当該スクリプトの実行に使用されるハードウェア資源15の量に基づく金額である。図2の例では、許容可能実行時間を変更せずにこのままスクリプトを実行することを示す「Y」がユーザによって入力されている。これは、ユーザが700円というサーバ使用料金が妥当であると判断したことによる。 Next, the acquisition unit 11 asks the user about the server usage fee, "The server usage fee is expected to be 700 yen. Enter Y to continue execution, and enter N to change the allowable execution time." An instruction to request confirmation again is displayed on the display screen 200 . However, the server usage fee of 700 yen is an amount based on the amount of hardware resources 15 used to execute the script calculated by the calculator 12 based on the new allowable execution time of 3000 seconds. In the example of FIG. 2, the user has entered "Y" indicating that the script is to be executed without changing the allowable execution time. This is because the user judged that the server usage fee of 700 yen was appropriate.
 この後、取得部11は、「実行環境を準備中です。しばらくお待ちください。」、「実行環境が整いました。こちらのボタンからアクセスしてください。」を表示画面200に表示し、「実行環境にアクセス」というユーザが画面上で押下可能なボタンを表示する。当該ボタンがユーザにより押下されたのち、ハードウェア資源15は、「/home/hoge/script1.py」というスクリプトの実行を開始する。 After that, the acquisition unit 11 displays on the display screen 200 "Preparing the execution environment. Please wait for a while." Display a button that the user can press on the screen, "Access environment". After the button is pressed by the user, the hardware resource 15 starts executing the script "/home/hoge/script1.py".
 取得部11は、上述したチャットボットを介したUI(User Interface)において、スクリプトの名称に応じて、スクリプトが使用する入力データの大きさ等の実行要件に関するユーザによる入力形式を変更する。 The acquisition unit 11 changes the input format by the user regarding execution requirements such as the size of the input data used by the script according to the name of the script in the UI (User Interface) via the chatbot described above.
 尚、図2に例示するチャットボットによる許容条件情報141の入力指示と、当該入力指示に応じてユーザが入力した許容条件情報141は一例であり、当該入力指示及びユーザが入力した許容条件情報141の態様は、図2の例とは異なってもよい。 Note that the input instruction of the permissible condition information 141 by the chatbot illustrated in FIG. 2 and the permissible condition information 141 input by the user in response to the input instruction are examples. may differ from the example of FIG.
 図2の例では、使用料金をサーバ側からユーザに提示される使用料金の金額を承諾するか否かを選択可能であるが、ユーザが希望する使用料金の金額を入力するようにしてもよい。例えば、取得部11は、ユーザの希望するサーバの使用料金としてユーザから「1000円から1500円」などの金額(許容使用料金)を取得してもよい。 In the example of FIG. 2, it is possible to select whether or not to accept the amount of the usage fee presented to the user from the server side, but the user may input the desired usage fee amount. . For example, the acquisition unit 11 may acquire an amount (permissible usage fee) such as "1000 yen to 1500 yen" from the user as the usage fee for the server desired by the user.
 また、取得部11は、上述したチャットボットのようなUIとは別の方法を用いて、許容条件情報141を取得してもよい。取得部11は、例えば、API(Application Programming Interface)を介して入力された許容条件情報141を取得してもよい。 In addition, the acquisition unit 11 may acquire the permissible condition information 141 using a method other than the UI such as the chatbot described above. The acquisition unit 11 may acquire the permissible condition information 141 input via an API (Application Programming Interface), for example.
 取得部11は、上述の通りに取得した許容条件情報141を、記憶部14に格納する。 The acquisition unit 11 stores the permissible condition information 141 acquired as described above in the storage unit 14 .
 算出部12は、記憶部14に記憶されている許容条件情報141と、算出基準142とに基づいて、スクリプトの実行時間及びハードウェア資源15の使用料金を算出する。 The calculation unit 12 calculates the execution time of the script and the usage fee of the hardware resource 15 based on the permissible condition information 141 stored in the storage unit 14 and the calculation criteria 142 .
 算出基準142は、実行するスクリプトに関する許容条件情報141から、当該スクリプトの実行時間と使用するハードウェア資源15の使用料金とを、性能(実行時間)とコスト(使用料金)とのバランスの観点で、ユーザの許容条件(実行要件)をふまえて好適に算出するための基準である。算出基準142は、ユーザにより与えられた基準であるとともに、生成部16によって後述する通り実行履歴情報143を用いて生成あるいは更新される。但し、実行履歴情報143は、過去に実行されたスクリプト(第2のAI処理の一例)に関する実行要件と、実行時間及び使用料金と、当該スクリプトを実行したハードウェア資源15の量とを表し、情報資源割当支援装置10によって生成あるいは更新される情報である。 Calculation standard 142 calculates the execution time of the script and the usage fee of the hardware resource 15 to be used from the permissible condition information 141 regarding the script to be executed, from the viewpoint of the balance between performance (execution time) and cost (usage fee). , are criteria for suitable calculation based on the user's allowable conditions (execution requirements). The calculation criteria 142 are criteria given by the user, and are generated or updated by the generation unit 16 using the execution history information 143 as will be described later. However, the execution history information 143 represents the execution requirements, the execution time, the usage fee, and the amount of the hardware resource 15 that executed the script (an example of the second AI processing) regarding the script executed in the past, It is information generated or updated by the information resource allocation support device 10 .
 図3は、本実施形態に係る実行履歴情報143を例示する図である。実行履歴情報143は、ハードウェア資源15を使用するユーザ毎に管理された情報であってもよい。図3に例示する実行履歴情報143において、個々に番号が付与されている1つの行は、ある日時に実行されたスクリプトに関する実行履歴を表す。図3に例示する実行履歴情報143では、番号1乃至6の行は、「script1.py」というスクリプトに関する実行履歴を表し、番号7乃至10の行は、「script2.py」というスクリプトに関する実行履歴を表している。 FIG. 3 is a diagram illustrating the 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, one row individually numbered represents an execution history of 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 the execution history related to the script "script1.py", and lines numbered 7 to 10 represent the execution history related to the script "script2.py". represents.
 実行履歴情報143は、実行されたスクリプトが使用した入力データの大きさとして、データサイズ(MB:メガバイト)、データ属性数(データ列数)、データサンプル数(データ行数)を含んでいる。データ属性数及びデータサンプル数は、図2に例示する通り、スクリプトが実行される際にユーザによって入力される値であり、データサイズは、データ属性数及びデータサンプル数から決定する値である。 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 illustrated in FIG. 2, and the data size is a value determined from the number of data attributes and the number of data samples.
 実行履歴情報143は、また、図3に例示する通り、スクリプトの実際の実行時間(秒)を含んでいる。 The execution history information 143 also includes the actual execution time (seconds) of the script, as illustrated in FIG.
 実行履歴情報143は、また、スクリプトを実行したハードウェア資源15の量として、CPU151に関する使用コア数、及び、メモリ152に関する最大使用メモリ(MB)及び確保メモリ(MB)を含んでいる。尚、確保メモリは、スクリプトが使用可能なデータの格納領域としてメモリ152に確保された領域の大きさを表し、最大使用メモリは、その確保された領域のうちでスクリプトによって実際に使用された領域の大きさを表す。 The execution history information 143 also includes the number of used cores for the CPU 151 and the maximum used memory (MB) and reserved memory (MB) for the memory 152 as the amount of the hardware resource 15 that executed the script. The reserved memory indicates the size of the area reserved in the memory 152 as a storage area for data that can be used by the script, and the maximum used memory is the area actually used by the script in the reserved area. represents the size of
 実行履歴情報143は、また、算出部12によって算出された、スクリプトを実行したハードウェア資源15の使用料金(円)を含んでいる。 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 .
 実行履歴情報143は、また、スクリプトの実際の実行時間とハードウェア資源15の使用料金とに対するユーザによる評価を含んでいる。例えば、図3に例示する実行履歴情報143における番号1の実行履歴は、「実行時間はもっと長くなってもよいので使用料金をもっと安くしたい」というユーザによる評価を含んでいる。このことは、番号1の実行履歴が示すスクリプトの実行において、ユーザが本来望んでいた実行要件に対して過大な量のハードウェア資源15が使用されたことを意味している。 The execution history information 143 also includes the user's evaluation of the actual execution time of the script and the usage fee of the hardware resource 15 . For example, the execution history of number 1 in the execution history information 143 illustrated in FIG. 3 includes an evaluation by the user that "the execution time may be longer, so I would like the usage fee to be lower." This means that the execution of the script indicated by the execution history of number 1 used an excessive amount of the hardware resource 15 for the execution requirements originally desired by the user.
 あるいは例えば、図3に例示する実行履歴情報143における番号2の実行履歴は、「使用料金はもっと高くなってもよいので実行時間をもっと短くしたい」というユーザによる評価を含んでいる。このことは、番号2の実行履歴が示すスクリプトの実行において、ユーザが本来望んでいた実行要件に対して過少な量のハードウェア資源15が使用されたことを意味している。 Alternatively, for example, the execution history numbered 2 in the execution history information 143 illustrated in FIG. This means that an insufficient amount of the hardware resource 15 was used for the execution requirements originally desired by the user in executing the script indicated by the execution history of number 2 .
 あるいは例えば、図3に例示する実行履歴情報143における番号4の実行履歴は、「適切である」というユーザによる評価を含んでいる。このことは、番号4の実行履歴が示すスクリプトの実行において、ユーザが本来望んでいた実行要件に合致する適切な量のハードウェア資源15が使用されたことを意味している。 Alternatively, for example, the execution history number 4 in the execution history information 143 illustrated in FIG. 3 includes the user's evaluation of "appropriate." This means that an appropriate amount of hardware resources 15 that meet the execution requirements originally desired by the user were used in executing the script indicated by the execution history of number 4 .
 尚、図3に例示する実行履歴情報143は一例であり、実行履歴情報143は、図3に例示する項目とは異なる項目を含んでもよい。 Note that the execution history information 143 illustrated in FIG. 3 is an example, and the execution history information 143 may include items different from the items illustrated in FIG.
 算出部12は、スクリプトの実行時間及びハードウェア資源15の使用料金を算出するにあたり、実行履歴情報143を参照する。 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 .
 算出部12は、まず、実行履歴情報143において、実行対象のスクリプトの実行回数が所定の閾値以上であるか否かを判定する。即ち算出部12は、実行対象のスクリプトに関して、実行履歴が十分に蓄積されているか否かを判定する。算出部12は、当該スクリプトの実行回数が所定の閾値未満である(即ち、実行履歴がまだ十分に蓄積されていない)場合、ユーザにより事前に与えられている算出式を算出基準142として使用する。算出部12は、この算出式と許容条件情報141とに基づいて、当該スクリプトの実行時間及びハードウェア資源15の使用料金を算出する。当該算出式は、例えば、許容条件情報141に含まれる、スクリプトの名称(識別情報)と、当該スクリプトが使用する入力データの大きさと、当該スクリプトの許容可能実行時間とを変数とする算出式である。 The calculation unit 12 first determines in the execution history information 143 whether or not the number of executions of the script to be executed is equal to or greater than a predetermined threshold. That is, the calculation unit 12 determines whether or not a sufficient amount of execution history has been accumulated for the script to be executed. When the number of executions of the script is less than a predetermined threshold (that is, the execution history is not sufficiently accumulated yet), the calculation unit 12 uses the calculation formula given in advance by the user as the calculation standard 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 permissible condition information 141 . The calculation formula is, for example, a calculation formula that uses the script name (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. be.
 算出部12は、上述した実行履歴情報143における判定において、実行対象のスクリプトの実行回数が所定の閾値以上である(即ち、実行履歴が十分に蓄積されている)場合、算出基準142に基づいて、当該スクリプトの実行時間及びハードウェア資源15の使用料金を算出する。この際、生成部16は、実行履歴情報143が示すユーザの評価に対する回帰分析を行いながら算出基準142を生成あるいは更新する。 When the execution history information 143 determines that the number of executions of the script to be executed is equal to or greater than a predetermined threshold value (that is, the execution history is sufficiently accumulated), the calculation unit 12 calculates based on the calculation criteria 142. , the execution time of the script and the usage fee of the hardware resource 15 are calculated. At this time, the generation unit 16 generates or updates the calculation criteria 142 while performing regression analysis on the user's evaluation indicated by the execution history information 143 .
 この場合、算出部12は、使用するハードウェア資源15の量を変数Xとし、変数Xの値を、所定の初期値に設定する。算出部12は、例えばCPU151のコア数を変数Xとし、その初期値として「1」を設定する。 In this case, the calculation unit 12 sets the amount of the hardware resource 15 to be used as a variable X, and sets the value of the variable X to a predetermined initial value. The calculation unit 12 sets, for example, the number of cores of the CPU 151 as a variable X, and sets “1” as its initial value.
 算出部12は、実行対象のスクリプトに関する実行履歴の中に、入力データの大きさが同等であり、かつ、使用するハードウェア資源15の量がX(即ち初期値である「1」)と同等であるものを検索する。例えば、実行履歴情報143が図3に例示する通りであり、許容条件情報141において、実行対象のスクリプトが「script1.py」であり、データ属性数が「30」であり、データサンプル数が「12000」であるとする。この場合、実行履歴情報143における番号2の実行履歴が上述した検索の条件にほぼ合致する。そして、当該番号2の実行履歴におけるユーザによる評価は「使用料金はもっと高くなってもよいので実行時間をもっと短くしたい」であるので、生成部16は、算出基準142を更新し、例えば、変数Xを現在の値の2倍である「2」に設定する。 The calculation unit 12 finds in the execution history of the script to be executed that the size of the input data is the same and the amount of the hardware resource 15 to be used is the same as X (that is, the initial value “1”). Search for what is For example, the execution history information 143 is as exemplified in FIG. 12000". In this case, the execution history of number 2 in the execution history information 143 substantially matches the search condition described above. Then, since the evaluation by the user in the execution history of number 2 is "I want to make the execution time shorter because the usage fee may be higher", the generation unit 16 updates the calculation criteria 142, for example, the variable Set X to "2" which is twice the current value.
 算出部12は、続いて、実行対象のスクリプトに関する実行履歴の中に、入力データの大きさが同等であり、かつ、使用するハードウェア資源15の量がX(即ち「2」)と同等であるものを検索する。この場合、実行履歴情報143における番号3の実行履歴が上述した検索の条件にほぼ合致する。そして、当該番号3の実行履歴におけるユーザによる評価は「使用料金はもっと高くなってもよいので実行時間をもっと短くしたい」であるので、生成部16は、算出基準142を更新し、例えば、変数Xを現在の値の2倍である「4」に設定する。 Next, the calculation unit 12 finds, in the execution history related to the script to be executed, that the size of the input data is the same and the amount of the hardware resource 15 to be used is the same as X (that is, "2"). search for something. In this case, the execution history of number 3 in the execution history information 143 substantially matches the search condition described above. Then, since the evaluation by the user in the execution history of number 3 is "I want to make the execution time shorter because the usage fee may be higher", the generation unit 16 updates the calculation criteria 142, for example, the variable Set X to "4" which is double the current value.
 算出部12は、さらに続いて、実行対象のスクリプトに関する実行履歴の中に、入力データの大きさが同等であり、かつ、使用するハードウェア資源15の量がX(即ち「4」)と同等であるものを検索する。この場合、実行履歴情報143における番号4の実行履歴が上述した検索の条件にほぼ合致する。そして、当該番号4の実行履歴におけるユーザによる評価は「適切である」であるので、生成部16は、求める変数X(即ちCPU151のコア数)の値を「4」に決定する。 Further, the calculation unit 12 further determines, in the execution history of the script to be executed, that the size of the input data is the same and the amount of the hardware resource 15 to be used is the same as X (that is, "4"). Search for what is In this case, the execution history of number 4 in the execution history information 143 substantially matches the search condition described above. Since the user's evaluation of the execution history of number 4 is "appropriate", the generation unit 16 determines the value of the desired variable X (that is, the number of cores of the CPU 151) to be "4".
 算出部12及び生成部16は、また、上述した手順とは異なる手順により、許容条件情報141と、算出基準142とに基づいて、スクリプトの実行時間及びハードウェア資源15の使用料金を算出してもよい。 The calculation unit 12 and the generation unit 16 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 criteria 142 by a procedure different from the procedure described above. good too.
 例えば、図3に例示する実行履歴情報143における番号1の実行履歴が示すユーザの評価によれば、スクリプトの実行要件に対して過大なハードウェア資源15がスクリプトの実行に使用されている。即ち、番号1の実行履歴における許容可能実行時間(不図示)は実際の実行時間である130秒よりも長い値である。生成部16は、「script1.py」というスクリプトの実行に関して、入力データの大きさと許容可能実行時間とに関する実行要件が実行履歴情報143の番号1に示す通りである場合、当該スクリプトの実行時間がもっと長くなり、ハードウェア資源15の使用料金がもっと安くなるように、算出基準142を生成あるいは更新する。 For example, according to the user's evaluation indicated by the execution history of number 1 in the execution history information 143 shown in FIG. That is, the allowable execution time (not shown) in the execution history of number 1 is longer than the actual execution time of 130 seconds. Regarding the execution of the script "script1.py", if the execution requirements regarding the size of the input data and the allowable execution time are as shown in number 1 of the execution history information 143, the generation unit 16 determines that the execution time of the script is Create or update the calculation criteria 142 so that they are longer and cost less to use the hardware resource 15 .
 また、図3に例示する実行履歴情報143における番号2の実行履歴が示すユーザの評価によれば、スクリプトの実行要件に対して過少なハードウェア資源15がスクリプトの実行に使用されている。即ち、番号2の実行履歴における許容可能実行時間(不図示)は実際の実行時間である1350秒よりも短い値である。生成部16は、「script1.py」というスクリプトの実行に関して、入力データの大きさと許容可能実行時間とに関する実行要件が実行履歴情報143の番号2に示す通りである場合、当該スクリプトの実行時間がもっと短くなり、ハードウェア資源15の使用料金がもっと高くなるように、算出基準142を生成あるいは更新する。 Also, according to the user's evaluation indicated by the execution history of number 2 in the execution history information 143 illustrated in FIG. That is, the permissible execution time (not shown) in the execution history of number 2 is a value shorter than the actual execution time of 1350 seconds. Regarding the execution of the script "script1.py", if the execution requirements regarding the size of the input data and the allowable execution time are as shown in number 2 of the execution history information 143, the generation unit 16 determines that the execution time of the script is Create or update the calculation criteria 142 so that it is shorter and charges more for using the hardware resource 15 .
 また、図3に例示する実行履歴情報143における番号4の実行履歴が示すユーザの評価によれば、スクリプトの実行要件に合致する適切な量のハードウェア資源15がスクリプトの実行に使用されている。即ち、番号2の実行履歴における許容可能実行時間(不図示)は実際の実行時間である658秒とほぼ同等の値である。生成部16は、「script1.py」というスクリプトの実行に関して、入力データの大きさと許容可能実行時間とに関する実行要件が実行履歴情報143の番号4に示す通りである場合、当該スクリプトの実行時間及びハードウェア資源15の使用料金が、番号4に示す値となるように算出基準142を生成あるいは更新する。 Also, according to the user's evaluation indicated by the execution history of number 4 in the execution history information 143 illustrated in FIG. . That is, the permissible execution time (not shown) in the execution history of number 2 is approximately the same value as the actual execution time of 658 seconds. Regarding the execution of the script "script1.py", if the execution requirements regarding the size of the input data and the allowable execution time are as shown in number 4 of the execution history information 143, the generation unit 16 determines the execution time and The calculation criteria 142 are generated or updated so that the usage fee for the hardware resource 15 becomes the value indicated by number 4 .
 生成部16は、過去に取得した許容条件情報141と、その許容条件情報141に対応する実行履歴情報143との関係を学習することで、算出基準142を生成する。 The generation unit 16 generates the calculation criteria 142 by learning the relationship between the permissible condition information 141 acquired in the past and the execution history information 143 corresponding to the permissible condition information 141 .
 例えば、生成部16は、実行履歴情報143を学習データとする学習を行うことによって、算出基準142を表すモデルを生成あるいは更新する。この場合、生成部16は、例えば、実行対象のスクリプトごとに、入力データの大きさ及び許容可能実行時間(不図示)と、当該スクリプトの実行時間及びハードウェア資源15の使用料金との関係を、ユーザの評価をラベルとして用いた学習を行えばよい。 For example, the generation unit 16 generates or updates a model representing the calculation criteria 142 by performing learning using the execution history information 143 as learning data. In this case, the generating unit 16, for example, for each script to be executed, determines the relationship between the size of the input data and the allowable execution time (not shown), the execution time of the script, and the usage fee of the hardware resource 15. , learning may be performed using the user's evaluation as a label.
 出力部13は、算出部12により算出される使用料金及び実行時間を出力する。 The output unit 13 outputs the usage fee and the execution time calculated by the calculation unit 12.
 例えば、出力部13は、算出部12により算出される使用料金及び実行時間を端末装置20に出力する。 For example, the output unit 13 outputs the usage fee and the execution time calculated by the calculation unit 12 to the terminal device 20 .
 また、例えば、出力部13は、ユーザから了承を得たら、許容条件情報141と算出基準142とに基づいて上述の通りに算出されたスクリプトの実行時間及びハードウェア資源15の使用料金を、情報資源割当支援装置10が備える割当部(図示せず)に出力してもよい。 Further, for example, after obtaining approval from the user, the output unit 13 outputs the execution time of the script and the usage fee of the hardware resource 15 calculated as described above based on the allowable condition information 141 and the calculation criteria 142. You may output to the allocation part (not shown) with which the resource allocation assistance apparatus 10 is equipped.
 当該割当部は、算出部12から出力されたスクリプトの実行時間及びハードウェア資源15の使用料金に応じて、使用するハードウェア資源15の量を決定する。そして当該割当部は、決定した量のハードウェア資源15に、スクリプトの実行を割り当てる。 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 for the hardware resources 15 . The allocation unit then allocates the determined amount of hardware resources 15 to execute the script.
 尚、ハードウェア資源15は、CPU151及びメモリ152に関して構成が異なる、スクリプトを実行可能な状態にある複数の実行環境を含むようにしてもよい。構成が異なる複数の実行環境とは、例えば、CPU151における1つのコアとメモリ152における1GB(ギガバイト)の記憶領域とを含む実行環境、及び、CPU151における2つのコアとメモリ152における2GBの記憶領域とを含む実行環境等である。そして、この場合、情報資源割当支援装置10は、出力部13から出力されたスクリプトの実行時間及びハードウェア資源15の使用料金に基づいて、上述した複数の実行環境のうちのいずれかにスクリプトの実行を割り当てればよい。情報資源割当支援装置10は、割当部により決定されたハードウェア資源15の量に合致する構成の実行環境が存在しない場合、当該量に合致する実行環境を新たに立ち上げるようにハードウェア資源15を制御してもよい。 It should be noted that the hardware resource 15 may include a plurality of execution environments in which scripts can be executed, with different configurations of the CPU 151 and memory 152 . The multiple execution environments with different configurations are, for example, an execution environment including one core in the CPU 151 and a 1 GB (gigabyte) storage area in the memory 152, and two cores in the CPU 151 and a 2 GB storage area in the memory 152. It is an execution environment including In this case, the information resource allocation support device 10 selects one of the plurality of execution environments described above based on the execution time of the script output from the output unit 13 and the usage fee of the hardware resource 15. All you have to do is assign execution. If there is no execution environment with a configuration that matches the amount of hardware resources 15 determined by the allocation unit, the information resource allocation support device 10 instructs the hardware resources 15 to newly start up an execution environment that matches the amount. may be controlled.
 情報資源割当支援装置10は、当該スクリプトの実行を開始するように、当該スクリプトの実行を割り当てたハードウェア資源15を制御する。情報資源割当支援装置10は、ハードウェア資源15によるスクリプトの実行が終了したのち、当該スクリプトの実行履歴を表す実行履歴情報143を生成あるいは更新する。 The information resource allocation support device 10 controls the hardware resource 15 allocated to execute the script so as to start executing 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 the execution history information 143 representing the execution history of the script.
 情報資源割当支援装置10は、記憶部14からデータ(ファイル)を読み込むためのライブラリ関数を備えることとする。情報資源割当支援装置10は、当該ライブラリ関数によりデータを読み込んだ場合に、読み込んだデータの大きさ、データ属性数、データサンプル数等の情報を実行履歴情報143として記憶部14に格納する。情報資源割当支援装置10は、当該ライブラリ関数を読み出すことによって、スクリプトの実行開始日時、及び、実行終了日時と実行開始日時との差分から求められる実行時間を、実行履歴情報143として記憶部14に格納する。 The information resource allocation support device 10 is provided with library functions for reading data (files) from the storage unit 14 . When data is read by the library function, the information resource allocation support device 10 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 the execution history information 143 . By reading the library function, the information resource allocation support device 10 stores the script execution start date and time and the execution time obtained from the difference between the execution end date and time and the execution start date and time in the storage unit 14 as the execution history information 143. Store.
 次に図4及び図5のフローチャートを参照して、本実施形態に係る情報資源割当支援装置10の動作(処理)について詳細に説明する。 Next, with reference to the flowcharts of FIGS. 4 and 5, the operation (processing) of the information resource allocation support device 10 according to this embodiment will be described in detail.
 図4は、本実施形態に係る情報資源割当支援装置10の全体動作を示すフローチャートである。 FIG. 4 is a flowchart showing the overall operation of the information resource allocation support device 10 according to this embodiment.
 取得部11は、チャットボットを介して、実行するスクリプトに関する許容条件情報141を取得し、記憶部14に格納する(ステップS101)。算出部12は、記憶部14に記憶されている実行履歴情報143に含まれる実行対象のスクリプトに関する実行履歴を参照する(ステップS102)。算出部12は、当該スクリプトの実行回数が閾値以上であるか否かを判定する(ステップS103)。 The acquisition unit 11 acquires the permissible condition information 141 regarding the script to be executed via the chatbot, and stores it in the storage unit 14 (step S101). The calculation unit 12 refers to the execution history regarding 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 or not the number of times the script has been executed is greater than or equal to a threshold (step S103).
 当該スクリプトの実行回数が閾値以上である場合(ステップS104でYes)、情報資源割当支援装置10は、図5を参照して後述するステップS200の処理を行い、処理はステップS106へ進む。当該スクリプトの実行回数が閾値以上でない場合(ステップS104でNo)、算出部12は、事前に与えられている算出式を算出基準142として使用し、算出基準142と許容条件情報141とに基づいて、当該スクリプトの実行時間とハードウェア資源15の使用料金とを算出する(ステップS105)。出力部13は、算出された当該スクリプトの実行時間とハードウェア資源15の使用料金とを端末装置20に出力し、端末装置20において、使用料金及び実行時間がユーザによって了承されたのち、使用料金及び実行時間を、割当部に出力する(ステップS106)。 If the number of times the script has been executed is greater than or equal to 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. When 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 based on the calculation criterion 142 and the permissible condition information 141, , the execution time of the script and the usage fee of the hardware resource 15 are calculated (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 the execution time are approved by the user in the terminal device 20, the usage fee is calculated. And the execution time is output to the allocation unit (step S106).
 割当部は、算出部12によって算出された実行時間及び使用料金に基づいて、ハードウェア資源15に含まれる、構成が異なる複数の実行環境の中から、当該スクリプトを実行させる好適な実行環境を選択する(ステップS107)。情報資源割当支援装置10は、当該スクリプトを実行するように、選択した実行環境を制御する(ステップS108)。情報資源割当支援装置10は、当該スクリプトの実行が完了した後、その実行履歴、及び、実行時間と使用料金に対するユーザによる評価を含む実行履歴情報143を生成あるいは更新し(ステップS109)、全体の処理は終了する。 Based on the execution time and usage fee calculated by the calculation unit 12, the allocation unit selects a suitable execution environment for executing the script from among a plurality of execution environments with different configurations included in the hardware resource 15. (step S107). The information resource allocation support device 10 controls the selected execution environment so as to execute the script (step S108). After the execution of the script is completed, the information resource allocation support device 10 generates or updates the execution history information 143 including the execution history and the user's evaluation of the execution time and usage fee (step S109). Processing ends.
 図5は、本実施形態に係る情報資源割当支援装置10が、スクリプトの実行時間及びハードウェア資源15の使用料金の評価実績に対する回帰分析を行いながら生成あるいは更新した算出基準142に基づいて、実行時間及び使用料金を算出する詳細動作を示すフローチャートである。但し、図5に示すフローチャートは、図4を参照して上述したステップS200の処理に相当する。 FIG. 5 shows that the information resource allocation support apparatus 10 according to the present embodiment executes based on the calculation criteria 142 generated or updated while performing the regression analysis on the evaluation performance of the execution time of the script and the usage fee of the hardware resource 15. 4 is a flowchart showing detailed operations for calculating time and usage fees; However, the flowchart shown in FIG. 5 corresponds to the process of step S200 described above with reference to FIG.
 算出部12は、変数Xの値を、使用するハードウェア資源15の量に関する所定の初期値に設定する(ステップS201)。算出部12は、実行対象のスクリプトに関する実行履歴の中に、入力データの大きさが同等であり、かつ、使用するハードウェア資源15の量がXと同等であるものを検索する(ステップS202)。 The calculation unit 12 sets the value of the variable X to a predetermined initial value related to the amount of hardware resources 15 to be used (step S201). The calculation unit 12 searches the execution histories related to the script to be executed for those having the same size of input data and the same amount of hardware resources 15 to be used as X (step S202). .
 条件を満たす未確認の実行履歴が存在しない場合(ステップS203でNo)、算出部12は、図4を参照して上述したステップS105の処理を行い、ステップS200の処理は終了する。条件を満たす未確認の実行履歴が存在する場合(ステップS203でYes)、算出部12は、条件を満たす実行履歴におけるスクリプトの実行時間及びハードウェア資源15の使用料金に対する評価を確認する(ステップS204)。 If there is no unconfirmed execution history that satisfies the conditions (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 conditions (Yes in step S203), the calculation unit 12 confirms the execution time of the script in the execution history that satisfies the conditions and the evaluation of the usage fee of the hardware resource 15 (step S204). .
 評価が「適切」である場合(ステップS205でYes)、算出部12は、使用するハードウェア資源15の量を、Xの値に決定し(ステップS207)、ステップS200の処理は終了する。評価が「適切」でない場合(ステップS205でNo)、算出部12は、評価が「実行時間は長くなってもよいので使用料金をもっと安くしたい」である場合は、Xの値を所定の基準により減少させ、評価が「使用料金は高くなってもよいので実行時間をもっと短くしたい」である場合、Xの値を所定の基準により増加させ(ステップS206)、処理はステップS202へ戻る。 If the evaluation is "appropriate" (Yes in step S205), the calculation unit 12 determines the amount of the hardware resource 15 to be used to be 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 sets the value of X to a predetermined criterion If the evaluation is "I want to shorten the execution time even if the usage fee is high", the value of X is increased according to a predetermined standard (step S206), and the process returns to step S202.
 本実施形態に係る情報資源割当支援装置10は、ユーザの許容する利用料金及びAI処理の実行時間で所望のAI処理を実行可能なリソースを、ユーザに提供することができる。その理由は、情報資源割当支援装置10は、情報処理を実行させるハードウェア資源15に関して、ユーザの許容条件を満たすような実行時間及び使用料金を、算出基準142を用いて算出するからである。 The information resource allocation support device 10 according to the present embodiment can provide the user with resources that can execute desired AI processing at the usage fee and AI processing execution time allowed by the user. This is because the information resource allocation support device 10 uses the calculation criteria 142 to calculate the execution time and usage fee that satisfy the user's allowable conditions for the hardware resource 15 that executes information processing.
 以下に、本実施形態に係る情報資源割当支援装置10によって実現される効果について、説明する。 The effects realized by the information resource allocation support device 10 according to this embodiment will be described below.
 例えば、クラウドAIでは、所定の料金を支払うことで他社のデータセンター等のハードウェア資源を使用し、所望のAI処理を実行することができる。しかしながら、他社のハードウェア資源を使用する場合、ユーザの希望に沿った使用料金と、ユーザの許容するAI処理の実行時間とのバランスを取ることは難しい。 For example, with cloud AI, by paying a predetermined fee, it is possible to use hardware resources such as data centers of other companies and execute desired AI processing. However, when using the hardware resources of other companies, it is difficult to strike a balance between the user's desired usage fee and the user's allowable AI processing execution time.
 本実施形態に係る情報資源割当支援装置10は、取得部11と算出部12と出力部13とを備え、例えば図1乃至図5を参照して上述した通り動作する。即ち、取得部11は、ユーザが所望する、第1のAI処理の実行に要する実行時間と当該第1のAI処理に使用されるハードウェア資源15の使用料金とに関する許容条件情報141を取得する。算出部12は、第2のAI処理に要する実行時間及び当該第2のAI処理に使用したハードウェア資源15の使用料金の関係に関する算出基準142に基づいて、許容条件を満たすような第1のAI処理に要する実行時間と、第1のAI処理に使用されるハードウェア資源15の使用料金とを算出する。そして、出力部13は、算出部12により算出される実行時間及び使用料金を出力する。 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 FIGS. 1 to 5, for example. That is, the acquisition unit 11 acquires the user-desired permissible condition information 141 regarding the execution time required to execute the first AI processing and the usage fee of the hardware resource 15 used for the first AI processing. . The calculation unit 12 calculates the first data that satisfies the permissible condition based on the calculation standard 142 regarding 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. The execution time required for the AI processing and the usage fee for the hardware resource 15 used for the first AI processing are calculated. Then, the output unit 13 outputs the execution time and usage fee calculated by the calculation unit 12 .
 即ち、本実施形態に係る情報資源割当支援装置10は、スクリプトを実行させるハードウェア資源15に関して、ユーザの許容条件を満たすような実行時間及び使用料金を算出基準142を用いて算出するので、ユーザの許容する利用料金及びAI処理の実行時間で所望のAI処理を実行可能なリソースを、ユーザに提供することができる。 That is, the information resource allocation support apparatus 10 according to the present embodiment calculates the execution time and usage fee that satisfy the user's allowable conditions for the hardware resource 15 for executing the script using the calculation criteria 142. It is possible to provide the user with a resource capable of executing a desired AI process at the usage fee and the execution time of the AI process that are allowed by the user.
 また、本実施形態に係る情報資源割当支援装置10は、スクリプトの実行に要した実行時間と、当該スクリプトの実行におけるハードウェア資源15の使用料金とを含む実行履歴情報143を取得する。そして情報資源割当支援装置10は、当該実行時間と当該使用料金とが適切であるか否かの評価実績を参照する。これにより、情報資源割当支援装置10は、スクリプトの実行に関して、バランスの取れた使用料金と実行時間とを算出することができる。 Also, the information resource allocation support device 10 according to this embodiment acquires the execution history information 143 including the execution time required to execute the script and the usage fee of the hardware resource 15 in executing the script. Then, the information resource allocation support device 10 refers to the evaluation result as to whether or not the execution time and usage fee are appropriate. As a result, the information resource allocation support device 10 can calculate a well-balanced usage fee and execution time for script execution.
 また、本実施形態に係る取得部11は、実行するスクリプトに関するプログラムコードのデータサイズをさらに取得してもよい。そしてこの場合、算出部12は、当該データサイズをさらに用いて、算出基準142に基づいて、許容条件情報141が示す許容条件を満たすような当該スクリプトの実行に要する実行時間と、使用されるハードウェア資源15の使用料金とを算出してもよい。 Also, the acquisition unit 11 according to the present embodiment may further acquire the data size of the program code related to the script to be executed. In this case, the calculation unit 12 further uses the data size, and based on the calculation criteria 142, the execution time required to execute the script that satisfies the allowable condition indicated by the allowable condition information 141, and the hardware to be used. A usage fee for the wear resource 15 may also be calculated.
 また、本実施形態に係る情報資源割当支援装置10は、チャットボットを介して、ユーザにより入力された許容条件情報141を取得する。そして、情報資源割当支援装置10は、チャットボットを介したUIにおいて、実行対象とするスクリプトに応じて、入力データの大きさ等の実行要件に関するユーザによる入力形式を変更する。これにより情報資源割当支援装置10は、ユーザの要求がより正確に反映された許容条件情報141を、ユーザによる簡易な入力操作によって取得することを実現できる。 Also, the information resource allocation support device 10 according to this embodiment acquires the permissible 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 the UI via the chatbot, according to the script to be executed. As a result, the information resource allocation support device 10 can acquire the permissible condition information 141 that more accurately reflects the user's request through a simple input operation by the user.
 また、本実施形態に係る情報資源割当支援装置10は、スクリプトを実行可能な状態にある、構成が異なる複数のハードウェア資源15を備え、算出した実行時間及び使用料金に応じたハードウェア資源15の量に基づいて、当該複数のハードウェア資源15のいずれかにスクリプトの実行を割り当てる。これにより、情報資源割当支援装置10は、ハードウェア資源15によるスクリプトの速やかな実行開始を実現することができる。 Further, the information resource allocation support device 10 according to this embodiment includes a plurality of hardware resources 15 with different configurations that are ready to execute scripts, and the hardware resources 15 according to the calculated execution time and usage fee. , the script execution is assigned to one of the plurality of hardware resources 15 . As a result, the information resource allocation support device 10 can quickly start execution of the script by the hardware resource 15 .
 <第2の実施形態>
 図6は、本発明の第2の実施形態に係る情報資源割当支援装置30の構成を示すブロック図である。但し、説明の都合上、ハードウェア資源34を図6に記載し、ハードウェア資源34との関係もふまえて、情報資源割当支援装置30の動作について説明することとする。
<Second embodiment>
FIG. 6 is a block diagram showing the configuration of the information resource allocation support device 30 according to the second embodiment of the present invention. However, for convenience of explanation, the hardware resources 34 are shown in FIG.
 本実施形態に係る情報資源割当支援装置30は、取得部31、算出部32、及び、出力部33を備えている。取得部31、算出部32、及び、出力部33は、順に、取得手段、算出手段、及び、割当手段の一例である。 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 acquisition means, calculation means, and allocation means, respectively.
 取得部31は、ユーザが所望する、第1のAI処理の実行に要する実行時間と当該第1のAI処理に使用されるハードウェア資源34の使用料金とに関する許容条件310を取得する。ハードウェア資源34は、例えば、第1の実施形態に係るハードウェア資源15と同様な資源である。第1のAI処理は、例えば、第1の実施形態に係るスクリプトのような処理である。許容条件310は、例えば、第1の実施形態に係る許容条件情報141と同様な情報である。取得部31は、例えば、第1の実施形態に係る取得部11と同様に動作する。 The acquisition unit 31 acquires user-desired permissible conditions 310 regarding the execution time required to execute the first AI process and the usage fee for the hardware resource 34 used in the first AI process. The hardware resource 34 is, for example, a resource similar to the hardware resource 15 according to the first embodiment. The first AI process is, for example, a script-like process according to the first embodiment. The permissible condition 310 is, for example, information similar to the permissible condition information 141 according to the first embodiment. The acquisition unit 31 operates, for example, in the same manner as the acquisition unit 11 according to the first embodiment.
 算出部32は、第2のAI処理に要する実行時間及び当該第2の情報処理に使用したハードウェア資源34の使用料金の関係に関する算出基準320に基づいて、許容条件310を満たすような第1のAI処理に要する実行時間と、当該第1のAI処理に使用されるハードウェア資源の使用料金とを算出する。算出基準320は、例えば、第1の実施形態に係る算出基準142と同様な基準である。算出部32は、例えば、第1の実施形態に係る算出部12と同様に動作する。 The calculation unit 32 calculates the first AI processing that satisfies the permissible condition 310 based on the calculation criteria 320 regarding the relationship between the execution time required for the second AI processing and the usage fee of the hardware resource 34 used for the second information processing. and the usage fee for the hardware resources used for the first AI processing. The calculation criterion 320 is, for example, the same criterion as the calculation criterion 142 according to the first embodiment. The calculator 32 operates, for example, in the same manner as the calculator 12 according to the first embodiment.
 出力部33は、算出部32により算出される実行時間及び使用料金を出力する。出力部33は、例えば、第1の実施形態に係る出力部13と同様に動作する。 The output unit 33 outputs the execution time and usage fee calculated by the calculation unit 32 . The output unit 33 operates, for example, in the same manner as the output unit 13 according to the first embodiment.
 本実施形態に係る情報資源割当支援装置30は、ユーザの許容する利用料金及びAI処理の実行時間で所望のAI処理を実行可能なリソースを、ユーザに提供することができる。その理由は、情報資源割当支援装置30は、情報処理を実行させるハードウェア資源34に関して、ユーザの許容条件を満たすような実行時間及び使用料金を、ユーザに提示できるからである。 The information resource allocation support device 30 according to the present embodiment can provide the user with resources that can execute desired AI processing at the usage fee and AI processing execution time allowed by the user. The reason for this is that the information resource allocation support device 30 can present to the user the execution time and usage fee that satisfy the user's allowable conditions regarding the hardware resource 34 for executing information processing.
 <ハードウェア構成例>
 上述した各実施形態において図1、及び、図6に示した情報資源割当支援装置における各部は、専用のHW(HardWare)(電子回路)によって実現することができる。また、図1、及び、図6において、少なくとも、下記構成は、プロセッサによって実行される命令を含むソフトウェアプログラムの機能(処理)単位(ソフトウェアモジュール)と捉えることができる。
・取得部11及び31、
・算出部12及び32、
・出力部13及び33、
・記憶部14における記憶制御機能、
・生成部16。
<Hardware configuration example>
Each unit in the information resource allocation support apparatus shown in FIG. 1 and FIG. 6 in each of the above-described embodiments can be realized by a dedicated HW (Hardware) (electronic circuit). In addition, in FIGS. 1 and 6, at least the following configuration can be regarded as a functional (processing) unit (software module) of a software program including instructions to be executed by a processor.
- Acquisition units 11 and 31,
- calculators 12 and 32,
- output units 13 and 33,
- A storage control function in the storage unit 14,
- Generation unit 16 .
 但し、これらの図面に示した各部の区分けは、説明の便宜上の構成であり、実装に際しては、様々な構成が想定され得る。この場合のハードウェア環境の一例を、図7を参照して説明する。 However, the division of each part shown in these drawings is a configuration for convenience of explanation, and various configurations can be assumed upon implementation. An example of the hardware environment in this case will be described with reference to FIG.
 図7は、本発明の各実施形態に係る情報資源割当支援装置を実現可能な情報処理装置900(コンピュータ)の構成を例示的に説明する図である。即ち、図7は、図1及び図6に示した情報資源割当支援装置を実現可能なコンピュータ(情報処理装置)の構成であって、上述した実施形態における各機能を実現可能なハードウェア環境を表す。 FIG. 7 is a diagram illustrating the configuration of an information processing device 900 (computer) capable of realizing an 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 FIGS. show.
 図7に示した情報処理装置900は、構成要素として下記を備えている。
・CPU(Central_Processing_Unit)901、
・ROM(Read_Only_Memory)902、
・RAM(Random_Access_Memory)903、
・ハードディスク(記憶装置)904、
・通信インタフェース905、
・バス906(通信線)、
・CD-ROM(Compact_Disc_Read_Only_Memory)等の記録媒体907に格納されたデータを読み書き可能なリーダライタ908、
・モニターやスピーカ、キーボード等の入出力インタフェース909。
The information processing apparatus 900 shown in FIG. 7 has the following components as components.
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);
- An input/output interface 909 such as a monitor, a speaker, and a keyboard.
 即ち、上記構成要素を備える情報処理装置900は、これらの構成がバス906を介して接続された一般的なコンピュータである。情報処理装置900は、CPU901を複数備える場合もあれば、マルチコアにより構成されたCPU901を備える場合もある。 That is, the information processing device 900 having the above components is a general computer in which these components are connected via a bus 906 . The information processing apparatus 900 may include a plurality of CPUs 901 or may include CPUs 901 configured by multi-cores.
 そして、上述した実施形態は、図7に示した情報処理装置900に対して、次の機能を実現可能なコンピュータプログラムを供給してもよい。例えば、その機能とは、その実施形態の説明において参照したブロック構成図(図1及び図6)における上述した構成、或いはフローチャート(図4及び図5)の機能である。本実施形態に係る情報資源割当支援装置の機能は、その後、そのコンピュータプログラムを、当該ハードウェアのCPU901に読み出して解釈し実行することによって達成される。また、当該装置内に供給されたコンピュータプログラムは、読み書き可能な揮発性のメモリ(RAM903)、または、ROM902やハードディスク904等の不揮発性の記憶デバイスに格納すれば良い。 Further, in the above-described embodiment, a computer program capable of realizing the following functions may be supplied to the information processing apparatus 900 shown in FIG. For example, the function is the above-described configuration in the block configuration diagrams (FIGS. 1 and 6) referred to in the description of the embodiment, or the function of the flow charts (FIGS. 4 and 5). The functions of the information resource allocation support apparatus according to this embodiment are achieved by reading the computer program to the CPU 901 of the hardware, interpreting it, and executing it. Further, the computer program supplied to the apparatus may be stored in a readable/writable volatile memory (RAM 903) or a nonvolatile storage device such as ROM 902 or hard disk 904.
 また、前記の場合において、当該ハードウェア内へのコンピュータプログラムの供給方法は、現在では一般的な手順を採用することができる。その手順としては、例えば、CD-ROM等の各種記録媒体907を介して当該装置内にインストールする方法や、インターネット等の通信回線を介して外部よりダウンロードする方法等がある。そして、このような場合において、本実施形態に係る情報処理装置に供給されるコンピュータプログラムは、そのプログラムを構成するコード或いは、そのコードが格納された記録媒体907によって構成されると捉えることができる。 Also, in the above case, the method of supplying the computer program to the hardware concerned can adopt a general procedure at present. The procedure includes, for example, a method of installing in the device via various recording media 907 such as a CD-ROM, and a method of downloading from the outside via a communication line such as the Internet. In such a case, the computer program supplied to the information processing apparatus according to this embodiment can be considered to be composed of the code that constitutes the program or the recording medium 907 that stores the code. .
 以上、上述した実施形態を模範的な例として本発明を説明した。しかしながら、本発明は、上述した実施形態には限定されない。即ち、本発明は、本発明のスコープ内において、当業者が理解し得る様々な態様を適用することができる。 The present invention has been described above using the above-described embodiments as exemplary examples. However, the invention is not limited to the embodiments described above. That is, within the scope of the present invention, various aspects that can be understood by those skilled in the art can be applied to the present invention.
 この出願は、2021年3月25日に出願された日本出願特願2021-051807を基礎とする優先権を主張し、その開示の全てをここに取り込む。 This application claims priority based on Japanese Patent Application No. 2021-051807 filed on March 25, 2021, and the entire disclosure thereof is incorporated herein.
 10  情報資源割当支援装置
 11  取得部
 12  算出部
 13  出力部
 14  記憶部
 141  許容条件情報
 142  算出基準
 143  実行履歴情報
 15  ハードウェア資源
 151  CPU
 152  メモリ
 16  生成部
 20  端末装置
 200  表示画面
 30  情報資源割当支援装置
 31  取得部
 310  許容条件
 32  算出部
 320  算出基準
 33  出力部
 34  ハードウェア資源
 900  情報処理装置
 901  CPU
 902  ROM
 903  RAM
 904  ハードディスク(記憶装置)
 905  通信インタフェース
 906  バス
 907  記録媒体
 908  リーダライタ
 909  入出力インタフェース
REFERENCE SIGNS LIST 10 information resource allocation support device 11 acquisition unit 12 calculation unit 13 output unit 14 storage unit 141 permissible condition information 142 calculation criteria 143 execution history information 15 hardware resources 151 CPU
152 memory 16 generation unit 20 terminal device 200 display screen 30 information resource allocation support device 31 acquisition unit 310 permissible condition 32 calculation unit 320 calculation criteria 33 output unit 34 hardware resources 900 information processing device 901 CPU
902 ROMs
903 RAM
904 hard disk (storage device)
905 communication interface 906 bus 907 recording medium 908 reader/writer 909 input/output interface

Claims (8)

  1.  ユーザが所望する、第一のAI(Artificial Intelligence)処理の実行に要する実行時間と前記第一のAI処理に使用されるハードウェア資源の使用料金とに関する許容条件を取得する取得手段と、
     第二のAI処理に要する実行時間及び前記第二のAI処理に使用したハードウェア資源の使用料金の関係に関する算出基準に基づいて、前記許容条件を満たすような前記第一のAI処理に要する実行時間と、前記第一のAI処理に使用されるハードウェア資源の使用料金とを算出する算出手段と、
     前記算出手段により算出される実行時間及び使用料金を出力する出力手段と、
     を備える情報資源割当支援装置。
    Acquisition means for acquiring user-desired allowable conditions relating to the execution time required to execute a first AI (Artificial Intelligence) process and the usage fee for hardware resources used in the first AI process;
    Execution required for the first AI processing that satisfies the permissible condition based on a calculation standard relating to the relationship between the execution time required for the second AI processing and the usage fee for the hardware resources used for the second AI processing. calculation means for calculating time and usage fees for hardware resources used in the first AI processing;
    an output means for outputting the execution time and usage fee calculated by the calculation means;
    An information resource allocation support device comprising:
  2.  前記取得手段は、チャットボットを介して、前記ユーザにより入力される前記許容条件を取得する、
     請求項1に記載の情報資源割当支援装置。
    The acquisition means acquires the permissible condition input by the user via a chatbot.
    2. The information resource allocation support device according to claim 1.
  3.  前記第二のAI処理に要する実行時間及び前記第二のAI処理に使用したハードウェア資源の使用料金の関係を学習することで、前記算出基準を生成する生成手段をさらに備える、
     請求項1または請求項2に記載の情報資源割当支援装置。
    Further comprising generating means for generating the calculation criteria 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,
    3. The information resource allocation support device according to claim 1 or 2.
  4.  前記取得手段は、前記出力手段により出力される前記実行時間及び前記使用料金に対する前記ユーザによる評価を取得し、
     前記生成手段は、前記ユーザによる評価と、前記出力手段により出力される前記実行時間及び前記使用料金とに基づいて、前記算出基準を更新する
     請求項3に記載の情報資源割当支援装置。
    the acquisition means acquires the user's evaluation of the execution time and the usage fee output by the output means;
    4. The information resource allocation support apparatus according to claim 3, wherein said generating means updates said calculation criteria based on said evaluation by said user and said execution time and said usage fee output by said output means.
  5.  前記取得手段は、前記第一のAI処理が使用する入力データの大きさを含む前記許容条件を取得する、
     請求項1乃至請求項4のいずれか一項に記載の情報資源割当支援装置。
    the acquisition means acquires the permissible condition including the size of input data used by the first AI process;
    5. The information resource allocation support device according to any one of claims 1 to 4.
  6.  前記取得手段は、前記第一のAI処理に関するプログラムコードのデータサイズをさらに取得し、
     前記算出手段は、前記データサイズをさらに用いて、前記算出基準に基づいて、前記許容条件を満たすような前記第一のAI処理に要する実行時間と、前記第一のAI処理に使用されるハードウェア資源の使用料金とを算出する
     請求項1乃至請求項5のいずれか一項に記載の情報資源割当支援装置。
    The acquisition means further acquires the data size of the program code related to the first AI processing,
    The calculation means further uses the data size, and based on the calculation criteria, the execution time required for the first AI processing that satisfies the allowable condition, and the hardware used for the first AI processing. 6. The information resource allocation support device according to any one of claims 1 to 5, further comprising: calculating a usage fee for the ware resource.
  7.  情報処理装置によって、
      ユーザが所望する、第一のAI処理の実行に要する実行時間と前記第一のAI処理に使用されるハードウェア資源の使用料金とに関する許容条件を取得し、
      第二のAI処理に要する実行時間及び前記第二のAI処理に使用したハードウェア資源の使用料金の関係に関する算出基準に基づいて、前記許容条件を満たすような前記第一のAI処理に要する実行時間と、前記第一のAI処理に使用されるハードウェア資源の使用料金とを算出し、
      算出した実行時間及び使用料金を出力する、
     情報資源割当支援方法。
    Information processing equipment
    Acquiring user-desired permissible conditions regarding the execution time required for execution of the first AI processing and usage fees for hardware resources used in the first AI processing;
    Execution required for the first AI processing that satisfies the permissible condition based on a calculation standard relating to the relationship between the execution time required for the second AI processing and the usage fee for the hardware resources used for the second AI processing. calculating the time and the usage fee of the hardware resources used for the first AI processing;
    Output the calculated execution time and usage fee,
    Information resource allocation support method.
  8.  ユーザが所望する、第一のAI処理の実行に要する実行時間と前記第一のAI処理に使用されるハードウェア資源の使用料金とに関する許容条件を取得する取得処理と、
     第二のAI処理に要する実行時間及び前記第二のAI処理に使用したハードウェア資源の使用料金の関係に関する算出基準に基づいて、前記許容条件を満たすような前記第一のAI処理に要する実行時間と、前記第一のAI処理に使用されるハードウェア資源の使用料金とを算出する算出処理と、
     前記算出処理により算出される実行時間及び使用料金を出力する出力処理と、
     をコンピュータに実行させるための情報資源割当支援プログラムが格納された記録媒体。
    Acquisition processing for acquiring user-desired permissible conditions relating to the execution time required to execute the first AI processing and usage fees for hardware resources used in the first AI processing;
    Execution required for the first AI processing that satisfies the permissible condition based on a calculation standard relating to the relationship between the execution time required for the second AI processing and the usage fee for the hardware resources used for the second AI processing. a calculation process for calculating time and a usage fee for hardware resources used in the first AI process;
    an output process for outputting the execution time and usage fee calculated by the calculation process;
    A recording medium storing an information resource allocation support program for causing a computer to execute
PCT/JP2022/012662 2021-03-25 2022-03-18 Information resource allocation assistance device, information resource allocation assistance method, and recording medium storing information resource allocation assistance program WO2022202676A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023509130A JPWO2022202676A5 (en) 2022-03-18 Information resource allocation support device, information resource allocation support method, and information resource allocation support program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021051807 2021-03-25
JP2021-051807 2021-03-25

Publications (1)

Publication Number Publication Date
WO2022202676A1 true WO2022202676A1 (en) 2022-09-29

Family

ID=83397208

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/012662 WO2022202676A1 (en) 2021-03-25 2022-03-18 Information resource allocation assistance device, information resource allocation assistance method, and recording medium storing information resource allocation assistance program

Country Status (1)

Country Link
WO (1) WO2022202676A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001319153A (en) * 2000-05-02 2001-11-16 Fujitsu Ltd Charging system by operation unit
JP2002183416A (en) * 2000-12-15 2002-06-28 Hitachi Ltd System proposing method, device for performing it, storage medium storing its processing program
JP2007140906A (en) * 2005-11-18 2007-06-07 Hitachi Ltd Method and system for trading information processing performance
US20140279320A1 (en) * 2013-03-15 2014-09-18 Bracket Computing, Inc. Allocating and pricing virtual resources
JP2017521765A (en) * 2014-06-11 2017-08-03 フーガ インコーポレイテッド System and method for optimizing cloud service selection based on price and performance
JP2020144510A (en) * 2019-03-05 2020-09-10 日本電気株式会社 Job control system, method and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001319153A (en) * 2000-05-02 2001-11-16 Fujitsu Ltd Charging system by operation unit
JP2002183416A (en) * 2000-12-15 2002-06-28 Hitachi Ltd System proposing method, device for performing it, storage medium storing its processing program
JP2007140906A (en) * 2005-11-18 2007-06-07 Hitachi Ltd Method and system for trading information processing performance
US20140279320A1 (en) * 2013-03-15 2014-09-18 Bracket Computing, Inc. Allocating and pricing virtual resources
JP2017521765A (en) * 2014-06-11 2017-08-03 フーガ インコーポレイテッド System and method for optimizing cloud service selection based on price and performance
JP2020144510A (en) * 2019-03-05 2020-09-10 日本電気株式会社 Job control system, method and program

Also Published As

Publication number Publication date
JPWO2022202676A1 (en) 2022-09-29

Similar Documents

Publication Publication Date Title
CN108304201B (en) Object updating method, device and equipment
US20180101371A1 (en) Deployment manager
US7979864B2 (en) Apparatus for setting used license of executing job into unused license state and allocating the set unused license to a to be executed job based on priority
US9542226B2 (en) Operating programs on a computer cluster
CN110427258B (en) Resource scheduling control method and device based on cloud platform
CN108776587B (en) Data acquisition method and device, computer equipment and storage medium
JPWO2018066040A1 (en) Management computer and test environment determination method
US11068317B2 (en) Information processing system and resource allocation method
CN113672375B (en) Resource allocation prediction method, device, equipment and storage medium
JP5315128B2 (en) Process request destination management apparatus, process request destination management program, and process request destination management method
JP5304950B2 (en) Database management method, database management apparatus, and database management program
CN110825425A (en) Configuration data management method and device, electronic equipment and storage medium
WO2022202676A1 (en) Information resource allocation assistance device, information resource allocation assistance method, and recording medium storing information resource allocation assistance program
CN110806891B (en) Method and device for generating software version of embedded device
CN110955449B (en) Gray scale release method and device for client
CN116881003A (en) Resource allocation method, device, service equipment and storage medium
JP6422346B2 (en) Program generation apparatus and program generation method
CN112732367A (en) Event flow processing method, device and equipment and readable storage medium
JP6724631B2 (en) Information processing device and program
CN110389754A (en) Method for processing business, system, server, terminal, electronic equipment and storage medium
CN110780983A (en) Task exception handling method and device, computer equipment and storage medium
JPWO2018198745A1 (en) Computing resource management device, computing resource management method, and program
JP7140670B2 (en) Process control support system, process control support method, and process control support program
WO2021192184A1 (en) Memory control method
CN112929398B (en) Data sharing method, device, server and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22775464

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023509130

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22775464

Country of ref document: EP

Kind code of ref document: A1