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

A data separation storage display method and device based on indexeddb storage

A data separation and object storage technology, applied in the computer field, can solve problems such as disk space occupation and poor user experience, and achieve the effect of reducing stress

Active Publication Date: 2022-04-22
北京智象信息技术有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, to store a piece of historical record data, this data has a list attribute which is an array of items, and each item contains an attribute object which is very large, such as base64 media (or other data streams), and this needs to be uploaded again The media in the historical record is transferred to another device. At this time, the media needs to be uploaded again to go through the process again, and the user experience is extremely poor; and the historical record data is copied to form a new historical record, and indexedDB needs to store this copied historical record. , causing the user's disk space to be occupied, and the size of the occupied disk space will increase with the increase of this copy, and the increase speed is very fast

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
  • A data separation storage display method and device based on indexeddb storage
  • A data separation storage display method and device based on indexeddb storage
  • A data separation storage display method and device based on indexeddb storage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] Such as figure 2 As shown, this embodiment provides a data separation storage display method based on indexedDB storage, including:

[0028] Step 1. When multiple media are uploaded, generate a unique ID for each media, and generate a corresponding first media object; the first media object includes media stream attributes and unique ID attributes, and stores the first media object To the indexedDB media storage warehouse;

[0029] Step 2. Separate each first media object to obtain a second media object that does not contain a media stream attribute and has a unique ID attribute, and adds the second media object to the media list array in the historical record object, and the The history object is stored in the indexedDB history storage warehouse;

[0030] Step 3. When a historical record needs to be displayed, search for the corresponding historical record object from the indexedDB historical record storage warehouse, and find the corresponding historical record obj...

Embodiment 2

[0034] Such as image 3 As shown, in this embodiment, a data separation storage display device based on indexedDB storage is provided, including:

[0035] The storage module generates a unique ID for each medium when multiple media are uploaded, and generates a corresponding first media object; the first media object includes a media stream attribute and a unique ID attribute, and stores the first media object To the indexedDB media storage warehouse;

[0036] The separation module obtains the second media object without the media stream attribute and the unique ID attribute by separating each first media object, and adds the second media object to the media list array in the historical record object, and the The history object is stored in the indexedDB history storage warehouse;

[0037] The display module, when a historical record needs to be displayed, searches for the corresponding historical record object from the indexedDB historical record storage warehouse, and sear...

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 present invention provides a data separation storage display method and device based on indexedDB storage. The method includes: when multiple media are uploaded, a unique ID is generated for each media, and a corresponding media object is generated; the media object includes a media stream attributes and unique ID attributes, and store the media objects in the media storage warehouse; each first media object is separated to obtain a second media object that does not contain media flow attributes and has a unique ID attribute, and adds the second media object To the media list array in the historical record object, store the historical record object in the indexedDB historical record storage warehouse; when a historical record needs to be displayed, find the corresponding historical record object from the historical record storage warehouse, according to the The unique ID attribute of the media object in the history record array, find out the corresponding media object from the media storage warehouse, and display the media stream to the corresponding position on the front page.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a data separation storage display method and device based on indexedDB storage. Background technique [0002] In the absence of server support, web browsers use indexedDB to store data. For example, to store a piece of historical record data, this data has a list attribute which is an array of items, and each item contains an attribute object which is very large, such as base64 media (or other data streams), and this needs to be uploaded again The media in the historical record is transferred to another device. At this time, the media needs to be uploaded again to go through the process again, and the user experience is extremely poor; and the historical record data is copied to form a new historical record, and indexedDB needs to store this copied historical record. , causing the user's disk space to be occupied, and the size of the occupied disk space will increase w...

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 Patents(China)
IPC IPC(8): G06F16/22G06F16/2453G06F16/248
CPCG06F16/2219G06F16/24549G06F16/248
Inventor 魏红哲刘佳财
Owner 北京智象信息技术有限公司