Webpage request handling method and device

A web page request and web page technology, applied in the field of web pages, can solve problems such as the inability of web pages to call local functions of browsers

Active Publication Date: 2014-08-06
深圳市雅阅科技有限公司
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a webpage request processing method, aiming to solve the problem in the prior art that the webpage cannot call the browser's local functions other than the browser kernel

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
  • Webpage request handling method and device
  • Webpage request handling method and device
  • Webpage request handling method and device

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] In the embodiment of the present invention, a request is initiated when a user operation event is generated in a web page to intercept the URL carried in the request. When the intercepted URL is a specific type of URL, the specific type of URL is mapped to a corresponding browser local function and Make a call, so that the web page can call the browser's local functions outside the browser kernel.

[0023] Further, the embodiment of the present invention can be realized based on the browser control UIWebView provided by the IOS system, and the URL carried in the request is intercepted by the...

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 suitable for the technical field of webpages, and provides a webpage request handling method and device. The webpage request handling method comprises the following steps: triggering a webpage request according to user operation events in a webpage; intercepting the webpage request, and judging whether the type of a URL in the webpage request is a preset type or not; when the type of the URL in the webpage request is the preset type, mapping the local function of a browser according to the type of the URL in the webpage request; calling the local function of the browser, and returning the local function to a response page. The request is triggered when the user operation events are generated in the webpage to intercept the URL carried in the request; when the intercepted URL is the URL with the specific type, the URL with the specific type is mapped into the local function of the corresponding browser to be called, so that the calling of the local function of the browser except the rendering engine by the webpage is realized.

Description

technical field [0001] The invention belongs to the technical field of webpages, and in particular relates to a webpage request processing method and device. Background technique [0002] Normally, the browser kernel opens some system local functions to web page developers. By using the scripting language JavaScript (hereinafter referred to as JS), when user operation events are generated in the web page, for example, when the user enters characters in the text box of the web page , it is not necessary to make the server return the page containing the input characters through network transmission, but directly respond to user operation events through the system local functions provided by the browser kernel. [0003] However, with the prevalence of Hypertext Markup Language 5 (Hypertext Markup Language 5, HTML5), web developers often hope to call other local functions of the browser when developing web pages using HTML5, for example, calling the browser to return to The fun...

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): G06F17/30G06F9/44
CPCG06F9/448G06F16/957
Inventor 万黎孙皓然曾亮
Owner 深圳市雅阅科技有限公司
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