Call processing method and apparatus, storage medium

A technology of a processing device and a processing method, applied in the field of communication, can solve the problems of not displaying HTML pages, resource overhead of Webview components, etc., and achieve the effect of improving execution efficiency and avoiding large resource overhead.

Active Publication Date: 2019-01-18
TENCENT TECH (SHENZHEN) CO LTD
View PDF9 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to realize the communication between the JS script and the local (Native) application, related technologies provide an instance of creating a Webview (Webview) component, and realize the mutual calling of the JS method and the local method through the instance of the Webview component. However, the Webview component The basic function is to load page elements and render the page. In actual applications, there are situations where only local applications need to communicate with JS scripts without displaying HTML pages. When only the mutual calling of JS methods and local methods needs to be implemented without displaying HTML pages, Using Webview components will cause unnecessary resource overhead

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
  • Call processing method and apparatus, storage medium
  • Call processing method and apparatus, storage medium
  • Call processing method and apparatus, storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the embodiments provided below are some embodiments for implementing the present invention, rather than providing all embodiments for implementing the present invention. Under the premise that those skilled in the art do not pay creative work, the technical solutions of the following embodiments Embodiments obtained through recombination and other embodiments based on the implementation of the invention all belong to the protection scope of the present invention.

[0036] Before the present invention is further described in detail, the nouns and terms involved in the embodiments of the present invention are described, and the nouns and terms involved in the embodiments of the presen...

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 calling processing device, a method and a storage medium. The invocation processing device comprises a local application layer, which is used for submitting the script to beexecuted by the local application to the software development kit layer, and returning the execution result of the script returned by the software development kit layer to the local application; a software development kit layer for providing access to a local application, submitting a script submitted by the accessed local application to a script execution environment layer, and returning an execution result of the script returned by the execution environment layer to the local application layer; the script execution environment layer is configured to execute the script submitted by the localapplication by running an instance of the local interaction framework, and returning the execution result of the script to the software development suite layer by providing the script with a way to callback the local application. The script execution environment layer is configured to execute the script submitted by the local application by running an instance of the local interaction framework, and return the execution result of the script to the software development suite layer. By implementing the invention, the communication between the script and the local application can be realized in an intensive manner.

Description

technical field [0001] The present invention relates to communication technology, in particular to a call processing method and device, and a storage medium. Background technique [0002] JavaScript (referred to as JS) is a literal scripting language, which is widely used in the development of clients such as mobile apps. JS scripts do not need to be precompiled, and can be interpreted and executed directly in the interpreter (called JavaScript engine) of the client. Realize various functions. [0003] Taking the client as a browser as an example, JS scripts can be directly embedded in HTML pages to realize their own functions. Of course, they can also exist as independent JS files to separate page structure and behavior. JS scripts can control hypertext tags language (HTML, Hyper Text Markup Language) pages (hereinafter referred to as pages) to implement various functions, typically, the functions implemented by JS scripts in HTML pages include: responding to browser event...

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): G06F8/41G06F9/445G06F9/48
CPCG06F8/427G06F9/44521G06F9/4843
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