A data processing method and system

By encoding optical storage file data and storing mapping relationships, it solves the problems of insufficient data redundancy and difficulty in independent reading in existing optical storage technology, achieves efficient recovery and independent storage utilization of file data, and satisfies high-end requirements. safety and long-term storage needs.

CN112948335BActive Publication Date: 2024-09-06BEIJING STARSHINE DIGITAL SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110204235.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-23
Publication Date
2024-09-06
Estimated Expiration
2041-02-23

AI Technical Summary

Technical Problem

In the existing optical storage technology, the lack of data redundancy information makes the file data unrecoverable, and the striped storage cannot be read independently after being separated from the system, which cannot meet the needs of high security and long-term data storage.

Method used

By obtaining at least two original files of data to be stored and encoding them, the verification data and mapping relationship data are generated and stored in different memories respectively, ensuring that the file content can be restored and the directory structure intact when the data is damaged.

Benefits of technology

It achieves fault tolerance and independent storage utilization of file data, ensuring data security and long-term storage reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112948335B
    Figure CN112948335B
Patent Text Reader

Abstract

The embodiment of the present invention discloses a data processing method and system, the method comprising: obtaining at least two file data originals to be stored as a file data original set, encoding the file data original set, and obtaining file verification data corresponding to the file data original set; establishing mapping relationship data according to the file data original set and the file verification data; storing the file data original set in a first memory, and storing the file verification data and the mapping relationship data in a second memory; wherein the first memory is different from the second memory. The embodiment of the present invention can achieve the effect that when the file data original is damaged, data can be recovered through the file verification data, and the directory structure and file data content of the memory can be kept unaffected, and a single memory can be used for independent storage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of computer technology, and in particular, to a data processing method and system. Background Art

[0002] Optical storage technology stores information by irradiating a medium with laser. The interaction between the laser and the medium causes the properties of the medium to change.

[0003] In the existing optical storage field, the following two methods are usually used to store and read data: 1) Each optical disc is individually recorded and read. 2) Data is stored in a striped manner on multiple optical discs, and these optical discs are recorded and read as a whole. Summary of the invention

[0004] The embodiments of the present application disclose a data processing method, device, electronic device and medium to solve the problem in the prior art that, on the basis of setting redundant information to restore damaged original file data, the directory structure and data content of the original file data cannot be guaranteed to be unaffected.

[0005] In a first aspect, an embodiment of the present invention provides a data processing method, including:

[0006] Acquire at least two file data originals to be stored as a file data original set, and encode the file data original set to obtain file verification data corresponding to the file data original set;

[0007] Establishing mapping relationship data according to the file data original text set and the file verification data;

[0008] The file data original text set is stored in a first memory, and the file verification data and the mapping relationship data are stored in a second memory; wherein the first memory is different from the second memory.

[0009] In a second aspect, an embodiment of the present invention provides a data processing system, including:

[0010] A file verification data generation module, used to obtain at least two file data originals to be stored as a file data original set, and encode the file data original set to obtain file verification data corresponding to the file data original set;

[0011] A mapping relationship data establishment module, used to establish mapping relationship data according to the file data original text set and the file verification data;

[0012] A data storage module is used to store the file data original text set in a first memory, and store the file verification data and the mapping relationship data in a second memory; wherein the first memory is different from the second memory.

[0013] The embodiments of the present invention can achieve the effect that when the original file data is damaged, data recovery can be performed through file verification data, and the directory structure and file data content of the memory can be kept unaffected, and a single memory can be independently stored and utilized. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present invention and should not be regarded as limiting the scope. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made on the basis of the above description. It is not necessary and impossible to list all the implementation methods here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of protection of the claims of the present invention.

[0015] Figure 1 is a flow chart of a data processing method provided by Embodiment 1 of the present invention;

[0016] Figure 2 A flowchart of a data processing method provided in Embodiment 2 of the present invention;

[0017] Figure 3 A flowchart of a data processing method provided in Embodiment 3 of the present invention;

[0018] Figure 4 A structural diagram of a data processing system provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0019] The embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the embodiments of the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only structures related to the embodiments of the present invention are shown in the accompanying drawings, rather than all structures.

[0020] During the research and development process, the applicant discovered that in the existing optical storage field, the following two methods are usually used to store and read data:

[0021] 1) Data is recorded and read on each disc separately. Each disc is independent and has no relation with each other.

[0022] 2) Based on RAID technology, data is stored in a striped manner in a group of multiple optical discs, which are treated as a whole and data is burned and read together on the same group of optical discs.

[0023] However, the applicant has found that the above two methods have the following disadvantages:

[0024] The disadvantage of method 1) is that no data redundancy information is set. If a disc is damaged or a file in the disc cannot be read, the data will be lost and cannot be recovered because there is no data redundancy information.

[0025] Method 2) Although some damaged CDs or some files on a CD can be recovered from the data redundant information stored in other CDs in the same group, since a single CD stores striped information of the file, once it is out of the CD library system, the single CD cannot be normally read and used on general equipment. This cannot be used in some archiving applications or occasions with high requirements for long-term data security. Moreover, if the CD damage rate exceeds the redundancy setting, the data of the entire group of CDs will be lost.

[0026] Embodiment 1

[0027] Figure 1 1 is a flow chart of a data processing method provided by the first embodiment of the present invention. This embodiment is applicable to the case where the data to be stored is recorded on an optical disc. The method can be executed by the data processing system provided by the embodiment of the present invention and implemented by a software algorithm. Figure 1 As shown, the method may include:

[0028] S101. Acquire at least two file data originals to be stored as a file data original set, and encode the file data original set to obtain file verification data corresponding to the file data original set.

[0029] The data format of the original file data includes but is not limited to text data, image data, video data, audio data, etc. The file verification data can be used to recover the corresponding original file data.

[0030] In one embodiment, first, the file data to be stored allocated to each memory is determined based on the total data volume of the file data to be stored and the available storage space of a single memory. The allocation principle includes, but is not limited to: each file data is not stored across memories. Then, the original file data to be stored is obtained from the data source, and at least two original file data to be stored are obtained from the original file data to be stored as a set of original file data, and the set of original file data is encoded using a preset encoding algorithm to obtain file verification data corresponding to the set of original file data. The number of original file data in the set of original file data is at least two and at most the total number of original file data.

[0031] Optionally, this embodiment uses an XOR encoding method to encode the file data original text set. Exemplarily, assuming that the file data original text set includes file data original A, file data original B, and file data original C, where file data original A is "100101", file data original B is "101001", and file data original C is "010110", then the file verification data of the file data original text set is: 100101 xor 101001 xor 010110=011010, where "xor" is an XOR operation.

[0032] By acquiring at least two file data originals to be stored as a file data original set, and encoding the file data original set, file verification data corresponding to the file data original set is obtained, thereby achieving the effect of generating file verification data corresponding to the file data original set, and laying a foundation for subsequent data recovery of any file data original in the file data original set.

[0033] S102: Establish mapping relationship data according to the file data original text set and the file verification data.

[0034] The mapping relationship data reflects the corresponding relationship between the file data original text set and the file verification data, that is, if any file data original text in the file data original text set is known, the file verification data corresponding to the file data original text can be determined based on the mapping relationship data.

[0035] In one embodiment, a data mapping executable program pre-written by a user is obtained, wherein the data mapping executable program is written in an assembly language including but not limited to NODE.JS, JAVA or C++, and a file data original text set and file verification data are input as parameter variables into the data mapping executable program, and mapping relationship data is output.

[0036] In another implementation, a Key-Value pair is established based on the file data original text set and the file verification data, and the established Key-Value pair is used as mapping relationship data.

[0037] By establishing mapping relationship data based on the file data original text set and the file verification data, the file verification data corresponding to any file data original text in the file data original text set can be determined based on the mapping relationship data, laying a foundation for subsequent data recovery.

[0038] S103, storing the file data original text set in a first memory, and storing the file verification data and the mapping relationship data in a second memory; wherein the first memory is different from the second memory.

[0039] The memory includes but is not limited to an optical disk, a magnetic disk or any other device with data storage function.

[0040] In one embodiment, when the memory is an optical disc, the original set of file data is burned into a first optical disc, and the file verification data is burned into a second optical disc in the form of a verification file, and the mapping relationship data is burned into the second optical disc in the form of an index file. The verification file can be split into one or more according to a preset file size. The number of the first optical disc and the second optical disc is at least one, wherein the specific number of the second optical disc can be determined according to the redundancy level corresponding to the original file data, and the redundancy level is determined by the importance of the original file data, and optionally includes six levels from level 1 to level 6. The higher the redundancy level, the more second optical discs are burned corresponding to the original file data, thereby improving the security of the original file data by burning multiple backups.

[0041] The first optical disc and the second optical disc are different optical discs and are independent of each other. The first optical disc can be used alone and data can be read independently.

[0042] By storing a set of original file data in a first memory, and storing file verification data and mapping relationship data in a second memory; wherein the first memory is different from the second memory, when the original file data in the first memory is damaged, data recovery can be performed through the file verification data in the second memory, and the memory directory structure and original data content can be kept unaffected and a single memory can be used for independent storage.

[0043] The technical solution provided by the embodiment of the present invention obtains at least two file data originals to be stored as a file data original set, encodes the file data original set, obtains file verification data corresponding to the file data original set, and establishes mapping relationship data based on the file data original set and the file verification data, and then stores the file data original set in a first memory, and stores the file verification data and the mapping relationship data in a second memory. This achieves the effect that when any file data original in any file data original set in the first memory is damaged, the file data original can be restored based on the mapping relationship data and the file verification data stored in the second memory. Moreover, since the first memory is different from the second memory, and the data storage is not in a striped manner, the memories are independent of each other, thereby also achieving the effect of keeping the memory directory structure and the original data content unaffected and being able to be used separately.

[0044] Embodiment 2

[0045] Figure 2 This is a flow chart of a data processing method provided in Embodiment 2 of the present invention. This embodiment is further optimized and expanded based on the above technical solution, and can be combined with the above optional implementation methods, such as Figure 2 As shown, the method may include:

[0046] S201. Acquire at least two file data originals to be stored as a file data original set, and encode the file data original set to obtain file verification data corresponding to the file data original set.

[0047] S202: Acquire original text identification information of each file data original text in the file data original text set, and verification identification information of the file verification data.

[0048] Among them, the technicians assign corresponding original text identification information to each file data original in the data source, and the original text identification information is unique, that is, one file data original only corresponds to one original text identification information. After generating the file verification data corresponding to the file data original set, the technicians also assign corresponding verification identification information to each file verification data, and the verification identification information is also unique, that is, one file verification data only corresponds to one verification identification information.

[0049] In one embodiment, while obtaining the document data original text set, the original text identification information assigned by the technician to each document data original text in the document data original text set is obtained. After obtaining the document verification data corresponding to the document data original text set, the verification identification information assigned by the technician to it is obtained.

[0050] S203, using the original text identification information of the original text of each file data as a keyword and the verification identification information as a value, establishing a key-value pair between the original text identification information of the original text of each file data and the verification identification information, and using the key-value pair as the mapping relationship data.

[0051] Among them, the key-value pair is Key-Value storage, Key is the keyword, Value is the value, and each keyword Key corresponds to a unique value Value. That is, according to any keyword, the corresponding value can be retrieved based on Key-Value storage.

[0052] In one implementation, the original text identification information of each file data original in the file data original text set is used as the Key, and the verification identification information of the file data original text set is used as the Value, a key-value pair Key-Value is established between each original text identification information and the verification identification information, and the key-value pair Key-Value is used as mapping relationship data.

[0053] For example, assuming that the original text identification information of each file data original in the file data original text set is "000001", "000002" and "000003", and the verification identification information is "123456", then "000001", "000002" and "000003" are used as keywords Key, and "123456" is used as the value Value, and Key-Value pairs of "000001-123456", "000002-123456" and "000003-123456" are established respectively.

[0054] S204: Store the original set of file data in a first memory, and store the mapping relationship data in a second memory.

[0055] In one implementation, each file data original text in the file data original text set is stored in association in a first memory, and the mapping relationship data is stored in a second memory in the form of an index file.

[0056] Optionally, “storing the original set of file data in a first memory” in S204 includes:

[0057] Each file data original in the file data original set is associated with its corresponding original text identification information and stored in the first memory.

[0058] Exemplarily, assuming that the file data originals "100101", "101001" and "010110" included in the file data original set respectively correspond to original text identification information "000001", "000002" and "000003", then the file data original "100101" and the original text identification information "000001", the file data original "101001" and the original text identification information "000002", and the file data original "010110" and the original text identification information "000003" are respectively stored in association in the first memory.

[0059] S205: Store the file verification data and its corresponding verification identification information in association with each other in the second memory.

[0060] In one implementation, the file verification data and the corresponding verification identification information are stored in the second memory in the form of a verification file, and the file verification data and the corresponding verification identification information are stored in association with each other in the verification file.

[0061] The technical solution provided by the embodiment of the present invention obtains the original text identification information of each file data original in the file data original text set, and the verification identification information of the file verification data, takes the original text identification information of each file data original as the keyword, and takes the verification identification information as the value, establishes a key-value pair between the original text identification information and the verification identification information of each file data original, and takes the key-value pair as mapping relationship data, thereby achieving the effect of establishing a mapping relationship between the original text identification information and the verification identification information, laying a foundation for subsequently determining the corresponding verification identification information according to the original text identification information; by associating and storing the file verification data and its corresponding verification identification information in the second memory, laying a foundation for subsequently determining the corresponding file verification data according to the verification identification information.

[0062] Embodiment 3

[0063] Figure 3 This is a flow chart of a data processing method provided by Embodiment 3 of the present invention. This embodiment is applicable to the case where data is recovered from damaged original file data, such as Figure 3 As shown, the method may include:

[0064] S301. Determine, according to the identification information of the original text to be recovered in the data recovery instruction, a set of file data original texts to which the identification information of the original text to be recovered in the first memory belongs, and obtain, from the set of file data original texts, file data original texts corresponding to the identification information of the original text other than the identification information of the original text to be recovered.

[0065] In one embodiment, if the data reading device detects that the first memory is damaged, it obtains the original text identification information to be recovered, and based on the original text identification information to be recovered, searches the first memory for a file data original text set containing the original text identification information to be recovered, and then obtains the file data original text corresponding to other original text identification information in the file data original text set except the original text identification information to be recovered.

[0066] For example, assuming that the file data original text set to which the original text identification information "000001" to be restored belongs includes three original text identification information "000001", "000002" and "000003", and the file data original texts corresponding to the original text identification information "000002" and "000003" are "101001" and "010110" respectively, then "000002" and "000003" are used as other original text identification information, and "101001" and "010110" are used as the corresponding file data original texts.

[0067] S302: According to the identification information of the original text to be restored, obtain from the second memory the verification data of the file to be restored corresponding to the identification information of the original text to be restored.

[0068] In one implementation, based on the identification information of the original text to be restored, and the mapping relationship data and the file verification data stored in the second memory, the file verification data to be restored corresponding to the identification information of the original text to be restored is obtained from the second memory.

[0069] Optionally, “obtaining from the second memory the verification data of the file to be restored corresponding to the identification information of the original text to be restored” in S302 includes the following two steps A and B:

[0070] A. Determine the verification identification information to be restored corresponding to the original text identification information to be restored according to the original text identification information to be restored and the mapping relationship data stored in the second memory.

[0071] In one implementation, the original text identification information to be restored is used as a search term, and a matching search is performed in the mapping relationship data of the index file stored in the second memory to determine the verification identification information to be restored that has a mapping relationship with the original text identification information to be restored.

[0072] Optionally, step A includes:

[0073] The original text identification information to be restored is used as a search keyword to perform a search and match in the key-value pair between the original text identification information and the verification identification information; the target original text identification information that matches the original text identification information to be restored is determined, and the value corresponding to the target original text identification information is used as the verification identification information to be restored corresponding to the original text identification information to be restored.

[0074] Exemplarily, assuming that the original text identification information to be restored is "100001", "100001" is used as the search keyword to search and match the Key-Value key-value pairs stored in the second memory. If there is a Key-Value key-value pair of "100001-100005", "100005" is used as the verification identification information to be restored corresponding to the original text identification information "100001" to be restored.

[0075] By using the original text identification information to be restored as the search keyword, a search and match is performed in the key-value pair between the original text identification information and the verification identification information; the target original text identification information that matches the original text identification information to be restored is determined, and the value corresponding to the target original text identification information is used as the verification identification information to be restored corresponding to the original text identification information to be restored, thereby achieving the effect of determining the verification identification information to be restored corresponding to the original text identification information to be restored based on the pre-stored key-value pair.

[0076] B. According to the to-be-restored verification identification information, obtain from the second memory the to-be-restored file verification data corresponding to the to-be-restored original text identification information.

[0077] In one implementation, the verification identification information to be restored is used as a search term to perform a matching search in the verification file stored in the second memory, and the file verification data corresponding to the verification identification information to be restored is used as the file verification data to be restored corresponding to the verification identification information to be restored.

[0078] Optionally, step B includes:

[0079] According to the associated storage relationship between the file verification data and the verification identification information in the second memory, the file verification data associated with the verification identification information to be restored is used as the file verification data to be restored corresponding to the original text identification information to be restored.

[0080] For example, assuming that the verification identification information to be restored is "100005", and the file verification data stored in the verification file of the second memory in association with the verification identification information "100005" is "010110", then "010110" will be used as the file verification data to be restored corresponding to the verification identification information to be restored "100005".

[0081] By using the file verification data associated with the verification identification information to be restored as the file verification data to be restored corresponding to the original text identification information to be restored based on the associated storage relationship between the file verification data and the verification identification information in the second memory, the effect of determining the file verification data to be restored corresponding to the original text identification information to be restored is achieved.

[0082] S303: Perform data recovery on the original file data to be recovered corresponding to the original text identification information to be recovered according to the file verification data to be recovered and the original file data corresponding to the other original text identification information.

[0083] In one implementation, if the file verification data to be recovered is obtained based on XOR encoding, the file verification data to be recovered and the original file data corresponding to other original identification information are XOR-encoded, and the result is used as the original file data to be recovered corresponding to the original identification information to be recovered.

[0084] Exemplarily, assuming that the verification data of the file to be recovered is "011010", and the original file data corresponding to other original identification information are "101001" and "010110" respectively, then the original file data to be recovered is: 011010 xor 101001 xor010110=100101, where "xor" is an exclusive OR operation.

[0085] The technical solution provided by the embodiment of the present invention determines the file data original text set to which the original text identification information to be recovered belongs in the first memory according to the original text identification information to be recovered in the data recovery instruction, obtains the file data original texts corresponding to the original text identification information other than the original text identification information to be recovered from the file data original text set, and obtains the file verification data to be recovered corresponding to the original text identification information to be recovered from the second memory according to the original text identification information to be recovered, and then performs data recovery on the file data original text to be recovered corresponding to the original text identification information to be recovered according to the file verification data to be recovered and the file data original text corresponding to the original text identification information to be recovered, thereby achieving the effect of data recovery of the file data original text to be recovered, thereby improving the fault tolerance and security of data storage.

[0086] Embodiment 4

[0087] Figure 4 This is a structural diagram of a data processing system provided in Embodiment 4 of the present invention. The data processing system can execute a data processing method provided in any embodiment of the present invention and has functional modules and beneficial effects corresponding to the execution method. Figure 4 As shown, the device may include:

[0088] The file verification data generating module 41 is used to obtain at least two file data originals to be stored as a file data original set, and encode the file data original set to obtain file verification data corresponding to the file data original set;

[0089] A mapping relationship data establishing module 42, used to establish mapping relationship data according to the file data original text set and the file verification data;

[0090] The data storage module 43 is used to store the file data original text set in a first memory, and store the file verification data and the mapping relationship data in a second memory; wherein the first memory is different from the second memory.

[0091] Based on the above embodiment, the mapping relationship data establishing module 42 is specifically used for:

[0092] Obtaining original text identification information of each file data original text in the file data original text set, and verification identification information of the file verification data;

[0093] The original identification information of the original text of each file data is used as a keyword, and the verification identification information is used as a value, a key-value pair between the original identification information of the original text of each file data and the verification identification information is established, and the key-value pair is used as the mapping relationship data.

[0094] Based on the above embodiment, the data storage module 43 is specifically used for:

[0095] Each file data original in the file data original set is associated with its corresponding original text identification information and stored in the first memory.

[0096] Based on the above embodiment, the data storage module 43 is further used for:

[0097] The file verification data and its corresponding verification identification information are stored in association in the second memory.

[0098] Based on the above embodiment, the system further includes a data recovery module, which is specifically used for:

[0099] According to the identification information of the original text to be restored in the data restoration instruction, determine the set of file data original texts to which the identification information of the original text to be restored belongs in the first memory, and obtain the file data original texts corresponding to the other original text identification information except the identification information of the original text to be restored from the set of file data original texts;

[0100] According to the identification information of the original text to be restored, obtaining from the second memory the verification data of the file to be restored corresponding to the identification information of the original text to be restored;

[0101] According to the to-be-recovered file verification data and the original file data corresponding to the other original text identification information, data recovery is performed on the to-be-recovered file data original corresponding to the to-be-recovered original text identification information.

[0102] Based on the above embodiment, the data recovery module is further used for:

[0103] Determine, according to the to-be-restored original text identification information and the mapping relationship data stored in the second memory, the to-be-restored verification identification information corresponding to the to-be-restored original text identification information;

[0104] According to the to-be-restored verification identification information, the to-be-restored file verification data corresponding to the to-be-restored original text identification information is obtained from the second memory.

[0105] Based on the above embodiment, the data recovery module is further used for:

[0106] Using the original text identification information to be restored as a search keyword, searching and matching the key-value pair between the original text identification information and the verification identification information;

[0107] Target original text identification information matching the to-be-restored original text identification information is determined, and a value corresponding to the target original text identification information is used as to-be-restored verification identification information corresponding to the to-be-restored original text identification information.

[0108] Based on the above embodiment, the data recovery module is further used for:

[0109] According to the associated storage relationship between the file verification data and the verification identification information in the second memory, the file verification data associated with the verification identification information to be restored is used as the file verification data to be restored corresponding to the original text identification information to be restored.

[0110] A data processing system provided in an embodiment of the present invention can execute a data processing method provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to a data processing method provided in any embodiment of the present invention.

[0111] Embodiment 5

[0112] Embodiment 5 of the present invention further provides a computer-readable storage medium, wherein the computer-executable instructions are used to execute a data processing method when executed by a computer processor, the method comprising:

[0113] Acquire at least two file data originals to be stored as a file data original set, and encode the file data original set to obtain file verification data corresponding to the file data original set;

[0114] Establishing mapping relationship data according to the file data original text set and the file verification data;

[0115] The file data original text set is stored in a first memory, and the file verification data and the mapping relationship data are stored in a second memory; wherein the first memory is different from the second memory.

[0116] Of course, a storage medium provided by an embodiment of the present invention, whose computer executable instructions are not limited to the method operations described above, can also perform related operations in a data processing method provided by any embodiment of the present invention. The optical disc of an embodiment of the present invention can adopt any combination of one or more computer-readable media. More specific examples of computer-readable storage media (a non-exhaustive list) include but are not limited to: CD, DVD, BD optical disc and magnetic disk, etc. In this document, a computer-readable storage medium can also be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, apparatus or device.

[0117] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Node.js, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0118] Note that the above are only preferred embodiments of the present invention and the technical principles used. Users in the field will understand that the present invention is not limited to the specific embodiments described here, and users in the field can make various obvious changes, readjustments and substitutions without departing from the scope of protection of the present invention. Therefore, although the present invention is described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may also include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the attached claims.

Claims

1. A data processing method, It is characterized in that include: Acquire at least two file data originals to be stored as a file data original set, and encode the file data original set to obtain file verification data corresponding to the file data original set; Establishing mapping relationship data according to the file data original text set and the file verification data; The file data original text set is stored in a first memory, and the file verification data and the mapping relationship data are stored in a second memory; wherein the first memory is different from the second memory; The storing the file verification data in a second memory comprises: The file verification data and its corresponding verification identification information are stored in association in the second memory.

2. The method according to claim 1, It is characterized in that Establishing mapping relationship data according to the file data original text set and the file verification data includes: Obtaining original text identification information of each file data original text in the file data original text set, and verification identification information of the file verification data; The original identification information of the original text of each file data is used as a keyword, and the verification identification information is used as a value, a key-value pair between the original identification information of the original text of each file data and the verification identification information is established, and the key-value pair is used as the mapping relationship data.

3. The method according to claim 2, It is characterized in that Storing the original set of file data in a first memory includes: Each file data original in the file data original set is associated with its corresponding original text identification information and stored in the first memory.

4. The method according to claim 3, It is characterized in that After storing the original set of file data in the first memory and storing the file verification data and the mapping relationship data in the second memory, the method further includes: According to the identification information of the original text to be restored in the data restoration instruction, determine the set of file data original texts to which the identification information of the original text to be restored belongs in the first memory, and obtain the file data original texts corresponding to the other original text identification information except the identification information of the original text to be restored from the set of file data original texts; According to the identification information of the original text to be restored, obtaining from the second memory the verification data of the file to be restored corresponding to the identification information of the original text to be restored; According to the to-be-recovered file verification data and the original file data corresponding to the other original text identification information, data recovery is performed on the to-be-recovered file data original corresponding to the to-be-recovered original text identification information.

5. The method according to claim 4, It is characterized in that Acquiring from the second memory the to-be-restored file verification data corresponding to the to-be-restored original text identification information, comprising: Determine, according to the to-be-restored original text identification information and the mapping relationship data stored in the second memory, the to-be-restored verification identification information corresponding to the to-be-restored original text identification information; According to the to-be-restored verification identification information, the to-be-restored file verification data corresponding to the to-be-restored original text identification information is obtained from the second memory.

6. The method according to claim 5, It is characterized in that Determining the to-be-restored verification identification information corresponding to the to-be-restored original text identification information according to the to-be-restored original text identification information and the mapping relationship data stored in the second memory includes: Using the original text identification information to be restored as a search keyword, searching and matching the key-value pair between the original text identification information and the verification identification information; Target original text identification information matching the to-be-restored original text identification information is determined, and a value corresponding to the target original text identification information is used as to-be-restored verification identification information corresponding to the to-be-restored original text identification information.

7. The method according to claim 5, It is characterized in that According to the to-be-restored verification identification information, obtaining from the second memory the to-be-restored file verification data corresponding to the to-be-restored original text identification information, including: According to the associated storage relationship between the file verification data and the verification identification information in the second memory, the file verification data associated with the verification identification information to be restored is used as the file verification data to be restored corresponding to the original text identification information to be restored.

8. A data processing system, It is characterized in that include: A file verification data generation module, used to obtain at least two file data originals to be stored as a file data original set, and encode the file data original set to obtain file verification data corresponding to the file data original set; A mapping relationship data establishment module, used to establish mapping relationship data according to the file data original text set and the file verification data; A data storage module, used for storing the original set of file data in a first memory, and storing the file verification data and the mapping relationship data in a second memory; wherein the first memory is different from the second memory; The data storage module is further used for: The file verification data and its corresponding verification identification information are stored in association in the second memory.

9. The system according to claim 8, It is characterized in that The mapping relationship data establishment module is specifically used for: Obtaining original text identification information of each file data original text in the file data original text set, and verification identification information of the file verification data; The original identification information of the original text of each file data is used as a keyword, and the verification identification information is used as a value, a key-value pair between the original identification information of the original text of each file data and the verification identification information is established, and the key-value pair is used as the mapping relationship data.