A method and device for sharing capability components

A technology of capability components and components, applied in the field of communication, can solve problems such as inability, inability to guarantee the client, and inability to guarantee that the client uses the same version capability, so as to achieve good application experience, improve user experience, and save system resources.

Active Publication Date: 2018-05-18
CHINA MOBILE COMM GRP CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the current Web capability component solutions have certain limitations, specifically: (1) Capability components cannot be shared by all clients like the basic capabilities of the operating system. If each client needs to call the component capability, it needs to be This capability component is packaged directly in the client software package
(2) Ability components cannot be upgraded individually
(3) It cannot be guaranteed that all clients use the same version of the capability component
For the developer or operator of the capability component, there is no guarantee that the clients on the market use the latest version of the capability component provided by the developer or operator

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
  • A method and device for sharing capability components
  • A method and device for sharing capability components
  • A method and device for sharing capability components

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] Aiming at the problems existing in the prior art, Embodiment 1 of the present invention provides a method for sharing capability components, which is used in the process of invoking capability components by a third-party application in a terminal device. The terminal device includes a capability component management framework and a capability component, The capability component management framework and the capability component run as independent service processes, and the capability component management framework includes a capability API. Wherein, each third-party application may correspond to the same capability component management framework, and each third-party application may correspond to different capability components.

[0025] In the embodiment of the present invention, the terminal device specifically includes, but is not limited to, a mobile terminal using an Android operating system. Furthermore, the capabilities contained in each third-party application ca...

Embodiment 2

[0052] Based on the same inventive concept as the above method, an embodiment of the present invention also provides a terminal device, which is used in the process of invoking a capability component by a third-party application in the terminal device. The terminal device includes a capability component management framework and a capability component. The capability component management framework and the capability component run as independent service processes, and the capability component management framework includes a capability application programming interface API, such as Figure 9 As shown, the capability component management framework specifically includes:

[0053] The receiving module 11 is configured to receive a capability component invocation request from a third-party application when the third-party application needs to invoke the capability component, and determine the capability component that the third-party application needs to invoke;

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 method and device for sharing capability components. The method includes: when a third-party application needs to invoke a capability component, a capability component management framework receives a capability component invocation request from the third-party application, and determines that the third-party application needs to invoke the capability component. The capability component of the capability component; the capability component management framework detects whether the capability component is currently running; if so, the capability component management framework returns the capability component's service to the third-party application, and the third-party application calls the capability component's service; if not, then The capability component management framework starts the service of the capability component, returns the service of the capability component to the third-party application, and the third-party application invokes the service of the capability component. In the embodiment of the present invention, capability component sharing can be realized, thereby saving system resources; dynamic upgrade of capability components can be realized, thereby greatly improving user experience; and the same version of capability components used by all clients can be guaranteed.

Description

technical field [0001] The present invention relates to the technical field of communications, and in particular to a method and device for sharing capability components. Background technique [0002] With the popularization of smart mobile terminals and the development of HTML5 (Hyper Text Markup Language, Hypertext Markup Language) technology, currently considering how to run HTML5 applications as local programs, MashupApplication (MashupApplication) came into being under this background. A mashup application refers to the use of Web language development, calling the HTML5 function opened by the browser kernel on the operating system of the terminal device, and finally packaging (compiling) into a native application software package format. Mashup applications can retain the advantages of a set of code for multi-platform deployment of web applications, and make up for the shortcomings of traditional web applications, such as limited functions, single distribution and use f...

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 Patents(China)
IPC IPC(8): G06F8/20H04L29/08
Inventor 程宝平
Owner CHINA MOBILE COMM GRP CO LTD
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