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

Data separation storage and 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-03-01
北京智象信息技术有限公司
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
  • Data separation storage and display method and device based on indexedDB storage
  • Data separation storage and display method and device based on indexedDB storage
  • Data separation storage and 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 invention provides a data separation storage and display method and device based on indexedDB storage, and the method comprises the steps: generating a unique ID for each medium when a plurality of media are uploaded, and generating a corresponding medium object; the medium object comprises a medium flow attribute and a unique ID attribute, and storing the medium object in a medium storage warehouse; separating each first medium object to obtain a second medium object which does not contain a medium flow attribute and has a unique ID attribute, adding the second medium object into a medium list array in a historical record object, and storing the historical record object into an indexedDB historical record storage warehouse; when a historical record needs to be displayed, a corresponding historical record object is searched from the historical record storage warehouse, a corresponding medium object is found from the medium storage warehouse according to the unique ID attribute of the medium object in the historical record array in the historical record object, and the medium flow is displayed to the corresponding position of the foreground 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 Applications(China)
IPC IPC(8): G06F16/22G06F16/2453G06F16/248
CPCG06F16/2219G06F16/24549G06F16/248
Inventor 魏红哲刘佳财
Owner 北京智象信息技术有限公司