Plug-in component loading method and equipment thereof
A technology for plug-ins and electronic devices, applied in the field of plug-in loading methods and devices, to save storage resources and operating resources, improve user experience, and avoid downloading and installation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0069] Embodiment 1 is a plug-in loading method provided by the embodiment of the present invention, refer to figure 1 As shown, the method includes:
[0070] 101. After detecting that the plug-in is triggered, the plug-in sends an execution instruction to the plug-in environment.
[0071] Specifically, the process of detecting plug-in triggers may include:
[0072] Obtain preset events triggered by the user; or
[0073] The client APP automatically runs the plug-in;
[0074] Wherein, the preset event includes the user triggering a preset gesture, inputting a preset voice, and inputting a preset text.
[0075] After the plug-in trigger is detected, the plug-in sends an execution command to the plug-in environment, and the process may include:
[0076] The execution instruction includes a URI request;
[0077] The plug-in sends the URI request to the plug-in environment according to the communication mechanism with the plug-in environment.
[0078] 102. The plug-in enviro...
Embodiment 2
[0088] Embodiment 2 is a plug-in loading method provided by the embodiment of the present invention, refer to figure 2 As shown, the method includes:
[0089] 201. Obtain the plug-in sent by the server, and register the plug-in to the plug-in environment.
[0090] Specifically, specifically, if the operating system of the client is the Android system, then:
[0091] According to the configuration information in the plug-in, set the communication mode, corresponding relationship and calling relationship between the plug-in middleware and the plug-in interface;
[0092] Set the communication method and data resource calling method between the plug-in interface and the data layer.
[0093] 202. According to the corresponding relationship between the running instruction and the native middleware, register the native middleware corresponding to the running instruction to the plug-in environment.
[0094] Specifically, according to the interface configuration in the plug-in envi...
Embodiment 3
[0123] Embodiment 3 is an electronic device 3 provided by the embodiment of the present invention, refer to image 3 As shown, the electronic device 3 includes:
[0124] A detection module 31, configured to detect plug-in triggers;
[0125] The transmission module 32 is used for the plug-in to send the running instruction to the plug-in environment after the detection module detects that the plug-in is triggered;
[0126] The search module 33 is used for the plug-in environment to search for the native middleware capable of processing the running instructions according to the corresponding relationship between the running instructions and the native middleware;
[0127] Transit module 34, used to transfer the running instruction to the native middleware;
[0128]The processing module 35 is used for the native middleware to process the operation instruction and complete the operation of the plug-in.
[0129] Optionally, the electronic device 3 also includes:
[0130] Obtain...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com