发明名称 Data processing system and data processing method
摘要 A client (300) acquires a user function symbol name, acquires a pointer to a wrapper function, which is defined as a template function and internally executes the user function by designating the types of argument and return value of the user function as a template argument, and acquires a wrapper function symbol name of the wrapper function using the pointer to the wrapper function. A server (310) acquires, from the client, the user function symbol name, data corresponding to the arguments of the user function, the wrapper function symbol name, and a shared library user program in which the user program and the wrapper function are compiled as a shared library. The server executes the wrapper function within the shared library user program, which is specified by the pointer to the wrapper function, using the user function symbol name and the data corresponding to the arguments of the user function as arguments.
申请公布号 US9116855(B2) 申请公布日期 2015.08.25
申请号 US201113704178 申请日期 2011.06.10
申请人 NEC CORPORATION 发明人 Araki Takuya
分类号 G06F15/16;G06F9/54 主分类号 G06F15/16
代理机构 Sughrue Mion, PLLC 代理人 Sughrue Mion, PLLC
主权项 1. A data processing system comprising: a client apparatus; and a server apparatus, wherein the client apparatus and the server apparatus communicate with each other, wherein the client apparatus comprises at least one processor, the at least one processor being configured to implement: a user function symbol name acquiring unit that acquires a user function symbol name of an object pointed to by a pointer to a user function of a user program, the user function being compiled in a shared library and included in a shared library user program; a wrapper function generating unit that generates a wrapper function of the user function from a pre-determined template function based on a type and number of one or more arguments of the user function and a return value of the user function, the wrapper function being compiled in the shared library and included in the shared library user program;a first wrapper function pointer acquiring unit that acquires a pointer to the wrapper function within the shared library user program in the client apparatus;a wrapper function symbol name acquiring unit that acquires a wrapper function symbol name of the wrapper function based on the pointer to the wrapper function within the shared library user program in the client apparatus; anda first communicating unit that provides the server apparatus with the user function symbol name, data corresponding to the one or more arguments of the user function, the wrapper function symbol name, and the shared library user program, and wherein the server apparatus comprises at least one processor, the at least one processor being configured to implement: a second communicating unit that acquires the user function symbol name, data corresponding to the one or more arguments of the user function, the wrapper function symbol name, and the shared library user program, which are provided by the client apparatus;a second wrapper function pointer acquiring unit that acquires a pointer to the wrapper function within the shared library user program in the server apparatus based on the wrapper function symbol name acquired by the second communicating unit;a user function pointer acquiring unit that acquires a pointer to the user function within the shared library user program in the server apparatus based on the user function symbol name acquired by the second communicating unit; anda wrapper function executing unit that executes the wrapper function specified by the pointer to the wrapper function within the shared library user program in the server apparatus,wherein the user function symbol name and the data corresponding to the one or more arguments of the user function are provided to the wrapper function as arguments, the wrapper function acquires a pointer to the user function within the shared library user program in the server apparatus based on the user function symbol name and executes the user function specified by the pointer to the user function within the shared library user program in the server apparatus, and the data corresponding to the one or more arguments of the user function being provided to the user function as arguments.
地址 Tokyo JP