Big data hybrid storage system and method and readable storage medium
By combining local block storage and object storage in the big data storage system, automatic data routing and synchronization is realized, which solves the problems of high storage cost and insufficient performance in the existing technology, and achieves cost reduction and performance improvement of big data storage. .
Patent Information
- Application Number
- CN202411161022.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-09-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing big data storage technology can only store data in one file system and cannot fully utilize the strengths of each storage service to complement each other, resulting in high storage costs and unguaranteed performance.
Provide a big data hybrid storage system that combines a file system based on local block storage and a file system based on object storage. Data is automatically routed, read and written through the hybrid storage protocol, and audit logs are parsed through the data synchronization server to obtain files. Using statistical information, scheduled tasks scan file list differences and decide whether to synchronize active data mirrors to the object storage system.
It achieves stable operation of batch jobs in actual big data application scenarios, reduces storage costs, reduces object storage access pressure, and ensures a balance between data storage costs and access performance.
Smart Images

Figure CN118694775A
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data storage technology, and in particular to a big data hybrid storage system, method and readable storage medium. Background Art
[0002] In the current big data storage technology solution, data only exists in one storage service, and it is impossible to fully utilize the strengths of each storage service to form a complementary relationship. For example, the HDFS file system is based on local block storage, which has better performance, but higher storage costs. The JuiceFS file system is based on object storage, which has low storage costs but cannot run a large number of concurrent jobs, has poor IO performance, and is suitable for batch reading and writing. In actual big data scenarios, active data accounts for a small proportion. If data is only stored in the HDFS file system, the storage cost is high. If data is only stored in object storage, its performance cannot be guaranteed.
[0003] Regarding the problem that in related technologies, big data storage technology can only store data in one file system and cannot fully utilize the strengths of various storage services to form complementarity, no effective solution has been proposed so far. Summary of the invention
[0004] Based on this, it is necessary to provide a big data hybrid storage system, method and readable storage medium to address the above technical problems.
[0005] In a first aspect, an embodiment of the present application provides a big data hybrid storage system, the system comprising: A first file system based on local block storage, for storing active data; A second file system based on object storage for storing inactive data; A hybrid storage protocol terminal, used for automatically routing data reading and writing to the first file system and the second file system; A data synchronization server is used to parse the audit log of the first file system to obtain file usage statistics; and to start a scheduled task to scan the first file system and the second file system to obtain the corresponding first file list and second file list; based on the file usage statistics and the difference between the first file list and the second file list, determine whether to synchronize the data mirror in the first file system to the second file system.
[0006] In one embodiment, the hybrid storage protocol end includes: A data writing module, used for writing newly added data into the first file system; The data reading module is used to return the corresponding file list and file content based on the data reading request initiated by the user.
[0007] In one embodiment, the data reading module includes: A file information reading module, configured to obtain a first file list of the first file system and a second file list of the second file system after protocol conversion, obtain a union of files of directory type in the first file list and the second file list and return the union, and return a file list of files of file type in the first file list; The file content reading module is used to read the corresponding file in the first file system after protocol conversion; if the file does not exist in the first file system, read the corresponding file in the second file system.
[0008] In one embodiment, the hybrid storage protocol terminal further includes: The data deletion module is used to delete files in the first file system and the second file system at the same time after protocol conversion based on a data deletion request initiated by a user.
[0009] In one embodiment, the data synchronization server includes: A parsing module, used for parsing the audit log of the first file system to obtain file usage statistics in the first file system; A scanning and comparing module, used to start a scheduled task, scan the first file system and the second file system, obtain corresponding file lists, and compare the differences between the file lists of the first file system and the second file system; The synchronization module is used to determine whether to synchronize the data in the first file system to the second file system based on the file usage statistics in the first file system and the difference in the file lists between the first file system and the second file system.
[0010] In one embodiment, the synchronization module is further used for: If the usage frequency of the files in the first file system is higher than a preset value, the files in the first file system are synchronized to the second file system, and the corresponding files in the first file system are deleted.
[0011] In one embodiment, the synchronization module is further used for: If the files in the first file system are not stored in the second file system, the files in the first file system are synchronized to the second file system.
[0012] In one embodiment, the second file system is a JuiceFS file system or a JindoData file system.
[0013] In a second aspect, an embodiment of the present application further provides a big data hybrid storage method, which is applied to the system as described in the first aspect above, and the method includes: Based on the data synchronization service, the audit log of the first file system is parsed to obtain file usage statistics; and a scheduled task is started to scan the first file system and the second file system to obtain the corresponding first file list and second file list; Based on the file usage statistics and the difference between the first file list and the second file list, it is determined whether to synchronize the data mirror in the first file system to the second file system by using the data synchronization service.
[0014] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program, when executed by a processor, implements the method described in the second aspect above.
[0015] The above-mentioned big data hybrid storage system, method and readable storage medium, wherein the big data hybrid storage system includes a first file system, a second file system based on object storage, a hybrid storage protocol end, and a data synchronization server end, wherein the first file system is used to store active data; the second file system based on object storage is used to store inactive data; the hybrid storage protocol end is used to automatically route and read and write data for the first file system and the second file system; the data synchronization server end is used to parse the audit log of the first file system to obtain file usage statistics; and start a scheduled task to scan the first file system and the second file system to obtain the corresponding first file list and second file list; based on the file usage statistics and the difference between the first file list and the second file list, determine whether to synchronize the data mirror in the first file system to the second file system, which solves the problem that big data storage technology can only store data in one file system and cannot fully utilize the strengths of each storage service to form complementarity, realizes the stable operation of batch jobs in the actual application scenarios of big data and reduces the pressure on data storage costs, and reduces the pressure on object storage access.
[0016] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings: Figure 1 is a structural block diagram of a big data hybrid storage system in an embodiment; Figure 2 is a schematic diagram of a process of reading file information in a big data hybrid storage system in an embodiment; Figure 3 is a schematic diagram of a process of reading file content in a big data hybrid storage system in an embodiment; Figure 4 is a schematic diagram of a process of deleting files in a big data hybrid storage system in an embodiment; Figure 5 The figure is a flowchart of file synchronization in a big data hybrid storage system in an embodiment. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0019] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.
[0020] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0021] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantity limitation, and may indicate the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.
[0022] The big data hybrid storage system provided in the embodiment of the present application is mainly used in the field of big data offline data storage and is suitable for batch data processing scenarios. The big data hybrid storage system involves four key technical entities: a hybrid storage protocol end, a first file system, a second file system, and a data synchronization service end. Figure 1 It is a structural diagram of a big data hybrid storage system according to an embodiment of the present application, showing the relationship between the four.
[0023] Among them, the first file system is a file system based on local block storage, which is used to store active data; the second file system is a file system based on object storage, which is used to store inactive data; the hybrid storage protocol end is used to automatically route read and write data to the first file system and the second file system; the data synchronization server is used to parse the audit log of the first file system to obtain file usage statistics; and start a scheduled task to scan the first file system and the second file system to obtain the corresponding first file list and second file list; based on the file usage statistics and the difference between the first file list and the second file list, determine whether to synchronize the data mirror in the first file system to the second file system. Specifically, according to the file usage statistics, if it is found that the file usage frequency in the first file system is high, for example, higher than the preset value, the data synchronization server synchronizes the files in the first file system to the second file system and deletes the corresponding files in the first file system, which can alleviate the storage pressure of the first file system; and compare the difference between the first file list and the second file list. If it is found that the files in the first file system are not stored in the second file system, the data synchronization server synchronizes the files in the first file system to the second file system; by comparing the difference between the first file list and the second file list, the data synchronization server synchronizes the changed data in the first file system to the second file system.
[0024] The first file system is the HDFS (Hadoop Distributed File System) file system based on local block storage. HDFS is a highly fault-tolerant system suitable for deployment on cheap machines. HDFS can provide high-throughput data access and is very suitable for applications on large-scale data sets. It is also a synonym for a file system protocol.
[0025] The second file system is an object storage-based file system, such as the JuiceFS file system and the JindoData file system. The JuiceFS file system is an open source file system that can be built based on object storage. It is compatible with the HDFS file system and can be seamlessly connected to mainstream computing engines, providing unlimited storage space. The JindoData file system is a file system similar to JuiceFS and is a closed source file system developed by Alibaba Cloud.
[0026] In the big data batch processing scenario, data management is based on folders as the basic unit. The big data hybrid storage system of the embodiment of the present application also manages data based on folders, mainly including three operations: data writing, data synchronization, and data reading. Among them, the HDFS file system and the JuiceFS / JindoData file system are existing technical services for storing actual data. The hybrid storage system stores active data in the HDFS file system and inactive data in the file system based on object storage, ensuring that active data can be processed efficiently and avoiding unstable operation caused by excessive pressure on object storage. Since the HDFS file system only stores part of the data, the data storage cost is reduced. The hybrid storage protocol is compatible with various batch processing technology engines in the big data ecosystem, responsible for writing data to the HDFS file system and reading data from the HDFS file system or the file system based on object storage, realizing automatic routing reading and writing of data; the data writing operation is relatively simple, and can be directly written to the HDFS file system. The data synchronization server is responsible for synchronizing the data mirror of the HDFS file system to the JuiceFS / JindoData file system.
[0027] The central idea of the big data hybrid storage system designed by the present application is to store active data in the file system of local block storage and inactive data in the file system of object storage, so as to achieve a balance between storage cost and access performance. Through the file system protocol, data in different file systems can be accessed. The present application designs a data synchronization mechanism. The data synchronization service counts the file usage and decides whether the data is transferred to the object storage according to the data life cycle management strategy, so as to store the data in different storage media according to the life cycle and ensure the consistency of the data. It is the above two key technologies that constitute the hybrid storage system. The hybrid storage system stores data in media with different hardware costs, reduces storage costs, and minimizes access to object storage, avoiding access to object storage when a large number of batch jobs are running in parallel, thereby causing instability in batch jobs. The big data hybrid storage system of the present application can ensure the stable operation of batch jobs and reduce data storage costs in actual application scenarios of big data, and reduce the pressure of object storage access.
[0028] In one embodiment, the hybrid storage protocol terminal includes a data writing module and a data reading module. The data writing module is used to write the newly added data into the first file system; the data reading module is used to return the corresponding file list and file content based on the data reading request initiated by the user.
[0029] Specifically, the hybrid storage protocol end mainly implements automatic data routing reading and writing, including a data writing module and a data reading module. The data writing operation is relatively simple, and the newly added data is directly written to the HDFS file system. The data reading module is used to query and obtain the corresponding file list and file content in the HDFS file system and JuiceFS / JindoData file system through the hybrid storage protocol according to the data reading request initiated by the user, and return it through the hybrid storage protocol.
[0030] In one embodiment, the data reading module includes a file information reading module and a file content reading module, and a hybrid storage protocol terminal occurs. The file information reading module is used to obtain the first file list of the first file system and the second file list of the second file system after protocol conversion, and return the union of the files of the first file list and the second file list whose file types are directories, and return the file list of the first file list whose file types are files; the file content reading module is used to read the corresponding file in the first file system after protocol conversion; if the file does not exist in the first file system, the corresponding file in the second file system is read.
[0031] In a specific embodiment, Figure 2 As shown in the figure, the process of reading file information includes the following: after the hybrid storage protocol end undergoes protocol conversion, the mfs protocol (hybrid storage protocol) is converted into the HDFS protocol or the JuiceFS protocol, and the file lists in the HDFS and JuiceFS file systems are obtained at the same time. For the files in the file list whose file type is directory, the union set is merged, and for the files whose file type is file, only the information in the HDFS file system is retained, and finally the corresponding file list is returned through the hybrid storage protocol.
[0032] In a specific embodiment, Figure 3 As shown in the figure, the process of reading file content includes the following: after the hybrid storage protocol end undergoes protocol conversion, that is, converting the mfs protocol (hybrid storage protocol) into the HDFS protocol or the JuiceFS protocol, first determine whether the corresponding file content exists in the HDFS file system. If so, read the content information in the HDFS file system first. If the corresponding file content does not exist in the HDFS file system, read the corresponding file content from the JuiceFS file system, and finally return the corresponding file content through the hybrid storage protocol.
[0033] In one of the embodiments, the hybrid storage protocol end further includes a data deletion module, which is used to delete files in the first file system and the second file system at the same time after protocol conversion based on a data deletion request initiated by a user.
[0034] In this embodiment, the file deletion process occurs at the hybrid storage protocol end, such as Figure 4 As shown in the figure, when a user initiates a request to delete data, the hybrid storage protocol end deletes the files in the HDFS file system and the JuiceFS file system at the same time after protocol conversion, avoiding errors in the user's reading of file contents due to file inconsistency.
[0035] In one embodiment, the data synchronization server includes a parsing module, a scanning and comparison module, and a synchronization module. The parsing module is used to parse the audit log of the first file system to obtain the file usage statistics in the first file system; the scanning and comparison module is used to start a scheduled task, scan the first file system and the second file system, obtain the corresponding file list, and compare the differences in the file lists of the first file system and the second file system; the synchronization module is used to determine whether to synchronize the data in the first file system to the second file system based on the file usage statistics in the first file system and the differences in the file lists of the first file system and the second file system.
[0036] In this embodiment, the file synchronization process occurs on the data synchronization server side and is completed by the Sync service. Figure 5 As shown in the figure, the Sync service parses the audit logs in the HDFS file system, generates file usage statistics, starts a scheduled task to scan the HDFS file system and the JuiceFS file system, obtains the corresponding file lists, compares the differences, and decides whether to synchronize the data to the JuiceFS file system and whether to delete the files in the HDFS file system based on the file usage statistics and the differences.
[0037] In one of the embodiments, the synchronization module is also used to synchronize the files in the first file system to the second file system based on file usage statistics information, and delete the corresponding files in the first file system if it is found that the usage frequency of files in the first file system is high, for example, higher than a preset value. This can alleviate the storage pressure of the first file system.
[0038] In one of the embodiments, the synchronization module is also used to compare the differences between the first file list and the second file list. If it is found that the files in the first file system are not stored in the second file system, the data synchronization server synchronizes the files in the first file system to the second file system; by comparing the differences between the first file list and the second file list, the data synchronization server synchronizes the changed data in the first file system to the second file system.
[0039] Furthermore, the data synchronization service also decides whether to synchronize data to the JuiceFS file system and whether to delete files in the HDFS file system based on the data lifecycle management configuration.
[0040] The central idea of the big data hybrid storage system designed in this application is similar to the cache technology, such as JuiceFS / JindoData's cache technology, but has the following advantages: The cache technology is managed according to the cache elimination algorithm, which cannot manage the content that needs to be cached on demand, and cannot match the life cycle of the data; JuiceFS / JindoData also has independent cache clusters, but the independent cache clusters are separated from computing tasks, the computing is non-localized, and the performance is not as good as the HDFS cluster when processing active data; The data cache of JuiceFS / JindoData is a passive cache. If there is no corresponding data locally when the user uses the data for the first time, the data in the object storage will be downloaded to the local computer. The local cache can only be used when the data is used for the second time. In other words, the cache hit rate may not be high, and the performance is not as good as the HDFS cluster when processing active data.
[0041] Based on the same inventive concept, an embodiment of the present application also provides a big data hybrid storage method, which is applied to a big data hybrid storage system as described in any of the above embodiments, and the method includes the following contents: based on a data synchronization service, parsing the audit log of the first file system to obtain file usage statistics; and starting a scheduled task to scan the first file system and the second file system to obtain the corresponding first file list and second file list; based on the file usage statistics and the difference between the first file list and the second file list, determining whether to use the data synchronization service to synchronize the data mirror in the first file system to the second file system.
[0042] The big data hybrid storage method in this embodiment stores active data in the first file system and inactive data in the second file system based on object storage. The first file system is the HDFS file system, and the second file system is the JuiceFS file system or the JindoData file system. The hybrid storage protocol is used to automatically route and read and write data to the first file system and the second file system; the audit log of the first file system is parsed using the data synchronization service to obtain file usage statistics; and a scheduled task is started to scan the first file system and the second file system to obtain the corresponding first file list and second file list; based on the file usage statistics and the difference between the first file list and the second file list, it is determined whether to synchronize the data mirror in the first file system to the second file system.
[0043] Furthermore, the hybrid storage protocol is also used for data writing and data reading, including writing new data into the first file system; and returning a corresponding file list and file content based on a data reading request initiated by a user.
[0044] Furthermore, the hybrid storage protocol is also used to obtain a first file list of the first file system and a second file list of the second file system after protocol conversion, return the union of the files whose file types are directories in the first file list and the second file list, and return a file list whose file types are files in the first file list; Furthermore, the hybrid storage protocol is also used to read the corresponding file in the first file system after protocol conversion; if the file does not exist in the first file system, read the corresponding file in the second file system.
[0045] Furthermore, the hybrid storage protocol is also used to delete files in the first file system and the second file system at the same time after protocol conversion based on a data deletion request initiated by a user.
[0046] Furthermore, the data synchronization service is also used to parse the audit log of the first file system to obtain file usage statistics in the first file system; start a scheduled task to scan the first file system and the second file system, obtain corresponding file lists, and compare the differences in file lists between the first file system and the second file system; based on the file usage statistics in the first file system and the differences in file lists between the first file system and the second file system, determine whether to synchronize the data in the first file system to the second file system.
[0047] Furthermore, the data synchronization service is also used to synchronize the files in the first file system to the second file system and delete the corresponding files in the first file system when the usage frequency of the files in the first file system is higher than a preset value.
[0048] Furthermore, the data synchronization service is also used to synchronize the files in the first file system to the second file system when the files in the first file system are not stored in the second file system.
[0049] The big data hybrid storage method of the embodiment of the present application performs data management based on folders, and mainly includes three operations: data writing, data synchronization, and data reading. Among them, the HDFS file system and the JuiceFS / JindoData file system are existing technical services for storing actual data. The hybrid storage system stores active data in the HDFS file system and inactive data in the file system based on object storage, ensuring that active data can be processed efficiently, avoiding unstable operation caused by excessive pressure on object storage, and reducing data storage costs because the HDFS file system only stores part of the data. The hybrid storage protocol is compatible with various batch processing technology engines in the big data ecosystem, responsible for writing data to the HDFS file system and reading data from the HDFS file system or the file system based on object storage, realizing automatic routing reading and writing of data; wherein the data writing operation is relatively simple, and can be directly written to the HDFS file system. The data synchronization server is responsible for synchronizing the data mirror of the HDFS file system to the JuiceFS / JindoData file system.
[0050] The central idea of the big data hybrid storage method designed by the present application is to store active data in local block storage and inactive data in object storage, so as to achieve a balance between storage cost and access performance. Through the file system protocol, data in different file systems can be accessed. The present invention designs a data synchronization mechanism. The data synchronization service counts file usage and decides whether to transfer data to object storage according to the data lifecycle management strategy, so as to store data in different storage media according to the lifecycle and ensure data consistency. It is the above two key technologies that constitute the hybrid storage system. The hybrid storage system stores data in media with different hardware costs, reduces storage costs, and minimizes access to object storage, avoiding access to object storage when a large number of batch jobs are running in parallel, thereby causing instability in batch jobs. The big data hybrid storage system of the present application can ensure the stable operation of batch jobs and reduce data storage costs in actual application scenarios of big data, and reduce the pressure of object storage access.
[0051] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in any of the above-mentioned big data hybrid storage system embodiments are implemented.
[0052] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0053] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0054] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A big data hybrid storage system, characterized in that: The system comprises: A first file system based on local block storage, for storing active data; A second file system based on object storage for storing inactive data; A hybrid storage protocol terminal, used for automatically routing data reading and writing to the first file system and the second file system; A data synchronization server is used to parse the audit log of the first file system to obtain file usage statistics; and to start a scheduled task to scan the first file system and the second file system to obtain the corresponding first file list and second file list; based on the file usage statistics and the difference between the first file list and the second file list, determine whether to synchronize the data mirror in the first file system to the second file system.
2. The system according to claim 1, characterized in that The hybrid storage protocol end includes: A data writing module, used for writing newly added data into the first file system; The data reading module is used to return the corresponding file list and file content based on the data reading request initiated by the user.
3. The system according to claim 2, characterized in that The data reading module comprises: A file information reading module, configured to obtain a first file list of the first file system and a second file list of the second file system after protocol conversion, obtain a union of files whose file types are directories in the first file list and the second file list, and return a file list whose file types are files in the first file list; The file content reading module is used to read the corresponding file in the first file system after protocol conversion; if the file does not exist in the first file system, read the corresponding file in the second file system.
4. The system according to claim 1, characterized in that The hybrid storage protocol end also includes: The data deletion module is used to delete files in the first file system and the second file system at the same time after protocol conversion based on a data deletion request initiated by a user.
5. The system according to claim 1, characterized in that The data synchronization server includes: A parsing module, used for parsing the audit log of the first file system to obtain file usage statistics in the first file system; A scanning and comparing module, used to start a scheduled task, scan the first file system and the second file system, obtain corresponding file lists, and compare the differences between the file lists of the first file system and the second file system; The synchronization module is used to determine whether to synchronize the data in the first file system to the second file system based on the file usage statistics in the first file system and the difference in the file lists between the first file system and the second file system.
6. The system according to claim 5, characterized in that The synchronization module is also used for: If the usage frequency of the files in the first file system is higher than a preset value, the files in the first file system are synchronized to the second file system, and the corresponding files in the first file system are deleted.
7. The system according to claim 5, characterized in that The synchronization module is also used for: If the files in the first file system are not stored in the second file system, the files in the first file system are synchronized to the second file system.
8. The system according to claim 1, characterized in that The second file system is a JuiceFS file system or a JindoData file system.
9. A big data hybrid storage method, applied to the system according to any one of claims 1 to 8, characterized in that: The method comprises: Based on the data synchronization service, the audit log of the first file system is parsed to obtain file usage statistics; and a scheduled task is started to scan the first file system and the second file system to obtain the corresponding first file list and second file list; Based on the file usage statistics and the difference between the first file list and the second file list, it is determined whether to synchronize the data mirror in the first file system to the second file system by using the data synchronization service.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to claim 9 is implemented.
Citation Information
Patent Citations
Method of HDFS distributed and centralized hybrid data storage system based on hierarchical governance
CN108776690A
Hybrid storage system and self-adaptive backup method of files
CN112084156A
Hybrid storage system and method and medium
CN115390766A
Cited By
Big data hybrid storage system and method, and readable storage medium
WO2026040243A1
