Data processing method and device, equipment and storage medium

By employing a method of distributing data across multiple storage devices in a device interconnection system, and utilizing task execution sequence and storage instructions to progressively transfer data to server storage, the problems of information security and privacy leakage in device interconnection systems are solved, achieving secure data storage and retrieval of operation and maintenance data.

CN116305331BActive Publication Date: 2026-06-26CHINA UNITED NETWORK COMM GRP CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA UNITED NETWORK COMM GRP CO LTD
Filing Date
2022-09-05
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

The information security and user privacy of electronic devices in interconnected systems are at significant risk of being compromised, and existing encryption methods are prone to data leakage.

Method used

Data is distributed across multiple storage devices. Data is gradually transferred to server storage through task execution sequence and storage instructions. Incomplete data is stored in each storage device, making it impossible for codebreakers to obtain the complete data.

Benefits of technology

This improves data security, prevents hackers from obtaining complete device data, and ensures that maintenance personnel can access the data in the storage device normally.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116305331B_ABST
    Figure CN116305331B_ABST
Patent Text Reader

Abstract

The application provides a data processing method and device, equipment and storage medium, relates to the communication technical field, and is used for protecting the safety of storage information of an electronic device. The data processing method comprises the following steps: a second storage device receives a first storage message sent by a first storage device in multiple storage devices; the first storage message comprises storage indication, task execution sequence of the first storage device and first data. In the case that the task execution sequence of the second storage device is less than a preset threshold value, the second storage device stores the first data in response to the storage indication, and sends a second storage message to a third storage device in the multiple storage devices; the second storage message comprises storage indication, task execution sequence of the second storage device and second data. In the case that the task execution sequence of the second storage device is equal to the preset threshold value, the second storage device sends the second storage message to a server, so that the server stores the second data in response to the storage indication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and more particularly to a data processing method, apparatus, device, and storage medium. Background Technology

[0002] With the development of modern information, communication, computer, and control technologies, different devices can communicate, work collaboratively, and share resources, forming a device interconnection system. This system contains multiple electronic devices that can communicate with each other, including servers. In some cases, users can control other electronic devices within the device interconnection system through the server.

[0003] In interconnected device systems, information from each electronic device is typically stored using an encryption algorithm, either individually on the device itself or centrally encrypted on a server. When device information is stored separately on each device, decrypting each device allows access to its information; when stored on a server, decrypting the server allows access to the device information of all devices in the entire interconnected system. While interconnected device systems offer convenience and efficiency, they also pose significant risks to data security and user privacy. Summary of the Invention

[0004] This application provides a data processing method, apparatus, device, and storage medium for protecting the security of stored information in electronic devices and preventing the decoder from obtaining all data of the electronic device after it has been cracked.

[0005] To achieve the above objectives, this application adopts the following technical solution:

[0006] Firstly, a data processing method is provided, applied to a second storage device, which is not the first storage device among a plurality of storage devices to execute a data storage task. The data processing method includes: the second storage device receiving a first storage message sent by a first storage device among the plurality of storage devices; the first storage message includes a storage instruction, a task execution order of the first storage device, and first data, wherein the first data is data in the first storage device, and the task execution order is the order in which the storage devices execute the data storage task. Further, if the task execution order of the second storage device is less than a preset threshold, the second storage device, in response to the storage instruction, stores the first data and sends a second storage message to a third storage device among the plurality of storage devices; the second storage message includes a storage instruction, the task execution order of the second storage device, and second data, wherein the second data is data in the second storage device. If the task execution order of the second storage device is equal to the preset threshold, the second storage device sends a second storage message to a server, causing the server, in response to the storage instruction, to store the second data.

[0007] In the data processing method provided in this application, the first data of the first storage device in a plurality of storage devices is stored in the second storage device, the second data of the second storage device is stored in the third storage device, and so on, until the last storage device in the plurality of storage devices, which sends part or all of its stored data to the server for storage. In this way, the data stored in each storage device is incomplete, and a codebreaker cannot obtain the complete data of the current device by only deciphering the current device.

[0008] In one possible design, the first storage message further includes a device identifier of the first storage device and a first data address, where the first data address is the storage address of the first data in the first storage device. If the task execution order of the second storage device is less than a preset threshold, the data processing method further includes: the second storage device receiving a first recovery message sent by the third storage device; the first recovery message includes a recovery instruction, second data, and a second data address; the second data address is the storage address of the second data in the second storage device. Further, in response to the recovery instruction, the second storage device recovers its data based on the second data address and the second data, and sends a second recovery message to the first storage device based on the device identifier of the first storage device; the second recovery message includes a recovery instruction, first data, and a first data address, where the device identifier and the first data address are stored by the second storage device after receiving the first storage message. This design implements how to recover the stored data of multiple storage devices, excluding the last storage device executing the data storage task, so that maintenance personnel can normally retrieve data when they need to use the data within the storage devices.

[0009] In one possible scenario, the first storage message further includes a device identifier and a first data address for the first storage device, where the first data address is the storage address of the first data within the first storage device. If the task execution order of the second storage device equals a preset threshold, the data processing method further includes: the second storage device receiving a third recovery message from the server; the third recovery message includes a recovery instruction, second data, and a second data address; the second data address is the storage address of the second data within the second storage device, and the device identifier and second data address of the second storage device are stored by the server after receiving the second storage message. Further, in response to the recovery instruction, the second storage device recovers its data based on the second data address and the second data, and sends a second recovery message to the first storage device based on the device identifier of the first storage device; the second recovery message includes a recovery instruction, first data, and a first data address, and the device identifier and first data address of the first storage device are stored by the second storage device after receiving the first storage message. This design implements how to recover the stored data of the last storage device to perform a data storage task among multiple storage devices, enabling maintenance personnel to retrieve data normally when needed.

[0010] In one possible design, each of the aforementioned multiple storage devices stores multiple data segments at different addresses; the first data in the first storage message includes at least one of the multiple data segments at different addresses in the first storage device.

[0011] In one possible design, the second storage message may also include a replacement identifier, which indicates whether the second data in the second storage message is empty.

[0012] Secondly, a data processing method is provided, applied to a server. This method includes: the server receiving a fourth storage message from a fourth storage device; the fourth storage message includes a storage instruction and fourth data; the fourth data is data stored in the fourth storage device. Further, if a target number of times is less than a preset threshold, the server sends a fourth storage message to a fifth storage device, causing the fifth storage device to respond to the storage instruction, store the fourth data, and send a fifth storage message to the server; the fifth storage message includes a storage instruction and fifth data; the fifth data is data stored in the fifth storage device; the target number of times is the number of storage instructions received by the server; if the target number of times is equal to the preset threshold, the server responds to the storage instruction and stores the fourth data.

[0013] In the data processing method provided in this application, the first data of the first storage device in a plurality of storage devices is stored in the second storage device, the second data of the second storage device is stored in the third storage device, and so on, until the last storage device in the plurality of storage devices, which sends part or all of its stored data to the server for storage. In this way, the data stored in each storage device is incomplete, and a codebreaker cannot obtain the complete data of the current device by only deciphering the current device.

[0014] In one possible design, the aforementioned fourth storage message further includes a device identifier of the fourth storage device and a fourth data address, where the fourth data address is the storage address of the fourth data in the fourth storage device. The data processing method further includes: the server receiving a fourth recovery message sent by the fifth storage device; the fourth recovery message includes a recovery instruction, a device identifier of the fourth storage device, fourth data, and a fourth data address; the device identifier and fourth data address of the fourth storage device are stored by the fifth storage device after receiving the fourth storage message. Further, in response to the recovery instruction, the server sends a fourth recovery message to the fourth storage device based on the device identifier of the fourth storage device, so that the fourth storage device, in response to the recovery instruction, recovers the data of the fourth storage device based on the fourth data address and the fourth data, and, if sixth data is stored in the fourth storage device, sends a fifth recovery message to the server; the fifth recovery message includes a recovery instruction, a device identifier of the sixth storage device, sixth data, and a sixth data address, where the sixth data is the data in the sixth storage device, and the sixth data address is the storage address of the sixth data in the sixth storage device. This design implements how to restore stored data in multiple storage devices, so that maintenance personnel can retrieve data normally when they need to use the data in the storage devices.

[0015] Thirdly, a data processing apparatus is provided, deployed in a second storage device. The second storage device is not the first storage device among a plurality of storage devices to execute a data storage task. The plurality of storage devices are used to execute data storage tasks. The data processing apparatus includes a receiving unit, a storage unit, and a sending unit. The receiving unit is used to receive a first storage message sent by a first storage device among the plurality of storage devices. The first storage message includes a storage instruction, a task execution order of the first storage device, and first data, wherein the first data is data in the first storage device; the task execution order is the order in which the storage devices execute data storage tasks. The storage unit is used to store the first data in response to the storage instruction when the task execution order of the second storage device is less than a preset threshold. The sending unit is used to send a second storage message to a third storage device among the plurality of storage devices after the storage unit stores the first data. The second storage message includes a storage instruction, a task execution order of the second storage device, and second data, wherein the second data is data in the second storage device. The sending unit is also used to send the second storage message to a server when the task execution order of the second storage device is equal to the preset threshold, so that the server stores the second data in response to the storage instruction.

[0016] In one possible design, the first storage message further includes a device identifier of the first storage device and a first data address, where the first data address is the storage address of the first data in the first storage device. If the task execution order of the second storage device is less than a preset threshold, the data processing apparatus further includes a processing unit. The receiving unit is further configured to receive a first recovery message sent by a third storage device; the first recovery message includes a recovery instruction, second data, and a second data address; the second data address is the storage address of the second data in the second storage device. The processing unit is configured to, in response to the recovery instruction, recover the data of the second storage device according to the second data address and the second data. The sending unit is further configured to, after the processing unit recovers the data of the second storage device, send a second recovery message to the first storage device; the second recovery message includes a recovery instruction, first data, and a first data address, where the device identifier and the first data address of the first storage device are stored by the second storage device after receiving the first storage message.

[0017] In one possible design, the aforementioned first storage message further includes a device identifier of the first storage device and a first data address, where the first data address is the storage address of the first data in the first storage device. When the task execution order of the second storage device equals a preset threshold, the data processing apparatus further includes a processing unit. The receiving unit is further configured to receive a third recovery message sent by the server; the third recovery message includes a recovery instruction, second data, and a second data address; the second data address is the storage address of the second data in the second storage device, and the device identifier and second data address of the second storage device are stored by the server after receiving the second storage message. The processing unit is configured to, in response to the recovery instruction, recover the data of the second storage device according to the second data address and the second data. The sending unit is further configured to, after the processing unit recovers the data of the second storage device, send a second recovery message to the first storage device; the second recovery message includes a recovery instruction, first data, and a first data address, where the device identifier and first data address of the first storage device are stored by the second storage device after receiving the first storage message.

[0018] In one possible design, each of the aforementioned multiple storage devices stores multiple data segments at different addresses; the first data in the first storage message includes at least one of the multiple data segments at different addresses in the first storage device.

[0019] In one possible design, the second storage message may also include a replacement identifier, which indicates whether the second data in the second storage message is empty.

[0020] Fourthly, a data processing apparatus is provided, deployed on a server, comprising a receiving unit, a sending unit, and a storage unit. The receiving unit receives a fourth storage message sent by a fourth storage device; the fourth storage message includes a storage instruction and fourth data; the fourth data is data stored in the fourth storage device. The sending unit sends a fourth storage message to a fifth storage device when a target number of times is less than a preset threshold, causing the fifth storage device to store the fourth data in response to the storage instruction and send a fifth storage message to the server; the fifth storage message includes a storage instruction and fifth data; the fifth data is data stored in the fifth storage device; the target number of times is the number of storage instructions received by the server. The storage unit stores the fourth data in response to the storage instruction when the target number of times equals the preset threshold.

[0021] In one possible design, the aforementioned fourth storage message further includes a device identifier of the fourth storage device and a fourth data address, where the fourth data address is the storage address of the fourth data in the fourth storage device. The receiving unit is further configured to receive a fourth recovery message sent by the fifth storage device; the fourth recovery message includes a recovery instruction, a device identifier of the fourth storage device, fourth data, and a fourth data address; the device identifier and fourth data address of the fourth storage device are stored by the fifth storage device after receiving the fourth storage message. The sending unit is further configured to, in response to the recovery instruction, send a fourth recovery message to the fourth storage device based on the device identifier of the fourth storage device, so that the fourth storage device, in response to the recovery instruction, recovers the data of the fourth storage device based on the fourth data address and the fourth data, and, if sixth data is stored in the fourth storage device, sends a fifth recovery message to the server; the fifth recovery message includes a recovery instruction, a device identifier of the sixth storage device, sixth data, and a sixth data address, where the sixth data is the data in the sixth storage device, and the sixth data address is the storage address of the sixth data in the sixth storage device.

[0022] Fifthly, a second storage device is provided, the second storage device including a memory and a processor; the memory and the processor are coupled, the memory being used to store computer program code including computer instructions, and when the processor executes the computer instructions, the second storage device performing a data processing method as provided in the first aspect or any possible design thereof.

[0023] In a sixth aspect, a server is provided, the server including a memory and a processor; the memory and the processor are coupled, the memory being used to store computer program code including computer instructions, the server performing a data processing method as provided in the second aspect or any other possible design when the processor executes the computer instructions.

[0024] In a seventh aspect, a computer-readable storage medium is provided, wherein instructions are stored therein, which, when executed on a second storage device, cause the second storage device to perform a data processing method as provided in the first aspect or any possible implementation thereof.

[0025] In an eighth aspect, a computer-readable storage medium is provided, wherein instructions are stored therein, which, when executed on a server, cause the server to perform a data processing method as provided in the second aspect or any possible implementation thereof. Attached Figure Description

[0026] Figure 1 A schematic diagram of a communication system structure is provided for an embodiment of the present invention;

[0027] Figure 2A schematic flowchart of a data processing method provided for embodiments of the present invention. Figure 1 ;

[0028] Figure 3 A schematic flowchart of a data processing method provided for embodiments of the present invention. Figure 2 ;

[0029] Figure 4 A schematic flowchart of a data processing method provided for embodiments of the present invention. Figure 3 ;

[0030] Figure 5 A schematic flowchart of a data processing method provided for embodiments of the present invention. Figure 4 ;

[0031] Figure 6 A schematic flowchart of a data processing method provided for embodiments of the present invention. Figure 5 ;

[0032] Figure 7 A schematic diagram of a data processing device structure provided for an embodiment of the present invention. Figure 1 ;

[0033] Figure 8 A schematic diagram of a data processing device structure provided for an embodiment of the present invention. Figure 2 ;

[0034] Figure 9 A schematic diagram of a second storage device structure provided for embodiments of the present invention. Figure 1 ;

[0035] Figure 10 A schematic diagram of a second storage device structure provided for embodiments of the present invention. Figure 2 . Detailed Implementation

[0036] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.

[0037] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0038] In the description of this application, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. "And / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Furthermore, "at least one" and "multiple" refer to two or more. The terms "first," "second," etc., do not limit the quantity or order of execution, and "first," "second," etc., do not necessarily imply differences.

[0039] In existing technologies, information from various electronic devices in interconnected systems is typically stored using some form of encryption algorithm on each device or centrally encrypted on a server. This means that if an attacker wants to access the data stored on a particular electronic device, they can simply decrypt that device or server, posing a significant threat to data security and user privacy.

[0040] To address the aforementioned problems, this application provides a data processing method, apparatus, device, and storage medium. The data processing method is applied to a second storage device, which is not the first storage device among multiple storage devices to execute a data storage task. The multiple storage devices are used to execute the data storage task. The data processing method includes: the second storage device receiving a first storage message sent by a first storage device among the multiple storage devices; the first storage message includes a storage instruction, a task execution order of the first storage device, and first data, where the first data is data in the first storage device, and the task execution order is the order in which the storage devices execute the data storage task. Further, if the task execution order of the second storage device is less than a preset threshold, the second storage device, in response to the storage instruction, stores the first data and sends a second storage message to a third storage device among the multiple storage devices; the second storage message includes a storage instruction, the task execution order of the second storage device, and second data, where the second data is data in the second storage device. If the task execution order of the second storage device is equal to the preset threshold, the second storage device sends a second storage message to a server, causing the server, in response to the storage instruction, to store the second data.

[0041] In the data processing method provided in this application, the first data of the first storage device in a plurality of storage devices is stored in the second storage device, the second data of the second storage device is stored in the third storage device, and so on, until the last storage device in the plurality of storage devices, which sends part or all of its stored data to the server for storage. In this way, the data stored in each storage device is incomplete, and a codebreaker cannot obtain the complete data of the current device by only deciphering the current device.

[0042] Figure 1A communication system is illustrated, and the data processing method provided in the embodiments of this application can be applied to, for example, Figure 1 The communication system 10 shown is used to protect the security of the stored information of electronic devices, preventing the hacker from obtaining all the data of the electronic device after it has been deciphered. Figure 1 As shown, the communication system 10 includes storage device A11, storage device B12, storage device C13, storage device D14, and server 15.

[0043] Among them, storage devices A11, B12, C13, and D14 are used to represent different storage devices. These storage devices can be of the same model or different models of electronic devices with storage capabilities. Additionally, Figure 1 The example shows four storage devices, which does not constitute a limitation on the number of storage devices.

[0044] It needs to be explained that, Figure 1 The communication system 10 shown can be a multi-device interconnection system such as a smart grid, communication base station, and smart home, and the storage device is an electronic device with storage function within the interconnection system.

[0045] To protect the security of stored information on each storage device, the data processing method provided in this application can be applied to storage devices that are not the first to perform a data storage task. The data storage task involves a storage device sending local data to other storage devices for storage. For example, if the storage devices perform the data storage task in the order of storage device A11, storage device B12, storage device C13, and storage device D14, then the data processing method provided in this application can be applied to any one of storage devices B12, C13, or D14.

[0046] Figure 2 This is a flowchart illustrating a data processing method according to some exemplary embodiments. In some embodiments, the above-described data processing method can be applied to, for example... Figure 1 The communication system 10 shown is a storage device that is not the first to perform a data storage task. Hereinafter, this application embodiment uses the application of the data processing method to a second storage device as an example, where the second storage device is not the first among multiple storage devices to perform a data storage task, to describe the aforementioned data processing method.

[0047] like Figure 2 As shown, the data processing method provided in this application embodiment includes the following S201-S205.

[0048] S201, the second storage device receives a first storage message sent by the first storage device among a plurality of storage devices.

[0049] The first storage message includes a storage instruction, a task execution order of the first storage device, and first data. The first data is the data in the first storage device, and the task execution order is the order in which the storage device executes data storage tasks.

[0050] As one possible implementation, if the first storage device is the first storage device to perform the data storage task, the first storage device responds to the storage instruction to perform the data storage task sent by the server, or responds to the storage instruction to perform the data storage task directly generated by the user on the first storage device, determines part or all of the data from the stored data as the first data, generates a first storage message, and sends it to the second storage device.

[0051] Accordingly, the second storage device receives the first storage message sent by the first storage device and obtains the storage instruction, the task execution order of the first storage device, and the first data.

[0052] It should be noted that, in the case where the first storage device is the first storage device to perform the data storage task, the first storage device can be any one of multiple storage devices.

[0053] For example, if the first storage device is Figure 1 In the communication system 10 shown, storage device A11 is the first storage device, and storage device B12 is the second storage device. Storage device A11 receives a storage instruction from the user via server 15 or by directly operating storage device A11 to execute a data storage task. In response to the storage instruction, storage device A11 determines itself as the first storage device to execute the data storage task, that is, the task execution order of storage device A11 is 1. Further, storage device A11 determines the first data from the locally stored data and sends the first data, the storage instruction, and the task execution order of storage device A11 in a first storage message to storage device B12.

[0054] As another possible implementation, if the first storage device is not the first storage device to execute the data storage task, the first storage device, in response to a storage instruction received from the previous storage device, identifies some or all of the stored data as the first data, and determines the task execution order of the first storage device based on the task execution order of the previous storage device. Further, the first data, the storage instruction, and the task execution order of the first storage device are carried in a first storage message and sent to the second storage device.

[0055] Accordingly, the second storage device receives the first storage message sent by the first storage device and obtains the storage instruction, the task execution order of the first storage device, and the first data.

[0056] For example, if the first storage device is Figure 1 In the communication system 10 shown, storage device B12 is the first storage device, and storage device C13 is the second storage device. Storage device B12 determines its own task execution order as 2 based on the storage instruction previously sent by storage device A11 and the task execution order 1 of storage device A11, and determines the first data from its locally stored data. Further, it sends the first data, the storage instruction, and the task execution order 2 of storage device B12, along with a first storage message, to storage device C13.

[0057] It should be noted that each of the multiple storage devices stores multiple data segments at different addresses. Therefore, the first data in the first storage message includes at least one of the multiple data segments at different addresses in the first storage device.

[0058] When the first storage device determines the first data, it can determine the data segment included in the first data among multiple data segments at different addresses according to a preset probability.

[0059] For example, the first storage device includes data segments A, B, C, D, and E. If the first storage device selects data segments A and D according to a preset probability, then the first data includes data segment A and data segment D.

[0060] S202, the second storage device determines the task execution order of the second storage device based on the task execution order of the first storage device.

[0061] As one possible implementation, after determining the task execution order of the first storage device from the first storage message sent from the first storage device, the second storage device obtains the task execution order of the second storage device by incrementing the task execution order of the first storage device by one.

[0062] It should be noted that since the first storage device sends the storage instruction used to instruct the execution of the data storage task to the second storage device, that is, the second storage device is the next storage device to execute the data storage task of the first storage device, the task execution order of the first storage device plus one is the task execution order of the second storage device.

[0063] S203. If the task execution order of the second storage device is less than a preset threshold, the second storage device responds to the storage instruction and stores the first data.

[0064] The preset threshold can be the number of multiple storage devices, or it can be a value less than the number of multiple storage devices. This application embodiment does not specifically limit this.

[0065] As one possible implementation, the second storage device determines the relationship between the task execution order of the second storage device and a preset threshold. If the task execution order of the second storage device is less than the preset threshold, the second storage device stores the first data carried in the first storage message.

[0066] S204. After storing the first data, the second storage device sends a second storage message to the third storage device among the multiple storage devices.

[0067] The second storage message includes a storage instruction, a task execution sequence of the second storage device, and second data, where the second data is the data in the second storage device.

[0068] As one possible implementation, after storing the first data, the second storage device determines the second data from the data stored locally other than the first data, and sends the second data, storage instructions, and the task execution order of the second storage device in a second storage message to the third storage device.

[0069] It should be noted that the third storage device is any one of the multiple storage devices that has not yet performed data processing tasks.

[0070] For example, if the second storage device is as described above Figure 1 In the communication system 10 shown, storage device B12 and storage device A11 are the first storage devices that perform data processing tasks before storage device B12. After generating the second storage message, storage device B12 can select any one of storage devices C13 and D14 as the third storage device and send the second storage message to it so that the third storage device can perform data processing tasks.

[0071] In some embodiments, the second storage message further includes a replacement identifier, which is used to indicate whether the second data in the second storage message is empty.

[0072] It should be noted that the second storage device adds a replacement identifier to the flag bit of the generated second storage message, so that the storage device receiving the second storage message can determine whether the second data carried in the second storage message is empty based on the replacement identifier, that is, determine whether the second storage message carries second data for replacement storage.

[0073] For example, in the 10th bit of the generated second storage message, the second storage device uses a binary character "1" to indicate that the second data is not empty, and a binary character "0" to indicate that the second data is empty. The storage device receiving the second storage message can determine whether the second storage information carries the second data by checking the replacement identifier in the 10th bit. If the replacement identifier in the 10th bit is "1", the second data is stored locally. If the replacement identifier in the 10th bit is "0", the same process is performed to store empty data locally.

[0074] S205. If the task execution order of the second storage device is equal to a preset threshold, the second storage device sends a second storage message to the server.

[0075] As one possible implementation, if the second storage device determines that its task execution order is equal to a preset threshold, it indicates that it is the last storage device among multiple storage devices to execute the data storage task. Therefore, it sends a second storage message to the server so that the server responds to the storage instruction and stores the second data.

[0076] In some embodiments, after performing data storage tasks, each storage device encrypts the storage space using its own internally recorded encryption algorithm. As a result, multiple encryption algorithms exist in multiple storage devices, increasing the difficulty for decryptors to crack the storage devices.

[0077] Understandably, in the data processing method provided in this application, the first data of the first storage device in a plurality of storage devices is stored in the second storage device, the second data of the second storage device is stored in the third storage device, and so on, until the last storage device in the plurality of storage devices, which sends part or all of its stored data to the server for storage. In this way, the data stored in each storage device is incomplete, and a codebreaker cannot obtain the complete data of the current device by only deciphering the current device.

[0078] In one design, to enable maintenance personnel of the device interconnection system to retrieve data stored in a storage device normally, the data processing method provided in this application includes a first storage message that further comprises a device identifier of the first storage device and a first data address, wherein the first data address is the storage address of the first data in the first storage device. If the task execution order of the second storage device is less than a preset threshold, such as... Figure 3 As shown, the data processing method provided in this application embodiment also includes S301-S303.

[0079] S301, the second storage device receives the first recovery message sent by the third storage device.

[0080] The first recovery message includes a recovery instruction, second data, and a second data address; the second data address is the storage address of the second data in the second storage device.

[0081] In one possible implementation, in response to a recovery instruction sent by the previous storage device during the recovery process, the third storage device determines the target to which the first recovery message is to be sent from the device identifier of the internally stored second storage device. Further, the third storage device sends the received recovery instruction, along with the internally stored second data and its address, in the first recovery message to the second storage device.

[0082] Accordingly, the second storage device receives the first recovery message sent by the third storage device and obtains the recovery instruction, the second data, and the second data address.

[0083] It should be noted that the device identifier and the second data address of the second storage device are stored in the third storage device after the third storage device receives the second storage message.

[0084] In cases where the second data comprises multiple data segments with different addresses, the second data address includes a storage address used to indicate the storage address of each data segment in the second storage device.

[0085] S302, the second storage device responds to the recovery instruction and recovers the data of the second storage device according to the second data address and the second data.

[0086] As one possible implementation, after receiving the first recovery message, the second storage device responds to the recovery instruction in the first recovery message and stores the second data in the second storage device based on the second data address, so as to ensure that the second storage device stores complete data for operation and maintenance personnel to retrieve.

[0087] S303, the second storage device sends a second recovery message to the first storage device based on the device identifier of the first storage device.

[0088] The second recovery message includes a recovery instruction, first data, and a first data address. The device identifier and the first data address of the first storage device are stored by the second storage device after receiving the first storage message.

[0089] As one possible implementation, the second storage device queries the device identifier of the first storage device from its internal storage space to determine the recipient of the second recovery message. Further, the second storage device sends the received recovery instruction, along with the first data and the first data address stored internally, in the first recovery message to the first storage device. This allows the first storage device, upon receiving the first recovery message, to respond to the recovery instruction and recover the data in its own storage device based on the first data and the first data address.

[0090] Understandably, the data processing method provided in this application restores the stored data of multiple storage devices, except for the last storage device that performs the data storage task, so that maintenance personnel can retrieve the data normally when they need to use the data in the storage device.

[0091] In one design, to enable maintenance personnel of the device interconnection system to retrieve data stored in the storage device normally, the data processing method provided in this application includes a second storage message that further comprises a device identifier of the second storage device and a second data address, wherein the second data address is the storage address of the second data in the second storage device. When the task execution order of the second storage device equals a preset threshold, such as... Figure 4 As shown, the data processing method provided in this application embodiment also includes S401-S403.

[0092] S401, The second storage device receives the third recovery message sent by the server.

[0093] The third recovery message includes a recovery instruction, second data, and a second data address; the second data address is the storage address of the second data in the second storage device, and the device identifier of the second storage device and the second data address are stored by the server after receiving the second storage message.

[0094] In one possible implementation, in response to a recovery instruction issued by the operations and maintenance personnel, the server determines the recipient of the third recovery message from the device identifier of the internally stored second storage device. Further, the server includes the received recovery instruction, along with the internally stored second data and its address, in a first recovery message and sends it to the second storage device.

[0095] Correspondingly, the second storage device receives the first recovery message sent by the server and obtains the recovery instruction, the second data, and the second data address.

[0096] It should be noted that when the second data includes multiple data segments with different addresses, the second data address includes the storage address used to indicate the storage address of each data segment in the second storage device.

[0097] S402, the second storage device responds to the recovery instruction and recovers the data of the second storage device according to the second data address and the second data.

[0098] It should be noted that the specific implementation of step S402 can be referred to the implementation of step S302 in the above embodiments of this application, and will not be repeated here.

[0099] S403, the second storage device sends a second recovery message to the first storage device based on the device identifier of the first storage device.

[0100] The second recovery message includes a recovery instruction, first data, and a first data address. The device identifier and the first data address of the first storage device are stored by the second storage device after receiving the first storage message.

[0101] It should be noted that the specific implementation of step S403 can be referred to the implementation of step S303 in the above embodiments of this application, and will not be repeated here.

[0102] It is understood that the data processing method provided in this application embodiment restores the stored data of the last storage device that performs the data storage task among multiple storage devices, so that maintenance personnel can retrieve the data normally when they need to use the data in the storage device.

[0103] In one design, Figure 5 This is a flowchart illustrating a data processing method according to some exemplary embodiments. In some embodiments, the above-described data processing method can be applied to, for example... Figure 1 The communication system 10 shown includes a server 15. Hereinafter, embodiments of this application will describe the data processing method using an example of the data processing method applied to a server.

[0104] like Figure 5 As shown, the data processing method provided in this application embodiment includes the following S501-S505.

[0105] S501, The server receives the fourth storage message sent by the fourth storage device.

[0106] The fourth storage message includes a storage instruction and fourth data; the fourth data is the data in the fourth storage device.

[0107] As one possible implementation, the fourth storage device responds to a storage instruction generated directly on the fourth storage device by the user to perform a data storage task, determines some or all of the stored data as the fourth data, generates a first storage message, and sends it to the server.

[0108] Correspondingly, the server receives the fourth storage message sent by the fourth storage device.

[0109] For example, if the fourth storage device is Figure 1 The communication system 10 shown includes a storage device A11. Storage device A11 determines the storage instruction generated by the user to perform a data storage task, and in response to the storage instruction, storage device A11 determines the fourth data from locally stored data, and sends the fourth data and the storage instruction along with a first storage message to the server.

[0110] It should be noted that each of the multiple storage devices stores multiple data segments at different addresses. Therefore, the first data in the first storage message includes at least one of the multiple data segments at different addresses in the first storage device.

[0111] When determining the fourth data in the fourth storage device, the data segment included in the fourth data can be determined from multiple data segments at different addresses according to a preset probability.

[0112] For example, the fourth storage device includes data segments A, B, C, D, and E. If the fourth storage device selects data segments A and D according to a preset probability, then the fourth data includes data segment A and data segment D.

[0113] S502, The server determines the target number of times.

[0114] The target number is the number of times the server receives storage instructions.

[0115] As one possible implementation, after the server obtains the storage instruction sent by the fourth storage device from the fourth storage message, the counter in the server used to calculate the number of times the storage instruction has been received is incremented by one to obtain the number of times the server has received the storage instruction, i.e., the target number.

[0116] It should be noted that since storage devices send storage instructions to the server after performing data storage tasks, the number of storage instructions received by the server can represent the number of storage devices that have performed data storage tasks.

[0117] S503. If the target number of times is less than the preset threshold, the server sends a fourth storage message to the fifth storage device.

[0118] The preset threshold can be the number of multiple storage devices, or it can be a value less than the number of multiple storage devices. This application embodiment does not specifically limit this.

[0119] As one possible implementation, the server determines the size relationship between the target number and the preset threshold. If the target number is less than the preset threshold, the server forwards the fourth storage message to the fifth storage device, so that the fifth storage device responds to the storage instruction in the fourth storage message, stores the fourth data, and sends the fifth storage message to the server.

[0120] It should be noted that the fifth storage message includes a storage instruction and fifth data; the fifth data is the data in the fifth storage device; the target number is the number of storage instructions received by the server.

[0121] S504. When the target number of times equals the preset threshold, the server responds to the storage instruction and stores the fourth data.

[0122] As one possible implementation, if the server determines that the target number of times for the fourth storage device equals a preset threshold, it designates the fourth storage device as the last storage device among multiple storage devices to perform the data storage task. Furthermore, in response to the storage instruction, the server stores the fourth data.

[0123] Understandably, in the data processing method provided in this application, the first data of the first storage device in a plurality of storage devices is stored in the second storage device, the second data of the second storage device is stored in the third storage device, and so on, until the last storage device in the plurality of storage devices, which sends part or all of its stored data to the server for storage. In this way, the data stored in each storage device is incomplete, and a codebreaker cannot obtain the complete data of the current device by only deciphering the current device.

[0124] In one design, to enable maintenance personnel of the device interconnection system to retrieve data stored in the storage device normally, the data processing method provided in this application further includes a fourth storage message containing a device identifier of the fourth storage device and a fourth data address, where the fourth data address is the storage address of the fourth data in the fourth storage device. For example... Figure 6 As shown, the data processing method provided in this application embodiment also includes S601-S602.

[0125] S601, The server receives the fourth recovery message sent by the fifth storage device.

[0126] The fourth recovery message includes a recovery instruction, a device identifier of the fourth storage device, fourth data, and a fourth data address; the device identifier and the fourth data address of the fourth storage device are stored by the fifth storage device after receiving the fourth storage message.

[0127] In one possible implementation, in response to a recovery instruction sent by the server, the fifth storage device sends the received recovery instruction, along with the fourth data and its address stored internally, in a fourth recovery message to the server.

[0128] Correspondingly, the server receives the fourth recovery message sent by the fifth storage device. It then obtains the recovery instruction, the fourth data, and the address of the fourth data.

[0129] S602. In response to the recovery instruction, the server sends a fourth recovery message to the fourth storage device based on the device identifier of the fourth storage device.

[0130] In one possible implementation, the server responds to the recovery instruction in the fourth recovery message, identifies the fourth storage device based on the device identifier of the fourth storage device, and forwards the fourth recovery message to the fourth storage device, so that the fourth storage device responds to the recovery instruction, recovers the data of the fourth storage device based on the fourth data address and the fourth data, and sends a fifth recovery message to the server if the sixth data is stored in the fourth storage device.

[0131] It should be noted that the fifth recovery message includes a recovery instruction, the device identifier of the sixth storage device, the sixth data, and the sixth data address. The sixth data is the data in the sixth storage device, and the sixth data address is the storage address of the sixth data in the sixth storage device.

[0132] Understandably, the data processing method provided in this application restores the stored data in multiple storage devices, so that maintenance personnel can retrieve the data normally when they need to use the data in the storage devices.

[0133] In the data processing method provided in this application, the first data of the first storage device in a plurality of storage devices is stored in the second storage device, the second data of the second storage device is stored in the third storage device, and so on, until the last storage device in the plurality of storage devices, which sends part or all of its stored data to the server for storage. In this way, the data stored in each storage device is incomplete, and a codebreaker cannot obtain the complete data of the current device by only deciphering the current device.

[0134] Figure 7 This is a schematic diagram of a data processing apparatus provided in an embodiment of this application. The data processing apparatus is deployed on a second storage device and is used to execute the aforementioned data processing method. Figure 7 As shown, the data processing device 70 includes a receiving unit 701, a storage unit 702, and a sending unit 703.

[0135] The receiving unit 701 is configured to receive a first storage message sent by a first storage device among a plurality of storage devices. The first storage message includes a storage instruction, a task execution order for the first storage device, and first data, wherein the first data is data stored in the first storage device, and the task execution order is the order in which the storage devices execute data storage tasks. For example, such as... Figure 2 As shown, the receiving unit 701 can be used to execute S201.

[0136] Storage unit 702 is configured to store first data in response to a storage instruction when the task execution order of the second storage device is less than a preset threshold. For example, as... Figure 2 As shown, storage unit 702 can be used to execute S203.

[0137] The sending unit 703 is configured to send a second storage message to a third storage device among multiple storage devices after the storage unit stores the first data. The second storage message includes a storage instruction, a task execution sequence of the second storage device, and the second data, which is the data stored in the second storage device. For example, ... Figure 2 As shown, the sending unit 703 can be used to execute S204.

[0138] The sending unit 703 is further configured to send a second storage message to the server when the task execution order of the second storage device equals a preset threshold, so that the server, in response to a storage instruction, stores the second data. For example, as... Figure 2 As shown, the sending unit 703 can be used to execute S205.

[0139] Optional, such as Figure 7 As shown, the data processing apparatus 70 provided in this application embodiment also includes a processing unit 704.

[0140] The receiving unit 701 is further configured to receive a first recovery message sent by the third storage device; the first recovery message includes a recovery instruction, second data, and a second data address; the second data address is the storage address of the second data in the second storage device. For example, as... Figure 3 As shown, the receiving unit 701 can be used to execute S301.

[0141] Processing unit 704 is configured to, in response to a recovery instruction, recover data from the second storage device based on a second data address and second data. For example, ... Figure 3 As shown, the processing unit 704 can be used to execute S302.

[0142] The sending unit 703 is further configured to send a second restoration message to the first storage device after the processing unit restores the data of the second storage device. The second restoration message includes a restoration instruction, first data, and a first data address. The device identifier and the first data address of the first storage device are stored by the second storage device after receiving the first storage message. For example, as... Figure 3 As shown, the sending unit 703 can be used to execute S303.

[0143] Optional, such as Figure 7 As shown, in the data processing apparatus 70 provided in this application embodiment, the receiving unit 701 is further configured to receive a third restoration message sent by the server; the third restoration message includes a restoration instruction, second data, and a second data address; the second data address is the storage address of the second data in the second storage device, and the device identifier of the second storage device and the second data address are stored by the server after receiving the second storage message. For example, as Figure 4 As shown, the receiving unit 701 can be used to execute S401.

[0144] Processing unit 704 is configured to, in response to a recovery instruction, recover data from the second storage device based on a second data address and second data. For example, ... Figure 4 As shown, the processing unit 704 can be used to execute S402.

[0145] The sending unit 703 is further configured to send a second restoration message to the first storage device after the processing unit restores the data of the second storage device; the second restoration message includes a restoration instruction, first data, and a first data address, wherein the device identifier and the first data address of the first storage device are stored by the second storage device after receiving the first storage message. For example, as... Figure 4 As shown, the sending unit 703 can be used to execute S403.

[0146] Optional, such as Figure 7 As shown, in the data processing apparatus 70 provided in this application embodiment, each of the multiple storage devices stores multiple data segments with different addresses; the first data in the first storage message includes at least one of the multiple data segments with different addresses in the first storage device.

[0147] Figure 8 This is a schematic diagram of a data processing apparatus provided in an embodiment of this application. The data processing apparatus is deployed on a server and is used to execute the aforementioned data processing method. Figure 8 As shown, the data processing device 80 includes a receiving unit 801, a transmitting unit 802, and a storage unit 803.

[0148] The receiving unit 801 is configured to receive a fourth storage message sent by the fourth storage device; the fourth storage message includes a storage indication and fourth data; the fourth data is data stored in the fourth storage device. For example, ... Figure 5 As shown, the receiving unit 801 can be used to execute S501.

[0149] The sending unit 802 is configured to send a fourth storage message to the fifth storage device when the target number of times is less than a preset threshold, so that the fifth storage device, in response to a storage instruction, stores fourth data and sends a fifth storage message to the server; the fifth storage message includes a storage instruction and fifth data; the fifth data is data in the fifth storage device; the target number of times is the number of times the server receives the storage instruction. For example, such as... Figure 5 As shown, the sending unit 802 can be used to execute S503.

[0150] Storage unit 803 is used to store fourth data in response to a storage instruction when the target number of times equals a preset threshold. For example, as... Figure 5 As shown, storage unit 803 can be used to execute S504.

[0151] Optional, such as Figure 8 As shown, in the data processing apparatus 80 provided in this application embodiment, the receiving unit 801 is further configured to receive a fourth recovery message sent by a fifth storage device; the fourth recovery message includes a recovery instruction, a device identifier of the fourth storage device, fourth data, and a fourth data address; the device identifier and the fourth data address of the fourth storage device are stored by the fifth storage device after receiving the fourth storage message. For example, as Figure 6 As shown, the receiving unit 801 can be used to execute S601.

[0152] The sending unit 802 is further configured to, in response to a recovery instruction, send a fourth recovery message to the fourth storage device based on the device identifier of the fourth storage device, so that the fourth storage device, in response to the recovery instruction, recovers the data of the fourth storage device based on the fourth data address and the fourth data, and, if the fourth storage device stores the sixth data, sends a fifth recovery message to the server; the fifth recovery message includes a recovery instruction, the device identifier of the sixth storage device, the sixth data, and the address of the sixth data, where the sixth data is the data in the sixth storage device, and the sixth data address is the storage address of the sixth data in the sixth storage device. For example, as... Figure 6 As shown, the sending unit 802 can be used to execute S602.

[0153] In implementing the functions of the integrated modules described above using hardware, this application provides a possible structural diagram of a second storage device. This second storage device is used to execute the data processing method performed by the data processing device in the above embodiments. Figure 9 As shown, the second storage device 90 includes a processor 901, a memory 902, and a bus 903. The processor 901 and the memory 902 can be connected via the bus 903.

[0154] Processor 901 is the control center of the second storage device. It can be a single processor or a collective term for multiple processing elements. For example, processor 901 can be a general-purpose central processing unit (CPU) or other general-purpose processors. The general-purpose processor can be a microprocessor or any conventional processor.

[0155] As one embodiment, processor 901 may include one or more CPUs, for example Figure 9 CPU 0 and CPU 1 are shown in the diagram.

[0156] The memory 902 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.

[0157] As one possible implementation, the memory 902 can exist independently of the processor 901. The memory 902 can be connected to the processor 901 via a bus 903 and is used to store instructions or program code. When the processor 901 calls and executes the instructions or program code stored in the memory 902, it can implement the data processing method provided in the embodiments of this application.

[0158] In another possible implementation, the memory 902 can also be integrated with the processor 901.

[0159] Bus 903 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 9 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0160] It should be pointed out that, Figure 9 The structure shown does not constitute a limitation on the second storage device 90. Except... Figure 9 In addition to the components shown, the second storage device 90 may include components that are larger than those shown. Figure 9 It can show more or fewer parts, or combine certain parts, or arrange different parts.

[0161] As an example, combined Figure 7 The functions implemented by the receiving unit 701, storage unit 702, transmitting unit 703, and processing unit 704 in the data processing device 70 are the same as those of the receiving unit 701, storage unit 702, transmitting unit 703, and processing unit 704. Figure 9 The processor 901 in it has the same function.

[0162] Optional, such as Figure 9 As shown, the second storage device provided in this application embodiment may further include a communication interface 904.

[0163] Communication interface 904 is used to connect with other devices via a communication network. This communication network can be Ethernet, a wireless access network, a wireless local area network (WLAN), etc. Communication interface 904 may include an acquisition unit for receiving data and a transmission unit for sending data.

[0164] In one design, the communication interface in the second storage device provided in this application embodiment can also be integrated into the processor.

[0165] Figure 10 Another hardware structure of the second storage device in an embodiment of this application is shown. For example... Figure 10 As shown, the second storage device 100 may include a processor 1001 and a communication interface 1002. The processor 1001 is coupled to the communication interface 1002.

[0166] The functions of processor 1001 can be referred to in the description of processor 901 above. In addition, processor 1001 also has storage functions, which can be referred to in the description of memory 902 above.

[0167] The communication interface 1002 is used to provide data to the processor 1001. The communication interface 1002 can be an internal interface of the second storage device or an external interface of the second storage device (equivalent to the communication interface 904).

[0168] It should be pointed out that, Figure 10 The structure shown does not constitute a limitation on the second storage device, except Figure 10 In addition to the components shown, the second storage device 100 may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0169] Meanwhile, the structural diagram of a server hardware provided in this application embodiment can also be referred to the above. Figure 9 or Figure 10 The description of the second storage device will not be repeated here. The difference lies in the fact that the server includes a processor for executing the steps performed by the server in the above embodiments.

[0170] Through the above description of the embodiments, those skilled in the art will clearly understand that, for the sake of convenience and brevity, only the division of the above functional units is used as an example. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the device can be divided into different functional units to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0171] This application also provides a computer-readable storage medium storing instructions. When a computer executes these instructions, the computer performs each step of the method flow shown in the above-described method embodiments.

[0172] Embodiments of this application provide a computer program product containing instructions that, when executed on a computer, cause the computer to perform the data processing method described in the above method embodiments.

[0173] The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), registers, hard disks, optical fibers, compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing, or any other form of computer-readable storage medium in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium may also be a component of the processor. The processor and the storage medium may reside in an application-specific integrated circuit (ASIC). In the embodiments of this application, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0174] Since the apparatus, device, computer-readable storage medium, and computer program product in the embodiments of this application can be applied to the above methods, the technical effects that can be obtained can also be referred to the above method embodiments. The embodiments of this application will not be repeated here.

[0175] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A data processing method, characterized in that, The method is applied to a second storage device, which is not the first storage device among a plurality of storage devices to perform the data storage task, the plurality of storage devices being used to perform the data storage task, the method comprising: The system receives a first storage message sent by a first storage device among the plurality of storage devices; the first storage message includes a storage instruction, a task execution order of the first storage device, and first data, wherein the first data is data in the first storage device, and the task execution order is the order in which the storage device executes the data storage task; If the task execution order of the second storage device is less than a preset threshold, in response to the storage instruction, the first data is stored, and a second storage message is sent to the third storage device among the plurality of storage devices. The second storage message includes the storage instruction, the task execution order of the second storage device, and the second data, wherein the second data is the data in the second storage device; the preset threshold is the number of the plurality of storage devices or a value less than the number of the plurality of storage devices. If the task execution order of the second storage device is equal to the preset threshold, the second storage message is sent to the server so that the server responds to the storage instruction and stores the second data.

2. The data processing method according to claim 1, characterized in that, The first storage message also includes the device identifier of the first storage device and a first data address, wherein the first data address is the storage address of the first data in the first storage device; If the task execution order of the second storage device is less than the preset threshold, the method further includes: The system receives a first recovery message sent by the third storage device; the first recovery message includes a recovery instruction, the second data, and a second data address; the second data address is the storage address of the second data in the second storage device. In response to the recovery instruction, the data of the second storage device is recovered according to the second data address and the second data, and a second recovery message is sent to the first storage device based on the device identifier of the first storage device; the second recovery message includes the recovery instruction, the first data, and the first data address, wherein the device identifier of the first storage device and the first data address are stored by the second storage device after receiving the first storage message.

3. The data processing method according to claim 1, characterized in that, The second storage message also includes the device identifier of the second storage device and a second data address, wherein the second data address is the storage address of the second data in the second storage device; When the task execution order of the second storage device is equal to the preset threshold, the method further includes: The server receives a third recovery message; the third recovery message includes a recovery instruction, the second data, and a second data address; the second data address is the storage address of the second data in the second storage device, and the device identifier of the second storage device and the second data address are stored by the server after receiving the second storage message; In response to the recovery instruction, the data of the second storage device is recovered according to the second data address and the second data, and a second recovery message is sent to the first storage device based on the device identifier of the first storage device; the second recovery message includes the recovery instruction, the first data, and the first data address, wherein the device identifier of the first storage device and the first data address are stored by the second storage device after receiving the first storage message.

4. The data processing method according to any one of claims 1-3, characterized in that, Each of the plurality of storage devices stores a plurality of data segments at different addresses; the first data in the first storage message includes at least one of the plurality of data segments at different addresses in the first storage device.

5. The data processing method according to any one of claims 1-3, characterized in that, The second storage message also includes a replacement identifier, which is used to indicate whether the second data in the second storage message is empty.

6. A data processing method, characterized in that, Applied to a server, the method includes: Receive a fourth storage message sent by a fourth storage device; the fourth storage message includes a storage instruction and fourth data; the fourth data is data in the fourth storage device; Determine the target number, which is the number of times the server receives the storage instruction; If the target number of times is less than a preset threshold, the fourth storage message is sent to the fifth storage device, so that the fifth storage device responds to the storage instruction, stores the fourth data, and sends the fifth storage message to the server; the fifth storage message includes the storage instruction and the fifth data; the fifth data is the data in the fifth storage device; the target number of times is the number of times the server receives the storage instruction; the preset threshold is the number of the plurality of storage devices or a value less than the number of the plurality of storage devices; If the target number is equal to the preset threshold, the fourth data is stored in response to the storage instruction.

7. A data processing apparatus, characterized in that, Deployed on a second storage device, which is not the first storage device among a plurality of storage devices to perform the data storage task, the plurality of storage devices are used to perform the data storage task, and the data processing device includes a receiving unit, a storage unit and a sending unit; The receiving unit is configured to receive a first storage message sent by a first storage device among the plurality of storage devices; The first storage message includes a storage instruction, a task execution order of the first storage device, and first data, wherein the first data is data in the first storage device, and the task execution order is the order in which the storage device executes the data storage task; The storage unit is configured to store the first data in response to the storage instruction when the task execution order of the second storage device is less than a preset threshold. The preset threshold is the number of the plurality of storage devices or a value less than the number of the plurality of storage devices; The sending unit is configured to send a second storage message to a third storage device among the plurality of storage devices after the storage unit stores the first data. The second storage message includes the storage instruction, the task execution order of the second storage device, and second data, wherein the second data is the data in the second storage device. The sending unit is further configured to send the second storage message to the server when the task execution order of the second storage device is equal to the preset threshold, so that the server responds to the storage instruction and stores the second data.

8. The data processing apparatus according to claim 7, characterized in that, The first storage message also includes the device identifier of the first storage device and a first data address, wherein the first data address is the storage address of the first data in the first storage device; If the task execution order of the second storage device is less than the preset threshold, the data processing device further includes a processing unit; The receiving unit is further configured to receive a first recovery message sent by the third storage device; the first recovery message includes a recovery instruction, the second data, and a second data address; the second data address is the storage address of the second data in the second storage device; The processing unit is configured to, in response to the restoration instruction, restore the data of the second storage device according to the second data address and the second data; The sending unit is further configured to send a second restoration message to the first storage device after the processing unit restores the data of the second storage device; the second restoration message includes the restoration instruction, first data, and a first data address, wherein the device identifier of the first storage device and the first data address are stored by the second storage device after receiving the first storage message.

9. The data processing apparatus according to claim 7, characterized in that, The second storage message also includes the device identifier of the second storage device and a second data address, wherein the second data address is the storage address of the second data in the second storage device; When the task execution order of the second storage device is equal to the preset threshold, the data processing device further includes a processing unit; The receiving unit is further configured to receive a third recovery message sent by the server; the third recovery message includes a recovery instruction, the second data, and a second data address; the second data address is the storage address of the second data in the second storage device, and the device identifier of the second storage device and the second data address are stored by the server after receiving the second storage message; The processing unit is configured to, in response to the restoration instruction, restore the data of the second storage device according to the second data address and the second data; The sending unit is further configured to send a second restoration message to the first storage device after the processing unit restores the data of the second storage device; the second restoration message includes the restoration instruction, first data, and a first data address, wherein the device identifier of the first storage device and the first data address are stored by the second storage device after receiving the first storage message.

10. The data processing apparatus according to any one of claims 7-9, characterized in that, Each of the plurality of storage devices stores a plurality of data segments at different addresses; the first data in the first storage message includes at least one of the plurality of data segments at different addresses in the first storage device.

11. The data processing apparatus according to any one of claims 7-9, characterized in that, The second storage message also includes a replacement identifier, which is used to indicate whether the second data in the second storage message is empty.

12. A data processing apparatus, characterized in that, Deployed on a server, the data processing device includes a receiving unit, a sending unit, and a storage unit; The receiving unit is configured to receive a fourth storage message sent by the fourth storage device; the fourth storage message includes a storage indication and fourth data; the fourth data is data in the fourth storage device. The sending unit is used to determine a target number, which is the number of times the server receives the storage instruction; If the target number of times is less than a preset threshold, the fourth storage message is sent to the fifth storage device, so that the fifth storage device responds to the storage instruction, stores the fourth data, and sends the fifth storage message to the server; the fifth storage message includes the storage instruction and the fifth data; the fifth data is the data in the fifth storage device; The target number is the number of times the server receives the storage instruction; The preset threshold is the number of the plurality of storage devices or a value less than the number of the plurality of storage devices; The storage unit is used to store the fourth data in response to the storage instruction when the target number is equal to the preset threshold.

13. A second storage device, characterized in that, Including memory and processor; The memory is used to store computer program code, which includes computer instructions; When the processor executes the computer instructions, the second storage device performs the data processing method as described in any one of claims 1-5.

14. A server, characterized in that, Including memory and processor; The memory is used to store computer program code, which includes computer instructions; When the processor executes the computer instructions, the server performs the data processing method as described in claim 6.

15. A computer-readable storage medium storing instructions, characterized in that, When the instruction is executed on the second storage device, the second storage device performs the data processing method as described in any one of claims 1-5.

16. A computer-readable storage medium storing instructions, characterized in that, When the instruction is executed on the server, the server performs the data processing method as described in claim 6.