Interaction method between web page and native application, electronic device and storage medium
By loading a pre-defined bridging file into a web container and injecting native functionality, a unified interaction method between web pages and native applications is achieved. This solves the problems of code redundancy and maintenance difficulties in the mixed development of H5 and Weex technologies, improves interaction efficiency, and reduces costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- MIDEA GROUP CO LTD
- Filing Date
- 2021-12-29
- Publication Date
- 2026-07-24
AI Technical Summary
In the hybrid development model, the development of H5 technology and Weex technology together has problems such as code redundancy, easy error, difficult maintenance and high cost, resulting in low efficiency when web pages interact with native applications.
By creating a web container when a web page loads and loading a preset bridging file into it, native functionality is injected into the bridging file, and a unified calling method is defined, enabling adaptation and callback between the web page and the native application, and allowing them to interact in a unified manner.
This enables web pages developed using different technologies to interact with native applications using the same set of calling methods and interfaces, reducing code redundancy, simplifying maintenance, and lowering costs.
Smart Images

Figure CN116414377B_ABST
Abstract
Citation Information
Patent Citations
Page communication method, device, equipment and storage medium
CN108874566A
Communication hub for information technology (IT) services
US11093309B1