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

Browser local storage method and device, storage medium and electronic equipment

A local storage and browser technology, applied in the computer field, can solve the problem of unstorable support capabilities, and achieve the effect of avoiding unstorable storage and reducing workload.

Pending Publication Date: 2019-05-28
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the embodiments of the present disclosure is to provide a browser local storage method and device, a computer-readable medium, and an electronic device, thereby at least to a certain extent overcoming the problems caused by the browser’s ability to support local storage methods and the impact of local storage methods on data types. The difference in support capabilities caused the problem that it could not be stored

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
  • Browser local storage method and device, storage medium and electronic equipment
  • Browser local storage method and device, storage medium and electronic equipment
  • Browser local storage method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments, however, can be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.

[0034] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be employed. In other instances, well-known m...

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 embodiment of the invention provides a browser local storage method and device, a medium and electronic equipment. The browser local storage method comprises the steps that acquring a to-be-storedtarget file; obtaining a local storage mode supported by the browser, and confirming the target storage mode from the local storage modes supported by the browser according to the attribute of the target file; and calling an application programming interface corresponding to the target storage mode to store the target file locally. According to the technical scheme provided by the embodiment of the invention, the matched local storage mode can be selected to store the target file according to the attribute of the to-be-stored file and the local storage mode supported by the browser, so that the problem that the target file cannot be stored due to different support capacities is avoided to a certain extent. Meanwhile, due to the fact that the application programming interface correspondingto the matched local storage mode can be called, front-end personnel do not need to try different application programming interfaces any more, and the workload of the front-end personnel is reduced.

Description

technical field [0001] The present disclosure relates to the field of computer technologies, and in particular, to a browser local storage method and device, a computer-readable medium, and an electronic device. Background technique [0002] In order to solve the problem that the earliest browsers could not store locally, browser developers invented cookies to save a small amount of data. However, since the maximum data capacity of cookie technology is only 4KB and can only be stored in strings, it has a great limitation on the browser's local storage. With the further development of computer technology, developers have gradually developed local storage methods for browsers such as IndexDB, Web SQL, and localstorage in order to improve the above limitations. However, due to the wide variety of current browsers and the complex data types (such as characters, pictures, videos, etc.) that need to be stored, browsers have different support capabilities for local storage methods...

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): G06F16/958G06F16/16
Inventor 林泽全
Owner PING AN TECH (SHENZHEN) CO LTD