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

Method and device for implementing local operation on web page

A page and local technology, applied in the web field, can solve the problems of inability to achieve local file access and weak ability, and achieve the effect of improving local calling ability

Active Publication Date: 2014-07-16
LENOVO (BEIJING) CO LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, since the Javascript code can only run in the sandbox, the ability of the JavaScript code on the web page to execute local calls is very weak, and it is currently impossible to achieve access to local files

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
  • Method and device for implementing local operation on web page
  • Method and device for implementing local operation on web page
  • Method and device for implementing local operation on web page

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0071] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0072] The embodiment of the present invention relates to the HTML running environment. The HTML running environment refers to a multi-process running environment with security protection. In the HTML running environment, the rendering engine is responsible for rendering HTML documents and pictures, and the javascript engine is responsible for interpreting javascript scripts. The rendering engine such as webkit, Gecko and so on. The multi-process refers to multiple processes running simultaneously in the HTML running environment to perform tasks, and the multi-process includes but not limited to a rendering (render) process, a main (browser) process, and the like. The security protection means that the render process in the HTML oper...

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 method and a device for implementing a local operation on a web page and belongs to the field of web technology. The method is applied to an electronic device that comprises a displaying unit and has an HTML operating environment. The method comprises the steps of: loading a web page in the HTML operating environment by address information; obtaining identification information for representing a status of local resources of the electronic device in the process of loading the web page; obtaining an operation request for representing a request for operating a first resource in the local resources; responding to the operation request with the first resource according to the operation request; and displaying a response result of the responding to the operation request with the first resource on the displaying unit. The device comprises a loading unit, an acquiring unit, a response unit and the displaying unit. According to the method and device, executing local operation on the web page is implemented, and local calling capacity of a javascript code is improved.

Description

technical field [0001] The invention relates to the field of web technologies, in particular to a method and device for realizing local operations on web pages. Background technique [0002] JavaScript is an object-based and event-driven client-side scripting language with relative security, which is widely used in client-side Web development. JavaScript is often used to add dynamic functions to HyperText Markup Language (English: HyperText Markup Language, abbreviation: HTML) web pages, such as responding to various user operations, etc. JavaScript can also be used in other occasions, such as server-side programming and so on. [0003] The JavaScript engine is an interpreter that can read and execute JavaScript source code, and is now mostly used in web browsers, such as Nitro in Apple Safari4, V8 in Chrome, TraceMonkey in Mozilla Firefox3.5, and so on. [0004] In the Chrome browser, Javascript engine V8 is responsible for parsing and running Javascript code. Among them,...

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 LENOVO (BEIJING) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products