Compatibility method based on hybrid, adapter, operation device, system and computer-readable storage medium
AssigneePing An Technology (Shenzhen) Co., Ltd.
InventorsZhijun Huang, Chunjiang Li
Life of this patent
Estimating the term…
Loading patent…
AssigneePing An Technology (Shenzhen) Co., Ltd.
InventorsZhijun Huang, Chunjiang Li
Estimating the term…
Disclosed are a compatibility method based on Hybrid, an adapter, an operation device, a system and a computer-readable storage medium, wherein, the method comprises: a JS adaptation component acquires a second component data from a JS component of a second Hybrid; the JS adaptation component encapsulates the second component data as a parameter data packet applicable for the first Hybrid; the JS adaptation component transmits a first component data to a bridge module of the first Hybrid; the native adaptation component acquires the parameter data packet from the bridge module; the native adaptation component parses the parameter data packet to acquire the class name and the method name; the native adaptation component invokes an interface of the native component of the corresponding second Hybrid according to the class name and the method name and according to a preset calling rule.
A compatibility method based on Hybrid, wherein, the method comprises:
An adapter, wherein, the adapter is disposed in a first Hybrid, for making a second Hybrid compatible with the first Hybrid, and the adapter comprises a JS adaptation component and a native adaptation component, and the JS adaptation component comprises a first receiving unit, a first encapsulating unit and a first invoking unit, and the native adaptation component comprises a second receiving unit, a parsing unit, and a second invoking unit,
(canceled)
(canceled)
(canceled)
(canceled)
(canceled)
(canceled)
(canceled)
(canceled)
(canceled)
(canceled)
An operation system based on Hybrid, wherein, the operation system comprises a first Hybrid and a second Hybrid, and the first Hybrid comprises an adapter and a bridge module, ant the adapter comprises a JS adaptation component and a native adaptation component, and the bridge module of the first Hybrid is used to connect the JS adaptation component and the native adaptation component, and the JS adaptation component is used to connect a JS component of the second Hybrid and the bridge module of the first Hybrid, and the native adaptation component is used to connect the bridge module of the first Hybrid and a native component of the second Hybrid, and the system further comprises one or more processors and a memory, and the processor and the memory are connected by a bus;
Dependencies are inferred from the claim text.