Component invoking method and apparatus, and component data processing method and apparatus
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsHaojun HU, Qingjie LIN
Life of this patent
Estimating the term…
Abstract
A component invoking method includes obtaining component invoking data corresponding to a child application. The component invoking data includes a component identifier identifying a first native component in a parent application and corresponding to a current system platform and a second native component running on another system platform and having a same function as the first native component. The method further includes transferring the component invoking data to a native layer corresponding to the parent application using a communications channel corresponding to the current system platform and invoking the first native component by the native layer based on the component invoking data.
Claims20
A component invoking method comprising:
- obtaining component invoking data corresponding to a child application, the component invoking data comprising a component identifier identifying:
- a first native component in a parent application and corresponding to a current system platform;
- and
- a second native component running on another system platform and having a same function as the first native component;
- transferring the component invoking data to a native layer corresponding to the parent application using a communications channel corresponding to the current system platform;
- and
- invoking, by the native layer based on the component invoking data, the first native component.
A terminal comprising:
- one or more processors;
- and
- one or more non-volatile storage media storing one or more computer readable instructions that, when executed by the one or more processors, cause the one or more processors to, individually or collectively:
- obtain component invoking data corresponding to a child application, the component invoking data comprising a component identifier identifying:
- a first native component in a parent application and corresponding to a current system platform;
- and
- a second native component running on another system platform and having a same function as the first native component;
- transfer the component invoking data to the native layer corresponding to the parent application using a communications channel corresponding to the current system platform;
- and
- instruct the native layer to invoke, based on the component invoking data, the first native component.
A non-volatile computer readable storage medium storing a computer readable instruction that, when executed by at least one processor, causes the at least one processor to:
- obtain component invoking data corresponding to a child application, the component invoking data comprising a component identifier identifying:
- a first native component in a parent application and corresponding to a current system platform;
- and
- a second native component running on another system platform and having a same function as the first native component;
- transfer the component invoking data to the native layer corresponding to the parent application using a communications channel corresponding to the current system platform;
- and
- instruct the native layer to invoke, based on the component invoking data, the first native component.
Dependencies are inferred from the claim text.