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.

Pending Publication Date: 2017-01-11
GUANGZHOU PINWEI SOFTWARE
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the process of updating some built-in functions of the APP through plug-ins, or optimizing some algorithms of the APP, since there is no data interaction mechanism between the installed APP on the mobile phone and the above-mentioned plug-ins in the prior art, it is necessary to provide a data Interaction mechanism to meet the update of some built-in functions of the APP through plug-ins, or the optimization of some algorithms of the APP to improve user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Plug-in component loading method and equipment thereof
  • Plug-in component loading method and equipment thereof
  • Plug-in component loading method and equipment thereof

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a plug-in component loading method and the equipment thereof which belongs to the technological field of telecommunication. The method comprises the following stages: since the detection of its existence the plug-in sends the operation command to the plug-in environment; the plug-in environment based on the operation command and the corresponding relationship to the native middleware searches out the native middleware capable of processing the operation commands; sending the operation command to the native middleware; the native middleware processes the operation command and completes the operation of the plug-in component. The use of the plug-in environment and the reliance on the relationship between the operation command and the native middleware can achieve the operation of the plug-in component in the IOS system, thereby achieveing the goal of the updating partial functions, algorithms and interfaces of apps in the IOS system through the plug-in components. Compared with the prior art the method avoids the downloading and installation of apps in the updating process, saves the memory and running resources of the system and enhances the user experiences.

Description

technical field [0001] The invention relates to the communication field, in particular to a plug-in loading method and device. Background technique [0002] On current smart terminals, users can install third-party application programs (Application, APP) to meet their own usage needs. In order to facilitate the use of users and improve the user experience, it is often necessary to update some built-in functions of the APP, or to optimize some algorithms of the APP. [0003] In order to solve the problem that the user needs to download the new version of the APP, the transmission traffic required is relatively large, the storage space occupied is also large, and during the installation of the APP, it takes up a lot of system processing resources, it is necessary to implement some built-in functions of the APP through plug-ins. Update, or optimize some algorithms of APP. [0004] However, in the process of updating some built-in functions of the APP through plug-ins, or opti...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
CPCG06F9/44526
Inventor 曾开华罗捷纪俊
Owner GUANGZHOU PINWEI SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products