Method for dynamically linking program on embedded platform and embedded platform
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsZhihua WU, Jia GU, Xuan QIU
Life of this patent
Estimating the term…
Loading patent…
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsZhihua WU, Jia GU, Xuan QIU
Estimating the term…
The examples of the present invention disclose a method for dynamically linking a program on an embedded platform and an embedded platform. The embedded platform includes a middle layer which comprises at least one class. An application program to be linked includes at least one class. The application program is compiled into PICs, wherein storage positions of different code sections in the PICs which are obtained by compiling different functions of the application program do not overlap with each other; all the PICs are copied into a memory of the embedded operation system; a class pointer is created, and the class pointer is transferred between the class of the middle layer and the class of the application program to dynamically link the application program.
A method of dynamically linking an application program on an embedded platform, wherein the embedded platform comprises a middle layer, the middle layer comprises at least one class, each class is encapsulated from at least one function interface of an embedded operation system and corresponds to a virtual function table, and elements of the virtual function table respectively correspond to the at least one function interface of the embedded operation system, an application program to be linked comprises at least one class, each class is encapsulated from at least one function interface of the application program and corresponds to the virtual function table, and elements of the virtual function table respectively correspond to the at least one function interface of the application program;
Dependencies are inferred from the claim text.