Cross-platform native function calling method and related equipment based on hybrid technology stack
By adopting a cross-platform native function call method based on a hybrid technology stack in the application, and using the encapsulated navigation interface and business driver channel, the inconvenience of existing applications when calling native functions across the platform is solved, achieving lower development and maintenance costs.
CN114741212BActive Publication Date: 2025-03-21CHINA PING AN LIFE INSURANCE CO LTD
2 Cites 0 Cited by
Patent Information
- Application Number
- CN202210209713.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-03
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2042-03-03
AI Technical Summary
Technical Problem
Existing applications are less convenient when calling native functions across platforms, resulting in higher development and maintenance costs.
Method used
The cross-platform native function call method based on the hybrid technology stack is used to obtain the data request of the user's operation page, and the native function is called using the preset encapsulated navigation interface and business driver channel. This method supports the mixed use of a web front-end technology stack and a React Native technology stack.
Benefits of technology
It realizes that applications can call native functions more conveniently on different platforms, reducing development and maintenance costs.
✦ Generated by Eureka AI based on patent content.
Abstract
The present invention discloses a cross-platform native function calling method and related equipment based on a hybrid technology stack, which belongs to the field of computer application. It includes: obtaining a user operation page preset in the business layer according to the user's operation instruction; obtaining a data request generated by the user operation page, wherein the data request includes interface parameters and call data information; obtaining an encapsulated navigation interface preset in the component layer according to the interface parameters; obtaining a business drive channel preset in the driver layer according to the encapsulated navigation interface, and the business drive channel is a communication channel from the encapsulated navigation interface to the preset native bottom layer; obtaining a native name preset in the driver layer according to the call data information; calling a native function preset in the native bottom layer according to the native name. The present invention can solve the problem that it is inconvenient for existing applications to call native functions across platforms, thereby making the development cost and maintenance cost of existing applications high.
Need to check novelty before this filing date? Find Prior Art