Remote Procedure Call methods, systems, devices, and clusters

By designing a remote procedure call system on the data processing unit and using the embedded processor and hardware processing system to separate RPC request reception and processing, the complexity and performance problems of RPC implementation on the DPU are solved, and the stability and flexibility of the system are improved. .

CN118245252BActive Publication Date: 2024-08-23ZHUHAI XINGYUN ZHILIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410621254.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2024-08-23
Estimated Expiration
2044-05-20

AI Technical Summary

Technical Problem

There are technical challenges in implementing Remote Procedure Call (RPC) on the Data Processing Unit (DPU). Existing technologies are difficult to effectively implement RPC on the DPU, resulting in high complexity of functional development and insufficient performance and stability.

Method used

A remote procedure call system is designed, including an embedded processor and a hardware processing system. It communicates through programmable devices, separates the RPC request receiving and processing modules, uses the embedded processor to receive and convert RPC requests, and processes them through the hardware processing system. Processing ensures asynchronous communication and concurrency safety and avoids races on shared data.

Benefits of technology

It greatly reduces the complexity of function development, improves the performance and stability of HPS, saves network hardware costs, and improves the flexibility and performance of calling RPC methods inside the DPU.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118245252B
    Figure CN118245252B
Patent Text Reader

Abstract

The present application provides a remote procedure call method, system, device and cluster. The system is arranged on a data processor, the remote procedure call system includes an embedded processor, a hardware processing system and a programmable device, the embedded processor includes a receiving module and a front-end module, the receiving module is used to receive a remote procedure call request sent by a host, the front-end module is used to send the received remote procedure call request to the hardware processing system through the programmable device; the hardware processing system includes a back-end module and a processing module, the back-end module is used to receive the remote procedure call request sent by the front-end module, send the remote procedure call request to the processing module, the processing module is used to parse the remote procedure call request, call the remote procedure call method corresponding to the remote procedure call request to complete the processing of the remote procedure call request, and obtain the processing result of the remote procedure call request.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular to a remote procedure call method, system, device and cluster. Background Art

[0002] Remote Procedure Call (RPC) allows a program to call a procedure or function in another address space (usually another machine on a shared network) just like calling a procedure or function in a local application. There are many scenarios for using remote procedure calls. For example, in a microservice architecture, services usually communicate with each other through RPC. More specifically, an order service may need to call a payment service to complete a payment operation. In this case, RPC can be used to implement calls and interactions between services. For another example, in distributed computing, RPC can help different nodes communicate and collaborate to achieve collaborative processing of distributed tasks. For another example, in a distributed database system, RPC can be used to synchronize and replicate data between database nodes to ensure data consistency and reliability. For another example, through RPC, remote computing nodes can be monitored and managed, such as remotely executing commands, obtaining system status information, and so on.

[0003] With the development of Data Processing Unit (DPU), there is a need to implement RPC on DPU. Summary of the invention

[0004] The present application provides a remote procedure call method, system, device and cluster, which can implement remote procedure call on a data processor.

[0005] In a first aspect, a remote procedure call system is provided, which is arranged on a data processor, and the remote procedure call system includes an embedded processor, a hardware processing system and a programmable device.

[0006] The embedded processor comprises a receiving module and a front-end module, wherein the receiving module is used to receive a remote procedure call request sent by a host, and the front-end module is used to send the received remote procedure call request to the hardware processing system through the programmable device;

[0007] The hardware processing system includes a back-end module and a processing module. The back-end module is used to receive the remote procedure call request sent by the front-end module and send the remote procedure call request to the processing module. The processing module is used to parse the remote procedure call request, call the remote procedure call method corresponding to the remote procedure call request to complete the processing of the remote procedure call request, and obtain the processing result of the remote procedure call request.

[0008] In some possible designs, the front-end module is used to convert the received remote procedure call request into the format required by the processing module, and send the remote procedure call request after the converted format to the back-end module through the programmable device; the back-end module is used to send the remote procedure call request after the converted format to the processing module.

[0009] In some possible designs, the processing module is used to convert the processing result into a format required by the embedded processor, and send the processing result after the conversion to the back-end module;

[0010] The back-end module is used to send the processing result after the format conversion to the front-end module through the programmable device;

[0011] The front-end module is used to send the processing result after the format conversion to the receiving module.

[0012] In some possible designs, the host includes a first host and a second host, the first host is the host where the data processor is located, and the second host is not the host where the data processor is located, the receiving module includes a first receiving module and a second receiving module, the first receiving module is used to receive a first remote procedure call request sent by the first host, and the second receiving module is used to receive a second remote procedure call request sent by the second host.

[0013] In some possible designs, the front-end module is used to receive the processing results after the format conversion, determine whether to send the processing results after the format conversion to the first receiving module or the second receiving module, and if it is determined to be sent to the first receiving module, send it to the first receiving module; if it is determined to be sent to the second receiving module, convert the processing results after the format conversion into the format required by the second host and send it to the second receiving module.

[0014] In some possible designs, the receiving module is used to send the remote procedure call request sent to the host to the front-end module if the remote procedure call request sent to the host is passed, and to send a request error response if the remote procedure call request sent to the host is not passed.

[0015] In a second aspect, a remote procedure call method is provided, which is applied to a data processor, wherein the data processor includes an embedded processor, a hardware processing system, and a programmable device, wherein the embedded processor includes a receiving module and a front-end module, and the hardware processing system includes a back-end module and a processing module.

[0016] Receiving a remote procedure call request sent by the host through the receiving module;

[0017] Sending the received remote procedure call request to the back-end module through the programmable device via the front-end module;

[0018] Receiving the remote procedure call request sent by the front-end module through the back-end module, and sending the remote procedure call request to the processing module;

[0019] The remote procedure call request is parsed by the processing module, and a remote procedure call method corresponding to the remote procedure call request is called to complete the processing of the remote procedure call request, thereby obtaining a processing result of the remote procedure call request.

[0020] In a third aspect, a computing device is provided, the computing device comprising a data processor, the data processor comprising an embedded processor, a hardware processing system and a programmable device,

[0021] The embedded processor comprises a receiving module and a front-end module, wherein the receiving module is used to receive a remote procedure call request sent by a host, and the front-end module is used to send the received remote procedure call request to the hardware processing system through the programmable device;

[0022] The hardware processing system includes a back-end module and a processing module. The back-end module is used to receive the remote procedure call request sent by the front-end module and send the remote procedure call request to the processing module. The processing module is used to parse the remote procedure call request, call the remote procedure call method corresponding to the remote procedure call request to complete the processing of the remote procedure call request, and obtain the processing result of the remote procedure call request.

[0023] In some possible designs, the host includes a first host and a second host, the first host belongs to the computing device, and the second host does not belong to the computing device.

[0024] According to a fourth aspect, a computing device cluster is provided, the computing device cluster comprising a plurality of computing devices, one of the plurality of computing devices being the computing device described in any one of the third aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the background technology, the drawings required for use in the embodiments of the present invention or the background technology will be described below.

[0026] Figure 1 It is a structural schematic diagram of a computing device provided by the present application;

[0027] Figure 2 It is a schematic diagram of a remote procedure call provided by this application;

[0028] Figure 3 It is a flowchart of a remote procedure call method provided by this application;

[0029] Figure 4 It is a structural schematic diagram of another computing device provided by the present application. DETAILED DESCRIPTION

[0030] The embodiments of the present invention are described below in conjunction with the accompanying drawings in the embodiments of the present invention. The terms used in the implementation mode of the present invention are only used to explain the specific embodiments of the present invention, and are not intended to limit the present invention.

[0031] See also Figure 1 , Figure 1 is a schematic diagram of the structure of a computing device provided by this application. Figure 1 As shown, the computing device of this embodiment includes: a first host 110 and a data processor 120 .

[0032] The first host 110 is the computing core and control core of the host. The first host 110 may include one or more processor cores. The first host 110 may be a very large scale integrated circuit. An operating system and other software programs are installed in the first host 110, so that the first host 110 can access various peripheral component interconnection extension (Peripheral Component Interconnect Express, PCIe) devices. It is understood that in the embodiment of the present invention, the processor core in the first host 110 may be, for example, a central processing unit (CPU).

[0033] The data processor 120 may be a data processing unit (DPU), and the data processor 120 may include an embedded processor 121 , a hardware processing system 122 , and a programmable device 123 .

[0034] An embedded processor (Embedded CPU, ECPU) 121 refers to a central processing unit (CPU) embedded in an electronic device, which is used to perform control and computing tasks of the device. Different from a general-purpose processor on a personal computer or server, an embedded processor 121 usually has lower power consumption, smaller size and lower cost to meet the needs of embedded systems.

[0035] A hardware processing system (HPS) 122 generally refers to a system that uses hardware to perform specific data processing tasks. These systems are usually used in application scenarios that require high performance, low latency, and high reliability. Common hardware processing systems include dedicated hardware accelerators (such as GPUs, TPUs, etc.), network processors, digital signal processors (DSPs), and application-specific integrated circuits (ASICs). ASIC is a customized integrated circuit designed for specific application areas. Unlike general-purpose processors or programmable chips such as FPGAs, ASICs are designed and customized according to specific application requirements and are usually used in application scenarios that require high performance, low power consumption, and high integration.

[0036] The programmable device 123 may be a field programmable gate array (FPGA) or an ASIC, etc. FPGA is composed of a large number of programmable logic units (LUTs) and programmable interconnect resources, and can be programmed to implement different functions and logic circuits. By reconfiguring the logic units and interconnect resources of the FPGA, different application requirements can be achieved, thereby avoiding the need for redesign and manufacturing in traditional hardware design.

[0037] In a specific embodiment, the embedded processor includes a receiving module 1211 and a front-end module 1212. The hardware processing system 122 includes a back-end module 1221 and a processing module 1222. The programmable device 123 includes a transmission channel.

[0038] The receiving module 1211 is used to receive a remote procedure call request sent by the host. The remote procedure call request may include the name of the remote procedure to be called, input parameters, output parameters, and optional context information, etc. The name of the remote procedure to be called is the name or identifier of the remote procedure to be executed. The input parameters are input parameters for passing to the remote procedure. The output parameters are output parameters for receiving the remote procedure execution result. The optional context information is used to pass additional environment parameters or authentication information. In some possible embodiments, such as Figure 2As shown, the receiving module 1211 includes a first receiving module and a second receiving module. The first receiving module is used to receive a first remote procedure call request sent by the first host, and the second receiving module is used to receive a second remote procedure call request sent by the second host 130. Wherein, the first host is the host where the data processor is located, therefore, the first host can log in to the embedded processor, and send the first remote procedure call request through the corresponding remote procedure call command, if the first receiving module passes the first remote procedure call request sent to the first host, the first remote procedure call request is sent to the front-end module 1212, and if the first remote procedure call request sent to the first host is not passed, a request error response is sent to prompt that an error has occurred in the remote procedure call command. The second host 130 is not the host where the data processor is located, therefore, the second host 130 can serialize the input parameters and convert them into a form that can be transmitted on the network. Wherein, the serialization method can use JSON, XML, Protocol Buffers, etc. The second host 130 sends the second remote procedure call request to the second receiving module through the network. If the second remote procedure call request sent to the second host 130 is passed, the second receiving module sends the second remote procedure call request to the front-end module 1212. If the second remote procedure call request sent to the second host 130 is not passed, the second receiving module sends a request error response to the second host 130 through the network.

[0039] The front-end module 1212 is used to receive a remote procedure call request, deserialize the remote procedure call request, and convert it into a locally recognizable form. Then, the front-end module 1212 is used to convert the received remote procedure call request into the format required by the processing module, and send the converted remote procedure call request to the back-end module through a programmable device. Since the formats used by the HPS and the ECPU are different, it is necessary to convert the remote procedure call request into the format required by the processing module before transmission. Among them, the programmable device is used to provide a transmission channel between the front-end module 1212 and the back-end module 1221. Here, the front-end module 1212 and the back-end module 1221 are decoupled, they can be executed independently, and communicate through a mailbox. That is, if the front-end module 1212 uses a mailbox to send a message, the back-end module 1221 uses a mailbox to receive a message. On the contrary, if the back-end module 1221 uses a mailbox to send a message, the front-end module 1212 uses a mailbox to receive a message. This method can ensure concurrency security and avoid competition conditions for shared data. In addition, the transmission channel has the following characteristics: (1) Asynchronous communication: that is, after the front-end module 1212 sends a message, it can immediately perform other operations without waiting for the response of the back-end module 1221. Similarly, after the back-end module 1221 sends a message, it can immediately perform other operations without waiting for the response of the front-end module 1212. (2) Sequentiality, that is, the messages sent by the front-end module 1212 will be received by the back-end module 1221 in the order in which they are sent, and the messages sent by the back-end module 1221 will be received by the front-end module 1212 in the order in which they are sent. (3) The transmission channel can have a buffer, which can temporarily store the message when the front-end module 1212 sends the message until the back-end module 1221 is ready to receive it, or it can temporarily store the message when the back-end module 1221 sends the message until the front-end module 1212 is ready to receive it. (4) Blocking and non-blocking, that is, when the front-end module 1212 acts as a sender, it can choose to send messages in a blocking or non-blocking manner, and when the back-end module 1221 acts as a receiver, it can also choose to receive messages in a blocking or non-blocking manner. Similarly, when the back-end module 1221 acts as a sender, it can choose to send messages in a blocking or non-blocking manner, and when the front-end module 1212 acts as a receiver, it can also choose to receive messages in a blocking or non-blocking manner.

[0040] The backend module 1221 is used to receive the remote procedure call request sent by the frontend module and send the remote procedure call request to the processing module 1222. Since the frontend module 1212 has converted the remote procedure call request into the format required by the processing module, the remote procedure call request can be directly sent to the processing module 1222 for processing.

[0041] The processing module 1222 is used to parse the remote procedure call request, call the remote procedure call method corresponding to the remote procedure call request to complete the processing of the remote procedure call request, obtain the processing result of the remote procedure call request, convert the processing result into the format required by the embedded processor, and send the converted processing result to the back-end module. Similarly, since the formats used by the HPS and the ECPU are different, the processing result needs to be converted into the format required by the embedded processor before transmission.

[0042] The back-end module 1221 is used to send the processed result after format conversion to the front-end module 1212 through a programmable device.

[0043] The front-end module 1212 is used to send the format-converted processing result to the receiving module 1211. Specifically, the front-end module is used to receive the format-converted processing result and determine whether to send the format-converted processing result to the first receiving module or the second receiving module. If it is determined to be sent to the first receiving module, it is sent to the first receiving module. If it is determined to be sent to the second receiving module, the format-converted processing result is converted into the format required by the second host 130 and sent to the second receiving module. Similarly, in order to transmit on the network, the processing result can be serialized and converted into a form that can be transmitted on the network.

[0044] See also Figure 3 , Figure 3 This is a flowchart of a remote procedure call method provided by this application. Figure 3 As shown, the remote procedure call method of the present application includes the following steps:

[0045] S101: Receive a remote procedure call request sent by a host through a receiving module. The remote procedure call request may include the name of the remote procedure to be called, input parameters, output parameters, and optional context information, etc. The name of the remote procedure to be called is the name or identifier of the remote procedure to be executed. The input parameters are input parameters used to pass to the remote procedure. The output parameters are output parameters used to receive the remote procedure execution result. The optional context information is used to pass additional environment parameters or authentication information. In some possible embodiments, such as Figure 2As shown, the receiving module includes a first receiving module and a second receiving module. The first receiving module is used to receive a first remote procedure call request sent by the first host, and the second receiving module is used to receive a second remote procedure call request sent by the second host. Wherein, the first host is the host where the data processor is located, so the first host can log in to the embedded processor and send the first remote procedure call request through the corresponding remote procedure call command. If the first receiving module passes the first remote procedure call request sent by the first host, the first remote procedure call request is sent to the front-end module. If the first remote procedure call request sent by the first host is not passed, a request error response is sent to prompt that an error has occurred in the remote procedure call command. The second host is not the host where the data processor is located, so the second host can serialize the input parameters and convert them into a form that can be transmitted on the network. Wherein, the serialization method can use JSON, XML, Protocol Buffers, etc. The second host sends the second remote procedure call request to the second receiving module through the network. If the second receiving module passes the second remote procedure call request sent by the second host, the second remote procedure call request is sent to the front-end module. If the second remote procedure call request sent by the second host is not passed, a request error response is sent to the second host through the network.

[0046] S102: Receive a remote procedure call request through the front-end module, deserialize the remote procedure call request, and convert it into a locally recognizable form. Then, the front-end module converts the received remote procedure call request into the format required by the processing module, and sends the converted remote procedure call request to the back-end module through the programmable device. Since the formats used by the HPS and the ECPU are different, it is necessary to convert the remote procedure call request into the format required by the processing module before transmission. The programmable device is used to provide a transmission channel between the front-end module and the back-end module. Here, the front-end module and the back-end module are decoupled, they can be executed independently, and communicate through mailboxes. That is, if the front-end module uses a mailbox to send a message, the back-end module uses a mailbox to receive the message. Conversely, if the back-end module uses a mailbox to send a message, the front-end module uses a mailbox to receive the message. This method can ensure concurrency security and avoid competition conditions for shared data. In addition, the transmission channel has the following characteristics: (1) Asynchronous communication: that is, after the front-end module sends a message, it can immediately perform other operations without waiting for the response of the back-end module. Similarly, after the back-end module sends a message, it can immediately perform other operations without waiting for the response of the front-end module. (2) Sequentiality, that is, the messages sent by the front-end module will be received by the back-end module in the order in which they are sent, and the messages sent by the back-end module will be received by the front-end module in the order in which they are sent. (3) The transmission channel can have a buffer, which can temporarily store messages when the front-end module sends messages until the back-end module is ready to receive them, or can temporarily store messages when the back-end module sends messages until the front-end module is ready to receive them. (4) Blocking and non-blocking, that is, when the front-end module acts as a sender, it can choose to send messages in a blocking or non-blocking manner, and when the back-end module acts as a receiver, it can also choose to receive messages in a blocking or non-blocking manner. Similarly, when the back-end module acts as a sender, it can choose to send messages in a blocking or non-blocking manner, and when the front-end module acts as a receiver, it can also choose to receive messages in a blocking or non-blocking manner.

[0047] S103: The backend module receives the remote procedure call request sent by the frontend module and sends the remote procedure call request to the processing module. Since the frontend module has converted the remote procedure call request into the format required by the processing module, the remote procedure call request can be directly sent to the processing module for processing.

[0048] S104: Parse the remote procedure call request through the processing module, call the remote procedure call method corresponding to the remote procedure call request to complete the processing of the remote procedure call request, obtain the processing result of the remote procedure call request, convert the processing result into the format required by the embedded processor, and send the converted processing result to the back-end module. Similarly, since the formats used by the HPS and the ECPU are different, the processing result needs to be converted into the format required by the embedded processor before transmission.

[0049] S105: The back-end module sends the format-converted processing result to the front-end module through the programmable device.

[0050] S106: Send the format-converted processing result to the receiving module through the front-end module. Specifically, the front-end module is used to receive the format-converted processing result and determine whether to send the format-converted processing result to the first receiving module or the second receiving module. If it is determined to be sent to the first receiving module, it is sent to the first receiving module. If it is determined to be sent to the second receiving module, the format-converted processing result is converted into the format required by the second host and sent to the second receiving module. Similarly, in order to transmit on the network, the processing result can be serialized and converted into a form that can be transmitted on the network.

[0051] In the above scheme, the RPC server is divided into two parts, namely, the reception of RPC requests and the processing of RPC methods, wherein the reception of RPC requests is completed by the ECPU, and the processing of RPC methods is completed by the HPS, which greatly reduces the complexity of function development. In addition, the ECPU network is used to receive the RPC request of the second host, and the communication transmission channel between the HPS and the ECPU is used to complete the RPC method call, so that the HPS does not need to add additional network hardware, thereby saving costs. The HPS only needs to focus on the functions of the actual business and the implementation of the RPC method. All RPC request reception, parsing, parameter rationality check, and RPC response sending are completed in the ECPU, which greatly improves the performance and stability of the HPS business. At the same time, the DPU can also directly call the RPC method of the HPS through the first receiving module without going through the network, and the flexibility of the usage method is improved.

[0052] See also Figure 4 , Figure 4 4 is a schematic diagram of another computing device provided by the present application. The computing device 400 includes: one or more processing units 410 , a communication interface 420 and a memory 430 .

[0053] The processing unit 410, the communication interface 420 and the memory 430 are interconnected via a bus 440. Optionally, the computing device 400 may also include an input / output interface 450, which is connected to an input / output device for receiving parameters set by a user, etc. The computing device 400 can be used to implement part or all of the functions of the device embodiment or system embodiment in the above-mentioned embodiment of the present application; the processing unit 410 can also be used to implement part or all of the operation steps of the method embodiment in the above-mentioned embodiment of the present application. For example, the specific implementation of the various operations performed by the computing device 400 can refer to the specific details in the above-mentioned embodiment, such as the processing unit 410 is used to perform part or all of the steps in the above-mentioned method embodiment or part or all of the operations in the above-mentioned method embodiment. For another example, in the embodiment of the present application, the computing device 400 can be used to implement part or all of the functions of one or more components in the above-mentioned device embodiment, and the communication interface 420 can be specifically used for the communication functions necessary to implement the functions of these devices and components, and the processing unit 410 can be specifically used for the processing functions necessary to implement the functions of these devices and components, etc.

[0054] It should be understood that Figure 4 The computing device 400 may include one or more processing units 410, and the multiple processing units 410 may provide processing capabilities in a coordinated manner in a parallel connection manner, a serial connection manner, a serial-parallel connection manner, or any connection manner, or the multiple processing units 410 may constitute a processor sequence or a processor array, or the multiple processing units 410 may be divided into a main processor and an auxiliary processor, or the multiple processing units 410 may have different architectures such as a heterogeneous computing architecture. In addition, Figure 4 The computing device 400 shown in the figure, and the related structural description and functional description are exemplary and non-limiting. In some exemplary embodiments, the computing device 400 may include Figure 4 More or fewer components may be shown, or some components may be combined or separated, or may have a different arrangement of components.

[0055] The processing unit 410 may have a variety of specific implementation forms. For example, the processing unit 410 may include a central processing unit (CPU), a graphic processing unit (GPU), a neural-network processing unit (NPU), a tensor processing unit (TPU) or a data processing unit (DPU), etc., and the embodiment of the present application does not specifically limit it. The processing unit 410 may also be a single-core processor or a multi-core processor. The processing unit 410 may be a combination of a CPU and a hardware chip. The above-mentioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof. The processing unit 410 may also be implemented using a logic device with built-in processing logic alone, such as an FPGA or a digital signal processor (DSP). The communication interface 420 may be a wired interface or a wireless interface for communicating with other modules or devices. The wired interface may be an Ethernet interface, a local interconnect network (LIN), etc., and the wireless interface may be a cellular network interface or a wireless local area network interface, etc.

[0056] The memory 430 may be a non-volatile memory, such as a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The memory 430 may also be a volatile memory, which may be a random access memory (RAM) used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous connection dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). The memory 430 may also be used to store program codes and data, so that the processing unit 410 calls the program codes stored in the memory 430 to execute some or all of the operation steps in the above method embodiment, or to execute the corresponding functions in the above device embodiment. Figure 4 Show more or fewer components, or have different component configurations.

[0057] The bus 440 may be a peripheral component interconnect express (PCIe) bus, an extended industry standard architecture (EISA) bus, a unified bus (Ubus or UB), a compute express link (CXL), a cache coherent interconnect for accelerators (CCIX), etc. The bus 440 may be divided into an address bus, a data bus, a control bus, etc. In addition to the data bus, the bus 440 may also include a power bus, a control bus, and a status signal bus, etc. However, for the sake of clarity, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0058] The present application also provides a system, which includes multiple computing devices, and the structure of each computing device can refer to the structure of the computing device described above. The functions or operations that can be implemented by the system can refer to the specific implementation steps in the above method embodiment and / or the specific functions described in the above device embodiment, which will not be repeated here.

[0059] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one network site, computer, server or data center to another network site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer, or it can be a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape, etc.), an optical medium (e.g., a DVD, etc.), or a semiconductor medium (e.g., a solid-state hard disk), etc.

[0060] In the above embodiments, the description of each embodiment has different emphases. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

Claims

1. A remote procedure call system, It is characterized in that The remote procedure call system is arranged on a data processor, and includes an embedded processor, a hardware processing system and a programmable device. The embedded processor comprises a receiving module and a front-end module, wherein the receiving module is used to receive a remote procedure call request sent by a host, and the front-end module is used to send the received remote procedure call request to the hardware processing system through the programmable device; The hardware processing system includes a backend module and a processing module, wherein the backend module is used to receive the remote procedure call request sent by the frontend module, and send the remote procedure call request to the processing module, and the processing module is used to parse the remote procedure call request, call the remote procedure call method corresponding to the remote procedure call request to complete the processing of the remote procedure call request, and obtain the processing result of the remote procedure call request; The front-end module is used to deserialize the received remote procedure call request, convert it into the format required by the processing module, and send the remote procedure call request after the conversion to the back-end module through the programmable device; The backend module is used to send the remote procedure call request after the conversion format to the processing module; The processing module is used to convert the processing result into a format required by the embedded processor, and send the processing result after the conversion to the back-end module; The back-end module is used to send the processing result after the format conversion to the front-end module through the programmable device; The front-end module is used to send the processing result after the format conversion to the receiving module.

2. The system according to claim 1, It is characterized in that The host includes a first host and a second host, the first host is the host where the data processor is located, and the second host is not the host where the data processor is located. The receiving module includes a first receiving module and a second receiving module, the first receiving module is used to receive a first remote procedure call request sent by the first host, and the second receiving module is used to receive a second remote procedure call request sent by the second host.

3. The system according to claim 2, It is characterized in that The front-end module is used to receive the processing result after the format conversion, determine whether to send the processing result after the format conversion to the first receiving module or the second receiving module, and if it is determined to be sent to the first receiving module, send it to the first receiving module; if it is determined to be sent to the second receiving module, convert the processing result after the format conversion into the format required by the second host and send it to the second receiving module.

4. A system according to any one of claims 1 to 3, It is characterized in that The receiving module is used for sending the remote procedure call request to the front-end module when the remote procedure call request sent to the host is passed, and sending a request error response when the remote procedure call request sent to the host is not passed.

5. A remote procedure call method, It is characterized in that Applied to a data processor, the data processor includes an embedded processor, a hardware processing system and a programmable device, the embedded processor includes a receiving module and a front-end module, the hardware processing system includes a back-end module and a processing module, Receiving a remote procedure call request sent by the host through the receiving module; Sending the received remote procedure call request to the back-end module through the programmable device via the front-end module; Receiving the remote procedure call request sent by the front-end module through the back-end module, and sending the remote procedure call request to the processing module; Parsing the remote procedure call request through the processing module, calling the remote procedure call method corresponding to the remote procedure call request to complete the processing of the remote procedure call request, and obtaining the processing result of the remote procedure call request; The front-end module sends the received remote procedure call request to the back-end module through the programmable device, including: deserializing the received remote procedure call request through the front-end module, converting it into a format required by the processing module, and sending the remote procedure call request after the conversion to the back-end module through the programmable device; Receiving the remote procedure call request sent by the front-end module through the back-end module, and sending the remote procedure call request to the processing module, including: receiving the remote procedure call request sent by the front-end module through the back-end module, and sending the remote procedure call request after the format conversion to the processing module; After the processing module parses the remote procedure call request, calls the remote procedure call method corresponding to the remote procedure call request to complete the processing of the remote procedure call request, and obtains the processing result of the remote procedure call request, the method further comprises: converting the processing result into a format required by the embedded processor through the processing module, and sending the converted processing result to the back-end module; Sending the processing result after the format conversion to the front-end module through the programmable device via the back-end module; The processing result after the format conversion is sent to the receiving module through the front-end module.

6. A computing device, It is characterized in that The computing device includes a data processor, and the data processor includes an embedded processor, a hardware processing system, and a programmable device. The embedded processor comprises a receiving module and a front-end module, wherein the receiving module is used to receive a remote procedure call request sent by a host, and the front-end module is used to send the received remote procedure call request to the hardware processing system through the programmable device; The hardware processing system includes a backend module and a processing module, wherein the backend module is used to receive the remote procedure call request sent by the frontend module, and send the remote procedure call request to the processing module, and the processing module is used to parse the remote procedure call request, call the remote procedure call method corresponding to the remote procedure call request to complete the processing of the remote procedure call request, and obtain the processing result of the remote procedure call request; The front-end module is used to deserialize the received remote procedure call request, convert it into the format required by the processing module, and send the remote procedure call request after the conversion to the back-end module through the programmable device; The backend module is used to send the remote procedure call request after the conversion format to the processing module; The processing module is used to convert the processing result into a format required by the embedded processor, and send the processing result after the conversion to the back-end module; The back-end module is used to send the processing result after the format conversion to the front-end module through the programmable device; The front-end module is used to send the processing result after the format conversion to the receiving module.

7. The computing device according to claim 6, It is characterized in that The host includes a first host and a second host, the first host belongs to the computing device, and the second host does not belong to the computing device.

8. A computing device cluster, It is characterized in that The computing device cluster includes multiple computing devices, and one of the multiple computing devices is the computing device according to claim 6 or 7.