Data processing system, central processing unit and data processing method

By realizing the coordinated processing and data flow of the CPU and GPU in the data processing system, the problem of difficulty in realizing cooperative computing between CPU and GPU in the existing technology is solved, the communication processing performance and the degree of system softwareization are improved, and the capital expenditure is reduced.

CN112673347BActive Publication Date: 2024-10-11NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980060162.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-10-19
Filing Date
2019-10-17
Publication Date
2024-10-11
Estimated Expiration
2039-10-17

AI Technical Summary

Technical Problem

In the existing technology, the central processing unit (CPU) and the accelerator (such as GPU) lack coordination in data processing, making it difficult to achieve efficient signal transmission and processing. Especially in physical layer processing, it is difficult to realize the coordination between the CPU and GPU. Collaborative computing affects the performance of communication processing.

Method used

A data processing system and method is designed, which communicates with external devices through interface circuits, uses an accelerator to perform first data processing, and a central processing unit to perform second data processing, and implements CPU and GPU through external transfer control and data processing control. The coordinated processing and data flow between them ensures the copying and transfer of processing results and realizes the collaborative work of CPU and GPU.

Benefits of technology

Through the coordinated processing of the CPU and GPU, high-speed data processing is achieved, especially in the combination of parallel processing and non-parallel processing functions, which improves the performance of communication processing, expands the software area of ​​the access system, and reduces the cost CAPEX.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112673347B_ABST
    Figure CN112673347B_ABST
Patent Text Reader

Abstract

The OLT (1) includes an IF board (2) for communicating with an external device, a GPU (4) for performing a first process, and a CPU (3) for controlling the IF board (2) and the GPU (4). The CPU (3) includes a data processing execution unit for performing a second process; an external transfer control unit for controlling the processing of transferring data received from an external device from the IF board (2) to the CPU (3) or the GPU (4), and controlling the processing of transferring data sent to an external device from the CPU (3) or the GPU (4) to the IF board (2); a data processing control unit for controlling the first process using the GPU (4) and the second process using the CPU (3) for data received from the external device or data sent to the external device; and a process result copying unit for controlling the output of the processing result of the first process to the CPU (3) as a processing object of the second process, and controlling the output of the processing result of the second process to the GPU (4) as a processing object of the first process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a data processing system, a central operation processing device and a data processing method.

[0002] This application claims priority based on Japanese Patent Application No. 2018-197945 filed in Japan on October 19, 2018, the contents of which are incorporated herein by reference. Background Art

[0003] In recent years, virtualization has attracted attention in the field of networks. Through virtualization, the devices that constitute the network can be used logically regardless of the actual physical hardware structure. Discussions have been made about the structure in which devices such as OLT (Optical Line Terminal) that were previously made with dedicated hardware in optical access systems are constructed with general-purpose hardware for virtualization and the functions are installed with software. By implementing functions with software, the functions of the device become replaceable, and the commonality or resource sharing of the device is sought. Therefore, a reduction in CAPEX (Capital expenditure) can be expected. In addition, it is considered that CAPEX can be reduced by making it easier to update functions or change settings with software.

[0004] Here, as a discussion for expanding the software area of ​​the access system to include physical layer processing including error correction functions, an installation technology using a GPU (Graphics Processing Unit) possessed by the access system is shown. The amount of computation required for physical layer processing is large, so in the past, it was installed on an ASIC (Application Specific Integrated Circuit) which is a dedicated chip. Generally, general-purpose hardware is difficult to process at high speed. Therefore, it is difficult to achieve throughput performance when only a CPU (central processing unit) is used in physical layer processing. In addition, as a trend of general-purpose processors, the performance of the CPU has also reached its peak. Therefore, performance has been improved by combining it with accelerators such as GPUs and FPGAs (field-programmable gate arrays) that have multiple cores and can achieve a high level of parallelism. In this way, performance is achieved by using accelerators such as GPUs.

[0005] The optical line terminal (OLT) in the 10G-EPON (10Gigabit Ethernet (registered trademark) Passive Optical Network) system is a station-side device.Figure 4 The functions shown in the figure are used to implement the encoding process. In other words, the physical layer is composed of PMA (physical medium attachment), PMD (physical medium dependent), PCS (physical coding sublayer), and RS (reconciliation sublayer). The function of encoding is equivalent to PCS. The functions within PCS include scrambling, header addition, 0 addition / removal, FEC (forward error correction) encoding, etc.

[0006] Here, the softwareization of the functions of the PCS is discussed. Regarding the encoding in the PCS, functions that can be processed in parallel are mixed with functions that cannot be processed in parallel. The GPU can greatly speed up the functions that can be processed in parallel. However, for functions that cannot be processed in parallel, CPU processing that is effective for serial processing can be faster than processing using the GPU. Therefore, an architecture that can achieve coordinated processing of the CPU and GPU is required. Furthermore, when the CPU and GPU are used in communication processing, technology that continuously transfers signals to the CPU or GPU is required.

[0007] Based on the above two points, an architecture that can be processed by the CPU and GPU in coordination and can continuously stream signals, as well as a control method for such an architecture, is needed. In addition, a method for continuously transferring signals to the outside through the CPU and GPU is needed.

[0008] A coordinated processing system using a CPU and a GPU has been proposed for the purpose of speeding up image processing, etc. Such a coordinated processing system has a structure in which data is transferred from a CPU to a GPU memory and processed on the data transferred to the GPU.

[0009] Figure 5 A method for directly transferring a signal calculated by a CPU in an OLT to the outside is shown (for example, refer to non-patent document 1). The OLT shown in the figure is implemented using, for example, a general-purpose server. In the method shown in the figure, a plurality of buffers for transmission are ensured in the CPU. Each time the signal is transferred, the CPU sequentially changes the address of the buffer storing the main signal sent to the IF board to transfer the main signal. Only the CPU performs calculations on the main signal.

[0010] Figure 6A method for directly transferring external signals to the GPU continuously in the OLT is shown (for example, refer to non-patent document 2). The OLT shown in the figure is implemented using, for example, a general-purpose server. In the method shown in the figure, multiple receiving buffers are ensured in the GPU. Each time the signal is transferred, the OLT sequentially changes the address of the buffer storing the signal received by the GPU to transfer the signal. Only the GPU performs operations on the main signal.

[0011] Prior art literature

[0012] Non-patent literature

[0013] Non-patent literature 1: Takahiro Suzuki, Sang-Yuep Kim, Jun-ichi Kani, Ken-IchiSuzuki, Akihiro Otaka, "Real-time Demonstration of PHY Processing on CPU for Programmable Optical Access Systems", 2016 IEEE Global Communications Conference (GLOBECOM 2016), 2016;

[0014] Non-patent document 2: Takahiro Suzuki, Sang-Yuep Kim, Jun-ichi Kani, Toshihiro Hanawa, Ken-Ichi Suzuki, Akihiro Otaka, "Demonstration of 10-Gbps Real-TimeReed-Solomon Decoding Using GPU Direct Transfer and Kernel Scheduling for Flexible Access Systems", Journal of Lightwave Technology, May 2018, Vol.36,No.10, p.1875-1881. Summary of the invention

[0015] Problems to be solved by the invention

[0016] However, in the above Figure 5 In the technology shown, only the CPU performs operations on the main signal. Figure 6 In the techniques shown, only the GPU performs operations on the main signal. As such, these are not techniques in which an accelerator and a central processing unit (CPU) cooperate to perform operations on the main signal.

[0017] In view of the above circumstances, an object of the present invention is to provide a data processing system, a central processing unit, and a data processing method that enable an accelerator and a central processing unit to perform data processing in coordination.

[0018] Solutions to Solve Problems

[0019] One embodiment of the present invention is a data processing system, which comprises: an interface circuit for communicating with an external device; an accelerator for performing a first data processing; and a central processing unit for controlling the accelerator and the interface circuit, wherein the central processing unit comprises: a data processing execution unit for performing a second data processing; an external transfer control unit for controlling at least any one of a process of transferring data received from the external device from the interface circuit to the accelerator or the central processing unit, and a process of transferring data sent to the external device from the accelerator or the central processing unit to the interface circuit; a data processing control unit for controlling so that the first data processing using the accelerator and the second data processing using the data processing execution unit are performed on the data received from the external device or the data sent to the external device; and a processing result copying unit for controlling at least one of a process result of the first data processing, i.e., a first process result, to be output to the central processing unit so that the first process result is used as a processing object of the second data processing, and a process result copying unit for controlling at least one of a process result of the second data processing, i.e., a second process result, to be output to the accelerator so that the second process result is used as a processing object of the first data processing.

[0020] One embodiment of the present invention is a central processing unit, which comprises: a storage unit for storing data received from an external device or data sent to the external device; a data processing execution unit for performing data processing using the data stored in the storage unit and storing the processing result in the storage unit; an external transfer control unit for controlling at least one of the processing of transferring the data received from the external device from the interface circuit to the accelerator or the storage unit and the processing of transferring the data sent to the external device from the accelerator or the storage unit to the interface circuit; and a data processing control unit for controlling the processing of receiving data from the external device. the data received or the data sent to the external device to perform data processing using the accelerator and the data processing using the data processing execution unit; and a processing result copying unit, which controls at least one of transferring a processing result of the data processing using the accelerator, i.e., a first processing result, to the storage unit to use the first processing result as a processing object of the data processing in the data processing execution unit, and transferring a processing result of the data processing using the data processing execution unit, i.e., a second processing result, from the storage unit to the accelerator to use the second processing result as a processing object of the data processing using the accelerator.

[0021] One embodiment of the present invention is a data processing method executed by a data processing system, wherein the method comprises: a first data processing step, in which an accelerator performs a first data processing; a second data processing step, in which a central processing unit performs a second data processing; an external transfer step, in which the central processing unit performs at least one of a process of transferring data received from an external device from an interface circuit to the accelerator or the central processing unit, and a process of transferring data sent to the external device from the accelerator or the central processing unit to the interface circuit; a data processing control step, in which the central processing unit performs the first data processing using the first data processing step and the second data processing using the second data processing step for the data received from the external device or the data sent to the external device; and a processing result copying step, in which the central processing unit performs at least one of a control of outputting a processing result of the first data processing, i.e., a first processing result, to the central processing unit so as to use the first processing result as a processing object of the second data processing, and a control of outputting a processing result of the second data processing, i.e., a second processing result, to the accelerator so as to use the second processing result as a processing object of the first data processing.

[0022] Effects of the Invention

[0023] By utilizing the present invention, the accelerator and the central processing unit can coordinate data processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 1 is a diagram showing a structure of an OLT according to a first embodiment of the present invention.

[0025] Figure 2 is a flowchart showing the processing of the OLT according to this embodiment.

[0026] Figure 3 This is a diagram showing a configuration related to processing of a downstream signal by an OLT according to the second embodiment.

[0027] Figure 4 This is a diagram showing functions related to encoding processing in an OLT of the prior art.

[0028] Figure 5 This is a diagram showing signal transfer in an OLT of the related art.

[0029] Figure 6 This is a diagram showing signal transfer in an OLT of the related art. DETAILED DESCRIPTION

[0030] Below, while referring to the attached Figure 1 Embodiments of the present invention will be described in detail.

[0031] In the data processing system of this embodiment, the IF (interface) board periodically starts the interrupt handler of the CPU (central processing unit). The interrupt handler specifies the destination memory on the GPU when transferring data from the CPU or IF board to the GPU, and the source memory on the GPU when transferring data from the GPU to the IF board or CPU, and then performs commands for starting the function of the CPU, starting the kernel of the GPU, copying the memory between the CPU and the GPU, and DMA (Direct Memory Access) transfer between the GPU and the IF board or between the IF boards.

[0032] According to the data processing system of this embodiment, it is possible to perform coordinated processing between the CPU and GPU and also to perform continuous signal forwarding to the outside. Therefore, by applying the data processing system of this embodiment to a communication device, it is possible to achieve high-speed communication processing including both functions that can be processed in parallel and functions that cannot be processed in parallel, and further to achieve software-based overall functions. Below, a detailed implementation method is described by taking the case where the data processing system is a terminal station device accessing the system as an example.

[0033] [First embodiment]

[0034] Figure 1 1 is a diagram showing the structure of OLT 1 ​​according to the present embodiment. OLT 1 ​​is an example of a data processing system. OLT 1 ​​is implemented using, for example, a general-purpose server. With the structure shown in the figure, OLT 1 ​​performs CPU-GPU coordinated computing. OLT 1 ​​includes IF board 2, CPU 3, and GPU 4.

[0035] The IF board 2 is, for example, an interface circuit implemented by an FPGA (field-programmable gate array), a dedicated board, etc. The IF board 2 performs input and output of signals between an external device and a processor. For example, the external device is an ONU (Optical network unit) and a host device, and the processor is a CPU 3 and a GPU 4. The IF board 2 periodically starts the interrupt processing program of the CPU 3. The IF board 2 performs DMA transfer according to the control of the interrupt processing program from the CPU 3. That is, the IF board 2 transfers the main signal included in the signal received from the external device to the CPU 3 and the GPU 4. In addition, the IF board 2 obtains the main signal sent to the external device from the memory maintained by the CPU 3 or the memory maintained by the GPU 4, and outputs the obtained main signal to the external device. The IF board 2 has a standard optical module for converting electrical signals and optical signals. The standard optical module converts the optical signal received from the ONU via the optical transmission path into an electrical signal. In addition, the standard optical module converts the electrical signal sent to the ONU into an optical signal, and outputs the optical signal to the optical transmission path.

[0036] CPU3 starts the interruption processing program through the interruption from IF board 2. The interruption processing program executes the control for DMA transfer between CPU3 and GPU4 and IF board 2 for IF board 2. In addition, the interruption processing program executes the control for DMA transfer between CPU3 and GPU4 and the control for starting the kernel of GPU4 for GPU4. As a result, the main signal is sent and received not only between IF board 2 and the processor, but also between CPU3 and GPU4. In addition, CPU3 performs serial processing among the data processing included in PCS (physical coding sublayer) for the main signal received by IF board 2 or sent from IF board 2.

[0037] The GPU 4 is an example of an accelerator. The GPU 4 executes a kernel according to the control from the CPU 3. The GPU 4 performs data processing that can be processed in parallel among data processing included in the PCS (physical coding sublayer) on the main signal transferred from the IF board 2 or the CPU 3 through the kernel.

[0038] Figure 2 1 is a flowchart showing the processing in OLT 1. This figure is used to explain the functions of IF board 2, CPU 3 and GPU 4 of OLT 1. First, when the IF board 2 completes the preparation for signal input from the outside or signal output to the outside, it sends an interrupt signal to CPU 3 (step S11).

[0039] When the CPU 3 receives an interrupt signal from the IF board 2, the interrupt processing program starts. The interrupt processing program first determines the memory area of ​​the CPU 3 that stores the data of the CPU 3 function as the operation object and the memory area of ​​the GPU 4 that stores the data of the GPU 4 core as the operation object by performing memory control (step S12). In addition, the memory area storing the input data and the memory area storing the output data can be different. Then, the interrupt processing program notifies the IF board 2 of one or both of the memory address of the CPU 3 and the memory address of the GPU 4, and then instructs the IF board 2 to transfer externally (step S13). The IF board 2 transfers the data of the main signal to one or both of the memory of the CPU 3 and the memory of the GPU 4 of the notified address (step S14).

[0040] In the next interrupt cycle, IF board 2 sends an interrupt signal to CPU 3 (step S15). When receiving the interrupt signal from IF board 2, CPU 3 starts the interrupt processing program. The interrupt processing program starts a function or a kernel for the memory area of ​​the memory address determined in step S12 (step S16). In addition, the interrupt processing program starts a function when data is transferred to the memory of CPU 3 in step S14, and starts a kernel when data is transferred to the memory of GPU 4. In addition, when starting the kernel of GPU 4, the interrupt processing program notifies GPU 4 of the memory address of GPU 4 determined in step S12, the processing executed in parallel by GPU 4, etc.

[0041] When the function is started in step S16, the CPU 3 performs a function operation on the main signal stored in the memory area of ​​the CPU 3 indicated by the memory address, and writes the operation result of the function operation into the memory area of ​​the CPU 3. On the other hand, when the kernel is started in step S16, the GPU 4 starts the kernel and executes the processing instructed by the interrupt processing program of the CPU 3 in parallel with the main signal stored in the memory area of ​​the GPU 4. The GPU 4 writes the execution results of these parallel executions into the memory area of ​​the GPU 4 (step S17).

[0042] Next, the interrupt handler instructs the memory copy between CPU3 and GPU4 (step S18). CPU3 and GPU4 perform DMA transfer according to the instruction of the interrupt handler (step S19). That is, when it is detected that the function operation started in step S16 has ended, the interrupt handler copies the content of the memory area of ​​CPU3 where the execution result of the function operation in step S17 is stored to the memory area of ​​GPU4 determined in step S12. Alternatively, when it is detected that the parallel processing of GPU4 started in step S16 has ended, the interrupt handler copies the content of the memory area of ​​GPU4 where the execution result of the parallel processing of GPU4 in step S17 is stored to the memory area of ​​CPU3 indicated by the memory address determined in step S12. In addition, the interrupt handler can detect the end of the parallel processing in GPU4 by receiving a notification from GPU4, or detect the end flag written to the memory of GPU4 at the end of the parallel processing.

[0043] After that, CPU3 and GPU4 repeat the processing of step S16 to step S19 as needed (step S20 to step S23). That is, the interrupt processing program arbitrarily repeats function activation and kernel activation, repeats the calculation in CPU3 and GPU4 respectively, and copies the data of the calculation result between CPU3 and GPU4.

[0044] Finally, when OLT1 performs the same processing as step S16 and step S17 (step S24 and step S25), the interrupt processing program starts the DMA of IF board 2 by sending a DMA start command to IF board 2 (step S26). At this time, the interrupt processing program notifies IF board 2 of the memory address of CPU3 where the execution result of the function operation in step S25 is stored, or the memory address of GPU4 where the execution result of the parallel processing in step S25 is stored as the data transfer source. IF board 2 copies data from the data transfer source (step S27). IF board 2 sends the data transferred from CPU3 or GPU4 to ONU or upper device. This data is the main signal. The interrupt in IF board 2 is continuously repeated (step S28).

[0045] As described above, according to the present embodiment, DMA transfer (main signal) can be performed between CPU3 and GPU4 by adding the execution of DMA between CPU3 and GPU4 according to the memory copy command of CPU3 to the signal transfer stream. In addition, when CPU3 instructs external transfer, it can select whether it is transfer between CPU3 and IF board 2 or transfer between GPU4 and IF board 2, and whether it is transfer to IF board 2 or transfer from IF board 2. Therefore, both CPU3 and GPU4 can perform bidirectional DMA transfer (transfer of main signal) with IF board 2. Furthermore, by repeating memory copy and function / kernel activation any number of times, arbitrary processing can be assigned to CPU and GPU in any order.

[0046] [Second embodiment]

[0047] In the present embodiment, a detailed configuration example of the OLT 1 ​​is described by taking signal processing in a direction (downstream) from a processor to an IF board as an example.

[0048] Figure 3 This is a diagram showing a configuration related to downstream signal processing in the OLT 1. The OLT of PON standards such as 10G-EPON, NG-PON2, and XGS-PON has a configuration similar to that of this diagram.

[0049] The CPU 3 includes a main memory 31, an interrupt processing program 32, and a function execution unit 33. The main memory 31 is an example of a storage unit that stores a main signal received from an external device or a main signal sent to an external device. The main memory 31 includes a memory area h_output for input and output. The interrupt processing program 32 includes a memory control unit 321, a function activation unit 322, a memory copy unit 323, a kernel activation unit 324, and an external transfer control unit 325. The memory control unit 321 performs memory control to determine the memory address of the CPU 3 that is the operation object of the function and the memory address of the GPU 4 that is the operation object of the parallel processing activated by the kernel of the GPU 4. The function activation unit 322 instructs the function execution unit 33 to execute the function. The memory copy unit 323 copies data between the IF board 2 or the GPU 4 and the main memory 31. The kernel activation unit 324 instructs the GPU 4 to activate the kernel. The external transfer control unit 325 instructs DMA transfer between the IF board 2 and the CPU 3 or the GPU 4.

[0050] The GPU 4 includes a global memory 41 and a kernel execution unit 42. The global memory 41 includes a memory area d_input for input and a memory area d_output for output. The kernel execution unit 42 activates a kernel to execute parallel processing.

[0051] The IF board 2 includes a DMA execution unit 21 and an external transfer unit 22. The DMA execution unit 21 receives an instruction from the CPU 3 and copies the data of the main signal from the CPU 3 or the GPU 4. The external transfer unit 22 converts the main signal copied by the DMA execution unit 21 into an optical signal and transmits it to the ONU.

[0052] Next, the processing of the downstream signal in the OLT 1 ​​will be described.

[0053] In this embodiment, the input of the main signal is held in the memory area h_output in the main memory 31 of the CPU 3. The memory area h_output has N buffers. The value of index is used to specify which of the N buffers is used. Whenever the main signal is input, the CPU 3 changes the index indicating the address of the buffer in the memory area h_output and performs scrambling as a serial function on the CPU 3.

[0054] Specifically, when the IF board 2 starts the interrupt processing program 32 of the CPU 3, the memory control unit 321 determines the address of the memory area h_output used in the main memory 31, and the addresses of the memory areas d_input and d_output used in the global memory 41. The external transfer control unit 325 notifies the IF board 2 of the index indicating the address of the memory area h_output, and further instructs the IF board 2 to transfer the main signal. The external transfer unit 22 of the IF board 2 transfers the main signal to the buffer of the memory area h_output indicated by the index.

[0055] In the next cycle after the main signal is transferred to the main memory 31, when the CPU starts the interrupt processing program 32, the function starting unit 322 notifies the function execution unit 33 of the index of the memory area h_output, and further instructs the function execution unit 33 to start the scrambling. The scrambling performs a process of replacing the bit position of the data column. The function execution unit 33 uses the main signal read from the buffer of the memory area h_output indicated by the index as input data, executes the function with the scrambling function, and writes the execution result of the function into the buffer.

[0056] The memory area d_input and the memory area d_output of the global memory 41 also have N buffers respectively. The value of index is used to specify which of the N buffers is used. Furthermore, the number of buffers in the memory area h_output, the number of buffers in the memory area d_input, and the number of buffers in the memory area d_output may be different. The memory control unit 321 determines the index index indicating the memory address for input / output of the GPU 4 by the following formula. The GPU 4 transfers data while sequentially changing the respective indexes of the memory area d_input and the memory area d_output in the global memory 41.

[0057]

[0058] Here, N is the number of buffers that GPU4 has, and mod indicates a modulus operation. After that, the memory copy unit 323 performs memory copying from CPU3 to GPU4 for the memory address determined by the memory control unit 321. Furthermore, the kernel activation unit 324 activates the kernel for the address of the memory to be transferred by GPU4. GPU4 activates the kernel, and executes header addition, FEC, padding, and suppression, which are functions that can be processed in parallel, in parallel, and stores the calculation results in the memory area d_output for output.

[0059] Specifically, after the scrambling process is completed, the memory copy unit 323 outputs the index of the main memory 31 and the index of the memory area d_input of the global memory 41 to the GPU 4, and further instructs the GPU 4 to perform the memory copy. Based on the notified indexes, the GPU 4 copies the main signal from the buffer of the memory area h_output of the main memory 31 to the buffer of the memory area d_input of the global memory 41.

[0060] Next, the interrupt handler 32 notifies the GPU 4 of the respective indices of the memory area d_input and the memory area d_output of the global memory 41, and further instructs the GPU 4 to perform the header addition, FEC encoding, padding, and suppression in parallel. Header addition is the process of adding a header to the main signal. Padding is the process of adding data of a specified pattern to the empty area of ​​the field used in transmission. Suppression is the process of deleting redundant data such as 0 added to the front of the data and added to a specified position. The kernel execution unit 42 of the GPU 4 uses the data stored in the buffer of the memory area d_input indicated by the notified index to perform the header addition, FEC encoding, padding, and suppression in parallel. The kernel execution unit 42 writes the processing results of each parallel processing to the buffer of the memory area d_output indicated by the notified index.

[0061] The external transfer control unit 325 of the CPU 3 notifies the IF board 2 of the index indicating the buffer of the memory area d_output of the global memory 41, and further sends an external transfer command to the IF board 2. The DMA execution unit 21 of the IF board 2 starts DMA and transfers the main signal from the buffer of the memory area d_output indicated by the notified index. The external transfer unit 22 converts the main signal read from the GPU 4 into an optical signal and outputs the optical signal to an external device such as an ONU.

[0062] According to the above-mentioned embodiment, the control that can realize signal forwarding is continuously performed using the architecture that can be processed by the CPU and GPU in coordination. Therefore, it is possible to realize the high-speed communication processing of both functions that can be processed in parallel such as the encoding processing of PCS and functions that cannot be processed in parallel, and it is possible to expand the software area of ​​the access system.

[0063] According to the above-described embodiment, the data processing system includes an interface circuit for communicating with an external device, an accelerator for performing a first data processing, and a central processing unit for controlling the accelerator and the interface circuit. For example, the data processing system is OLT1, the accelerator is GPU4, and the central processing unit is CPU3. The central processing unit includes a data processing execution unit, an external transfer control unit, a data processing control unit, and a processing result copying unit. For example, the data processing execution unit is a function execution unit 33, the external transfer unit is an external transfer control unit 325, the data processing control unit is a function startup unit 322 and a kernel startup unit 324, and the processing result copying unit is a memory copying unit 323. The data processing execution unit performs a second data processing. The external transfer unit performs at least one of a process of controlling the data received from the external device to be transferred from the interface circuit to the accelerator or the central processing unit, and a process of controlling the data sent to the external device to be transferred from the accelerator or the central processing unit to the interface circuit. The data processing control unit controls to execute the first data processing by the accelerator and the second data processing by the data processing execution unit for the data received from the external device or the data sent to the external device. The processing result copying unit performs at least one of outputting the processing result of the first data processing, i.e., the first processing result, to the storage unit of the central processing unit so as to use the outputted first processing result as the processing object of the second data processing, and outputting the processing result of the second data processing, i.e., the second processing result, from the storage unit to the accelerator so as to use the outputted second processing result as the processing object of the first data processing.

[0064] For example, the first data processing performed by the accelerator is parallel processing, and the second data processing performed by the central processing unit is serial processing. In the case where the data processing system is a terminal station device in a PON system, the first data processing is a parallel processing of header addition, forward error correction coding, padding and suppression, and the second data processing is a processing including scrambling processing.

[0065] As mentioned above, the embodiment of the present invention has been described in detail with reference to the drawings. However, the specific structure is not limited to this embodiment, and includes designs and the like within the scope that does not depart from the gist of the present invention.

[0066] Possibility of Industrial Application

[0067] The present invention can be used in a device having a central processing unit and an accelerator.

[0068] Description of Reference Numerals

[0069] 1…OLT, 2…IF board, 3…CPU, 4…GPU, 21…DMA execution unit, 22…external transfer unit, 31…main memory, 32…interrupt handler, 33…function execution unit, 41…global memory, 42…kernel execution unit, 321…memory control unit, 322…function startup unit, 323…memory copy unit, 324…kernel startup unit, 325…external transfer control unit.

Claims

1. A data processing system for a communication device, wherein: have: an interface circuit for communicating with an external device; an accelerator, performing a first data processing; and A central processing unit controls the accelerator and the interface circuit. The central processing unit comprises: A data processing execution unit performs a second data processing; an external transfer control unit that performs at least one of a process of controlling the data received from the external device to be transferred from the interface circuit to the accelerator or the central processing unit, and a process of controlling the data sent to the external device to be transferred from the accelerator or the central processing unit to the interface circuit; a data processing control unit configured to control so that the first data processing using the accelerator and the second data processing using the data processing execution unit are performed on the data received from the external device or the data transmitted to the external device; as well as a processing result copying unit, which performs at least one of outputting a processing result of the first data processing, that is, a first processing result, to the central processing unit so as to control the first processing result as a processing object of the second data processing, and outputting a processing result of the second data processing, that is, a second processing result, to the accelerator so as to control the second processing result as a processing object of the first data processing, The interface circuit starts the interrupt processing program including the external transfer control unit, the data processing control unit and the processing result copying unit at a periodic timing. The interface circuit converts the electrical signal sent to the external device into an optical signal, and outputs the optical signal to the optical transmission path.

2. The data processing system according to claim 1, wherein: The first data processing is parallel processing, The second data processing is a serial processing.

3. The data processing system according to claim 1 or claim 2, wherein: The data processing system is a terminal station device, The first data processing is a parallel processing of header addition, forward error correction coding, padding and suppression, The second data processing is a scrambling process.

4. A central processing unit for a communication device, wherein: have: a storage unit for storing data received from an external device or data transmitted to the external device; a data processing execution unit that performs data processing using the data stored in the storage unit and stores the processing result in the storage unit; an external transfer control unit that performs at least one of a process of controlling the data received from the external device to be transferred from the interface circuit to the accelerator or the storage unit, and a process of controlling the data sent to the external device to be transferred from the accelerator or the storage unit to the interface circuit; a data processing control unit configured to control so that data processing using the accelerator and data processing using the data processing execution unit are performed on the data received from the external device or the data transmitted to the external device; as well as a processing result copying unit, which performs at least one of control of transferring a processing result of the data processing using the accelerator, that is, a first processing result, to the storage unit so as to use the first processing result as a processing object of the data processing in the data processing execution unit, and control of transferring a processing result of the data processing using the data processing execution unit, that is, a second processing result, from the storage unit to the accelerator so as to use the second processing result as a processing object of the data processing using the accelerator, The interface circuit starts the interrupt processing program having the external transfer control unit, the data processing control unit and the processing result copying unit at a periodic timing. The interface circuit converts the electrical signal sent to the external device into an optical signal, and outputs the optical signal to the optical transmission path.

5. A data processing method is a data processing method performed by a data processing system applied to a communication device, wherein: have: In a first data processing step, the accelerator performs first data processing; A second data processing step, the central processing unit performs second data processing; an external transfer step, in which the central processing unit performs at least one of a process of controlling the data received from the external device to be transferred from the interface circuit to the accelerator or the central processing unit, and a process of controlling the data sent to the external device to be transferred from the accelerator or the central processing unit to the interface circuit; a data processing control step, wherein the central processing unit controls so that the first data processing using the first data processing step and the second data processing using the second data processing step are performed on the data received from the external device or the data sent to the external device; a processing result copying step, wherein the central processing unit performs at least one of outputting the processing result of the first data processing, i.e., the first processing result, to the central processing unit so as to control the first processing result as a processing object of the second data processing, and outputting the processing result of the second data processing, i.e., the second processing result, to the accelerator so as to control the second processing result as a processing object of the first data processing; as well as a starting step, wherein the interface circuit starts the interrupt processing program for executing the external transfer step, the data processing control step and the processing result copying step in the central processing unit at a periodic timing, The interface circuit converts the electrical signal sent to the external device into an optical signal, and outputs the optical signal to the optical transmission path.