Local extension method and system for Javascript

An extension method and local technology, applied in Javascript local extension method and system field, can solve the problems of high development cost, low efficiency, and low implementation level, and achieve the effect of improving development efficiency, simplifying development complexity, and reducing maintenance cost

Inactive Publication Date: 2015-01-21
SHENZHEN COSHIP ELECTRONICS CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a Javascript local extension method and system, aiming to solve the technical problems of the low imp

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
  • Local extension method and system for Javascript
  • Local extension method and system for Javascript
  • Local extension method and system for Javascript

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0021] In order to make the objectives, technical solutions and advantages of the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0022] The purpose of the present invention is to provide a Javascript local extension method and system, which aims to solve the low implementation level of the existing browser extension method, based on the Javascript kernel engine layer, which causes the difficulty of Javascript code maintenance, high development cost, and low efficiency. Technical issues.

[0023] figure 1 It is a schematic structural diagram of a Javascript local extension system provided by an embodiment of the present invention. Such as figure 1 As shown, the Javascript native extension system 100 includes: an operatin...

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 is applicable to the technical field of browser interface extension, and provides a local extension method and system for a Javascript. The local extension method and system for the Javascript comprises the step of extending a management module by a browser layer, wherein the management module extends a Javascript file, and the browser layer loads the extended Javascript file of an extension layer; the step of calling Javascript natives packaged into a uniform API by the extended Javascript file; the step of providing a uniform calling interface for a standard layer by the uniform API. According to the local extension method and system for the Javascript, the extension layer is added between the standard layer and the browser layer, and therefore the natives of the browser layer can be packaged downwards, and the uniform calling interface is provided for the standard layer upwards; the development complexity is simplified; the maintenance cost is reduced; and the developing efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of browser interface extension, in particular to a Javascript local extension method and system. Background technique [0002] In the field of web application development in the existing radio, television, Internet and other industries, most of the languages ​​selected for application development are Javascript. Calling the local method of the system through Javascript (hereinafter referred to as: native method) requires the browser to expand various methods according to the interface definition. System capabilities, that is, extending various native methods. These interfaces are defined differently. For example, many standards have been produced in the broadcasting industry: national standard NGB, Guangdong standard GCable, international standard HBBTV and other standards. Since various standards are not uniform, browsers need to perform localized interface extensions according to various standards. [00...

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 SHENZHEN COSHIP ELECTRONICS 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