Invention Grant
- Patent Title: Code execution method, device, and rendering apparatus
-
Application No.: US16876936Application Date: 2020-05-18
-
Publication No.: US11294651B2Publication Date: 2022-04-05
- Inventor: Sheng Lv , Jie Wang , Yan Wang , Yuanhang Zhang , Hongwei Cao
- Applicant: Baidu Online Network Technology (Beijing) Co., Ltd.
- Applicant Address: CN Beijing
- Assignee: Baidu Online Network Technology (Beijing) Co., Ltd.
- Current Assignee: Baidu Online Network Technology (Beijing) Co., Ltd.
- Current Assignee Address: CN Beijing
- Agency: Neal, Gerber & Eisenberg LLP
- Priority: CN201911001932.7 20191021
- Main IPC: G06F8/41
- IPC: G06F8/41 ; G06F9/445 ; G06F9/455

Abstract:
A code execution method and device, as well as a rendering apparatus are provided. A specific solution includes: receiving an initialization instruction from an execution engine, the initialization instruction being acquired by loading target codes through the execution engine; sending a registration instruction to a registration component according to the initialization instruction, to create a wrapper object required for executing the target codes; compiling the target codes to acquire an execution codes corresponding to the target codes, according to a mapping relationship between the wrapper object and native codes of an operating system; and sending the execution codes to the execution engine to execute the execution codes. The execution engine can mainly control the code execution process, thereby improving a code execution efficiency.
Public/Granted literature
- US20210117169A1 CODE EXECUTION METHOD, DEVICE, AND RENDERING APPARATUS Public/Granted day:2021-04-22
Information query