Operation method and device of application program on the basis of application program programming interface

A technology of application programs and programming interfaces, applied in the field of application programs, can solve problems such as high development costs, achieve the effect of reducing development costs and improving the scope of use

Active Publication Date: 2016-05-25
ALIBABA GRP HLDG LTD
View PDF25 Cites 42 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The API provided by Phonegap can only be used for APPs that use the Phonegap framework. Developers need to unde

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
  • Operation method and device of application program on the basis of application program programming interface
  • Operation method and device of application program on the basis of application program programming interface
  • Operation method and device of application program on the basis of application program programming interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0093] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0094] One of the core ideas of the embodiments of the present application is to provide a set of HybridAPI that can run on hybrid applications and independent browsers, and realize a general module (Bridge) that can run on systems such as Android (Android) systems, IOS systems, and WindowsPhone systems. In hybrid applications and independent browsers on different platforms, such as, maintain a two-way communication mechanism between Web and Native (system components).

[0095] Bridge can be another name for the two-way communication mechanism between Native and the Web, just like the bridge in real life is used to connect the two banks of rivers and lakes, so that vehicles can pass through, so that the c...

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 embodiment of the invention provides an operation method and device of an application program on the basis of an application program programming interface. The method comprises the following steps: when an application program programming interface calling request sent from the application program is received, extracting a calling parameter from the calling request; according to the calling parameter, looking up the corresponding application program programming interface; calling the application program programming interface, and obtaining a processing result based on a system component; and returning the processing result to the application program. The design of the Hybrid API (Application Program Interface) of the embodiment of the invention faces various types of client sides, an API library which consistently calls a Native function is provided for a Web environment, the API library can operate on different operating systems including an Android system, an IOS (Iphone Operating System) system and the like, a use range is greatly improved, meanwhile, codes do not need to be complied according to different operating systems, and therefore, development cost is greatly reduced.

Description

technical field [0001] The present application relates to the technical field of application programs, in particular to an application programming interface-based application program running method and an application programming interface-based application program running device. Background technique [0002] With the rapid development of mobile communications, due to technological updates and market needs, the App (Application, third-party application) on the mobile terminal has changed from a local application (NativeApp) to a hybrid application (HybridAPP), and then to a Web-based (network) The web application (WebApp) is evolving. [0003] Among them, HybridApp refers to the App between WebApp and NativeApp. HybridApp is developed using webpage language and programming language at the same time, and is distributed through the application store to distinguish mobile operating systems. Users need to install and use mobile applications. Therefore, HybridApp has all the adv...

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
IPC IPC(8): G06F9/44
Inventor 徐凯张天
Owner ALIBABA GRP HLDG 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