Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 implementation level of the existing browser extension method, the difficulty in maintaining the Javascript code, the high development cost, and the low efficiency

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

Embodiment Construction

[0021] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in 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.

[0022] The object of the present invention is to provide a Javascript local extension method and system, aiming at solving the problem that the existing browser extension method has a low implementation level and is based on the Javascript kernel engine layer, resulting in difficult Javascript code maintenance, high development costs, and low efficiency technical problems.

[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: ...

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
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More