WO2022036927A1 - Procédé et appareil de stockage de fichiers, dispositif et support - Google Patents

Procédé et appareil de stockage de fichiers, dispositif et support Download PDF

Info

Publication number
WO2022036927A1
WO2022036927A1 PCT/CN2020/133445 CN2020133445W WO2022036927A1 WO 2022036927 A1 WO2022036927 A1 WO 2022036927A1 CN 2020133445 W CN2020133445 W CN 2020133445W WO 2022036927 A1 WO2022036927 A1 WO 2022036927A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
data
index data
target
storage
Prior art date
Application number
PCT/CN2020/133445
Other languages
English (en)
Chinese (zh)
Inventor
董遇生
Original Assignee
安徽鸿程光电有限公司
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 安徽鸿程光电有限公司 filed Critical 安徽鸿程光电有限公司
Publication of WO2022036927A1 publication Critical patent/WO2022036927A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application relates to the field of data processing, and in particular, to a file storage method, apparatus, device and medium.
  • the data and various resources of the multimedia file are generally packaged into a compressed file and stored on a disk.
  • the multimedia file is courseware
  • the user modifies part of the courseware and needs to save it again the latest data file and various resources need to be repackaged to generate a new compressed file.
  • the compressed file generated is also very large, and it takes a long time to save the modified file each time.
  • the present application provides a file storage method, device, device and computer storage medium, which can solve the problem of low file storage efficiency.
  • the present application provides a file storage method, which may include:
  • the modification information of the original file is obtained, wherein the target file is a modified file of the original file, and the storage file of the original file may include at least one data file and the target index corresponding to the at least one data file data;
  • Determine the newly written data based on the modification information, and the newly written data may at least include the updated target index data
  • the present application provides a file storage device, the device may include:
  • the modification information obtaining module is used to obtain modification information of the original file in response to the storage request for the target file, wherein the target file is a modified file of the original file, and the storage file of the original file may include at least one data file and at least one data file.
  • the target index data corresponding to a data file
  • a newly written data determination module configured to determine newly written data based on the modification information, and the newly written data may at least include updated target index data;
  • the storage module is used to replace the target index data with newly written data to obtain the storage file of the target file.
  • the present application provides a file storage device, the device may include: a processor and a memory storing computer program instructions;
  • the file storage method provided in the first aspect can be implemented.
  • the present application provides a computer storage medium, where computer program instructions are stored thereon, and when the computer program instructions are executed by a processor, the file storage method provided in the first aspect can be implemented.
  • newly written data can be determined based on the modification information of the original file.
  • the newly written data may at least include updated target index data.
  • Fig. 1 is the structural representation of the courseware provided according to the application.
  • Fig. 2 is the structural representation of the storage file of the original courseware provided according to the application;
  • FIG. 3 is a schematic flowchart of an embodiment of a file storage method provided according to the present application.
  • FIG. 4 is a schematic structural diagram of an embodiment of a storage file of a target file provided according to the present application.
  • FIG. 5 is a schematic structural diagram of another embodiment of a storage file of a target file provided according to the present application.
  • FIG. 6 is a schematic structural diagram of an embodiment of a file storage device provided according to the present application.
  • FIG. 7 is a schematic structural diagram of an embodiment of a file storage device provided according to the present application.
  • the multimedia file may be a PPT (PowerPoint) file.
  • PPT software is a presentation graphics software, mainly used for making slides.
  • the software is capable of creating vivid visual effects and supports multimedia functions.
  • the speaker of the conference can use the conference file made by the PPT software to present the lecture content to the participants.
  • teachers can use the courseware made by PPT software to teach.
  • the courseware can be course software produced according to the requirements of the teaching syllabus, through the determination of teaching objectives, the analysis of teaching content and tasks, the structure of teaching activities and the design of interface.
  • FIG. 1 is a schematic structural diagram of the courseware provided by this application.
  • the courseware generally consists of three types of data files: "main data file, page data file, and resource data file".
  • the data formats of the main data file and the page data file are, for example, Extensible Markup Language (Extensible Markup Language, XML) format.
  • the master data file may include the overall style data of the courseware, the total number of pages, and so on.
  • the page data file may include page layout data and text data of the current page and other data.
  • the resource data file may include pictures, audio, video and other files in the courseware page.
  • the page data file corresponds to a page of a courseware, that is, the number of page data files corresponds to the number of pages of the courseware.
  • the number of resource data files is related to the number of pictures, audio, video and other resources used by each page in the courseware.
  • the ZIP file format is a file format for data compression and document storage. As shown in Figure 2, a ZIP file is mainly composed of three parts, the file data storage area, the central directory structure area and the central directory end area.
  • the file data storage area is used to save the general information and file content of each data file in the courseware.
  • the file data storage area includes n data files: data file 1, data file 2, ..., data file n.
  • n is a positive integer.
  • the central directory structure area is used to save the index data of each data file in the courseware.
  • the index data of each data file may include the summary information of the data file, the offset address of the data file relative to the first address in the ZIP file, and the file length of the data file and other information.
  • the central directory end area is used to save the index data of the index data of each data file in the central directory structure area.
  • the central directory end area is used to save the number of index data in the central directory structure area (ie the number of central directories n), and the offset address of the index data of each data file relative to the first address in the ZIP file (ie the central directory number n) directory offset) and the total length of the data in the central target structure area (ie, the central directory length).
  • Most of the data of the ZIP file is located in the "file data storage area”, and only a small part of the data is located in the "central directory structure area" and "central directory end area".
  • the present application provides a file storage method, which can improve the storage efficiency of modified files.
  • the file storage method provided by the present application will be described in detail below with reference to specific embodiments and accompanying drawings.
  • FIG. 3 is a schematic flowchart of an embodiment of a file storage method provided by the present application.
  • the file storage method 300 provided by the present application may include:
  • Step 310 in response to the storage request for the target file, obtain the modification information of the original file, wherein, the target file is the modified file of the original file, and the storage file of the original file may include at least one data file corresponding to at least one data file. the target index data;
  • Step 320 determining newly written data based on the modification information, and the newly written data may at least include updated target index data;
  • Step 330 Replace the target index data with newly written data to obtain a storage file of the target file.
  • step 310 the specific implementation of step 310 is introduced.
  • the original file may be a PPT file.
  • the PPT file may include, for example, courseware, conference files, and other files. During use of the original file, modifications to the original file may be required.
  • the target file is the modified file from the original file.
  • Case 1 Modify the content of the existing page in the original courseware.
  • modifying the content of the existing pages in the original courseware may include: adding new data to the existing pages in the original courseware, deleting existing data in the existing pages in the original courseware, modifying the existing pages in the original courseware There are page data and so on. Among them, modifying the data of the existing page in the original courseware can be converted into deleting the existing data in the page and adding new data to the page.
  • the modification to the content of the existing page in the original courseware can be expressed as the deletion of the original page data file of the existing page and the addition of the new page data file of the modified existing page.
  • the modification information to the original file may include the identifiers of the new page data file of the newly added modified existing page and the original page data file of the deleted existing page.
  • adding a new page to the original courseware can be represented as adding a page data file of the new page and adding a resource data file corresponding to the new page. It should be noted that if a new page is added to the original courseware, the master data file will also be updated (the record of this page is added). Therefore, adding new pages to the original courseware also manifests as deletion of the original master data file of the original courseware and addition of the updated master data file.
  • the modification information to the original file may include the page data file of the newly added new page, the resource data file corresponding to the newly added new page, and the original master data of the deleted original courseware The identification of the file and the new updated master data file.
  • deleting a page in the original courseware may be expressed as deleting the original page data file of the page and the original resource data file corresponding to the page. It should be noted that if the page in the original courseware is deleted, the master data file will also be updated (delete the record of the page). Therefore, the deletion of the pages in the original courseware also manifests as deletion of the original master data file of the original courseware and addition of the updated master data file.
  • the modification information to the original file may include the identifier of the original page data file of the deleted page, the identifier of the original resource data file corresponding to the deleted page, and the original master data of the deleted original courseware The identification of the file and the new updated master data file.
  • the modification of the original courseware for example, is to add, delete or modify elements in the page in the courseware, or to add or delete pages, these modification operations are finally reflected as changes to the main data file,
  • the addition, deletion or modification of three types of data files are the storage granularity when courseware is saved to disk.
  • the modification of data files can be converted into deletion of existing data files and addition of new data files. Therefore, modifications to the original file may include deletion of existing data files in the original file and addition of new data files. In this way, the modification information to the original file may include identifiers of newly added data files and deleted data files.
  • the user can send a storage request for the target file through the device where the original file is located.
  • the device where the original file is located may obtain the acquisition time of the storage request.
  • all operation records of the original file between the acquisition time of the storage request and the preservation time of the original file can be obtained.
  • it can be counted which data files have changed after the original file has been modified.
  • the identifiers of the newly added data file and the deleted data file can be obtained, and then the modification information of the original file can be obtained.
  • the storage file of the original file may be the final file corresponding to when the original file is stored to the disk.
  • the storage file of the original file may include at least one data file and target index data corresponding to the at least one data file.
  • at least one data file may include a main data file, a page data file and a resource data file in the original file.
  • the target index data corresponding to at least one data file may include first index data and second index data.
  • the first index data may include index data of each data file in the at least one data file stored in the central target structure area shown in FIG. 2 .
  • the second index data may include index data of the first index data, that is, data in the end area of the central directory shown in FIG. 2 .
  • step 320 The specific implementation manner of step 320 is described below.
  • the modification information to the original file may include an identifier of a newly added data file and/or a deleted data file. Regardless of whether the modification information includes an identifier of a newly added data file or an identifier of a deleted data file, the target index data needs to be updated based on the modification information of the original file. Therefore, the newly written data may include at least the updated target index data.
  • the updated target index data is, for example, updated based on the modification information of the original file.
  • the target index data may be updated based on the identifier of the data file to be deleted, and the updated target index data may be used as newly written data, and the storage of the target file may also be implemented.
  • step 320 may include step 3201 and step 3202 .
  • Step 3201 in the case that the modification information includes the newly added data file, obtain the updated target index data based on the modification information, and determine the newly added data file and the updated target index data as newly written data;
  • Step 3202 in the case that the modification information includes the identifier of the deleted data file, obtain the updated target index data based on the modification information, and determine the updated target index data as newly written data.
  • the modification information to the original file includes a newly added data file
  • the newly added data file needs to be written after the file data storage area. If the newly added data file is written after the file data storage area, the index data of the newly added data file needs to be added to the first index data in the central directory structure area. Since new index data is added to the first index data in the central directory structure area, the second index data in the central directory end area also needs to be updated accordingly, that is, the target index data needs to be updated based on the newly added data file. Therefore, the newly written data includes newly added data files and updated target index data.
  • the modification information of the original file includes the identifier of the deleted data file
  • the index data of the data files to be deleted may be removed from the first index data of the central directory structure area. Since part of the index data is deleted from the first index data in the central directory structure area, the second index data in the central directory end area also needs to be updated accordingly. That is to say, the target index data needs to be updated based on the identifier of the deleted data file, so as to realize the deletion of the index data of the data file to be deleted, that is, mark deletion.
  • the target index data may include first index data and second index data
  • the first index data may include index data of each data file in the at least one data file
  • the second index data may include the first index data Index data for index data.
  • obtaining the updated target index data may include steps A to C.
  • Step A update the first index data based on the modification information, and obtain the updated first index data
  • Step B update the second index data according to the updated first index data, and obtain the updated second index data
  • Step C and determine the updated first index data and the updated second index data as the updated target index data.
  • step A if the modified data file includes the newly added data file, the index data of the newly added data file is added to the first index data to obtain the updated first index data.
  • step A when the modified data file includes the identifier of the deleted data file, the index data of the deleted data file corresponding to the identifier is deleted from the first index data to obtain the updated first index data.
  • step A in the case that the modified data file includes a newly added data file and a deleted data file, the index data of the newly added data file is added from the first index data and the identifier is deleted from the first index data The index data of the corresponding deleted data file is obtained to obtain the updated first index data.
  • the central directory end area Since the second index data stored in the central directory end area includes the index data of the first index data in the central directory structure area, for example, the central directory end area is used to store the number of index data in the central directory structure area, and each data The index data of the file is relative to the offset address of the first address in the ZIP file and the total data length of the index data in the central directory structure area. Therefore, in step B, if the index data of the data file appears in the first index data. addition or deletion, the second index data needs to be updated along with the update of the first index data.
  • the updated first index data includes the index data of the newly added data file
  • the number of index data in the central directory structure area increases accordingly, and the index data of each data file is relative to the first address in the ZIP file.
  • the offset address of then moves backward, and the total data length of the first index data increases accordingly, thereby obtaining the updated second index data.
  • step C after both the first index data and the second index data are updated, the updated first index data and the updated second index data are determined as the updated target index data.
  • step 330 includes: under the condition of keeping at least one data file unchanged, replacing the target index data with newly written data to obtain a storage file of the target file.
  • the modification of the original file is actually the deletion and addition of the data file.
  • the newly added data file it can be appended after the file content of the storage file of the original file.
  • the deleted data files can be processed by deleting the index data of the data files to be deleted, so that the existing data files in the storage files of the original files can be reused, and only the deleted data files and newly added data files can be processed. data files.
  • users modify courseware they usually only modify a small part of the content, and most of the content remains unchanged, so the changed data is much less than the unchanged data. Therefore, using the file storage method provided by this application can significantly improve the preservation of files. speed.
  • FIG. 4 is a schematic diagram of a storage file of a target file provided by the present application.
  • the dot-dash line frame is at least one data file included in the storage file of the original file.
  • the newly written data is added at the end of the file data storage area.
  • the newly written data may include three parts: the newly added data file in the file data storage area, the updated first index data in the new central directory structure area, and the updated first index data in the new central directory end area The second index data.
  • the modification information to the original file may include the newly added data file n+1.
  • the updated first index data may include the first index data in the target index data and the index data of the newly added data file n+1. That is to say, a new "central directory structure area" is formed after adding the index data of the newly added data file n+1 to the original "central directory structure area" in the storage file of the original file.
  • the number of central directories is updated to n+1, and the central directory offset and the central directory length are updated to obtain updated second index data. That is, on the basis of the original "central directory end area" in the storage file of the original file, the number of central directories, the central directory offset and the central directory length are updated to obtain a new "central directory end area".
  • FIG. 2 is a schematic diagram of the storage file of the original file.
  • the storage file of the target file shown in FIG. 4 the data files 1 to n in the dotted line frame remain unchanged, and then the file data of the storage file of the original file is stored in the original file. After the storage area, the newly written data in the dotted box in FIG. 4 is added.
  • the storage file of the target file in FIG. 4 has newly added data file n+1 shown in the gray area, and the index data of the data file n+1.
  • the storage file of the target file in FIG. 4 is compared with the original storage file in FIG. 2, and the central directory offset, the central directory length and the central directory number shown in the gray area are modified.
  • FIG. 5 is a schematic diagram of a storage file of a target file provided by the present application.
  • the dot-dash line frame is at least one data file included in the storage file of the original file.
  • the newly written data is the newly written data.
  • the newly written data may include two parts: the updated first index data in the new central directory structure area and the updated second index data in the new central directory end area.
  • the modification information to the original file may include the identifier of the deleted data file 2 .
  • the updated first index data may include data after the index data of the data file 2 is deleted from the first index data in the target index data. That is to say, a new "central directory structure area" is formed after deleting the index data of the data file 2 on the basis of the original "central directory structure area” in the storage file of the original file.
  • the number of central directories is updated to n-1, and the central directory offset and the central directory length are updated to obtain updated second index data. That is, on the basis of the original "central directory end area" in the storage file of the original file, the number of central directories, the central directory offset and the central directory length are updated to obtain a new "central directory end area".
  • the storage file of the target file in FIG. 5 has the index data of the data file 2 deleted.
  • the storage file of the target file in FIG. 5 is compared with the original storage file in FIG. 2, and the central directory offset, the central directory length and the central directory number shown in the gray area are modified.
  • a list of data files to be deleted and a list of data files to be added can be acquired.
  • the list of data files to be deleted it is only necessary to delete the index data of these files from the "Central Directory Structure Area” and correct the data in the "Central Directory End Area”, and then use the new "Central Directory Structure Area” and "Central Directory Structure Area”
  • the directory end area "overwrites the original "central directory structure area” and the "central directory end area", and the content of the original "file data storage area” remains unchanged.
  • the file storage method proposed in the present application uses an incremental method to save the target file on the basis of the storage file of the original file, and directly modifies the storage file of the original file on the disk instead of generating a copy of the file on the disk for operation, so it can obviously Improve the storage speed of target files, and save too much disk space during the save process.
  • the step 330 includes: in the case of determining that the ratio of the size of the deleted data file corresponding to the identification to the size of the storage file of the original file is greater than the first preset ratio, deleting the deleted data file corresponding to the identification from at least one data file , and replace the target index data with the newly written data to obtain the storage file of the target file.
  • the first preset ratio may be 10%.
  • the ratio of the size of the deleted data file to the size of the storage file of the original file is greater than the first preset In the case of the ratio, the data files to be deleted are deleted from at least one data file, that is, the data in the storage file of the original file is actually deleted, so as to reduce the size of the courseware file.
  • the file storage method provided by the present application may further include: saving the target index data in the memory; and/or storing the target index data in the memory; Index data is kept on disk.
  • the target index data can be backed up.
  • the original "central directory structure area" and "central directory end area” in the storage file of the original file can be backed up by at least one of the following two methods, that is, the target index data is backed up.
  • the first backs up the target index data in memory.
  • the second backs up the target index data on disk.
  • the target index data is stored in the disk, it can be backed up in the directory where the original file storage file is located, and the backup file name can be "original file storage file name.tmp". If saving of the target file is normally completed, the backup file of the target index data is deleted.
  • the storage file of the original file can be located at the starting position of the original "central directory structure area", and the data of the original "central directory structure area” and "central directory end area” of the backup can be written , you can restore the stored files of the original files.
  • the memory backup is used, and the file recovery speed is fast.
  • the computer determines whether the directory where the original file is stored has a file name such as "Stored file name of the original file.tmp" backup file. If there is a backup file whose file name is, for example, "storage file name of the original file. tmp", the backup file is read into the memory. Then, locate the storage file of the original file to the starting position of the original "central directory structure area”, and write the backup data of the original "central directory structure area" and "central directory end area” to restore the storage file of the original file , in this case, the memory backup is used, and the file recovery speed is fast. After the restoration of the storage file of the original file is completed, the backup file of the target index data is deleted, and the restored original file is opened.
  • a file name such as "Stored file name of the original file.tmp" backup file. If there is a backup file whose file name is, for example, "storage file name of the original file. tmp", the backup file is read into the memory. Then, locate the storage file of the
  • FIG. 6 is a schematic structural diagram of an embodiment of a file storage device provided by the present application.
  • the file storage device 600 provided by the present application may include:
  • the modification information obtaining module 610 is configured to obtain modification information of the original file in response to the storage request for the target file, wherein the target file is a modified file of the original file, and the storage file of the original file may include at least one data file and Target index data corresponding to at least one data file;
  • a new write data determination module 620 configured to determine new write data based on the modification information, and the new write data may at least include updated target index data;
  • the storage module 630 is configured to replace the target index data with newly written data to obtain a storage file of the target file.
  • the newly written data when the modified target file is saved, can be determined based on the modification information of the original file.
  • the newly written data may at least include updated target index data.
  • the modification information may include newly added data files and/or deleted data files; wherein, the newly written data determination module 620 is used for:
  • the modification information includes a newly added data file
  • the updated target index data is obtained, and the newly added data file and the updated target index data are determined as newly written data
  • the modification information includes the identifier of the deleted data file
  • the updated target index data is obtained, and the updated target index data is determined as newly written data.
  • the target index data may include first index data and second index data
  • the first index data may include index data of each data file in the at least one data file
  • the second index data may include the first index data.
  • Index data of index data wherein, the newly written data determination module 620 is used for:
  • the updated first index data and the updated second index data are determined as the updated target index data.
  • the newly written data determination module 620 is used to:
  • the index data of the newly added data file is added to the first index data to obtain the updated first index data;
  • the index data corresponding to the identifier of the deleted data file is deleted from the first index data to obtain the updated first index data.
  • the storage module 630 is used to:
  • the modification information may include the identification of the deleted data file
  • the storage module 630 is used for:
  • the file storage device 600 may further include a saving module for:
  • FIG. 7 is a schematic structural diagram of an embodiment of a file storage device provided according to the present application.
  • the file storage device 700 may include a processor 701 and a memory 702 storing computer program instructions.
  • processor 701 may include a central processing unit (CPU), or a specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
  • CPU central processing unit
  • ASIC Application Specific Integrated Circuit
  • Memory 702 may include mass storage for data or instructions.
  • memory 702 may include a Hard Disk Drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a Universal Serial Bus (USB) drive or two or more A combination of more than one of the above.
  • Memory 702 may include removable or non-removable (or fixed) media, where appropriate.
  • Memory 702 may be internal or external to file storage device 700, where appropriate.
  • memory 702 is non-volatile solid state memory.
  • memory 702 may include read only memory (ROM).
  • ROM read only memory
  • the ROM may be a mask programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), electrically rewritable ROM (EAROM) or flash memory or A combination of two or more of the above.
  • Memory may include read only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical/tangible memory storage devices.
  • ROM read only memory
  • RAM random access memory
  • magnetic disk storage media devices e.g., magnetic disks
  • optical storage media devices e.g., magnetic disks
  • flash memory devices e.g., electrical, optical or other physical/tangible memory storage devices.
  • a memory includes one or more tangible (non-transitory) computer-readable storage media (eg, memory devices) encoded with software including computer-executable instructions, and when the software is executed (eg, by a or multiple processors), it is operable to perform the operations described with reference to the method of file storage according to the present application.
  • the processor 701 reads and executes the computer program instructions stored in the memory 702 to implement any one of the file storage methods in the foregoing embodiments.
  • the file storage device may also include a communication interface 703 and a bus 710 .
  • the processor 701 , the memory 702 , and the communication interface 703 are connected through the bus 710 and complete the mutual communication.
  • the communication interface 703 is mainly used to implement communication between modules, apparatuses, units and/or devices in the embodiments of the present application.
  • the bus 710 may include hardware, software, or both, coupling the components of the file storage device to each other.
  • the bus may include Accelerated Graphics Port (AGP) or other graphics bus, Enhanced Industry Standard Architecture (EISA) bus, Front Side Bus (FSB), HyperTransport (HT) Interconnect, Industry Standard Architecture (ISA) Bus, Infiniband Interconnect, Low Pin Count (LPC) Bus, Memory Bus, Microchannel Architecture (MCA) Bus, Peripheral Component Interconnect (PCI) Bus, PCI-Express (PCI-X) Bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association Local (VLB) bus or other suitable bus or a combination of two or more of the above.
  • Bus 710 may include one or more buses, where appropriate. Although embodiments of this application describe and illustrate a particular bus, this application contemplates any suitable bus or interconnect.
  • the embodiment of the present application may provide a computer storage medium for implementation.
  • Computer program instructions are stored on the computer storage medium; when the computer program instructions are executed by the processor, any one of the file storage methods in the foregoing embodiments is implemented.
  • Examples of computer storage media include non-transitory computer storage media such as electronic circuits, semiconductor memory devices, ROM, random access memory, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks.
  • the functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof.
  • it When implemented in hardware, it may be, for example, an electronic circuit, an application specific integrated circuit (ASIC), suitable firmware, a plug-in, a function card, or the like.
  • ASIC application specific integrated circuit
  • elements of the present application are programs or code segments used to perform the required tasks.
  • the program or code segments may be stored in a machine-readable medium or transmitted over a transmission medium or communication link by a data signal carried in a carrier wave.
  • a "machine-readable medium” may include any medium that can store or transmit information.
  • machine-readable media examples include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, and the like.
  • the code segments may be downloaded via a computer network such as the Internet, an intranet, or the like.
  • processors may be, but are not limited to, general purpose processors, special purpose processors, application specific processors, or field programmable logic circuits. It will also be understood that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can also be implemented by special purpose hardware for performing the specified functions or actions, or by special purpose hardware and/or A combination of computer instructions is implemented.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

L'invention concerne un procédé et un appareil de stockage de fichiers, un dispositif et un support. Le procédé consiste à : en réponse à une demande de stockage pour un fichier cible, acquérir des informations de modification sur un fichier d'origine, le fichier cible étant un fichier obtenu par modification du fichier d'origine, et un fichier de stockage du fichier d'origine comprenant au moins un fichier de données et des données d'index cibles correspondant audit fichier de données (310) ; déterminer des données nouvellement écrites sur la base des informations de modification, les données nouvellement écrites comprenant au moins des données d'index cibles mises à jour (320) ; et remplacer les données d'index cibles par les données nouvellement écrites, de façon à obtenir un fichier de stockage du fichier cible (330). Le procédé peut améliorer l'efficacité de stockage d'un fichier cible.
PCT/CN2020/133445 2020-08-19 2020-12-02 Procédé et appareil de stockage de fichiers, dispositif et support WO2022036927A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010836266.5A CN111984597B (zh) 2020-08-19 2020-08-19 文件存储方法、装置、设备和介质
CN202010836266.5 2020-08-19

Publications (1)

Publication Number Publication Date
WO2022036927A1 true WO2022036927A1 (fr) 2022-02-24

Family

ID=73435680

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/133445 WO2022036927A1 (fr) 2020-08-19 2020-12-02 Procédé et appareil de stockage de fichiers, dispositif et support

Country Status (2)

Country Link
CN (1) CN111984597B (fr)
WO (1) WO2022036927A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114936010A (zh) * 2022-07-20 2022-08-23 阿里巴巴(中国)有限公司 数据处理方法、装置、设备及介质
CN116624361A (zh) * 2023-04-11 2023-08-22 北京通嘉宏瑞科技有限公司 真空泵工作方法、装置、计算机设备和存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984597B (zh) * 2020-08-19 2023-12-08 安徽鸿程光电有限公司 文件存储方法、装置、设备和介质
CN113239001A (zh) * 2021-05-21 2021-08-10 珠海金山网络游戏科技有限公司 一种数据存储方法及装置
CN113553335A (zh) * 2021-07-26 2021-10-26 北京东方国信科技股份有限公司 列式存储文件的数据更新方法及装置
CN113779321B (zh) * 2021-09-06 2023-06-23 深圳创维数字技术有限公司 一种电子白板文件保存方法、装置、电子白板及存储介质
CN116881035B (zh) * 2023-07-20 2024-06-14 上海弘连网络科技有限公司 文件修复方法、存储介质及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170249140A1 (en) * 2014-05-30 2017-08-31 Guangzhou Ucweb Computer Technology Co., Ltd. Method and apparatus for incremental upgrade
CN107315806A (zh) * 2017-06-26 2017-11-03 杭州时趣信息技术有限公司 一种基于文件***的嵌入式存储方法和装置
CN109408462A (zh) * 2018-09-17 2019-03-01 深圳点猫科技有限公司 一种基于教育***的文件存储管理方法及电子设备
CN110287201A (zh) * 2019-07-02 2019-09-27 重庆紫光华山智安科技有限公司 数据访问方法、装置、设备及存储介质
CN110532236A (zh) * 2019-08-21 2019-12-03 广联达科技股份有限公司 压缩文件的增量更新方法、***和介质
CN111984597A (zh) * 2020-08-19 2020-11-24 安徽鸿程光电有限公司 文件存储方法、装置、设备和介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9542402B2 (en) * 2013-04-24 2017-01-10 Empire Technology Development Llc Computing devices with multi-layer file systems
CN104572762B (zh) * 2013-10-24 2019-04-12 杭州海康威视数字技术股份有限公司 删除及恢复录像文件的方法和装置
CN110688347A (zh) * 2019-09-24 2020-01-14 Oppo广东移动通信有限公司 文件存储方法、文件存储装置及终端设备
CN110765076B (zh) * 2019-10-25 2023-04-21 北京奇艺世纪科技有限公司 数据存储方法、装置、电子设备及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170249140A1 (en) * 2014-05-30 2017-08-31 Guangzhou Ucweb Computer Technology Co., Ltd. Method and apparatus for incremental upgrade
CN107315806A (zh) * 2017-06-26 2017-11-03 杭州时趣信息技术有限公司 一种基于文件***的嵌入式存储方法和装置
CN109408462A (zh) * 2018-09-17 2019-03-01 深圳点猫科技有限公司 一种基于教育***的文件存储管理方法及电子设备
CN110287201A (zh) * 2019-07-02 2019-09-27 重庆紫光华山智安科技有限公司 数据访问方法、装置、设备及存储介质
CN110532236A (zh) * 2019-08-21 2019-12-03 广联达科技股份有限公司 压缩文件的增量更新方法、***和介质
CN111984597A (zh) * 2020-08-19 2020-11-24 安徽鸿程光电有限公司 文件存储方法、装置、设备和介质

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114936010A (zh) * 2022-07-20 2022-08-23 阿里巴巴(中国)有限公司 数据处理方法、装置、设备及介质
CN114936010B (zh) * 2022-07-20 2022-12-27 阿里巴巴(中国)有限公司 数据处理方法、装置、设备及介质
CN116624361A (zh) * 2023-04-11 2023-08-22 北京通嘉宏瑞科技有限公司 真空泵工作方法、装置、计算机设备和存储介质
CN116624361B (zh) * 2023-04-11 2024-03-22 北京通嘉宏瑞科技有限公司 真空泵工作方法、装置、计算机设备和存储介质

Also Published As

Publication number Publication date
CN111984597B (zh) 2023-12-08
CN111984597A (zh) 2020-11-24

Similar Documents

Publication Publication Date Title
WO2022036927A1 (fr) Procédé et appareil de stockage de fichiers, dispositif et support
US20230325287A1 (en) Data backup method and apparatus, data recovery method and apparatus, and storage medium
US8856088B2 (en) Application-managed file versioning
US20110055500A1 (en) Data Storage Snapshot With Reduced Copy-On-Write
CN110019498B (zh) 日志同步方法及装置、存储介质、电子设备
CN110058962B (zh) 确定虚拟机快照的一致性级别的方法、设备和计算机程序产品
US20190325043A1 (en) Method, device and computer program product for replicating data block
WO2017113317A1 (fr) Procédé d'édition de fichier et éditeur de fichier
CN110674084A (zh) 用于数据保护的方法、设备和计算机可读存储介质
US8589454B2 (en) Computer data file merging based on file metadata
WO2019109514A1 (fr) Procédé, dispositif, appareil électronique et support de sauvegarde de fiche de données
WO2016177075A1 (fr) Procédé de vérification de relation associative des données de service, dispositif et support d'informations lisible utilisant ce dernier
US10877992B2 (en) Updating a database
CN113591434A (zh) 一种ofd文档合并携带语义标引信息的方法
US8161023B2 (en) Inserting a PDF shared resource back into a PDF statement
CN111753141B (zh) 一种数据管理方法及相关设备
CN112231288A (zh) 日志存储方法和装置、介质
CN110929472A (zh) 一种文档编辑的方法、装置、计算机存储介质及终端
CN111444194B (zh) 一种块链式账本中索引的清除方法、装置及设备
CN114328552A (zh) 数据库的管理方法、***及计算机可读介质
CN109740027B (zh) 数据交换方法、装置、服务器和存储介质
CN113505153A (zh) 一种基于iOS***的备忘录备份方法和相关设备
US9052906B2 (en) Modularized customization of a model in a model driven development environment
CN112052655A (zh) 一种页面处理的方法、装置、计算机存储介质及终端
CN110688664A (zh) 一种块链式账本中的权限管理方法、装置及设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20950130

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20950130

Country of ref document: EP

Kind code of ref document: A1