Server, client, control method, and communication system

The system addresses the limitation of conventional offload processing by using processing content analysis and time prediction units to estimate processing times for unregistered processes, enabling efficient offload processing even for processes not in the server's library.

WO2024202001A1PCT designated stage expired Publication Date: 2024-10-03NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/013536
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Conventional processing offload technologies require processes to be registered in the server's library, limiting offload processing capabilities for unregistered processes due to the need for explicit processing time calculations.

Method used

The system includes a processing content analysis unit in the client and a processing time prediction unit in the server that estimate processing time based on average times from reference calculation resources, allowing offload processing for unregistered processes by calculating expected processing times and standard processing times using shared library processes.

Benefits of technology

Enables offload processing requests to be satisfied for processes not registered in the server's library by dynamically estimating processing times, improving flexibility and efficiency in resource allocation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023013536_03102024_PF_FP_ABST
    Figure JP2023013536_03102024_PF_FP_ABST
Patent Text Reader

Abstract

An embodiment of the present invention is a server comprising: a reading unit that reads a processing amount of offload processing and the data size of data to be processed by the offload processing, which are transmitted from a client, the offload processing being constituted by library processing belonging to a prescribed library; a first calculation unit that calculates an estimated processing time in accordance with the data size, the processing amount, and the average time when the library processing is executed by a predetermined reference calculation resource among calculation resources executing the library processing; and a second calculation unit that calculates a reference processing time when reference processing is executed by the reference calculation resource.
Need to check novelty before this filing date? Find Prior Art

Description

Server, client, control method, and communication system

[0001] The present invention relates to technologies for a server, a client, a control method, and a communication system.

[0002] Currently, there are studies underway to enable clients to offload processing to computing resources via a network. In this regard, a technology has been disclosed in which, in response to a processing offload request sent from a client to a server, the server calculates the processing time from the processing content and selects a computing resource to execute the processing, thereby realizing offloading (see Patent Document 1).

[0003] The procedure for selecting computing resources on the server side is as follows: First, the client attaches processing offload request information (hereinafter referred to as a "request signal") to the data to be processed and sends it to the server controller. This request signal includes the details of the requested offload processing (hereinafter referred to as the "processing details") and the time until the offload is completed (hereinafter referred to as the "request time").

[0004] The server controller that receives the request signal reads the processing content and requested time from the received request signal, then checks a table containing information about the computing resources it manages (hereinafter referred to as "computing resource management information") and selects computing resources that can execute the processing content within the requested time.

[0005] International Publication No. 2022 / 137425

[0006] However, with the above-mentioned conventional technology, when an offload processing request is made, the server must read the text data indicating the details of each process, extract each process and its argument size, and calculate the processing time required for each process. As a result, there was a problem that only processes registered in the library on the server and whose processing details could be determined in advance could satisfy the offload processing request.

[0007] In view of the above circumstances, an object of the present invention is to provide a technique that can satisfy the demand for offload processing even for processing that is not registered in a library within a server.

[0008] One aspect of the present invention is a server comprising: a reading unit that reads the processing volume of an offload process and the data size of data to be processed by the offload process, which are sent from a client; the offload process being composed of library processes belonging to a predetermined library; a first calculation unit that calculates an expected processing time based on the processing volume and the data size, an average time when the library process is executed using a predetermined standard computing resource among the computing resources that execute the library process; and a second calculation unit that calculates a standard processing time when the standard processing is executed using the standard computing resource.

[0009] One aspect of the present invention is a client comprising: a processing content acquisition unit that acquires processing content including a processing name and argument names of an offload processing to be processed by a server; a processing amount acquisition unit that acquires the processing amount of the offload processing from the processing name; a size acquisition unit that acquires the data size of data to be processed in the offload processing from the argument name; a request time acquisition unit that acquires a request time indicating a time limit required for the offload processing; and a transmission unit that transmits the request time, the processing amount, and the data size to the server.

[0010] One aspect of the present invention is a server control method comprising: a reading step of reading the processing volume of an offload process and the data size of data to be processed by the offload process, which are transmitted from a client; the offload process being composed of library processes belonging to a predetermined library; a first calculation step of calculating an expected processing time based on an average time when the library process is executed using a predetermined reference computing resource among the computing resources that execute the library process, the processing volume, and the data size; and a second calculation step of calculating a reference processing time when the reference process is executed using the reference computing resource.

[0011] One aspect of the present invention is a control method for a client, comprising: a processing content acquisition step of acquiring processing content including a processing name and argument names of an offload processing to be processed by a server; a processing amount acquisition step of acquiring the processing amount of the offload processing from the processing name; a size acquisition step of acquiring the data size of data to be processed in the offload processing from the argument name; a requested time acquisition step of acquiring a requested time indicating a time limit required for the offload processing; and an output step of outputting the requested time, the processing amount, and the data size to the server.

[0012] One aspect of the present invention is a communication system including a client and a server, wherein the client comprises: a processing content acquisition unit that acquires processing content including a processing name and argument names of an offload processing to be processed by the server; a processing amount acquisition unit that acquires the processing amount of the offload processing from the processing name; a size acquisition unit that acquires the data size of data to be processed in the offload processing from the argument name; a requested time acquisition unit that acquires a requested time indicating the time until the offload processing is completed; and an output unit that outputs the requested time, the processing amount, and the data size to the server, wherein the offload processing is composed of library processing belonging to a predetermined library, and the server comprises: a first calculation unit that calculates an expected processing time based on an average time when the library processing is executed using a predetermined standard computing resource among the computing resources that execute the library processing, the processing amount, and the data size; and a second calculation unit that calculates a standard processing time when a standard processing is executed using the standard computing resource.

[0013] According to the present invention, it is possible to satisfy the demand for offload processing even for processing that is not registered in the library within the server.

[0014] 1 is a block diagram showing the configuration of a client and a server that make up a communication system; FIG. 2 is a diagram showing the configuration of processing content; FIG. 3 is a diagram showing the configuration of processing content analysis information; FIG. 4 is a diagram showing the configuration of request information; FIG. 5 is a diagram showing the configuration of an offload request signal; FIG. 6 is a diagram showing the processing flow in Example 1; FIG. 7 is a diagram showing the processing flow in Example 2; FIG. 8 is a diagram showing the processing flow in Example 3; FIG. 9 is a diagram showing the processing flow in Example 4; FIG. 10 is a diagram showing the processing flow in Example 5; and FIG. 11 is a diagram showing the processing flow in Example 6.

[0015] An embodiment of the present invention will be described in detail with reference to the drawings. Fig. 1 is a block diagram showing the configuration of a client 100 and a server 200 that constitute a communication system 10 according to this embodiment. The client 100 and the server 200 are connected via a network.

[0016] In the communication system 10 according to the embodiment, a client 100 requests a server 200 to offload a process generated by the execution of an application via a network. The process requested to be offloaded is generally a high-load process, and is a process whose processing time depends on factors such as data size, such as image processing.

[0017] A program executed by an application on the client 100 (hereinafter referred to as an "executable program") is composed of processes described in a shared library and a created library, and a set of variables. Here, a shared library refers to a library created by the server 200 and shared with the client 100. A created library refers to a library created by the client 100 with reference to a shared library.

[0018] The client 100 is composed of an application execution unit 101, a library group 102, a processing content analysis unit 103, a request signal generation unit 104, and a request signal attachment unit 105. The application execution unit 101 transmits the processing content of the processing for which an offload request is desired to be made to the processing content analysis unit 103. FIG. 2A is a diagram showing the configuration of the processing content. The processing content is composed of a "processing name" and an "argument name." The "processing name" indicates the name of the processing, and the "argument name" indicates the name of the data to be processed (hereinafter referred to as "processing data").

[0019] The application execution unit 101 transmits a time indicating the time until the requested offload processing is completed (hereinafter referred to as the "request time") to the request signal generation unit 104. The application execution unit 101 transmits processing data having the above-mentioned "argument name" format to the request signal assignment unit 105. The application execution unit 101 then receives the processing results of the offloaded processing from the computational resource 210 of the server 200.

[0020] The processing content analysis unit 103 analyzes the processing content received from the application execution unit 101 and generates processing content analysis information. The processing content analysis unit 103 is made up of a processing content acquisition unit 111, a processing amount acquisition unit 112, and a size acquisition unit 113.

[0021] The processing content acquisition unit 111 acquires processing content including the processing name and argument names of the offload processing to be executed by the server 200. The processing amount acquisition unit 112 acquires the processing amount of the offload processing from the processing name. The size acquisition unit 113 acquires the data size of the data to be processed in the offload processing from the argument name. Based on these, the processing content analysis unit 103 generates processing content analysis information.

[0022] FIG. 2B is a diagram showing the configuration of processing content analysis information. Processing content analysis information is composed of "amount of constituent processing," "argument size," and "processing name." Of these, "processing name" may not be included in the processing content analysis information in some of the following embodiments. "Amount of constituent processing" indicates the amount of processing requested for offloading, and details will be described later. "Argument size" is the size of the argument determined from the "argument name." "Processing name" is the same as the "processing name" of the processing content.

[0023] The processing content analysis unit 103 transmits the generated processing content analysis information to the request signal generation unit 104. At this time, the processing content analysis unit 103 uses a library group 102 configured based on processes that can be executed by the computational resources 210 of the server 200 for processing content analysis.

[0024] The request signal generation unit 104 acquires the request time received from the application execution unit 101, and generates request information from the acquired request time and processing content analysis information received from the processing content analysis unit 103. This request signal generation unit 104 is an example of a request time acquisition unit that acquires the request time indicating the time limit required for offload processing. FIG. 2C is a diagram showing the configuration of the request information. The request information is made up of a "request time" and "processing content analysis information." The "request time" and "processing content analysis information" are as described above. The request signal generation unit 104 transmits the generated request information to the request signal assignment unit 105.

[0025] The request signal assigning unit 105 assigns the request information received from the request signal generating unit 104 to the processing data received from the application executing unit 101, and transmits the resulting signal as an offload request signal to the signal reading unit 201 of the server. FIG. 2D is a diagram showing the configuration of an offload request signal. The offload request signal is composed of "request information" and "processing data." The "request information" and "processing data" are as described above. The request signal assigning unit 105 is an example of a transmitting unit.

[0026] The server 200 is composed of a signal reading unit 201, a processing time prediction unit 202, processing computational resource data 203, a buffer management unit 204, a computational resource selection unit 205, computational resource management data 206, a signal transfer unit 207, a computational resource control unit 208, and a computational resource group 209 including multiple computational resources 210.

[0027] The signal reading unit 201 reads processing data and request information from the offload request signal received from the request signal issuing unit 105 of the client 100. The signal reading unit 201 transmits processing content analysis information, which is part of the read request information, to the processing time prediction unit 202. The signal reading unit 201 transmits the amount of component processing, etc., included in the processing content analysis information, and the requested time to the computing resource selection unit 205. At the same time, the signal reading unit 201 transmits the processing data to the buffer management unit 204.

[0028] The processing computation resource data 203 is data used by the processing time prediction unit 202 to predict the processing time of the processing indicated by the offload request signal. The processing time prediction unit 202 predicts the processing time to select computation resources based on the processing content analysis information received from the signal reading unit 201 and the processing computation resource data 203.

[0029] The processing time prediction unit 202 is composed of a reading unit 211, a first calculation unit 212, and a second calculation unit 213. The reading unit 211 reads the processing volume of the offload processing and the data size (argument size) of the data to be processed in the offload processing, which are transmitted from the client. The first calculation unit 212 calculates an estimated processing time based on the average time (average processing time) when the library processing is executed using a predetermined reference computing resource among the computing resources that execute the library processing, the processing volume, and the data size. The second calculation unit 213 calculates a reference processing time when the reference processing is executed using the reference computing resource (hereinafter also referred to as the "processing time of the reference processing"). The processing time prediction unit 202 transmits processing time information including the estimated processing time obtained as a result of the prediction to the computing resource selection unit 205.

[0030] The computational resource management data 206 is data used by the computational resource selection unit 205 to select a computational resource. Specifically, it is data made up of information necessary for selecting each computational resource 210.

[0031] The buffer management unit 204 holds the processing data received from the signal reading unit 201. The buffer management unit 204 reads out control information indicating the control content from the computational resource selection unit 205, and transmits the processing data to the signal transfer unit 207.

[0032] The computational resource selection unit 205 reads the amount of component processing received from the signal reading unit 201, the required time, and the processing time information received from the processing time prediction unit 202. Based on the read information, the computational resource selection unit 205 selects an appropriate computational resource 210 from among those confirmed in the computational resource management data 206. Then, the computational resource selection unit 205 controls the signal transfer unit 207 by transmitting control information to the signal transfer unit 207 so that the data to be processed is transferred from the signal transfer unit 207 to the selected computational resource 210.

[0033] Furthermore, the computational resource selection unit 205 transmits the location of the selected computational resource 210 and the type of processing for the processing data (e.g., image processing, machine learning, etc.) to the computational resource control unit 208. Note that, in selecting the computational resource 210, the computational resource selection unit 205 may search for a computational resource 210 that can execute processing within a requested time from the computational resource management data 206, or may search for a computational resource 210 that can execute processing within a time obtained by subtracting additional time required other than processing the processing data from the requested time. The computational resource selection unit 205 is an example of a selection unit that selects a computational resource that can execute processing within a requested time based on an expected processing time and the processing time of a reference process.

[0034] The signal transfer unit 207 transmits the processing data received from the buffer management unit 204 to the computational resource 210 under the control of the computational resource selection unit 205. The computational resource 210 executes processing on the processing data received from the signal transfer unit 207 according to the type of processing instructed by the computational resource selection unit 205. The computational resource 210 transmits the processing result to the application execution unit 101 of the client 100. The computational resource 210 may be, for example, a hardware resource such as a GPU (Graphics Processing Unit) or an FPGA (Field Programmable Gate Array), a process or job running on a computer, or an abstract computational model.

[0035] Specific processing details of the processing content analysis unit 103 and the processing time prediction unit 202 in the above-described configuration will be described using Examples 1 to 6. (Example 1) FIG. 3 is a diagram showing the processing flow in Example 1. The processing content acquisition unit 111 of the processing content analysis unit 103 reads and acquires processing content generated by the application execution unit 101, which includes a processing name and argument names (step S101). The processing amount acquisition unit 112 of the processing content analysis unit 103 searches for the processing name from the search destination and confirms the description of the corresponding processing (step S102). The processing amount acquisition unit 112 of the processing content analysis unit 103 confirms the number of line breaks from the description (step S103). The processing amount acquisition unit 112 of the processing content analysis unit 103 acquires the confirmed number of line breaks as the amount of configuration processing in the processing content analysis information (step S104). Furthermore, the size acquisition unit 113 of the processing content analysis unit 103 searches for the argument name from the search destination and confirms the variable type (step S105). The size acquisition unit 113 of the processing content analysis unit 103 searches the search destination for the variable type and confirms the argument size (step S106). The size acquisition unit 113 of the processing content analysis unit 103 acquires the confirmed argument size as the argument size in the processing content analysis information (step S104). The processing content analysis information constructed in step S104 is transmitted to the server 200 and received by the processing time prediction unit 202. In the above-mentioned processing, the process name, argument size, and amount of constituent processing are information dynamically generated by the client 100.

[0036] The processing time prediction unit 202 first checks the processing computation resource data 203 (step S201). At the same time, the reading unit 211 of the processing time prediction unit 202 reads the processing content analysis information (step S204).

[0037] The first calculation unit 212 of the processing time prediction unit 202 obtains an equation for processing time with the argument size as a variable by multiplying the amount of constituent processing in the processing content analysis information by the average processing time of processing in the shared library in the reference computing resource (hereinafter referred to as the "reference computing resource"), and then calculates the predicted processing time by substituting the argument size (step S202).

[0038] In step S201, the second calculation unit 213 of the processing time prediction unit 202 calculates the processing time of the reference process when the reference process is executed with the reference computational resources. The processing time prediction unit 202 then generates processing time information from the calculated predicted processing time and the processing time of the reference process with the reference computational resources (step S203). In the above-described processing, the processing time of the reference process and the average processing time are information dynamically generated by the server 200.

[0039] An example of a method for selecting a computing resource using processing time information will be described below. Let us assume that the predicted processing time is t1 and the processing time of the reference processing of the reference computing resource is t2. In this case, since it is known that the reference processing requires time t2 and the predicted processing time is t1, for example, when the requested time is t3, the computing resource selection unit 205 selects a computing resource 210 that can execute the processing in T (= t3 × t2 / t1) (the additional time is not considered here).

[0040] In this way, the computational resource selection unit 205 can select the computational resource 210 by using the predicted processing time and the processing time of the reference processing of the reference computational resource. Next, two specific examples of the first embodiment will be described.

[0041] (Specific Example 1 of Example 1) In specific example 1, the shared library L and execution program P are configured as follows. The shared library L is made up of argument type A and library processes (process a, process b, process c) belonging to the shared library L. The argument size of argument type A is 64. The equations showing the relationship between the average time of the reference computing resource, the processing time of process a, and the argument size are as follows: Average processing time = 2 x <argument size> / 32 ms Processing time of process a = 1.5 x <argument size> / 32 ms

[0042] Execution program P is composed of a process that executes process b on variable InputA of type 1. In this case, the process content analysis unit 103 obtains the following by reading the process content: Process name: Process b Argument name: InputA By searching the search destination, the process content analysis unit 103 confirms that variable InputA is a variable of argument type A described in the shared library. The process content analysis unit 103 obtains the number of line breaks, 1, from the process name and sets this value as the amount of constituent processes. In this embodiment, the number of processes is used as the number of line breaks. For example, if there are two process names, Process a and Process b, the number of line breaks is 2, which is the amount of constituent processes. The process content analysis unit 103 confirms the argument size, 64, from the argument type A. From the above, the process content analysis unit 103 constructs the following process content analysis information: Amount of constituent processes: 1 Argument size: 64 The processing time prediction unit 202 receives these values.

[0043] The processing time prediction unit 202 checks the processing time and average processing time of process a for the reference computing resource and reads the processing content analysis information. The reason process a is used when process b is executed is because processes belonging to the same library require similar processing times. Therefore, the processing time of process c may also be used. The processing time prediction unit 202 uses the average processing time of the reference computing resource to calculate the following equation for argument size, which indicates the processing time of the reference computing resource: Predicted processing time = (amount of constituent processing) × 2 × <argument size> / 32 ms. Substituting the amount of constituent processing of 1 and the argument size of 64 into this equation, a predicted processing time of 4 ms is obtained. In this way, the predicted processing time is determined based on the product of the average time and the processing amount (amount of constituent processing). Furthermore, the predicted processing time and the processing time of the reference processing are determined based on the data size. The processing time prediction unit 202 constructs processing time information as follows: Processing time of process a for the reference computing resource: 1.5 × <argument size> / 32 ms = 3 ms Predicted processing time: 4 ms

[0044] (Specific Example 2 of Example 1) In specific example 2, the shared library L1, created library L2, and execution program P are configured as follows. Shared library L is composed of argument type A and library processes (process a, process b, process c) belonging to shared library L. The argument size of argument type A is 64. The equations showing the relationship between the average time of the reference computing resource, the processing time of process a, and the argument size are as follows: Average processing time = 2 x <argument size> / 32 ms Processing time of process a = 1.5 x <argument size> / 32 ms

[0045] The created library L2 is composed of process A. Process A is a set of processes as follows. Process A is executed in the order of process a, process b, and process c. Process A: process a, process b, process c. The execution program P is composed of a process that executes process A on the variable InputA of type 1. In this case, the process content analysis unit 103 obtains the following by reading the process content. Process name: A By searching the search destination, the process content analysis unit 103 confirms that process A is a set of processes described in the shared library, and that its configuration is process a, process b, and process c, as described above. Argument name: InputA By searching the search destination, the process content analysis unit 103 confirms that the variable InputA is a variable of argument type typeA described in the shared library. The process content analysis unit 103 obtains the number of line breaks, 3, from the process name and sets this value as the amount of constituent processes. The process content analysis unit 103 confirms that the argument size is 64 from the argument type typeA. From the above, the processing content analysis unit 103 constructs the following processing content analysis information: Amount of component processing: 3 Argument size: 64 The processing time prediction unit 202 receives these values.

[0046] The processing time prediction unit 202 checks the processing time and average processing time of process a for the reference computing resource and reads the processing content analysis information. Using the average processing time of the reference computing resource, the processing time prediction unit 202 calculates the following equation for the argument size, which indicates the processing time of the reference computing resource: Predicted processing time = (amount of component processing) × 2 × <argument size> / 32 ms. Substituting the amount of component processing (3) and the argument size (64) into this equation, the calculation yields a predicted processing time of 12 ms. The processing time prediction unit 202 generates processing time information as follows: Processing time of process a for the reference computing resource: 1.5 × <argument size> / 32 ms = 3 ms. Predicted processing time: 12 ms. As described in the above-mentioned specific examples 1 and 2, according to this embodiment, the server 200 predicts the processing time of the processing indicated by the offload request signal using the processing content analysis information. This allows the processing time to be quickly determined without performing conventional processing. Based on the predicted processing time, the server 200 then selects a computing resource capable of processing within the requested time. Therefore, even for processes that are not registered in the library within the server, offload processing requests can be met.

[0047] (Example 2) In Example 2, when the amount of component processing is 1, that is, when the offload processing requested by the client is processing within a shared library, the computing resources are selected using the processing time of that processing. FIG. 4 illustrates a process flow in Example 2. The processing content analysis unit 103 reads the processing content generated by the application execution unit 101, which includes a processing name and argument names (step S301). The processing content analysis unit 103 searches the search destination for the processing name and confirms the description of the corresponding processing (step S302). The processing content analysis unit 103 confirms the number of line breaks from the description (step S303). The processing content analysis unit 103 sets the confirmed number of line breaks as the amount of component processing in the processing content analysis information (step S304). The processing content analysis unit 103 also searches the search destination for the argument name and confirms the variable type (step S305). The processing content analysis unit 103 searches the search destination for the variable type and confirms the argument size (step S306). The processing content analysis unit 103 sets the confirmed argument size as the argument size in the processing content analysis information (step S304). The processing content analysis unit 103 also includes the process name in the processing content analysis information (step S304). The processing content analysis information constructed in step S304 is sent to the server 200 and received by the processing time prediction unit 202.

[0048] The processing time prediction unit 202 first checks the processing computation resource data 203 (step S401), and simultaneously reads the processing content analysis information (step S404).

[0049] When the amount of component processing in the processing content analysis information is 2 or more, the processing time prediction unit 202 obtains a processing time equation with argument size as a variable by multiplying the average processing time of processing in the shared library in the reference computing resource.Then, the predicted processing time is calculated by substituting the argument size (step S402).On the other hand, when the amount of component processing is 1, the processing time prediction unit 202 sets the predicted processing time to 0 (step S402).

[0050] The processing time prediction unit 202 constructs processing time information from the process name, the processing time of the reference process of the reference computational resource, and the predicted processing time (step S403). If the calculated predicted processing time is not zero, the computational resource selection unit 205 selects a computational resource 210 by using the predicted processing time and the processing time of the reference process of the reference computational resource. On the other hand, if the calculated predicted processing time is zero, the computational resource selection unit 205 selects a computational resource 210 using the process name. As such, according to this embodiment, it is possible to quickly grasp the processing time as in Example 1, and to improve the prediction accuracy of the processing time.

[0051] (Example 3) Example 3 is an example in which the accuracy of predicting processing time is improved by further limiting the types of computational resources in Example 2. FIG. 5 is a diagram showing the processing flow in Example 3. The processing content analysis unit 103 reads the processing content generated by the application execution unit 101, which includes the processing name, argument name, and type of computational resource (step S501). The processing content analysis unit 103 searches the search destination for the processing name and confirms the description of the corresponding processing (step S502). The processing content analysis unit 103 confirms the number of line breaks from the description (step S503). The processing content analysis unit 103 sets the confirmed number of line breaks as the amount of constituent processing in the processing content analysis information (step S504). The processing content analysis unit 103 also searches the search destination for the argument name and confirms the variable type (step S505). The processing content analysis unit 103 searches the search destination for the variable type and confirms the argument size (step S506). The processing content analysis unit 103 sets the confirmed argument size as the argument size in the processing content analysis information (step S504). The processing content analysis unit 103 also includes the process name and the type of computational resource in the processing content analysis information (step S504). The processing content analysis information constructed in step S504 is sent to the server 200 and received by the processing time prediction unit 202. In the above-described processing, not only the process name, argument size, and amount of constituent processing, but also the type of computational resource is information dynamically generated by the client 100.

[0052] The processing time prediction unit 202 first checks the processing computation resource data 203 (step S601), and simultaneously reads the processing content analysis information (step S604).

[0053] When the amount of constituent processing in the processing content analysis information is 2 or more, the processing time prediction unit 202 obtains a processing time equation with argument size as a variable by multiplying the average processing time of processing in the shared library for the reference computing resource corresponding to the type of computing resource. Then, the processing time prediction unit 202 calculates the predicted processing time by substituting the argument size (step S602). At this time, the processing time is calculated for the reference computing resource corresponding to the type of computing resource, and a combination of the predicted processing time and type of the smallest reference computing resource is formed. On the other hand, when the amount of constituent processing is 1, the processing time prediction unit 202 sets the predicted processing time to 0 (step S602).

[0054] The processing time prediction unit 202 constructs processing time information from the process name, the type of computational resource, the processing time of the reference process of the reference computational resource corresponding to the type, and the predicted processing time (step S603). If the calculated predicted processing time is not zero, the computational resource selection unit 205 selects a computational resource 210 by using the predicted processing time and the processing time of the reference process of the reference computational resource. On the other hand, if the calculated predicted processing time is zero, the computational resource selection unit 205 selects a computational resource 210 by using the process name. As described above, according to this embodiment, the processing time can be grasped quickly as in Example 1, and the prediction accuracy of the processing time can be improved compared to Example 2 because the types of computational resources are limited.

[0055] (Example 4) Example 4 is an example in which the accuracy of predicting the processing time for a set of processes is improved by further limiting the types of processes in Example 2. FIG. 6 is a diagram showing the processing flow in Example 4. The processing content analysis unit 103 reads the processing content generated by the application execution unit 101, which includes the processing name, argument name, and processing type (step S701). The processing content analysis unit 103 searches the search destination for the processing name and confirms the description of the corresponding processing (step S702). The processing content analysis unit 103 confirms the number of line breaks from the description (step S703). The processing content analysis unit 103 sets the confirmed number of line breaks as the amount of constituent processing in the processing content analysis information (step S704). The processing content analysis unit 103 also searches the search destination for the argument name and confirms the variable type (step S705). The processing content analysis unit 103 searches the search destination for the variable type and confirms the argument size (step S706). The processing content analysis unit 103 sets the confirmed argument size as the argument size in the processing content analysis information (step S704). The processing content analysis unit 103 also includes the processing name and processing type in the processing content analysis information (step S704). The processing content analysis information constructed in step S704 is sent to the server 200 and received by the processing time prediction unit 202. In the above-described processing, not only the processing name, argument size, and amount of constituent processing, but also the processing type is information dynamically generated by the client 100.

[0056] The processing time prediction unit 202 first checks the processing computation resource data 203 (step S801), and simultaneously reads the processing content analysis information (step S804).

[0057] When the amount of constituent processes in the processing content analysis information is 2 or more, the processing time prediction unit 202 multiplies the average processing time of the processes in the shared library for the standard computing resources corresponding to the type of process by 2 to obtain a processing time equation with the argument size as a variable. Then, the predicted processing time is calculated by substituting the argument size (step S802). At this time, the processing time is calculated for the number of standard computing resources corresponding to the type of process, and a combination of the predicted processing time for the smallest standard computing resource and the type is formed. On the other hand, when the amount of constituent processes is 1, the processing time prediction unit 202 sets the predicted processing time to 0 (step S802).

[0058] The processing time prediction unit 202 constructs processing time information from the process name, the process type, the processing time of the reference process of the reference computational resource corresponding to the process type, and the predicted processing time (step S803). If the calculated predicted processing time is not zero, the computational resource selection unit 205 selects a computational resource 210 by using the predicted processing time and the processing time of the reference process of the reference computational resource. On the other hand, if the calculated predicted processing time is zero, the computational resource selection unit 205 selects a computational resource 210 by using the process name. As described above, according to this embodiment, the processing time can be grasped quickly as in Example 1, and the prediction accuracy of the processing time can be improved because the process types are limited compared to Example 2.

[0059] (Example 5) Example 5 is an example in which the processing time prediction unit 202 uses date and time in Example 2. Example 5 can reduce the amount of information generated by the client 100 compared to Examples 3 and 4. FIG. 7 is a diagram showing the processing flow in Example 5. The processing content analysis unit 103 reads the processing content generated by the application execution unit 101, which includes a processing name and an argument name (step S901). The processing content analysis unit 103 searches the search destination for the processing name and confirms the description of the processing (step S902). The processing content analysis unit 103 confirms the number of line breaks from the description (step S903). The processing content analysis unit 103 sets the confirmed number of line breaks as the amount of constituent processing in the processing content analysis information (step S904). The processing content analysis unit 103 also searches the search destination for the argument name and confirms the variable type (step S905). The processing content analysis unit 103 searches the search destination for the variable type and confirms the argument size (step S906). The processing content analysis unit 103 sets the confirmed argument size as the argument size in the processing content analysis information (step S904). The processing content analysis unit 103 also includes the process name in the processing content analysis information (step S904). The processing content analysis information constructed in step S904 is sent to the server 200 and received by the processing time prediction unit 202.

[0060] The processing time prediction unit 202 first checks the processing computation resource data 203 (step S1001), and simultaneously reads the processing content analysis information (step S1004).

[0061] When the amount of component processing in the processing content analysis information is 2 or more, the processing time prediction unit 202 obtains a processing time equation with argument size as a variable by multiplying the date and time by the average processing time of processing in the shared library for the reference computing resource corresponding to that date and time.Then, the processing time prediction unit 202 calculates the predicted processing time by substituting the argument size (step S1002).On the other hand, when the amount of component processing is 1, the processing time prediction unit 202 sets the predicted processing time to 0 (step S1002).

[0062] The processing time prediction unit 202 constructs processing time information from the process name, the processing time of the reference process of the reference computing resource, and the predicted processing time (step S1003). If the calculated predicted processing time is not zero, the computing resource selection unit 205 selects a computing resource 210 by using the predicted processing time and the processing time of the reference process of the reference computing resource. On the other hand, if the calculated predicted processing time is zero, the computing resource selection unit 205 selects a computing resource 210 using the process name. As described above, according to this embodiment, the processing time can be quickly determined as in Example 1, and the information generated by the client 100 can be reduced because the date and time are limited compared to Example 2. Note that in the above-described processing, not only the processing time of the reference process and the average processing time but also the date and time are information dynamically generated by the server 200.

[0063] Sixth Embodiment In a sixth embodiment, the processing by the processing content analysis unit 103 in the client 100 is not required. Therefore, the load on the client 100 can be reduced compared to the first to fifth embodiments.

[0064] 8 is a diagram showing a processing flow in Example 6. The processing time prediction unit 202 first checks the processing computation resource data 203 (step S1101). The processing time prediction unit 202 sets the average processing time of the reference computation resource corresponding to the date and time as the predicted processing time (step S1102).

[0065] The processing time prediction unit 202 constructs processing time information from the process name, the processing time of the reference process of the reference computing resource, and the predicted processing time (step S1103). The computing resource selection unit 205 selects a computing resource 210 by using the predicted processing time and the processing time of the reference process of the reference computing resource. As described above, according to this embodiment, the processing time can be quickly determined as in Example 1, and the processing of the processing content analysis unit 103 is not required, thereby reducing the load on the client 100. Note that in the above-described processing, not only the processing time of the reference process and the average processing time, but also the date and time are information dynamically generated by the server 200.

[0066] The processing content analysis unit 103 and the processing time prediction unit 202 may be configured using a processor such as a CPU (Central Processing Unit) and memory. In this case, the processing content analysis unit 103 and the processing time prediction unit 202 function as the processing content analysis unit 103 and the processing time prediction unit 202 by the processor executing a program. Note that all or part of the functions of the processing content analysis unit 103 and the processing time prediction unit 202 may be realized using hardware such as an ASIC (Application Specific Integrated Circuit), a PLD (Programmable Logic Device), or an FPGA. The above program may be recorded on a computer-readable recording medium. Examples of computer-readable recording media include portable media such as a flexible disk, a magneto-optical disk, a ROM, a CD-ROM, and a semiconductor storage device (e.g., an SSD: Solid State Drive), as well as storage devices such as a hard disk or semiconductor storage device built into a computer system. The above program may be transmitted via a telecommunications line.

[0067] Although an embodiment of the present invention has been described above in detail with reference to the drawings, the specific configuration is not limited to this embodiment, and includes designs within the scope of the gist of the present invention.

[0068] The present invention is applicable to communication systems that make offload requests.

[0069] 100...Client, 101...Application execution unit, 102...Library group, 103...Processing content analysis unit, 104...Request signal generation unit, 105...Request signal assignment unit, 111...Processing content acquisition unit, 112...Processing amount acquisition unit, 113...Size acquisition unit, 200...Server, 201...Signal reading unit, 202...Processing time prediction unit, 203...Processing computation resource data, 204...Buffer management unit, 205...Computation resource selection unit, 206...Computation resource management data, 207...Signal transfer unit, 208...Computation resource control unit, 209...Computation resource group, 210...Computation resource, 211...Reading unit, 212...First calculation unit, 213...Second calculation unit

Claims

1. A server comprising: a reading unit that reads the processing volume of an offload process and the data size of data to be processed by the offload process transmitted from a client; the offload process being composed of a library process belonging to a specified library; a first calculation unit that calculates an expected processing time based on an average time when the library process is executed with a predetermined standard computing resource among computing resources that execute the library process, the processing volume, and the data size; and a second calculation unit that calculates a standard processing time when a standard process is executed with the standard computing resource.

2. The server according to claim 1, further comprising a selection unit that selects a computing resource capable of processing within a requested time indicating the time required for the offload processing to be completed, based on the estimated processing time and the reference processing time.

3. The server according to claim 1, wherein the expected processing time is determined based on the product of the average time and the processing amount.

4. The server according to claim 1, wherein the expected processing time and the reference processing time are determined based on the data size.

5. A client comprising: a processing content acquisition unit that acquires processing content including a processing name and an argument name of an offload processing to be processed by a server; a processing amount acquisition unit that acquires the processing amount of the offload processing from the processing name; a size acquisition unit that acquires a data size of data to be processed in the offload processing from the argument name; a request time acquisition unit that acquires a request time indicating a time limit required for the offload processing; and a transmission unit that transmits the request time, the processing amount, and the data size to the server.

6. A method for controlling a server, comprising: a reading step for reading a processing amount of an offload process and a data size of data to be processed by the offload process, which are transmitted from a client; the offload process being composed of a library process belonging to a predetermined library; a first calculation step for calculating an expected processing time according to an average time when the library process is executed with a predetermined reference computing resource among computing resources that execute the library process, the processing amount, and the data size; and a second calculation step for calculating a reference processing time when the reference process is executed with the reference computing resource.

7. A control method for a client, comprising: a processing content acquisition step of acquiring processing content including a processing name and an argument name of an offload processing to be processed by a server; a processing amount acquisition step of acquiring the processing amount of the offload processing from the processing name; a size acquisition step of acquiring the data size of data to be processed in the offload processing from the argument name; a request time acquisition step of acquiring a request time indicating a time limit required for the offload processing; and an output step of outputting the request time, the processing amount, and the data size to the server.

8. A communications system including a client and a server, wherein the client comprises: a processing content acquisition unit that acquires processing content including a processing name and an argument name of an offload processing to be processed by the server; a processing amount acquisition unit that acquires a processing amount of the offload processing from the processing name; a size acquisition unit that acquires a data size of data to be processed by the offload processing from the argument name; a requested time acquisition unit that acquires a requested time indicating a time until the offload processing is completed; and an output unit that outputs the requested time, the processing amount, and the data size to the server, and the server comprises: the offload processing is configured by a library processing belonging to a predetermined library, and the server comprises: a first calculation unit that calculates an expected processing time according to an average time when the library processing is executed with a predetermined reference computing resource among computing resources that execute the library processing, the processing amount, and the data size; and a second calculation unit that calculates a reference processing time when a reference processing is executed with the reference computing resource.

Citation Information

Patent Citations

  • Data processing device

    JP2013186770A

  • Communication system, server, client, server control method, and client control method

    WO2022137425A1