Dynamic expanding method and system for embedded browser interface

An embedded browser and browser extension technology, applied in the field of browsers, can solve the problems of long modification cycle, cumbersome steps, and inability to respond quickly to changes in demand, and achieve fast upgrade and deployment, reduced cost, and convenient business expansion. Effect

Inactive Publication Date: 2012-12-19
INST OF ACOUSTICS CHINESE ACAD OF SCI
View PDF3 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to overcome the cumbersome steps brought by the static expansion method for the JavaScript interface of the embedded browser in the prior art, the modification period is long, and it is impossible to respond quickly to changes in requirements. , it is necessary to upgrade the browser to expand new business functions, which makes the browser and specific business bundled and other defects, thus proposing a dynamic expansion method and system for an embedded browser interface

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
  • Dynamic expanding method and system for embedded browser interface
  • Dynamic expanding method and system for embedded browser interface
  • Dynamic expanding method and system for embedded browser interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0060] Such as image 3 As shown, the embedded operating system in this embodiment is a Linux operating system.

[0061] Step 1, use dlsym to extend the application support interface Stbservice.CallApp of JavaScript to realize searching for the corresponding service provider service interface pointer in the service dynamic library loaded into the memory. In this way, the browser has an open dynamic management interface when it is released, and has the ability of dynamic expansion.

[0062] Step 2. The browser uses the Linux system function dlopen to implement the upper-layer application library loading interface LoadService. The parameter is the path of the configuration file containing all the JavaScript dynamic libraries required by the business. After calling this interface, all the dynamic libraries in the configuration file are loaded into the memory; use dlclose implements UnLoadService, the upper-layer application library unloading interface, to release the occupied me...

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 provides a dynamic expanding method and a system for an embedded browser JavaScript interface. The method comprises the following steps that: step 1, the browser expands an application support interface, an application library loading interface and an application library unloading interface of a JavaScript engine in a static manner; step 2, a service provider develops a plurality of application interfaces required by services of the service provider and compiles codes of developed interfaces into dynamic library files in a binary form, and stores the dynamic library files in a memory of the browser through the application library loading interface; and step 3, when the browser parses the application support interface in a page frame, and searches for entrance addresses of the application interfaces of the service provider in the memory of the browser by the interface, if so, executing a program of the application support interface to dynamically expand the JavaScript interface of the browser based on the services. The application support interface is the JavaScript interface expanded by the browser for searching for the entrance addresses of the interface program with an appointed interface name. If the entrance addresses are found, the application interface is expanded.

Description

technical field [0001] The invention relates to the technical field of browsers, in particular to an embedded browser interface dynamic extension method and system. Background technique [0002] At present, embedded browsers are widely used in various information appliances and portable network terminals such as Internet-TV, iDVD, Web terminals, digital TV set-top boxes, home gateways, and handheld computers. As middleware, they are not only used for portals Navigation also undertakes functions such as Internet content reception, user interaction (UI), video service navigation, and service support. [0003] In order to support the rapid deployment of various services, the browser must have an extensible interface for business applications. The traditional design method is to statically extend the JavaScript engine, that is, when the browser software is released, the JavaScript objects and methods have already been designed. If a business application needs to add new functi...

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): G06F9/44
Inventor 胡琳琳孙鹏邓峰刘春梅
Owner INST OF ACOUSTICS CHINESE ACAD OF SCI
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