COMMUNICATION SYSTEM, SERVER, CLIENT, SERVER CONTROL METHOD, AND CLIENT CONTROL METHOD
The communication system addresses network latency issues by adding additional information to processing data and performing pre-processing and post-processing on hardware resources, reducing processing times in rCUDA systems.
Patent Information
- Application Number
- JP2022570879
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-12-24
- Publication Date
- 2024-09-19
- Estimated Expiration
- 2040-12-24
AI Technical Summary
Existing communication systems using rCUDA experience delays in processing results due to network latency, leading to increased processing times.
A communication system that includes a control unit for pre-processing and post-processing on hardware resources, with additional information added to processing data to manage network delays, and a route control unit to optimize data transmission and reception between client and server systems.
Reduces processing time even in the presence of large network delays by performing pre-processing and post-processing on the remote side, optimizing data transmission and reception.
Smart Images

Figure 0007553838000001 
Figure 0007553838000003 
Figure 0007553838000008
Abstract
Description
[Technical field]
[0001] The present invention relates to techniques for a communication system, a server, a client, a server control method, and a client control method. [Background technology]
[0002] In rCUDA, a conventional general-purpose parallel computing platform for remote GPUs (Graphics Processing Units), an application calls an rCUDA Client in a local machine. In rCUDA, data to be processed is passed to a GPU via a remote rCUDA Server to request processing, and the results of processing performed by the GPU are returned to the application via the rCUDA Server and rCUDA Client. In rCUDA, communication is performed between an rCUDA Client (client side) and an rCUDA Server (server side) (see, for example, Non-Patent Document 1). In communication between the client side and the server side, pre-processing such as initialization, memory allocation, and memory release, and post-processing for the above are sequentially performed before and after the transmission of processing data and processing contents, execution of processing by the GPU, and return of the results, and data is sent and received 20 times. [Prior art documents] [Non-patent literature]
[0003] [Non-Patent Document 1] Jose Duato,Juan C. Fernandez, “Enabling CUDA acceleration within virtual machines using rCUDA”, IEEE, 2011 Summary of the Invention [Problem to be solved by the invention]
[0004] However, if the delay in the network section is large, there is a problem that it takes a long time for the processing results to be returned. In view of the above circumstances, an object of the present invention is to provide a technique that can reduce the time required to complete processing even when there is a large delay between the client side and the server side. [Means for solving the problem]
[0005] One aspect of the present invention is a communication system in which a client-side system and a remote-side system are connected via a network, wherein the remote-side system comprises a server and hardware resources, and the server comprises a control unit that performs pre-processing and post-processing on the hardware resources corresponding to processing results and processing data transmitted and received between a client provided in the client-side system and the hardware resources.
[0006] One aspect of the present invention is a server comprising: a receiving unit that receives processing data, to which additional information regarding delays between a client and a server, from a client provided in a client-side system connected via a network; a route control unit that transmits processing results to the client; and a control unit that performs pre-processing and post-processing on a hardware resource provided in a server-side system corresponding to the processing data and the processing results transmitted and received between the server and the hardware resource.
[0007] One aspect of the present invention is a client comprising: an additional information adding unit that adds additional information regarding delay between the client and the server to processed data when an application provided by a client-side system is executed; a transmitting unit that transmits the processed data with the additional information added to a server connected via a network; and a receiving unit that receives processing results in which pre-processing and post-processing have been performed by the server on the processed data with the additional information added, and transmits the received processing results to the application.
[0008] One aspect of the present invention is a server control method in which a server receives processing data, to which additional information regarding delay between the client and the server is added, from a client provided in a client-side system connected via a network, performs pre-processing and post-processing on a hardware resource provided in the server-side system corresponding to the processing data and processing results transmitted and received between the hardware resource and the server, and transmits the processing results to the client.
[0009] One aspect of the present invention is a client control method in which, when an application provided in a client-side system is executed, a client adds additional information regarding a delay between the client and a server to processed data, transmits the processed data with the additional information added to a server connected via a network, receives processing results in which pre-processing and post-processing have been performed by the server on the processed data with the additional information added, and transmits the received processing results to the application. Effect of the Invention
[0010] According to the present invention, it is possible to reduce the time required to complete processing even when there is a large delay between the client side and the server side. [Brief description of the drawings]
[0011] [Figure 1] 1 is a block diagram showing an example of a system configuration of a communication system according to an embodiment; [Diagram 2] FIG. 11 is a sequence diagram showing an example of an offload procedure according to the embodiment. [Diagram 3] 1 is a block diagram showing an example of a system configuration of a communication system according to a first embodiment; [Figure 4] FIG. 11 is a sequence diagram showing an example of an offload procedure of a remote side system according to the first embodiment. [Diagram 5] 1 is a block diagram showing an example of the configuration of a communication system according to a first example of a first embodiment. [Figure 6]FIG. 11 is a sequence diagram showing an example of an offload procedure of a remote side system according to a first example of the first embodiment. [Figure 7] FIG. 11 is a block diagram showing an example of the configuration of a communication system according to a second example of the first embodiment. [Figure 8] FIG. 11 is a sequence diagram showing an example of an offload procedure of a remote side system according to a second embodiment of the first embodiment. [Figure 9] FIG. 11 is a block diagram showing an example of the configuration of a communication system according to a third example of the first embodiment. [Figure 10] FIG. 13 is a sequence diagram showing an example of an offload procedure of a remote side system according to a third embodiment of the first embodiment. [Figure 11] FIG. 13 is a sequence diagram showing an example of an offload procedure of a remote side system according to a fourth embodiment of the first embodiment. [Figure 12] FIG. 11 is a block diagram showing an example of the configuration of a communication system according to a second embodiment. [Figure 13] FIG. 11 is a block diagram showing an example of the configuration of a communication system according to a third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail with reference to the drawings. 1 is a block diagram showing an example of a system configuration of a communication system according to an embodiment. As shown in FIG. 1, the communication system 1 includes a remote-side system 2 and a client-side system 3.
[0013] The remote side system 2 includes a server 21 and hardware resources 22 . Server 21 includes a data receiving unit 211, an additional information reading unit 212, a hardware resource selecting unit 213, a hardware resource control unit 214, a data path control unit 215, and a buffer unit 216. In the embodiment, for example, hardware resource selecting unit 213, hardware resource control unit 214, data path control unit 215, and buffer unit 216 are the control unit. The hardware resource 22 includes hardware resources 221-1, ..., hardware resources 221-n (n is an integer equal to or greater than 2). When one of the hardware resources 221-1, ..., hardware resources 221-n is not specified, it is referred to as the hardware resource 221.
[0014] The client-side system 3 includes an application 31 and a client 32 . The client 32 includes an additional information generating unit 321 , an additional information adding unit 322 , a data transmitting unit 323 , and a data receiving unit 324 .
[0015] The remote system 2 and the client system 3 are connected via a network NW. The network NW may be a wired circuit or a wireless circuit, such as the Internet.
[0016] In the communication system 1 of the embodiment, the client-side system 3 offloads high-load processing occurring during an application to a hardware resource 221 in a remote server 21 via a network NW. The operation of each functional unit will be described in each processing procedure. The processing performed is processing whose processing time depends on data size, such as image processing. The hardware resource is a computer, processes or jobs running thereon, or an abstract computation model. Some of the functional units of the communication system 1 are used and some are not used depending on the following embodiments and examples.
[0017] An example of an offload procedure will now be described with reference to Fig. 2, which is a sequence diagram showing an example of an offload procedure according to the embodiment. When a specific function is executed on the application 31 of the client-side system 3, the client 32 is called. At this time, the client 32 receives the name of the executed function and its arguments from the application 31. However, the arguments include information such as processing data and delay requirements (step S1).
[0018] The additional information generating unit 321 of the client 32 generates additional information such as a process name and a delay requirement from the received information (step S2).
[0019] The additional information adding unit 322 of the client 32 adds the additional information generated by the additional information generating unit 321 to the processing data included in the received argument (step S3). Note that, as a method of adding the additional information, for example, the additional information may be added as a header of the processing data.
[0020] The data transmission unit 323 of the client 32 transmits the processing data to which the additional information has been added by the additional information adding unit 322 to the server 21 (step S4). Note that the additional information includes information such as delay requirements.
[0021] When the data receiving unit 211 of the server 21 receives the processing data, it passes the processing data to the buffer unit 216 and the additional information reading unit 212 (step S5).
[0022] When the additional information reading unit 212 of the server 21 receives the processing data, it reads the delay requirement and the like (step S6). The hardware resource selecting unit 213 of the server 21 selects a hardware resource that satisfies the information such as the delay requirement read by the additional information reading unit 212 (step S7).
[0023] The hardware resource control unit 214 executes pre-processing such as initialization on the hardware resource selected by the hardware resource selection unit 213 via the data route control unit 215 (step S8). Note that the pre-processing is pre-processing on the hardware resource corresponding to the processing result and processing data transmitted and received between the client 32 and the hardware resource 22 included in the client-side system 3, such as initialization, memory allocation, memory release, etc.
[0024] When the pre-processing is completed, the hardware resource control unit 214 transmits the processing data that has been held by the buffer function to the hardware resource via the data route control unit 215 (step S9).
[0025] The hardware resource 22 that receives the processing data executes a predetermined process and generates a processing result (step S10).
[0026] The hardware resource 22 transmits the processing result to the data route control unit 215 (step S11).
[0027] When the data path control unit 215 receives the processing result, it transmits it to the client 32 (step S12).
[0028] Upon receiving the processing result, the data receiving unit 324 of the client 32 transmits the processing result to the application 31 (step S13).
[0029] In the case of conventional offloading, in order to have hardware resources execute processing during an application, pre-processing was performed while specific functions were being executed, processing data and processing contents were sent, and post-processing was performed upon receiving the processing results.
[0030] In contrast, in the embodiment, the processing data and processing contents are sent using a specific function, and the necessary pre-processing and post-processing are performed on the remote side. To achieve this, in the embodiment, the client-side system 3 has an application description different from the conventional one, and the processing according to the description is simply to send the processing data and processing contents. Then, in the embodiment, the remote-side system 2 performs pre-processing and post-processing based on this information.
[0031] Note that pre-processing and post-processing are processes that occur before and after the transmission of processing data, the execution of processing, and the transmission of processing results. Specifically, pre-processing is, for example, memory initialization of the remote side system 2 that is performed before the transmission of processing data, and post-processing is, for example, memory release. Note that in the embodiment, the processing procedure of the client side system 3 is changed from the conventional method in order to perform pre-processing, post-processing, and the like in the remote side system 2. Specifically, the client side system 3 transmits processing data and processing contents to the hardware resources 22 of the remote side system 2 without performing pre-processing, and the like.
[0032] <First embodiment> The configuration and processing example of the communication system in this embodiment will be described below. Fig. 3 is a block diagram showing a configuration example of a communication system according to this embodiment. As shown in Fig. 3, a communication system 1A according to this embodiment includes a remote side system 2A and a client side system 3. The configuration of the client side system 3 is the same as that of the communication system 1 in Fig. 1.
[0033] The remote side system 2A includes a server 21A, an electrical path control unit 23, and a hardware resource 22. The server 21A includes a data receiving unit 211, an additional information reading unit 212, a hardware resource selecting unit 213, a buffer unit 216, and an additional information adding unit 217. The hardware resource 22 includes hardware resources 221-1, . . . , hardware resources 221-n (n is an integer of 2 or more).
[0034] The communication system 1A is a system in which the data path control unit 215 of the server 21 of the communication system 1 is realized by an electrical path control unit 23 outside the server.
[0035] The electrical path control unit 23 executes data transfer by reading a destination address attached to the processing data. For example, an electrical switch or a NIC (Network Interface Card) corresponds to the electrical path control unit 23.
[0036] The additional information adding unit 217 adds a destination address to the processing data to be transmitted to the electrical path control unit 23 .
[0037] An example of an offload procedure will now be described with reference to Fig. 4, which is a sequence diagram showing an example of an offload procedure in the remote side system according to this embodiment.
[0038] When the additional information reading unit 212 of the server 21A receives the processing data (step 101), it reads the information including the delay requirement (step 102). After that, the hardware resource selecting unit 213 of the server 21 selects a hardware resource that satisfies the information including the delay requirement read by the additional information reading unit 212 (step S103).
[0039] The hardware resource control unit 214 executes pre-processing such as initialization on the computation hardware resource selected by the hardware resource selection unit 213 (step S104). Specifically, the additional information adding unit 217 creates a control signal for pre-processing, and then adds the address of the selected hardware resource to the control signal. The hardware resource control unit 214 transmits the control signal to which the address d5 of the selected computation hardware resource has been added, to the electrical route control unit 23. Upon receiving the control signal, the electrical route control unit 23 transfers the control signal to the hardware resource 22 based on the added address.
[0040] When the hardware resource completes the pre-processing, the additional information adding unit 217 adds to the processing data the address of the selected hardware resource and the client side address read by the additional information reading unit 212. The electrical route control unit 23 transmits the processing data d4 to which the address d5 has been added, to the electrical route control unit 23 (step S105).
[0041] When the electrical path control unit 23 receives the processing data, it transfers the processing data d5 to the hardware resource 22 based on the address of the hardware resource assigned in step S105 (step S106).
[0042] When the hardware resource 22 receives the processing data, it executes the processing. After that, the hardware resource 22 reads the assigned client side address and assigns the read client side address to the processing result. Then, the hardware resource 22 transmits the processing result with the assigned client side address to the electrical route control unit 23 (step S107).
[0043] Upon receiving the processing result, the electrical path control unit 23 transfers the processing result to the client-side system 3 based on the address assigned in step S107 (step S108).
[0044] (First embodiment) Next, a first embodiment will be described with reference to FIG. 5 and FIG. Fig. 5 is a block diagram showing a configuration example of a communication system according to a first example of the present embodiment. As shown in Fig. 5, a communication system 1B of the first example includes a remote side system 2B and a client side system 3B. The client-side system 3B includes an application 31 and a client 32B. The client 32B includes a data transmitting unit 323 and a data receiving unit 324. The remote side system 2B includes a server 21B and a hardware resource 22B. The server 21B includes a data receiving unit 211 and a hardware resource control unit 214.
[0045] FIG. 6 is a sequence diagram showing an example of an offload procedure of a remote side system according to the first embodiment of this invention.
[0046] When a specific function is executed on the client-side application 31, the client 32B is called. At this time, the client 32B receives the name of the executed function and its processing data (step S201).
[0047] The data transmission unit 323 of the client 32B transmits the received function name to the server 21B (step S202). The data transmission unit 323 distinguishes between the function name and the processing data, for example, by a 1-bit binary counter. Alternatively, the data transmission unit 323 may distinguish between the function name and the processing data based on the signal length or the like.
[0048] The data receiving unit 211 of the server 21B passes the received function name to the hardware resource control unit 214 (step S203).
[0049] The hardware resource control unit 214 executes pre-processing such as initialization and memory allocation for the hardware resources based on the function name (step S204).
[0050] The data transmission unit 323 of the client 32B transmits the processing data received in step S201 to the server 21B (step S205).
[0051] The data receiving unit 211 of the server 21B transmits the received processing data to the hardware resource 22B (step S206).
[0052] The hardware resource 22B receives the processing data, executes a predetermined process based on the received processing data, and generates a processing result (step S207).
[0053] The hardware resource 22B transmits the processing result to the client 32B (step S208).
[0054] Upon receiving the processing result, the data receiving unit 324 of the client 32B transmits the processing result to the application 31 (step S209).
[0055] The hardware resource control unit 214 performs post-processing on the hardware resources (step S210). Note that the post-processing is processing following the processing performed in the pre-processing.
[0056] In the first embodiment, the server executes processes other than the transmission of process data and process contents, thereby making it possible to reduce the number of communications between the client-side system and the remote-side system.
[0057] (Second Example) Next, a second embodiment will be described with reference to FIGS. 7 is a block diagram showing a configuration example of a communication system according to a second example of the present embodiment. As shown in Fig. 7, a communication system 1C of the second example includes a remote side system 2C and a client side system 3C. The client-side system 3C includes an application 31 and a client 32C. The client 32C includes an additional information adding section 322, a data transmitting section 323, and a data receiving section 324. The remote side system 2C includes a server 21C and a hardware resource 22. The server 21C includes a data receiving section 211, an additional information reading section 212, a hardware resource control section 214, and a buffer section 216.
[0058] FIG. 8 is a sequence diagram showing an example of an offload procedure of a remote side system according to the second embodiment of the present invention.
[0059] When a specific function is executed on the client-side application 31, the client 32C is called. At this time, the client 32C receives the name of the executed function and its processing data (step S301). Note that the argument is an argument of the function executed in the application 31, such as the processing data.
[0060] The additional information adding unit 322 adds the received function name to the processing data (step S302).
[0061] The data transmission unit 323 of the client 32C transmits the processing data to which the function name has been added, to the server 21C (step S303).
[0062] The data receiving unit 211 of the server 21C passes the received processing data to the additional information reading unit 212 and the buffer unit 216 (step S304).
[0063] When the additional information reading unit 212 receives the processing data, it reads the function name added to the processing data and passes the read function name to the hardware resource control unit 214 (step S305). The additional information reading unit 212 and the hardware resource 22 have a function to extract the additional information or processing data according to the method of adding the additional information. If the additional information is, for example, a header, the additional information reading unit 212 and the hardware resource 22 divide it at a specific data length and read one side as the additional information and the other as the processing data.
[0064] The hardware resource control unit 214 executes pre-processing such as initialization and memory allocation for the hardware resource 22 based on the received function name (step S306).
[0065] When the pre-processing is completed, the buffer unit 216 transmits the passed processing data to the hardware resource 22 (step S307). If the processing time executed by the hardware resource 22 is fixed, the buffer unit 216 may execute the post-processing after the fixed time. If the processing time executed by the hardware resource 22 depends on the size of the processing data, the buffer unit 216 may calculate the completion time of the pre-processing using the data size to determine the completion of the pre-processing. If the processing executed by the hardware resource 22 does not depend on a specific parameter, the processing time may be estimated by machine learning or the like. In this case, the server 21C may also be provided with a machine learning unit for realizing machine learning, or may use a learned learning model.
[0066] The hardware resource 22 executes processing on the received processing data and then transmits the processing result to the client 32C (step S308).
[0067] Upon receiving the processing result, the data receiving unit 324 of the client 32C transmits the processing result to the application 31 (step S309).
[0068] The hardware resource control unit 214 performs post-processing on the hardware resources (step S310).
[0069] In the second embodiment, the number of communications between the client side and the remote side can be further reduced than in the first embodiment by adding processing contents to the processing data.
[0070] (Third Example) Next, a third embodiment will be described with reference to FIGS. 9 is a block diagram showing a configuration example of a communication system according to a third example of the present embodiment. As shown in Fig. 9, a communication system 1D of the third example includes a remote side system 2D and a client side system 3D. The client-side system 3D includes an application 31 and a client 32D. The client 32D includes an additional information generating unit 321, an additional information adding unit 322, a data transmitting unit 323, and a data receiving unit 324. The remote side system 2D includes a server 21D, an electrical path control unit 23, and a hardware resource 22. The server 21D includes a data receiving unit 211, an additional information reading unit 212, a hardware resource selecting unit 213, a hardware resource control unit 214, a buffer unit 216, and an additional information adding unit 217.
[0071] FIG. 10 is a sequence diagram showing an example of an offload procedure of a remote side system according to the third embodiment of this invention.
[0072] When a specific function is executed on the client-side application 31, the client 32D is called. At this time, the client 32D receives the name of the executed function and its arguments (step S401).
[0073] The additional information generating unit 321 of the client 32D generates additional information from the received function name and argument, and passes the additional information and processing data, which is one of the arguments, to the additional information adding unit 322 (step S402). Note that the argument is an argument of a function executed in an application, such as the processing data.
[0074] The additional information adding unit 322 adds the additional information generated by the additional information generating unit 321 to the processing data (step S403).
[0075] The data transmission unit 323 transmits the processing data to which the additional information has been added to the server 21D (step S404).
[0076] The data receiving unit 211 of the server 21D passes the received processing data to the additional information reading unit 212 and the buffer unit 216 (step S405).
[0077] When the additional information reading unit 212 of the server 21D receives the processing data, it extracts the additional information added to the processing data and passes it to the hardware resource selecting unit 213. At the same time, the additional information reading unit 212 passes the address of the client in the additional information to the additional information adding unit 217 (step S406).
[0078] The hardware resource selection unit 213 selects a hardware resource 221 based on the received additional information, and passes the address of the selected hardware resource 221 to the additional information addition unit 217. At the same time, the hardware resource selection unit 213 passes the address of the selected hardware resource 221 and the additional information to the hardware resource control unit 214 (step S407).
[0079] The hardware resource control unit 214 executes pre-processing on the hardware resource 221 selected based on the additional information based on the received additional information (step S408). The hardware resource control unit 214 selects the hardware resource to be assigned based on information indicated by the function name, for example, the type of hardware resource or the process name. When there are multiple hardware resources, the hardware resource control unit 214 sequentially determines whether the hardware resources are currently in process or not using an algorithm such as round robin, and selects a hardware resource that is not in process.
[0080] When the pre-processing is completed, the buffer unit 216 transmits the passed processed data to the additional information adding unit 217 (step S409). Note that, similarly to the second embodiment, the buffer unit 216 may determine the completion of the pre-processing based on a predetermined time or the length of the data.
[0081] The additional information adding unit 217 adds the address of the client received from the additional information reading unit 212 and the address of the hardware resource 221 received from the hardware resource selecting unit 213 to the processing data, and transmits the data to the electrical route control unit 23 (step S410).
[0082] The electrical path control unit 23 transfers the processing data to the hardware resource 221 based on the additional information of the received processing data (step S411).
[0083] The hardware resource 221 executes processing on the received processing data, and then transmits the processing result with the client side address of the additional information of the processing data added thereto to the electrical route control unit 23 (step S412).
[0084] The electrical path control unit 23 transmits the processing result to the client 32D based on the additional information included in the received processing result (step S413).
[0085] Upon receiving the processing result, the data receiving unit 324 of the client 32D transmits the processing result to the application 31 (step S414).
[0086] The hardware resource control unit 214 performs post-processing on the hardware resources (step S415).
[0087] As described above, in this embodiment, the electrical path control unit 23 of the remote side system selects a hardware resource capable of executing the processing content from among the multiple hardware resources 221, and controls the path of the processing result processed by the selected hardware resource. Furthermore, in this embodiment, the server 21 estimates the processing time based on the processing content, reads additional information from the processing data, selects a hardware resource 221 that satisfies the delay requirement contained in the read additional information, and transfers the processing data to the selected hardware resource 221. As a result, in the third embodiment, by implementing the function of the electrical path control unit 23 in the remote side system 2D, it is possible to dynamically offload the processing of a plurality of user terminals to a plurality of hardware resources.
[0088] (Fourth Example) Next, a fourth embodiment will be described with reference to Fig. 11. The configuration of the communication system is the same as that of the communication system 1D of the third embodiment.
[0089] When a specific function is executed on the application 31 of the client-side system 3D, the client 32D is called. At this time, the client 32D receives the name of the executed function and its arguments (step S501).
[0090] The additional information generating unit 321 of the client 32D generates additional information from the received function name and arguments such as delay requirements, and passes the generated additional information and processing data, which is one of the arguments, to the additional information adding unit 322 (step S502).
[0091] Next, the client 32D performs the processes of steps S403 and S404. After that, the server 21D performs the processes of steps S405 and S406.
[0092] The hardware resource selection unit 213 of the server 21D selects a hardware resource based on the received additional information such as the delay requirement, and passes the address to the additional information attachment unit 217. At the same time, the hardware resource selection unit 213 passes the address of the selected hardware resource and the additional information to the hardware resource control unit 214 (step S507). When the processing time executed by the hardware resource 22 depends on the size of the processing data, the buffer unit 216 calculates and estimates the completion time of the preprocessing using the data size. Then, the hardware resource selection unit 213 uses the processing time estimated in this way.
[0093] Next, server 21D performs the processes of steps S408 to S413. After that, client 32D performs the process of step S414. After that, server 21D performs the process of step S415.
[0094] In the fourth embodiment, hardware resources are allocated to the processing data in accordance with the delay requirements and the like. As a result, in the fourth embodiment, delay requirements and the like are added to the processing data as additional information, making it possible to balance the load.
[0095] <Second embodiment> 12 is a block diagram showing an example of the configuration of a communication system according to this embodiment. As shown in FIG. 12, a communication system 1E according to this embodiment includes a remote-side system 2E and a client-side system 3.
[0096] The remote side system 2E includes a server 21E, an optical signal duplicating unit 24, an optical signal buffer unit 25, an optical path control unit 26, and a hardware resource 22. The server 21E includes a data receiving unit 211, an additional information reading unit 212, a hardware resource selecting unit 213, a hardware resource control unit 214, and a path control unit 218.
[0097] In this embodiment, the buffer unit and the path control unit of the server 21E are optically processed, and the network is constructed of an optical network NWO.
[0098] The optical signal duplicating unit 24 copies the processing data transmitted from the client-side system 3 as an optical signal and transmits the copied data to the server 21E and the optical signal buffer unit 25. The optical signal duplicating unit 24 is realized by, for example, an optical splitter.
[0099] The path control unit 218 controls the optical path control unit 26 to transfer the processing data to the selected hardware resource and the processing result to the client-side system 3.
[0100] The optical signal buffer unit 25 buffers the received processing data as an optical signal, and is realized by, for example, an optical delay line.
[0101] Unlike the electrical route control unit 23 of the first embodiment, the optical route control unit 26 determines the route based on the physical information of the signal, and therefore cannot read the information in the signal to transfer the data. Therefore, the optical route control unit 26 is controlled by the server 21E to transfer the processing data and the processing results based on the additional information.
[0102] As described above, in this embodiment as well, the optical path control unit 26 of the remote side system selects a hardware resource capable of executing the processing contents from among a plurality of hardware resources 221, and controls the path of the processing result processed by the selected hardware resource. Furthermore, in this embodiment, the server 21 estimates the processing time based on the processing content, reads additional information from the processing data, selects a hardware resource 221 that satisfies the delay requirement contained in the read additional information, and transfers the processing data to the selected hardware resource 221. In this embodiment, a network for offloading can be realized in which the data transmission band between the client system 3 and the hardware resources is not limited by the interface or switch fabric of the server 21E or the electrical route control unit 23 in the first embodiment.
[0103] <Third embodiment>
[0104] 13 is a block diagram showing an example of the configuration of a communication system according to this embodiment. As shown in FIG. 13, a communication system 1F of this embodiment includes a remote-side system 2F and a client-side system 3.
[0105] The remote side system 2F includes an optical signal duplicating unit 24, a server 21E, an optical signal buffer unit 25, an optical path control unit 26, a wavelength conversion unit 27, and a hardware resource 22. The server 21E includes a data receiving unit 211, an additional information reading unit 212, a hardware resource selecting unit 213, a hardware resource control unit 214, and a path control unit 218.
[0106] This embodiment realizes a reduction in cost of the optical path control unit 26 of the second embodiment. In the second embodiment, the number of ports between the optical path control unit 26 and the optical network NWO is required to be the same as the number of client sides. In contrast, in this embodiment, the remote side system 2F switches the output wavelength in units of time and transmits the processing result to the optical network NWO having a WDM (Wavelength Division Multiplexing) function. The optical network NWO has a WDM function. In order to transmit the processing result from a certain hardware resource in the optical path control unit 26, it is necessary to transfer it to the wavelength conversion unit 27. For this reason, in this embodiment, the client side system 3 adds, for example, a data size as additional information and transmits it to the server 21E. Then, the hardware resource control unit 214 estimates the processing time based on the data size included in the additional information. In addition, the path control unit 218 estimates the processing completion time + waiting time for TDM based on the additional information such as the data size, and controls the optical path control unit 26. As a result, according to this embodiment, the processing result can be transmitted to multiple client sides with one port.
[0107] The optical path control unit 26 controls the hardware resources so as to transmit the processing results at specific timing.
[0108] The wavelength conversion unit 27 switches the output wavelength of the signal on a time basis.
[0109] The route control unit 218 controls the processing result transmission time of the hardware resource in order to transmit the processing result at a wavelength corresponding to the client-side system 3. This makes it possible to control the time at which the processing result is input to the wavelength conversion unit 27, thereby appropriately controlling the output wavelength of the processing result. The control of the processing result transmission time can be realized by the route control unit 218 having the hardware resource wait for a specific period of time. For example, this can be realized by interrupting the waiting process from the route control unit 218 to the hardware resource, or by including a waiting process in the process of the offloaded hardware resource, adding an argument for that purpose, and having the hardware resource wait for the period of time indicated by the argument.
[0110] The method for changing the wavelength transmitted from the remote side includes, for example, the following methods I and II. Method I: Hardware resources are shifted. This method requires high hardware resource costs. Method II: The optical path control unit 26 changes the wavelength.
[0111] Furthermore, Method II includes the following two methods. Method II-1. Assign wavelengths to each route. This method increases the cost of the optical path control unit 26. Method II-2. Assign wavelengths by time. This method can reduce the cost of the optical path control unit 26. Therefore, the configuration of this embodiment has an advantage in terms of mounting costs.
[0112] As described above, in this embodiment as well, the optical path control unit 26 of the remote side system selects a hardware resource capable of executing the processing contents from among a plurality of hardware resources 221, and controls the path of the processing result processed by the selected hardware resource. Also in this embodiment, the server 21 estimates the processing time based on the processing contents, reads additional information from the processing data, selects a hardware resource 221 that satisfies the delay requirements contained in the read additional information, and transfers the processing data to the selected hardware resource 221. In this way, this embodiment combines TDM (Time Division Multiplexing) and WDM, and can reduce the number of ports of the optical switch.
[0113] The server 21 (21A, 21B, 21C, 21D, 21E, 21F) and the client 32 (32B, 32C, 32D) in each of the above-mentioned embodiments and examples are configured using a processor such as a CPU (Central Processing Unit) and a memory. The server 21 (21A, 21B, 21C, 21D, 21E, 21F) and the client 32 (32B, 32C, 32D) function as each functional unit by the processor executing a program. Note that all or part of the functions of the server 21 (21A, 21B, 21C, 21D, 21E, 21F) and the client 32 (32B, 32C, 32D) may be realized using hardware such as an ASIC (Application Specific Integrated Circuit), a PLD (Programmable Logic Device), or an FPGA (Field Programmable Gate Array). The above-mentioned program may be recorded in a computer-readable recording medium. The computer-readable recording medium is, for example, a portable medium such as a flexible disk, a magneto-optical disk, a ROM, a CD-ROM, a semiconductor storage device (e.g., an SSD: Solid State Drive), or a storage device such as a hard disk or a semiconductor storage device built into a computer system. The above program may be transmitted via a telecommunication line.
[0114] (Modification) In each of the above-described embodiments and examples, the application 31 may be provided in the client 32 (32B, 32C, 32D). Also, in each of the above-described embodiments and examples, the electrical path control unit 23, the optical signal duplicating unit 24, the optical signal buffer unit 25, the optical path control unit 26, the wavelength conversion unit 27, and the hardware resource 22 may be provided in the server 21 (21A, 21B, 21C, 21D, 21E, 21F).
[0115] Although an embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to this embodiment, and designs that do not deviate from the gist of the present invention are also included. [Industrial Applicability]
[0116] The present invention is applicable to general-purpose parallel computing platforms, for example for remote GPUs. [Explanation of symbols]
[0117] 1, 1A, 1B, 1C, 1D, 1E, 1F... communication system, 2, 2A, 2B, 2C, 2D, 2E, 2F... remote side system, 3, 3B, 3C, 3D... client side system, 21, 21A, 21B, 21C, 21D, 21E... server, 22, 22B, 221-1, ..., 221-n... hardware resource, 23... electrical path control unit, 24... optical signal duplication unit, 25... optical signal buffer unit, 26... optical path control unit, 27... wavelength conversion unit, 211...data receiving unit, 212...additional information reading unit, 213...hardware resource selecting unit, 214...hardware resource control unit, 215...data route control unit, 216...buffer unit, 217...additional information adding unit, 31...application, 32, 32C, 32D...client, 321...additional information generating unit, 322...additional information adding unit, 323...data transmitting unit, 324...data receiving unit, NW...network, NWO...optical network
Claims
1. A communication system in which a client system and a remote system are connected via a network, The remote system includes a server and a hardware resource. the server includes a control unit that executes pre-processing and post-processing of the hardware resource corresponding to processing results and processing data transmitted and received between the client of the client-side system and the hardware resource; the remote-side system further includes a route control unit that selects a hardware resource capable of executing a processing content from among the plurality of hardware resources and controls a route of the processing result processed by the selected hardware resource. Communication systems.
2. The client includes an additional information adding unit that adds processing content processed by the client to the processing data as additional information, the control unit of the server reads the additional information from the processing data acquired from the client, and executes the pre-processing and the post-processing on the hardware resources based on the read additional information. The communication system according to claim 1 .
3. the client includes an additional information adding unit that adds the delay requirement to the processing data as additional information; the control unit of the server estimates a processing time based on the processing content, reads the additional information from the processing data, selects the hardware resource that satisfies the delay requirement included in the read additional information, and transfers the processing data to the selected hardware resource. The communication system according to claim 1 .
4. a receiving unit that receives processing data, to which additional information regarding a delay between the client and the server is added, from a client included in a client-side system connected via a network; A route control unit that transmits a processing result to the client; a control unit that executes pre-processing and post-processing of the hardware resource corresponding to the processing data and the processing result transmitted and received between the hardware resource included in the server-side system and the server; Equipped with the route control unit selects a hardware resource capable of executing the processing content from among the plurality of hardware resources, and controls a route of the processing result processed by the selected hardware resource. server.
5. The server receiving processing data, to which additional information regarding a delay between the client and the server is added, from a client included in a client-side system connected via a network; Execute pre-processing and post-processing on the hardware resources provided in the server-side system corresponding to the processing data and processing results transmitted and received between the hardware resources and the server; Selecting a hardware resource capable of executing the processing content from among the plurality of hardware resources, and controlling a route of the processing result processed by the selected hardware resource; Sending the processing result to the client; Server control method.
Citation Information
Patent Citations
Route determining device, route determining method, and program
JP2011086982A
Network management apparatus, communication system, and network management method
JP2013247410A
Resource pool management method, resource pool management system, and resource pool management program
JP2014146118A
Management apparatus, mobile communication system, program, and management method
JP2019213161A
Data processing system and data access method
WO2016092604A1
