End capability calling method and equipment and computer storage medium

A technology for terminal capabilities and terminal devices, applied in the field of devices and computer storage media, and methods for invoking terminal capabilities, can solve the problems of resource waste, inability to provide services for small programs, and large host application packages, and achieve the effect of saving resources.

Active Publication Date: 2021-05-25
SHANGHAI LIANSHANG NETWORK TECHNOLOGY CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of providing services, small programs often need to call the host application's terminal capabilities, which requires the integration of a large number of business function codes in the host application, which will inevitably lead to a very large package body of the host application, resulting in waste of resources; otherwise, the small program cannot Provide corresponding services

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
  • End capability calling method and equipment and computer storage medium
  • End capability calling method and equipment and computer storage medium
  • End capability calling method and equipment and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055]figure 2 A method flowchart for the embodiment of the present invention, the method is executed by the host application 1 of the terminal device, and the execution device can be a function unit such as a plug-in or software development kit (SDK) such as a terminal device host application. Such asfigure 2 As shown, this method mainly includes the following steps:

[0056]In 201, the host application 1 gets an event of a small program call host application.

[0057]The applet may need to call the host application end capability during the service. The so-called end ability refers to the functionality of host applications, and the host application is functional as a service provider for a host environment, such as networking capabilities, payment functions, geographic function, reading album function, and so on.

[0058]In 202, it is determined whether the host application 1 has the end capability that the applet call is called. If so, execute 203, the host application 1 calls itself to r...

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 provides an end capability calling method and equipment and a computer storage medium. The method executed by a first host application of terminal equipment comprises the following steps: acquiring an event that an applet calls the capability of a host application end; and if the first host application does not have the end capability called by the applet, calling the end capability of a second host application in the terminal equipment. According to the method and the equipment, the end capability of each host application can be shared in the same terminal equipment, and all function codes do not need to be integrated in each host application, so that resources are saved while the service provided by the applet is ensured.

Description

[Technical field][0001]The present invention relates to the field of computer applications, and more particularly to a calling method, apparatus, and computer storage medium of one end capability.【Background technique】[0002]This section is intended to provide background or context of an embodiment of the invention as stated in the claims. The description herein is not because it is included in this section.[0003]The micro program is an application that is not required to be used, which runs in the environment provided by the host application. It has been more and more widely used because of any time available but no need to install unloading. A small program often needs to call the end capability of the host application during the process of providing services, which requires a large amount of business function code to be integrated in the host application, which will inevitably lead to a very large package of host applications, resulting in resources; otherwise the applet cannot be...

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/44573G06F9/445
Inventor 苗景磊
Owner SHANGHAI LIANSHANG NETWORK TECHNOLOGY 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