Interaction method and device based on hybrid application program

A hybrid application and interactive method technology, applied in the field of interactive methods and devices based on hybrid applications, can solve the problems that the native layer and Web pages cannot interact, and achieve the effect of improving flexibility and breaking barriers

Active Publication Date: 2017-08-29
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventors found that there are at least the following problems in the related techno

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
  • Interaction method and device based on hybrid application program
  • Interaction method and device based on hybrid application program
  • Interaction method and device based on hybrid application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0044] Before the present invention is described in detail, first the concepts involved in the present invention are explained as follows:

[0045] 1. Hybrid application:

[0046] Applications include native applications, web applications, and hybrid applications, where native applications are applications that run directly on the operating system, web applications are applications that run in browsers, and hybrid applications use a part of native...

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 an interaction method and device based on a hybrid application program, and belongs to the technical field of computers. The hybrid application program comprises a primary layer and a world-wide-web Web page. The interaction method comprises the steps that the Web page obtains request data, wherein the request data at least comprises a first assigned API, and the first assigned API is a to-be-called API of the primary layer; the Web page encodes the request data according to a first assigned protocol supported by the primary layer to obtain a call request message, and sends the call request message, wherein the call request message carries request data; when the primary layer receives the call request message, the call request message is decoded according to the first assigned protocol to obtain the request data; the primary layer reflectively calls the first assigned API according to the request data to obtain a response result. According to the interaction method and device based on the hybrid application program, interaction between the Web page and the primary layer is achieved, the barrier between the Web page and the primary layer is broken, and the flexibility is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to an interaction method and device based on a mixed application program. Background technique [0002] Applications generally include native applications, Web (World Wide Web) applications, and hybrid applications, where the hybrid application integrates the functions of both the native application and the Web application. With the continuous expansion of development platforms and the gradual complexity of business functions, hybrid applications have been widely used due to their cross-platform development advantages. [0003] see figure 1 , the hybrid application includes a native layer, the native layer can run native pages, and the native layer can also directly call a system layer API (Application Programming Interface, application programming interface), so as to realize the corresponding functions provided by the operating system. The hybrid application also includes web ...

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/54
CPCG06F9/546G06F9/548
Inventor 张炎辉
Owner TENCENT TECH (SHENZHEN) 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