CN117931950A - Meta universe web3 account book storage and space storage sub-storage structure and method - Google Patents

Meta universe web3 account book storage and space storage sub-storage structure and method Download PDF

Info

Publication number
CN117931950A
CN117931950A CN202410113228.5A CN202410113228A CN117931950A CN 117931950 A CN117931950 A CN 117931950A CN 202410113228 A CN202410113228 A CN 202410113228A CN 117931950 A CN117931950 A CN 117931950A
Authority
CN
China
Prior art keywords
database
storage
web3
data
oss
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410113228.5A
Other languages
Chinese (zh)
Other versions
CN117931950B (en
Inventor
刘鑫宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bovis Digital Technology Co ltd
Original Assignee
Bovis Digital Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bovis Digital Technology Co ltd filed Critical Bovis Digital Technology Co ltd
Priority to CN202410113228.5A priority Critical patent/CN117931950B/en
Publication of CN117931950A publication Critical patent/CN117931950A/en
Application granted granted Critical
Publication of CN117931950B publication Critical patent/CN117931950B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Bioethics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a metadata Web3 account book storage and space storage sub-storage structure which comprises a Web 2-based MySQL DataBase, a Web 3-based DataBase DataBase, an OSS DataBase and a front end, wherein the front end exchanges data with the MySQL DataBase, the front end exchanges data with the DataBase DataBase, the front end exchanges data with the OSS DataBase, and the DataBase DataBase exchanges data with the OSS DataBase. The invention also discloses a metauniverse web3 account book storage and space storage sub-storage method adopting the metauniverse web3 account book storage and space storage sub-storage structure. The invention can ensure the safety and traceability of the data, so that the user can quickly acquire or upload the information. And the repeated pressure on the server and the storage resources can be effectively reduced, and the overall performance of the system and the resource utilization efficiency are improved.

Description

Meta universe web3 account book storage and space storage sub-storage structure and method
Technical Field
The invention relates to the technical field of metauniverse, in particular to a metauniverse web3 account book storage and space storage sub-storage structure and method.
Background
The metauniverse is a digital living space which is constructed by human beings through digital technology, is mapped by or surpasses the real world, can interact with the real world and has a novel social system.
Currently, metauniverse-related decentralised storage and ledger techniques suffer from limited performance when dealing with large-scale data. Has the following defects:
1. performance limitations: because data is stored scattered across multiple nodes, additional time and resources may be required to access and retrieve the data. Furthermore, because current blockchain technology has limitations in terms of transaction processing speed, the throughput of the network is relatively low.
2. Storage cost: the cost of decentralised storage is higher compared to traditional centralized storage solutions. Storage and maintenance costs are high because data needs to be stored on multiple nodes and the operation and security of the nodes need to be maintained. Despite the development of storage technology and the cost reduction in recent years, there is still a gap compared to conventional cloud storage.
3. Privacy and security: current technology remains a challenge in terms of privacy and security. Although data is encrypted and stored separately, there may be a risk of data leakage. Furthermore, some sensitive information may not be adequately protected because all participants in the blockchain may view the complete history of the ledger.
Disclosure of Invention
In order to overcome the defects, the invention aims to provide a meta space web3 account book storage and space storage sub-storage structure and method, which can ensure the safety and traceability of data and enable a user to quickly acquire or upload information. And the repeated pressure on the server and the storage resources can be effectively reduced, and the overall performance of the system and the resource utilization efficiency are improved. Meanwhile, the access experience of the user can be improved, and the waiting time and response delay are reduced.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows:
The invention discloses a metadata Web3 account book storage and space storage sub-storage structure which comprises a MySQL DataBase based on Web2, a DataBase DataBase based on Web3, an OSS DataBase and a front end, wherein the front end exchanges data with the MySQL DataBase, the front end exchanges data with the DataBase DataBase, the front end exchanges data with the OSS DataBase, and the DataBase DataBase exchanges data with the OSS DataBase.
Preferably, the DataBase is used for ledger storage, the OSS DataBase is used for storing large-scale data and/or files, and the MySQL DataBase is used for storing and retrieving structured data.
Preferably, the MySQL DataBase is located at a MySQL server, the OSS DataBase is located at an OSS DataBase server, and the DataBase is located at a DataBase server.
The invention also discloses a metauniverse web3 account book storage and space storage sub-storage method, which adopts the metauniverse web3 account book storage and space storage sub-storage structure.
Preferably, the metauniverse web3 ledger storing and space storing method comprises a data access method, wherein the data access method comprises the following steps of:
a. the front end initiates a request: the front end sends a request to the system;
b. calling a MySQL database: calling a MySQL database according to the request, and retrieving related information from the data stored in the MySQL database;
c. DataBase record ledger: after the MySQL DataBase acquires the information, notifying the DataBase DataBase to perform account book recording on the information;
d. generate and return URL: the DataBase server generates a URL related to the information and returns the URL to the front end through the Web2 server;
e. the front end accesses the OSS server: the front end accesses an OSS server using the URL.
6. The metaspace web3 ledger storage and space storage method according to claim 5, characterized in that: in step a, the request includes acquiring data and/or files; in step e, the accessing includes the front end downloading data and/or files from the OSS database.
Preferably, in step a, the request includes uploading data and/or files; in step e, the accessing includes the front end uploading data and/or files to the OSS database.
Preferably, in step d, only one URL is generated when there are at least two identical requests.
Furthermore, the metauniverse web3 account book storage and space storage sub-storage method further comprises the step of establishing a memory database, wherein the memory database is used for caching repeatedly requested data and/or files and is used for being directly accessed by the front end through the memory database.
Preferably, the same file or data is stored only on the OSS server as a copy and accessed via the same URL.
The beneficial effects of the invention are as follows:
1. Data traceability: the invention records the account book through the DataBase of the Web3, and can ensure that each transaction and data operation are accurately recorded. Thus, the traceability and the transparency of the data can be improved, and the legality and the integrity of the data operation are ensured.
2. Data security: the invention can enhance the security of data by recording the account book in the DataBase of the Web 3. Any actions to modify, delete or add data are recorded and these records are not tamperable. This provides a trusted way of data storage, reducing the risk of data being tampered with or lost.
3. Optimizing system performance: according to the invention, the data are stored in the MySQL database and the OSS server, so that the performance bottleneck caused by direct access and downloading of a large amount of data by the front end can be avoided. The front end only needs to acquire one URL, and then the required data is downloaded through the URL, so that the load of the front end and the network is reduced, and the response speed and the overall performance of the system are improved.
4. Resource utilization efficiency promotes: the invention can better manage and utilize the storage resources by storing the data in the MySQL database and the OSS server. MySQL databases may be used to efficiently store and retrieve structured data, while OSS servers are suitable for large-scale file storage and distribution. Therefore, flexible resource allocation can be performed according to the data types and the requirements, and the utilization efficiency of storage and calculation resources is improved.
Drawings
FIG. 1 is a schematic block diagram of a metauniverse web3 ledger storage and space storage sub-storage structure disclosed by the invention.
Fig. 2 is a schematic diagram of a metauniverse web3 ledger storing and space storing method disclosed by the invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings, in order to make the objects, technical solutions and advantages of the present invention more apparent.
Example 1
As shown in fig. 1, the embodiment discloses a metauniverse Web3 ledger memory and space memory sub-memory structure, which comprises a MySQL DataBase based on Web2, a DataBase based on Web3, an OSS DataBase and a front end, wherein the front end exchanges data with the MySQL DataBase, the front end exchanges data with the DataBase, the front end exchanges data with the OSS DataBase, and the DataBase exchanges data with the OSS DataBase.
Wherein: the DataBase is used for ledger storage, the OSS DataBase is used for storing large-scale data and/or files, and the MySQL DataBase is used for storing and retrieving structured data.
Typically, the MySQL DataBase is located at a MySQL server, the OSS DataBase is located at an OSS DataBase server, and the DataBase is located at a DataBase server.
Example 2
As shown in fig. 2, this embodiment discloses a metauniverse web3 ledger storing and space storing and storing method, and the metauniverse web3 ledger storing and space storing and storing method adopts the metauniverse web3 ledger storing and space storing and storing structure as disclosed in embodiment 1. Specific:
The meta-universe web3 account book storage and space storage sub-storage method comprises a data access method, wherein the data access method comprises the following steps of:
1. the front end initiates a request: the front end sends a request to the system, for example, that specific data or files need to be acquired.
2. Invoking the MySQL database of Web 2: the request notification at the front end triggers the invocation of the MySQL database of Web2, which retrieves the relevant information from the data stored therein.
3. The DataBase of Web3 records the ledger: after the MySQL DataBase successfully acquires the required information, the information is notified to the DataBase DataBase of the Web3 for account book recording so as to ensure traceability and consistency of transactions.
4. The database returns the URL to Web2: after the data after the checksum record is correctly saved to the DataBase, the DataBase generates a URL associated with the data and returns it to the Web2.
5. Web2 returns URL to front end: after receiving the URL, web2 returns it to the front end as a response.
6. Front end downloads data: after the front end receives the URL, it can use the URL to access the OSS server and download the required data or files from it.
Through the steps, the front-end request is transferred to the background DataBase, the DataBase of the Web3 checks out and records the transaction, and finally the front-end can successfully download the required data or files through the URL. The flow ensures the safety and traceability of the data, so that a user can conveniently acquire the required information.
The embodiment also discloses an optimization technical measure adopted by the metadata web3 account book storage and space storage method, when a plurality of users send the same front-end request (such as uploading), only the same URL is requested after the server checks accounts, and the OSS only stores one copy of the same file. The method comprises the following steps:
1. request merging: when the server receives a plurality of identical front-end requests, the requests can be combined, and only one request is reserved for subsequent operation. Thus, repeated data processing and calculation can be reduced, and the processing efficiency of the server can be improved.
2. Data caching: for files or data that are frequently repeatedly requested, buffering may be performed, for example, using an in-memory database such as Redis. When a request is received, firstly searching the cache, and if the cache exists, directly returning a result to avoid repeated request of the back-end data. Therefore, the load of the server can be obviously reduced, and the response speed is improved.
3. And (5) duplicate removal storage: for the same file or data, only one copy is stored on the OSS server. Even if a plurality of users request the same file at the same time, the same content can be obtained through the same URL. This saves storage resources and reduces the consumption of network bandwidth.
Of course, the present invention is capable of other various embodiments and its several details are capable of modification and variation in light of the present invention by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. The meta space web3 account book storage and space storage sub-storage structure is characterized in that: the data exchange system comprises a MySQL DataBase based on Web2, a dataBase DataBase based on Web3, an OSS DataBase and a front end, wherein the front end exchanges data with the MySQL DataBase, the front end exchanges data with the dataBase DataBase, the front end exchanges data with the OSS DataBase, and the dataBase DataBase exchanges data with the OSS DataBase.
2. The metaspace web3 ledger store and space store separate storage structure of claim 1, wherein: the DataBase is used for ledger storage, the OSS DataBase is used for storing large-scale data and/or files, and the MySQL DataBase is used for storing and retrieving structured data.
3. The metaspace web3 ledger store and space store separate storage structure of claim 2, wherein: the MySQL DataBase is located on a MySQL server, the OSS DataBase is located on an OSS DataBase server, and the DataBase DataBase is located on a DataBase server.
4. The meta space web3 account book storage and space storage method is characterized in that: the sub-storage method adopts the sub-storage structure of the metauniverse web3 ledger storage and the space storage according to claim 3.
5. The metaspace web3 ledger storage and space storage method according to claim 4, characterized in that: the data access method comprises the following steps:
a. the front end initiates a request: the front end sends a request to the system;
b. calling a MySQL database: calling a MySQL database according to the request, and retrieving related information from the data stored in the MySQL database;
c. DataBase record ledger: after the MySQL DataBase acquires the information, notifying the DataBase DataBase to perform account book recording on the information;
d. generate and return URL: the DataBase server generates a URL related to the information and returns the URL to the front end through the Web2 server;
e. the front end accesses the OSS server: the front end accesses an OSS server using the URL.
6. The metaspace web3 ledger storage and space storage method according to claim 5, characterized in that: in step a, the request includes acquiring data and/or files; in step e, the accessing includes the front end downloading data and/or files from the OSS database.
7. The metaspace web3 ledger storage and space storage method according to claim 5, characterized in that: in step a, the request includes uploading data and/or files; in step e, the accessing includes the front end uploading data and/or files to the OSS database.
8. The metauniverse web3 ledger storage and space storage method according to any one of claims 5-7, characterized in that: in step d, only one URL is generated when there are at least two identical requests.
9. The metaspace web3 ledger storage and space storage method according to claim 4, characterized in that: the method also comprises the step of establishing a memory database, wherein the memory database is used for caching the repeatedly requested data and/or files for the front end to directly access through the memory database.
10. The metaspace web3 ledger storage and space storage method according to claim 4, characterized in that: the same file or data is stored only one copy on the OSS server and accessed via the same URL.
CN202410113228.5A 2024-01-26 2024-01-26 Meta universe web3 account book storage and space storage sub-storage structure and method Active CN117931950B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410113228.5A CN117931950B (en) 2024-01-26 2024-01-26 Meta universe web3 account book storage and space storage sub-storage structure and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410113228.5A CN117931950B (en) 2024-01-26 2024-01-26 Meta universe web3 account book storage and space storage sub-storage structure and method

Publications (2)

Publication Number Publication Date
CN117931950A true CN117931950A (en) 2024-04-26
CN117931950B CN117931950B (en) 2024-08-06

Family

ID=90770094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410113228.5A Active CN117931950B (en) 2024-01-26 2024-01-26 Meta universe web3 account book storage and space storage sub-storage structure and method

Country Status (1)

Country Link
CN (1) CN117931950B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115344841A (en) * 2022-09-01 2022-11-15 中国联合网络通信集团有限公司 Meta-universe access method based on block chain network and block chain network device
CN115554707A (en) * 2022-09-22 2023-01-03 武汉瓯越网视有限公司 Method and system for processing account resources based on meta universe and electronic equipment
US20230162168A1 (en) * 2021-11-23 2023-05-25 Bank Of America Corporation System for implementing resource access protocols within a networked medium
CN116471092A (en) * 2023-04-23 2023-07-21 山东大学 Self-adaptive meta-universe system based on modularized blockchain
CN116739595A (en) * 2023-03-31 2023-09-12 上海纽盾科技股份有限公司 Method, device and system for improving transaction security of meta universe
CN116860485A (en) * 2023-07-21 2023-10-10 江西开创数码科技有限公司 Web3 interface calling method and related device based on meta universe
CN117172772A (en) * 2023-09-05 2023-12-05 深圳星火互娱数字科技有限公司 Meta universe access method based on block chain network and block chain network device
CN117376364A (en) * 2022-06-30 2024-01-09 华为云计算技术有限公司 Data processing method and related equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230162168A1 (en) * 2021-11-23 2023-05-25 Bank Of America Corporation System for implementing resource access protocols within a networked medium
CN117376364A (en) * 2022-06-30 2024-01-09 华为云计算技术有限公司 Data processing method and related equipment
CN115344841A (en) * 2022-09-01 2022-11-15 中国联合网络通信集团有限公司 Meta-universe access method based on block chain network and block chain network device
CN115554707A (en) * 2022-09-22 2023-01-03 武汉瓯越网视有限公司 Method and system for processing account resources based on meta universe and electronic equipment
CN116739595A (en) * 2023-03-31 2023-09-12 上海纽盾科技股份有限公司 Method, device and system for improving transaction security of meta universe
CN116471092A (en) * 2023-04-23 2023-07-21 山东大学 Self-adaptive meta-universe system based on modularized blockchain
CN116860485A (en) * 2023-07-21 2023-10-10 江西开创数码科技有限公司 Web3 interface calling method and related device based on meta universe
CN117172772A (en) * 2023-09-05 2023-12-05 深圳星火互娱数字科技有限公司 Meta universe access method based on block chain network and block chain network device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈瑛;: "美国图书馆数字化建设新策略及新技术应用", 图书馆研究与工作, no. 01, 10 January 2020 (2020-01-10) *

Also Published As

Publication number Publication date
CN117931950B (en) 2024-08-06

Similar Documents

Publication Publication Date Title
US10218584B2 (en) Forward-based resource delivery network management techniques
US11561930B2 (en) Independent evictions from datastore accelerator fleet nodes
Islam et al. High performance RDMA-based design of HDFS over InfiniBand
CN113010818B (en) Access current limiting method, device, electronic equipment and storage medium
CN103020315A (en) Method for storing mass of small files on basis of master-slave distributed file system
CN104580437A (en) Cloud storage client and high-efficiency data access method thereof
CN109299056B (en) A kind of method of data synchronization and device based on distributed file system
US10191663B1 (en) Using data store accelerator intermediary nodes and write control settings to identify write propagation nodes
CN101916289A (en) Method for establishing digital library storage system supporting mass small files and dynamic backup number
CN114265814B (en) Data lake file system based on object storage
US20170153909A1 (en) Methods and Devices for Acquiring Data Using Virtual Machine and Host Machine
US20220358106A1 (en) Proxy-based database scaling
US20230195726A1 (en) Selecting between hydration-based scanning and stateless scale-out scanning to improve query performance
US9178931B2 (en) Method and system for accessing data by a client from a server
US11455305B1 (en) Selecting alternate portions of a query plan for processing partial results generated separate from a query engine
Lim et al. Androtrace: framework for tracing and analyzing IOs on Android
CN117931950B (en) Meta universe web3 account book storage and space storage sub-storage structure and method
JP2022549076A (en) Methods, systems and programs for improving cacheability of single page applications
US11727003B2 (en) Scaling query processing resources for efficient utilization and performance
CN111427920A (en) Data acquisition method, device, system, computer equipment and storage medium
CN113472864B (en) High-performance block chain distributed storage system, method, equipment and storage medium
US20230169048A1 (en) Detecting idle periods at network endpoints for management actions at processing clusters for managed databases
US11341163B1 (en) Multi-level replication filtering for a distributed database
US11886439B1 (en) Asynchronous change data capture for direct external transmission
CN112528119A (en) Distributed webpage information crawling system based on Pulsar

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant