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

File storage method and apparatus based on non-relational database

A file storage, non-relational technology, applied in the field of video communication, can solve problems such as low efficiency of mass file storage

Active Publication Date: 2016-06-08
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the problem of inefficient storage of massive files in the prior art, the embodiment of the present invention expects to provide a file storage method and device based on a non-relational database

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
  • File storage method and apparatus based on non-relational database
  • File storage method and apparatus based on non-relational database
  • File storage method and apparatus based on non-relational database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0099] method embodiment

[0100] refer to figure 1 , which shows a flow chart of the steps of a file storage method based on a non-relational database NoSQL according to the present invention, which may specifically include:

[0101] Step 101, when the user authentication is successful, receive the user's uploaded file;

[0102] Specifically, before receiving the user's uploaded file, the legitimacy of the user needs to be authenticated; wherein, the successful authentication of the user includes:

[0103] Receive the account ID and account password sent by the user;

[0104] Verify that the account ID is legitimate;

[0105] When the account ID is legal, determine whether the account password is the password corresponding to the account ID;

[0106] When the account password is the password corresponding to the account ID, it is determined that the user authentication is successful.

[0107] Specifically, before the user authentication is successful, the method also inc...

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

Embodiments of the present invention provide a file storage method and apparatus based on a non-relational database NoSQL. The method comprises: when user authentication succeeds, receiving a file uploaded by a user; according to a preset rule, determining a union resource identifier URI of the uploaded file; according to the URI, determining a storage address of the uploaded file; and storing the uploaded file into the storage address. According to the method and apparatus provided by the embodiments of the present invention, the URI can be allocated to the file based on the preset rule, and the storage address of the file is determined based on the URI, so that rapid file storage is implemented, and the cumbersome operation of he user configuring a file storage location is omitted.

Description

technical field [0001] The invention relates to the technical field of video communication, and specifically relates to a file storage method and device based on a non-relational database. Background technique [0002] With the rapid development of personal terminals and mobile Internet, various files, especially small files, account for an increasing proportion in the cloud storage system. Efficient storage and archiving of massive small files has become an urgent problem to be solved. [0003] Generally speaking, small files refer to files ranging in size from a few KB to hundreds of KB. For example, Weibo needs to store a large number of personal pictures, or hundreds of millions of web pages crawled by search engines from the Internet. With the increasing number of these small files, the traditional file storage methods can no longer meet the current needs, so the industry has proposed a variety of non-relational database (NoSQL) storage systems for semi-structured and s...

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/30
CPCG06F16/13
Inventor 刘刚
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD