File storage method, system and equipment based on multi-dimensional format and medium

By adopting a multi-dimensional format in file storage, the file contents are distributed to multiple operation spaces and processed in parallel, the problems of inefficiency and high resource utilization of traditional file storage methods when processing large-scale or complex files are solved, and efficient and convenient file operations are achieved.

CN120045527APending Publication Date: 2025-05-27INSPUR FINANCIAL INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411504673.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-26
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

The traditional file storage method adopts a single linear structure, which leads to low operational efficiency, high resource usage and difficulty in achieving parallel processing when processing large-scale files or complex file structures.

Method used

Using a file storage method based on multidimensional format, by creating multiple file operation spaces, each space corresponding to different parts or attributes of the file, the file content is filled into these spaces according to preset rules, and converted into binary streams for storage.

Benefits of technology

Parallel operation of file content in different storage dimensions is realized, the efficiency and convenience of file operations are improved, and the user experience is significantly improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120045527A_ABST
    Figure CN120045527A_ABST
Patent Text Reader

Abstract

The invention discloses a file storage method, system and equipment based on a multi-dimensional format and a medium, and the method comprises the following steps: creating a multi-dimensional format file corresponding to a to-be-stored file, the multi-dimensional format file comprises a plurality of file operation spaces, and each space corresponds to different parts or attributes of the file; filling the content of a to-be-stored file into each file operation space of the multi-dimensional format file according to a preset rule; converting the file operation space filled with the file content into a binary stream; storing the converted binary stream into a preset storage medium; according to the method, the to-be-stored file can be converted into the multi-dimensional format, the file operation space is filled with the file content, and then the file content is converted into the binary stream to be stored, so that the parallel operation of the file content in different storage dimensions is realized, the file change does not need to be continuously concerned in the file operation process, and the operation efficiency is improved. And the convenience of file operation and the user experience are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing and storage, and particularly to a file storage method, system, device, and medium based on a multi-dimensional format. Background Art

[0002] Traditional file storage methods often adopt a single linear structure. When dealing with large-scale files or complex file structures, this structure has problems such as low operation efficiency, high resource occupancy, and difficulty in implementing parallel processing. With the advent of the big data era, higher requirements are put forward for the flexibility, efficiency, and scalability of file storage. Summary of the Invention

[0003] The purpose of the present invention is to provide a file storage method, system, device, and medium based on a multi-dimensional format, thereby solving all or one of the above problems existing in the prior art.

[0004] To solve the above technical problems, the specific technical solutions of the present invention are as follows: On the one hand, the present invention provides a file storage method based on a multi-dimensional format, including the following steps: Create a multi-dimensional format file corresponding to the file to be stored, where the multi-dimensional format file includes multiple file operation spaces, and each space corresponds to different parts or attributes of the file; Fill the content of the file to be stored into each file operation space of the multi-dimensional format file according to a preset rule; Convert the file operation space filled with file content into a binary stream; Store the converted binary stream into a preset storage medium.

[0005] In one implementation, the creation of the multi-dimensional format file corresponding to the file to be stored includes: Dynamically generate a file operation space including at least two dimensions according to the type, size, and content structure of the file, where one dimension is used to store the basic attribute information of the file, and the other dimension is used to store the specific content or segmented content of the file.

[0006] In one implementation, the filling of the content of the file to be stored into each file operation space of the multi-dimensional format file further includes: Divide the file content according to logical units or data blocks, and map them to the corresponding operation spaces of the multi-dimensional format file respectively, ensuring that each logical unit or data block occupies an independent operation space or space combination.

[0007] In one implementation, the conversion of the binary stream adopts a lossless compression algorithm.

[0008] In one embodiment, it further includes: After storage, by parsing the binary stream in the storage medium, the original multi-dimensional format file is restored, and parallel reading, modification, or deletion operations on the restored file are allowed.

[0009] On the other hand, the present invention also provides a file storage system based on a multi-dimensional format, including: A multi-dimensional format generation module for creating a multi-dimensional format file corresponding to the file to be stored; A content filling module for filling the content of the file to be stored into the file operation space of the multi-dimensional format file; A binary conversion module for converting the file operation space filled with file content into a binary stream; A storage management module for storing the converted binary stream into a preset storage medium and supporting subsequent parallel operations.

[0010] In one embodiment, the compression optimization module is further used for performing lossless compression processing on the file operation space filled with file content.

[0011] In one embodiment, the parallel processing module is further used for performing parallel reading, modification, or deletion operations on the restored multi-dimensional format file after storage to improve file processing efficiency.

[0012] On the other hand, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the file storage method based on the multi-dimensional format are implemented.

[0013] On the other hand, the present invention also provides a computer device, which includes a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete communication with each other through the communication bus; wherein: The memory is used for storing a computer program; The processor is used for executing the steps of the file storage method based on the multi-dimensional format by running the program stored on the memory.

[0014] The beneficial effects of the technical solution of the present invention are: The file storage method based on the multi-dimensional format described in the present invention can convert the file to be stored into a multi-dimensional format, fill the file content in the file operation space, and then convert it into a binary stream for storage, thereby realizing the parallel operation of the file content in different storage dimensions, without continuously paying attention to file changes during the file operation process, and significantly improving the convenience of file operation and the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0016] Figure 1 is a schematic flowchart of the file storage method based on the multi-dimensional format described in Embodiment 1 of the present invention; Figure 2 is a schematic architecture diagram of the file storage system based on the multi-dimensional format described in Embodiment 2 of the present invention; Figure 3 is a schematic structural diagram of the computer device described in Embodiment 4 of the present invention; The reference numerals in the drawings are explained as follows: 1501, processor; 1502, communication interface; 1503, memory; 1504, communication bus. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0017] The following will elaborate on the preferred embodiments of the present invention in conjunction with the drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.

[0018] In the description of the present invention, it should be noted that the embodiments described in the present invention are some embodiments of the present invention, rather than all embodiments; based on the embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the protection scope of the present invention.

[0019] In the description, claims, and the above-mentioned drawings of this article, terms such as "first", "second", etc. are used to distinguish similar objects and do not necessarily describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances so that the embodiments of this article described here can be implemented in an order different from those illustrated or described here. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, device, product, or equipment that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or equipment. Embodiment 1

[0020] This embodiment provides a file storage method based on a multi-dimensional format, as Figure 1 shown, including the following steps: When processing an e-book file containing multiple chapters, first create a two-dimensional multi-dimensional format file according to the chapter structure of the book. One dimension represents the chapter index, and the other dimension represents the specific content of each chapter.

[0021] Subsequently, fill the content of each chapter into the corresponding file operation space, and use a lossless compression algorithm (such as ZIP or GZIP) to compress these spaces, convert them into binary streams, and then store them on the hard disk. When the user needs to access or modify a certain chapter, the system can quickly locate the corresponding storage location, achieve parallel reading or modification, and there is no need to reload the entire file, thus greatly improving the convenience and efficiency of file operations.

[0022] It should be noted that the examples here are only for explaining the present invention and cannot limit the protection scope of the present invention accordingly. Embodiment 2

[0023] Based on the same inventive concept as the file storage method based on a multi-dimensional format described in Embodiment 1, this embodiment provides a file storage system based on a multi-dimensional format, as Figure 2 shown, including: A multi-dimensional format generation module for creating a multi-dimensional format file corresponding to the file to be stored; A content filling module for filling the content of the file to be stored into the file operation space of the multi-dimensional format file; A binary conversion module for converting the file operation space filled with file content into a binary stream; A storage management module for storing the converted binary stream into a preset storage medium and supporting subsequent parallel operations.

[0024] In one implementation, the compression optimization module is further configured to perform lossless compression processing on the file operation space filled with file content.

[0025] In one implementation, the parallel processing module is further configured to perform parallel reading, modification, or deletion operations on the restored multi-dimensional format file after storage, so as to improve the file processing efficiency. Embodiment 3

[0026] This embodiment provides a computer-readable storage medium, including: The storage medium is used to store the computer software instructions used to implement the file storage method based on the multi-dimensional format described in Embodiment 1 above, which includes a program set for executing the file storage method based on the multi-dimensional format described above; specifically, the executable program can be built into the file storage system based on the multi-dimensional format described in Embodiment 2. In this way, the file storage system based on the multi-dimensional format can implement the file storage method based on the multi-dimensional format described in Embodiment 1 by executing the built-in executable program.

[0027] In addition, the computer-readable storage medium of this embodiment can adopt any combination of one or more readable storage media, where the readable storage media include electrical, optical, electromagnetic, infrared, or semiconductor systems, devices, or components, or any combination of the above. Embodiment 4

[0028] This embodiment provides an electronic device, as Figure 3 shown, the electronic device may include: a processor 1501, a communication interface 1502, a memory 1503, and a communication bus 1504. Among them, the processor 1501, the communication interface 1502, and the memory 1503 communicate with each other through the communication bus 1504.

[0029] The memory 1503 is used to store a computer program; When the processor 1501 is used to execute the computer program stored on the memory 1503, it implements the steps of the file storage method based on the multi-dimensional format described in Embodiment 1 above.

[0030] As an implementation of the present invention, the communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, Figure 3It is only represented by a thick line, but it does not mean that there is only one bus or one type of bus.

[0031] As an implementation manner of the present invention, the communication interface is used for communication between the above terminal and other devices.

[0032] As an implementation manner of the present invention, the memory may include a random access memory (Random Access Memory, abbreviated as RAM), and may also include a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located far from the aforementioned processor.

[0033] As an implementation manner of the present invention, the above-mentioned processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, abbreviated as CPU), a network processor (Network Processor, abbreviated as NP), etc.; it may also be a digital signal processor (Digital Signal Processing, abbreviated as DSP), an application specific integrated circuit (Application Specific Integrated Circuit, abbreviated as ASIC), a field programmable gate array (Field-Programmable Gate Array, abbreviated as FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0034] It should be understood that in various embodiments of this document, the magnitudes of the sequence numbers of the above processes do not mean the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of this document.

[0035] It should also be understood that in the embodiments of this document, the term "and / or" is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this document generally represents an "or" relationship between the associated objects before and after.

[0036] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this article.

[0037] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0038] In the several embodiments provided in this article, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed couplings or direct couplings or communication connections to each other can be indirect couplings or communication connections through some interfaces, devices, or units, and can also be electrical, mechanical, or other forms of connection.

[0039] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiments in this article.

[0040] In addition, the functional units in each embodiment of this article can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.

[0041] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution herein, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments herein. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs.

[0042] The above are only embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structural or equivalent process transformations made by using the content of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, are similarly included in the patent protection scope of the present invention.

Claims

1. A file storage method based on a multidimensional format, characterized in that: The following steps are involved: Creating a multi-dimensional format file corresponding to the file to be stored, the multi-dimensional format file comprising a plurality of file operation spaces, each space corresponding to a different part or attribute of the file; Filling the contents of the file to be stored into each file operation space of the multi-dimensional format file according to a preset rule; Convert the file operation space filled with file content into a binary stream; The converted binary stream is stored in a preset storage medium.

2. The file storage method based on multidimensional format according to claim 1, characterized in that: The step of creating a multi-dimensional format file corresponding to the file to be stored includes: According to the type, size and content structure of the file, a file operation space containing at least two dimensions is dynamically generated, wherein one dimension is used to store the basic attribute information of the file, and the other dimension is used to store the specific content or segmented content of the file.

3. The file storage method based on multidimensional format according to claim 1, characterized in that: The step of filling the contents of the file to be stored into each file operation space of the multi-dimensional format file according to a preset rule further includes: The file content is divided into logical units or data blocks, and mapped to the corresponding operation space of the multi-dimensional format file respectively, to ensure that each logical unit or data block occupies an independent operation space or space combination.

4. The file storage method based on multidimensional format according to claim 1, characterized in that: The conversion of the binary stream adopts a lossless compression algorithm.

5. The file storage method based on multidimensional format according to claim 1, characterized in that: Also includes: After storage, the original multi-dimensional format file is restored by parsing the binary stream in the storage medium, and parallel reading, modification or deletion operations are allowed on the restored file.

6. A file storage system based on a multidimensional format, characterized in that: include: A multi-dimensional format generation module, used to create a multi-dimensional format file corresponding to the file to be stored; A content filling module, used to fill the content of the file to be stored into the file operation space of the multi-dimensional format file; A binary conversion module, used for converting a file operation space filled with file contents into a binary stream; The storage management module is used to store the converted binary stream in a preset storage medium and support subsequent parallel operations.

7. The file storage system based on multidimensional format according to claim 6, characterized in that: The compression optimization module is also used to perform lossless compression processing on the file operation space filled with file content.

8. The file storage system based on multidimensional format according to claim 6, characterized in that: The parallel processing module is also used to perform parallel reading, modification or deletion operations on the restored multi-dimensional format file after storage, thereby improving file processing efficiency.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the file storage method based on a multidimensional format described in any one of claims 1 to 5 are implemented.

10. A computer device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; wherein: The memory is used to store computer programs; The processor is used to execute the steps of the file storage method based on a multidimensional format according to any one of claims 1 to 5 by running the program stored in the memory.