Unlock instant, AI-driven research and patent intelligence for your innovation.

Network request method, device and equipment based on IOS system and storage medium

A network request and network data technology, applied in transmission systems, network data retrieval, network data browsing optimization, etc., can solve problems such as optimization strategy failure, function failure, and native development comparison, so as to improve user experience and speed up web pages. Effect

Pending Publication Date: 2022-07-15
深圳依时货拉拉科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although WKWebView has many advantages, compared with the original UIWebView component, it is more closed, and the original optimization strategies such as access interception and cache optimization have been invalidated.
[0003] The WKWebView component is limited by the capabilities of the webpage, and most of the usage scenarios are limited to ordinary content display. The support for the native capabilities of the smartphone operating system is extremely lacking, and the functions it can achieve cannot be compared with the native development of the smartphone operating system, such as The problem of offline caching of various static resources such as JS, CSS, PNG, JPG and other resources in the sandbox is not solved

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
  • Network request method, device and equipment based on IOS system and storage medium
  • Network request method, device and equipment based on IOS system and storage medium
  • Network request method, device and equipment based on IOS system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below 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 application, but not to limit the present application.

[0042] For a network request method based on an IOS system proposed in this application, the execution subject may be an electronic device, a terminal device, a server, or other devices or devices that can execute this application, which is not limited.

[0043] refer to figure 1 , in one embodiment, the present application provides a network request method based on an IOS system, the IOS system includes a native layer and a web page layer, and the network request method includes:

[0044] S11. When monitoring that the webpage layer initiates a network request, call t...

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 relates to the technical field of webpage loading, and provides a network request method, device and equipment based on an IOS system and a storage medium, and the method comprises the steps that when it is monitored that a webpage layer initiates a network request, a native layer is called to intercept the network request in the webpage loading process; the primary layer judges whether network data requested by the network request exists in a local sandbox of the IOS system or not; if yes, the primary layer obtains the network data from the local sandbox and sends the network data to the webpage layer; if the static resources do not exist, the primary layer initiates a network request to the server, downloads network data requested by the network request from the server, sends the downloaded network data to the webpage layer and caches the downloaded network data to the local sandbox, so that the webpage speed is increased, the user experience is improved, and the static resources are cached in the local sandbox through the primary layer.

Description

technical field [0001] The present application relates to the technical field of web page loading, and in particular, the present application relates to a network request method, apparatus, device and storage medium based on an IOS system. Background technique [0002] After iOS8, Apple launched a new framework WebKit, which provides a WKWebView component that replaces the original UIWebView. This component has the advantages of high stability, low memory usage, and fast rendering speed. It is an official webpage display component recommended by Apple. Although WKWebView has many advantages, it is more closed than the original UIWebView component, and the original optimization strategies such as access interception and cache optimization have all failed. [0003] The WKWebView component is limited by the capabilities of web pages, and most of the usage scenarios are limited to ordinary content display. The support for the native capabilities of smartphone operating systems i...

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): H04L67/02H04L67/568G06F16/957G06F21/53
CPCH04L67/02G06F16/9574G06F21/53
Inventor 杨力
Owner 深圳依时货拉拉科技有限公司