Data processing method and related device

By changing the status of the status identification information in the data storage party and simulating the data deletion and recovery process, the problem that the data storage party does not support the recovery function is solved, the perception effect of the data interaction party is achieved, and the convenience and security of data processing are improved.

CN120658756APending Publication Date: 2025-09-16TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410303756.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-15
Publication Date
2025-09-16

AI Technical Summary

Technical Problem

In the prior art, some data storage providers do not support the function of restoring data after deletion, resulting in the inability to effectively restore files after accidental deletion, which brings inevitable operational risks to users.

Method used

By setting status identification information in the data storage party, the status of the data is changed to simulate the deletion or recovery process without actually moving or restoring the data. The response and rejection of data interaction requests are achieved only through status changes.

Benefits of technology

The perceptual effect of data deletion and recovery is achieved on storage parties that do not support data recovery functions, which improves the versatility and efficiency of data recovery functions, reduces the complexity of data processing and the performance requirements for storage parties, and ensures data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120658756A_ABST
    Figure CN120658756A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a data processing method and a related device, which can realize refusal and response to a data interaction request for data by changing a state identified by state identification information in the data so as to simulate a perception effect of data deletion / recovery and improve the data processing efficiency. According to the method and the device, the effective data deletion and recovery function can be provided for the data interaction party on the premise that complex operations such as actual movement and deletion do not need to be carried out on the data, and a data set does not need to be additionally established, so that the requirement of function implementation on the storage party is lower, and the universality and efficiency of the data deletion and recovery function are improved. Besides, the data needing to be deleted or recovered is not processed, so that the probability of data exception in the data processing process is reduced, the data processing security is improved, and the method and the device are more suitable for data processing scenes with higher data security requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a data processing method and related devices. Background Art

[0002] With the continuous development of software technology, programs installed on terminal devices can support more and more data processing tasks, among which data deletion and recovery are key links in data processing. In order to avoid important data from being accidentally deleted, it is usually necessary to provide a recovery function corresponding to the deletion.

[0003] However, due to the complexity and diversity of data storage parties, not every data storage party supports the function of recovering data after deletion. Therefore, in related technologies, if some file-related data exists in a data storage party that does not support data deletion and recovery, these files cannot be effectively recovered after deletion. Therefore, when these files are accidentally deleted or there is a need for data recovery, the related technology cannot provide an effective recovery function, which easily brings inevitable operational risks to users. Summary of the Invention

[0004] In order to solve the above technical problems, the present application provides a data processing method that can achieve data deletion / recovery effects without actually deleting / recovering the data, thereby improving the versatility of the data deletion / recovery function.

[0005] The embodiments of this application disclose the following technical solutions:

[0006] In a first aspect, an embodiment of the present application discloses a data processing method, which is applied to a first storage party and includes:

[0007] Based on obtaining a data deletion request, changing a state identified by state identification information corresponding to the first data to a deletion state, the state identification information indicating the deletion state is used to reject a data interaction request for the first data, the data deletion request including a first data identification, the first data identification being used to identify the first data, the first data being used to display a target file, the target file including template information, the template information being used to instruct an information inputter to input information to be input in the target file, the first data being stored in the first storage, and the first data being unable to be restored in the first storage after being deleted from the first storage;

[0008] Based on obtaining a data recovery request, the state identified by the state identification information is changed to a non-deleted state. The state identification information identified as a non-deleted state is used to respond to a data interaction request for the first data. The data recovery request includes the first data identification.

[0009] In a second aspect, an embodiment of the present application discloses a data processing method, the method comprising:

[0010] Displaying an available data interface, the available data interface including data controls corresponding to a plurality of interactive data, wherein first data is data whose status identified by corresponding status identification information is not a deleted status, the status identification information indicating a deleted status is used to reject a data interaction request for the first data, the first data is any one of the plurality of interactive data, the first data is used to display a target file, the target file includes template information, the template information is used to instruct an information input party to input information to be input in the target file, the first data is stored in the first storage party, and after the first data is deleted in the first storage party, the data cannot be restored in the first storage party;

[0011] Based on a first trigger operation on a first data control corresponding to the first data, displaying a data deletion control corresponding to the first data;

[0012] Based on a second trigger operation on the data deletion control, hiding the first data control from the available data interface and displaying a data recovery control corresponding to the first data, wherein the second trigger operation is used to change the state identified by the state identification information to a deletion state;

[0013] Based on the third trigger operation for the data recovery control, the first data control is added in the available data interface, and the third trigger operation is used to change the state identified by the state identification information to a non-deletion state, and the state identification information identified as a non-deletion state is used to respond to a data interaction request for the first data.

[0014] In a third aspect, an embodiment of the present application discloses a data processing device, comprising a first changing unit and a second changing unit:

[0015] The first changing unit is configured to change a state identified by state identification information corresponding to the first data to a deleted state based on obtaining a data deletion request, wherein the state identification information indicating the deleted state is used to reject a data interaction request for the first data, wherein the data deletion request includes a first data identification, wherein the first data identification is used to identify the first data, wherein the first data is used to display a target file, wherein the target file includes template information, wherein the template information is used to instruct an information input party to input information to be input in the target file, wherein the first data is stored in the first storage party, and after the first data is deleted from the first storage party, data recovery in the first storage party is impossible;

[0016] The second change unit is used to change the state identified by the state identification information to a non-deletion state based on obtaining a data recovery request. The state identification information identified as a non-deletion state is used to respond to a data interaction request for the first data, and the data recovery request includes the first data identification.

[0017] In a possible implementation, the first changing unit is specifically configured to:

[0018] Based on the presence of the first data identifier in a data identifier list, changing the state identified by the state identification information corresponding to the first data to a deleted state, wherein the data identifier list is used to record data identifiers corresponding to interactive data;

[0019] The device further includes a first deleting unit:

[0020] The first deleting unit is configured to delete the first data identifier from the data identifier list based on changing the state identified by the state identification information to a deleted state.

[0021] In a possible implementation, the second changing unit is specifically configured to:

[0022] Based on the absence of the first data identifier in the data identifier list, changing the state identified by the state identification information to a non-deleted state;

[0023] The device further comprises a writing unit:

[0024] The writing unit is configured to write the first data identifier into the data identifier list based on changing the state identified by the state identification information to a non-deleted state.

[0025] In a possible implementation, the apparatus further includes a first generating unit, a second deleting unit, and a restoring unit:

[0026] The first generating unit is configured to generate backup data of the data to be deleted corresponding to the first data identifier based on the data deletion request, wherein the first data does not include the data to be deleted;

[0027] The second deleting unit is configured to delete the data to be deleted and write the backup data into the first data;

[0028] The recovery unit is configured to recover the to-be-deleted data according to the backup data based on obtaining the data recovery request.

[0029] In a possible implementation, the first data is stored in the first storage, and the apparatus further includes a first indication unit and a second indication unit:

[0030] The first instructing unit is configured to, based on obtaining the data deletion request, instruct the second storage party to move the second data from a non-deleted data set to a deleted data set, where the second data is data corresponding to the first data identifier, the second storage party includes the non-deleted data set and the deleted data set, the non-deleted data set is used to store data that can be interacted with through the second storage party, and the deleted data set is used to store data that cannot be interacted with through the second storage party;

[0031] The second instructing unit is configured to instruct the second storage party to move the second data from the deleted data set to the non-deleted data set based on obtaining the data recovery request.

[0032] In a possible implementation, the first indicating unit is specifically configured to:

[0033] Determine, according to the identifier mapping relationship, a second data identifier corresponding to the first data identifier, where the second data identifier is used to identify the second data, and the identifier mapping relationship is used to record a mapping relationship between the data identifier of the data stored by the first storage party and the data identifier of the data stored by the second storage party;

[0034] The second data identifier is used to instruct the second storage party to move the second data from the undeleted data set to the deleted data set.

[0035] In one possible implementation, the first data and the second data are used to display the target file, the first data includes element identifiers corresponding to constituent elements and element distribution information of the constituent elements in the target file, and the second data includes the constituent elements, which are used to constitute the target file.

[0036] In a possible implementation, the first data and the second data are used to display and process the target file. The first data also includes processing flow information corresponding to the target file, and the processing flow information is used to identify the processing flow corresponding to the target file.

[0037] In a possible implementation, the first changing unit is specifically configured to:

[0038] Based on the acquired data deletion request, determining whether a first initiator of the data deletion request satisfies a data deletion condition;

[0039] Based on the first initiator satisfying the data deletion condition, changing the state identified by the state identification information corresponding to the first data to a deletion state;

[0040] The second changing unit is specifically configured to:

[0041] Based on the acquired data recovery request, determining whether a second initiator who initiated the data recovery request meets a data recovery condition;

[0042] Based on the second initiator satisfying the data recovery condition, the state identified by the state identification information is changed to a non-deleted state.

[0043] In a possible implementation, the state identification information indicating that the state is a non-deletion state is used to respond to a data interaction request from the second initiator for the first data, and the apparatus further includes a third changing unit:

[0044] The third change unit is used to change the state identified by the state identification information to a general state based on obtaining the permission change request initiated by the second initiator. The state identification information identified as the general state is used to respond to the data interaction request of the target initiator for the first data. The target initiator is different from the second initiator.

[0045] In a possible implementation, the first data is stored in the first storage device, and the apparatus further includes a determining unit and an adding unit:

[0046] The determining unit is configured to determine whether there is data having the same data name as the first data in the non-deleted data stored by the first storage party based on the change of the state identified by the state identification information to a non-deleted state, the non-deleted data being data other than the first data and having a state identified by the corresponding state identification information as a non-deleted state;

[0047] The adding unit is used to add preset name information to the data name corresponding to the first data based on the presence of data with the same data name as the first data in the non-deleted data, and the data name after adding the preset name information does not have the same data name in the data name corresponding to the non-deleted data.

[0048] In a fourth aspect, an embodiment of the present application discloses a data processing device, comprising a first display unit, a second display unit, a hidden unit, and a third display unit:

[0049] The first display unit is used to display an available data interface, the available data interface includes data controls corresponding to multiple interactive data, the first data is data whose status identified by the corresponding status identification information is not a deleted state, the status identification information indicating the status is a deleted state is used to reject a data interaction request for the first data, the first data is any one of the multiple interactive data, the first data is used to display a target file, the target file includes template information, the template information is used to instruct an information input party to input information to be input in the target file, the first data is stored in the first storage party, and after the first data is deleted in the first storage party, the data cannot be restored in the first storage party;

[0050] The second display unit is configured to display a data deletion control corresponding to the first data based on a first trigger operation on a first data control corresponding to the first data;

[0051] The hiding unit is configured to hide the first data control from the available data interface and display a data recovery control corresponding to the first data based on a second trigger operation on the data deletion control, wherein the second trigger operation is configured to change the state identified by the state identification information to a deletion state;

[0052] The third display unit is used to add the first data control in the available data interface based on a third trigger operation for the data recovery control, and the third trigger operation is used to change the state identified by the state identification information to a non-deletion state. The state identification information identified as a non-deletion state is used to respond to a data interaction request for the first data.

[0053] In a possible implementation, the state identification information indicating that the state is a non-deletion state is used to respond to a data interaction request of the first operator for the first data, and the apparatus further includes a fourth display unit and a third indication unit:

[0054] The fourth display unit is used to display the permission change control;

[0055] The third indication unit is used to instruct the second device corresponding to the second operating party to add the first data control in the available data interface displayed to the second operating party based on the fourth trigger operation on the permission change control. The fourth trigger operation is used to change the state identified by the state identification information to a general state. The state identification information identified as the general state is used to respond to the second operating party's data interaction request for the first data. The second operating party is different from the first operating party.

[0056] In a fifth aspect, an embodiment of the present application discloses a computer device, comprising a processor and a memory:

[0057] The memory is used to store a computer program and transmit the computer program to the processor;

[0058] The processor is configured to execute the data processing method described in any one of the first aspects, or the object information display method described in any one of the second aspects, according to instructions in the computer program;

[0059] In a sixth aspect, an embodiment of the present application discloses a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, wherein the computer program is used to execute the data processing method described in any one of the first aspect or the data processing method described in any one of the second aspect;

[0060] In the seventh aspect, an embodiment of the present application discloses a computer program product including a computer program, which, when running on a computer device, enables the computer device to execute the data processing method described in any one of the first aspects, or execute the data processing method described in any one of the second aspects.

[0061] It can be seen from the above technical solution that since the first data is stored in the first storage party, and the first storage party does not support the recovery of the first data after the first data is actually deleted, the traditional data recovery method cannot provide a data recovery function for the first data. The present application adds status identification information corresponding to the data. After obtaining a data deletion request for the first data, the first data will not be deleted directly, but the state identified by the status identification information corresponding to the first data will be changed to a deletion state. The status identification information identified as a deletion state is used to reject the data interaction request for the first data, so that the operation end cannot continue to interact with the first data, such as continuing to obtain, display, edit the first data, etc., which can bring about the perception effect that the first data is deleted. Based on obtaining a data recovery request for the first data, the state identified by the status identification information corresponding to the first data can be changed to a non-deletion state. The status identification information identified as a non-deletion state is used to respond to the data interaction request for the first data, so that the first data can continue to interact, such as restoring the display and editing functions of the data, which can bring about the perception effect that the first data is restored. It can be seen from this that the present application does not require the actual deletion or restoration of data on the storage side, and can also bring the perceived effect of data deletion or restoration to the data interaction side, thereby providing the data interaction side with a data recovery function based on the storage side that does not support the data recovery function, thereby improving the versatility of the data recovery function. At the same time, in the process of data deletion / recovery, only the state identification information needs to be changed, and there is no need to perform complex processing such as moving and restoring the data. Therefore, the efficiency of data deletion / recovery is relatively high, and it can quickly respond to the data processing operations of the data interaction side, thereby improving the convenience of data processing. In addition, since the first data is used to display the target file, the target file includes template information, and the template information is used to instruct the information input party to enter the information to be entered in the target file, on the one hand, it is necessary to ensure that the template information does not undergo abnormal changes, thereby ensuring the effectiveness of the template information in guiding information input; on the other hand, it is necessary to ensure that the information entered by the information input party does not undergo abnormal changes, thereby ensuring the information security of the information input party. However, when simulating the data deletion / recovery function, the present application does not actually process the first data, but only changes the state identified by the state identification information. Therefore, compared with traditional data recovery methods, the impact on the data is lower, and the probability of data anomalies is lower, which is more suitable for scenarios with higher data security requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0063] Figure 1 A schematic diagram of a data processing method in a practical application scenario provided by an embodiment of the present application;

[0064] Figure 2 A flowchart of a data processing method provided in an embodiment of the present application;

[0065] Figure 3 A schematic diagram of a data processing method provided in an embodiment of the present application;

[0066] Figure 4 A schematic diagram of a data processing method provided in an embodiment of the present application;

[0067] Figure 5 A flowchart of a data processing method provided in an embodiment of the present application;

[0068] Figure 6 A schematic diagram of a data processing method provided in an embodiment of the present application;

[0069] Figure 7 A schematic diagram of a data processing method provided in an embodiment of the present application;

[0070] Figure 8 A schematic diagram of a data processing method provided in an embodiment of the present application;

[0071] Figure 9 A flowchart of a data processing method in an actual application scenario provided by an embodiment of the present application;

[0072] Figure 10 A flowchart of a data processing method in an actual application scenario provided by an embodiment of the present application;

[0073] Figure 11 A structural block diagram of a data processing device provided in an embodiment of the present application;

[0074] Figure 12 A structural block diagram of a data processing device provided in an embodiment of the present application;

[0075] Figure 13 A structural diagram of a terminal provided in an embodiment of the present application;

[0076] Figure 14A structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0077] The embodiments of the present application are described below with reference to the accompanying drawings.

[0078] Data deletion and data recovery are both common steps in data processing. The data deletion function can provide a convenient data management experience for data interacting parties, while the data recovery function can prevent data interacting parties from deleting incorrect data, thereby improving the security of data processing.

[0079] In related technologies, some storage parties are able to provide data recovery functions to data interacting parties. However, these storage parties implement data recovery functions by setting up deleted data collections, such as a "recycle bin". Data deleted by the data interacting party will first be placed in the deleted data collection and cleared regularly. When data recovery is needed, the data will be found in the deleted data collection for recovery.

[0080] However, not all storage parties have a data set for temporarily storing deleted data. In related technologies, when a storage party does not have such a data set, the deleted data will disappear directly and cannot be restored.

[0081] In order to solve the above technical problems, the present application provides a data processing method that can respond to and reject data interaction requests for data by changing the state identified by the state identification information in the data, thereby bringing about the perceived effect of data deletion / recovery. Without the need to perform complex operations such as actual movement and deletion of data, and without the need to establish additional data sets, it can provide effective data deletion and recovery functions to data interaction parties, thereby lowering the requirements for the storage party to implement the function and improving the versatility and efficiency of the data deletion and recovery functions.

[0082] It is understandable that the method can be applied to a computer device, which is a computer device capable of data processing, such as a terminal device or a server. The method can be executed independently by a terminal device or a server, or it can be applied to a network scenario in which a terminal device and a server communicate, and is executed in cooperation with the terminal device and the server. Among them, the terminal device can be a mobile phone, a tablet computer, a laptop computer, a desktop computer and other devices. The terminal device can also include a variety of virtual reality devices, for example, it can include augmented reality (AR) devices, such as AR glasses, AR screens and other devices, and can include virtual reality technology (VR) devices, such as head-mounted VR glasses and other devices. The server can be understood as an application server or a web server. In actual deployment, the server can be a standalone server, a cluster server, or a cloud server.

[0083] In order to facilitate understanding of the technical solution provided by this application, the data processing method provided by the application will be introduced in conjunction with an actual application scenario.

[0084] See also Figure 1 , Figure 1 This is a schematic diagram of a data processing method in an actual application scenario provided in an embodiment of the present application. In this actual application scenario, the computer device is a server 101 with a data processing function, and the first data may be data stored in the server 101.

[0085] When a first initiator wishes to delete first data from server 101 to stop using the first data, it may initiate a data deletion request for the first data. The data deletion request includes a first data identifier for identifying the first data. The first data has corresponding status identifier information, which identifies the status of the first data. Server 101 determines whether to respond to the data interaction request for the first data based on the status.

[0086] Based on obtaining a data deletion request, the server 101 can change the state identified by the state identification information to a deletion state. When the identified state is a deletion state, the server 101 will reject the data interaction party's data interaction request for the first data, that is, the data interaction party cannot continue to interact with the first data, for example, cannot obtain, display, edit the first data, etc., so that for the data interaction party, the server 101 can bring a perceptual effect similar to that of the first data being deleted, but in fact the server 101 does not need to delete the first data.

[0087] Similarly, if the second initiator wants to restore the interaction function with the first data, it can initiate a data recovery request for the first data. The data recovery request also includes the first data identifier. Server 101 can identify the first data through the first data identifier, thereby determining the state identification information corresponding to the first data, and changing the state identified by the state identification information to a non-deleted state. Based on the identified state being a non-deleted state, server 101 can respond to the data interaction request for the first data initiated by the data interaction party, so that the data interaction party can continue to interact with the first data. For the data interaction party, server 101 can bring a perceptual effect similar to that of the first data being restored.

[0088] It can be seen from this that, without having to perform complex operations on the first data or establish an additional data set, the server 101 only needs to change the state identified by the state identification information corresponding to the first data, so as to bring the perception effect of data deletion / recovery to the data interaction party. On the one hand, it reduces the complexity of data processing and improves data processing efficiency. On the other hand, it reduces the performance requirements for the data storage party and improves the versatility of the data processing function.

[0089] Next, the data processing method provided by this application will be introduced in conjunction with the accompanying drawings.

[0090] See also Figure 2 , Figure 2 This is a flowchart of a data processing method provided in an embodiment of the present application. In this embodiment, the computer device may be any of the above-mentioned computer devices with data processing functions. The method includes:

[0091] S201: Based on obtaining a data deletion request, changing the state identified by the state identification information corresponding to the first data to a deletion state.

[0092] To implement data deletion / recovery functionality, a computer device can set corresponding status identification information for each piece of data stored by the storage entity. The status identification information controls how the computer device handles data interaction requests. Data interaction requests are used to request interaction with data, such as acquiring data, displaying data, or generating various files from data, with no limitation on the interaction method. The first data is used to display a target file, which includes template information. The template information is used to instruct the information inputter to enter the required information into the target file. For example, the target file can be a report template file, which includes report template information. The report template information can inform the information inputter which required information to enter when submitting a report. That is, when an information inputter has entered information, the target file can include the inputted information; when no information inputter has entered information, the target file can only include the template information. Of course, the data processing method of this application is applicable to a variety of data types; the first data described above is only one type, and this application does not limit this.

[0093] Because template information serves as a guide for information input, ensuring that it does not undergo unusual changes is fundamental to ensuring the validity of the target file. Furthermore, ensuring that the inputted information does not undergo unusual changes is also key to ensuring the security of the inputting party. Traditional data recovery functions require processing the data itself, resulting in a high probability of unusual data changes during the data deletion and recovery process. Consequently, traditional data processing methods cannot guarantee the security of the target file.

[0094] Furthermore, in this application, the first data is stored in the first storage device. After the first data is deleted from the first storage device, it cannot be restored from the first storage device. In other words, the first storage device cannot support traditional data deletion and recovery functions. Therefore, a data processing method is needed that can achieve data deletion and recovery effects without processing the data itself.

[0095] It is understandable that, from the perspective of the data interaction party's perception, deleting data means not interacting with the data and not being able to perceive the data. Therefore, in order to provide data deletion function without actually deleting the data, computer equipment can simulate the data deletion effect by rejecting data interaction requests for the data.

[0096] If the initiator wishes to delete the first data, it may initiate a data deletion request for the first data. To enable the computer device to locate the data to be deleted, the data deletion request includes a first data identifier, which is used to identify the first data. Based on receiving the data deletion request, the computer device may change the state identified by the state identification information corresponding to the first data to a deleted state. The state identification information indicating the deleted state is used to reject the data interaction request for the first data.

[0097] That is, after changing to the deleted state, the data interaction request for the first data will be rejected, so that the data interaction party cannot continue to interact with the first data, that is, it cannot perceive (such as observe, use, edit, etc.) the first data. For the data interaction party, the first data is approximately in a deleted state, so the computer device can realize the data deletion function by changing the state identified by the state identification information.

[0098] S202: Based on the data recovery request, the state identified by the state identification information is changed to a non-deleted state.

[0099] Similar to data deletion, when the data exchange party can perceive the data again, from the perspective of perception, the data exchange party usually believes that the data has been restored. Based on this, if the initiator wants to restore the first data, it can initiate a data recovery request for the first data. Similarly, in order for the computer device to locate the first data, the data recovery request includes the first data identifier.

[0100] After locating the first data using the first data identifier, the computer device may change the state identified by the state identification information corresponding to the first data to a non-deleted state. The state identification information indicating the non-deleted state is used to respond to data interaction requests for the first data. That is, after changing to the deleted state, the computer device can respond to data interaction requests for the first data, so that the data interaction party can continue to interact with the first data, that is, can re-perceive the first data. For the data interaction party, the first data is approximately in a restored state, so the computer device can implement a data recovery function by changing the state identified by the state identification information.

[0101] It can be seen from the above technical solution that the present application can bring the perception effect of data deletion or recovery to the data interacting party by changing the state identified by the state identification information corresponding to the data, without actually deleting or restoring the data, so that the data recovery function can be provided to the data interacting party based on the storage party that does not support the data recovery function, thereby improving the versatility of the data recovery function. At the same time, in the process of data deletion / recovery, only the state identification information needs to be changed, and there is no need to move, restore or other complex processing of the data. Therefore, the efficiency of data deletion / recovery is high, and it can quickly respond to the data processing operations of the data interacting party, thereby improving the convenience of data processing. In addition, since the first data is used to display the target file, the target file includes template information, and the template information is used to instruct the information input party to enter the information to be input in the target file. Therefore, on the one hand, it is necessary to ensure that the template information does not undergo abnormal changes, thereby ensuring the effectiveness of the template information in guiding information input; on the other hand, it is necessary to ensure that the information input by the information input party does not undergo abnormal changes, thereby ensuring the information security of the information input party. However, when simulating the data deletion / recovery function, the present application does not actually process the first data, but only changes the state identified by the state identification information. Therefore, compared with traditional data recovery methods, the impact on the data is lower, and the probability of data anomalies is lower, which is more suitable for scenarios with higher data security requirements.

[0102] In addition, it can be seen from the above technical content that the present application can also be applied to storage parties that support traditional data deletion and recovery functions. That is, if some data in such storage parties have higher data security requirements, the data processing method of the present application can also be used to provide perceived data deletion and recovery functions, that is, the application scenario is not limited to the first type of storage party.

[0103] Next, the technical details involved in this application will be introduced in detail.

[0104] It is understandable that if a piece of data is repeatedly processed by the same data processing flow, it is easy to cause data processing anomalies. For example, if the state identification information corresponding to the first data indicates that the state is deleted, if a data deletion request is received again for the first data, the computer device may be unable to execute the state change operation, resulting in a data anomaly. Based on this, the computer device can effectively manage the data state by establishing a data identification list to avoid data anomalies caused by repeated processing.

[0105] On the one hand, in one possible implementation, the computer device can avoid repeated deletion of the same data by using the data identification list. When executing step S201, the computer device can execute step S2011 (not shown in the figure). Step S2011 is a possible implementation of step S201, including:

[0106] S2011: Based on the existence of the first data identifier in the data identifier list, the state identified by the state identification information corresponding to the first data is changed to a deleted state.

[0107] The data identification list is used to record the data identifications corresponding to interactive data. Interactive data refers to data that can respond to data interaction requests initiated by the data interaction server. For example, it may include data whose status is identified as non-deleted by the aforementioned status identification information, that is, data whose status is not deleted by the status identification information. After receiving a data deletion request, the computer device may first detect whether the first data identification is in the data identification list. If it is, it means that the status identified by the status identification information corresponding to the first data is not deleted. At this time, the probability of data anomalies occurring during a status change is low, so the status change operation can be performed.

[0108] Furthermore, to maintain the accuracy of the data identification list, the computer device can delete the first data identification from the data identification list based on the change of the state identified by the state identification information to the deleted state, thereby ensuring that the data identified by the data identification information in the data identification list are all interactive data. Thus, by using the data identification list, the computer device can avoid repeatedly deleting data that is already in a non-interactive state, thereby reducing the probability of data anomalies.

[0109] On the other hand, the computer device can avoid repeated recovery processing of the same data based on the data identification list. When executing step S202, the computer device can execute step S2021 (not shown in the figure), which is a possible implementation of step S202, including:

[0110] S2021: Based on the absence of the first data identifier in the data identifier list, change the state identified by the state identification information to a non-deleted state.

[0111] After receiving a data recovery request, the computer device may first detect whether the first data identifier is in the data identification list. If the first data identifier is present, it indicates that the first data is already in an interactive state, that is, the state identified by the state identification information is not a deleted state, and the first data has been recovered. Therefore, the computer device may no longer perform a state change operation. If the first data identifier is not present in the data identification list, it indicates that the state identified by the state identification information corresponding to the first data is a deleted state, and data recovery can be performed. At this time, the computer device performs a state change operation, thereby avoiding repeated data recovery and further reducing the probability of data anomalies.

[0112] Similarly, to maintain the validity of the data identification list, after the state identified by the status identification information is changed to a non-deleted state, i.e., after the first data is interactive data, the computer device can write the first data identification into the data identification list, thereby restoring the data deletion function for the first data. Furthermore, in conjunction with the above process, it can be seen that after the state identified by the status identification information is changed to a deleted state, deleting the first data identification from the data identification list ensures that the first data can be successfully restored, thereby maintaining the validity of the data identification list and facilitating the maintenance of the data deletion / recovery function.

[0113] Furthermore, some data in the storage may not have corresponding status identification information, meaning that data deletion and restoration functions cannot be implemented for this data by changing the state identified by the status identification information. In this case, the computer device can use data that can be deleted and restored based on the status identification information to implement data processing functions for this data.

[0114] For example, Figure 3 As shown, in one possible implementation, the first data identifier has corresponding to-be-deleted data. The to-be-deleted data is data that needs to be deleted simultaneously when the first data is deleted. That is, the to-be-deleted data cannot interact with the data interaction party even when the first data is in the deleted state. The to-be-deleted data itself does not have corresponding status identification information, so it is impossible to directly delete or restore this data by changing the status identification information.

[0115] Therefore, based on obtaining the data deletion request, the computer device can generate backup data of the data to be deleted corresponding to the first data identifier. The backup data is data that can restore the data to be deleted. For example, it can be the data to be deleted itself, or it can be data obtained by processing the data to be deleted. The first data does not include the data to be deleted.

[0116] The computer device can delete the data to be deleted and write the backup data into the first data, so that the backup data will become part of the first data. Since the state identified by the state identification information of the first data is changed to the deleted state, the backup data summarized by the first data cannot interact with the data interaction party, and the data to be deleted has actually been deleted. Therefore, the data interaction party cannot continue to interact with the data to be deleted from the perception level, and the data to be deleted can be regarded as deleted.

[0117] Upon receiving a data recovery request, the computer device can restore the data to be deleted from the backup data, allowing the data interaction party to continue interacting with the data to be deleted, thus achieving data recovery of the data to be deleted. In this way, the computer device can also implement data deletion and recovery functions for data that does not have state identification information. At the same time, there is no need to establish an additional data set, and existing state identification information can be used, further improving the comprehensiveness of data processing.

[0118] This application can also be applied to data storage scenarios where multiple storage facilities jointly store data. For example, as mentioned above, some storage facilities can temporarily store deleted data by establishing data collections such as recycle bins. During data recovery, data can be retrieved from these data collections for recovery. It is understood that some data may be stored separately in multiple storage facilities, and the data recovery methods of different storage facilities may vary. The following will provide a detailed description of the two aforementioned storage facilities.

[0119] In one possible implementation, the above-described data processing method can be applied to a first storage party, which is a storage party that does not have a data set that accommodates deleted data. The first data is stored in the first storage party, and therefore the data processing method of the present application can be used to delete and restore the data. The first data also has corresponding data stored in a second storage party, and the second storage party includes an undeleted data set and a deleted data set. The undeleted data set is used to store data that can be interacted with through the second storage party, and the deleted data set is used to store data that cannot be interacted with through the second storage party, that is, deleted data.

[0120] like Figure 4 As shown, based on receiving a data deletion request, the computer device can instruct the second storage party to move the second data from the undeleted data set to the deleted data set. The second data is the data corresponding to the first data identifier. That is, when deleting the first data, the second data needs to be deleted simultaneously. When restoring the second data, the second data needs to be restored simultaneously. In the second storage party, by placing the second data in the deleted data set, the interaction between the data interaction party and the second data can be terminated, thereby deleting the second data.

[0121] Based on obtaining the data recovery request, the computer device can instruct the second storage party to move the second data from the deleted data set to the non-deleted data set. In this way, the data interaction party can continue to interact with the second data through the second storage party, thereby realizing the recovery processing of the second data.

[0122] It can be seen from this that in the case where multiple storage parties jointly store data, the present application can achieve the effect of data synchronization processing by using computer equipment to instruct other storage parties to process data, so that data processing can be combined with multiple data processing methods, further improving the versatility of data processing.

[0123] Among them, in order to enable the second storage party to know which data is the data that is processed synchronously with the first data, the computer device can construct an identification mapping relationship, which is used to record the data that needs to be processed synchronously between the first storage party and the second storage party. Specifically, the identification mapping relationship is used to record the mapping relationship between the data identification of the data stored by the first storage party and the data identification of the data stored by the second storage party. For example, under normal circumstances, when the data in the first storage party and the data in the second storage party are used to jointly execute a program function, these data usually need to be processed synchronously, for example, when deleting the program function, these data need to be deleted synchronously, etc.

[0124] When instructing the second storage party to move the second data from the undeleted data set to the deleted data set, the computer device can determine the second data identifier corresponding to the first data identifier based on the identifier mapping relationship. The second data identifier is used to identify the second data, thereby being able to determine the second data that needs to be synchronized with the first data for data processing. The computer device can use the second data identifier to instruct the second storage party to move the second data from the undeleted data set to the deleted data set. In this way, the probability of abnormal data processing for erroneous data when processing data for multiple storage parties can be reduced, further improving the stability and accuracy of data processing.

[0125] As mentioned above, multiple data with an identification mapping relationship can usually jointly execute a program function, wherein the program function may include multiple types, and a specific program function will be described in detail below.

[0126] In one possible implementation, the first data and the second data are used to display the target file. The first data may include the element identifier corresponding to the constituent element and the element distribution information of the constituent element in the target file. The second data includes the constituent elements, and the constituent elements are used to constitute the target file. For example, the constituent elements may be picture elements, text elements, etc. in the file. The element distribution information can be used to determine the display position and display method of each constituent element when displaying the target file. The element identifier can be used to extract the corresponding constituent element from the second storage party for display. Thus, through the cooperation of the data stored by the first storage party and the second storage party, the accurate representation of the target file can be achieved. The advantage of this storage method is that the first storage party only needs to store element identifiers and element distribution information with a smaller amount of data, and does not need to store specific element content. Therefore, less storage space is occupied for the first storage party, which reduces the data storage pressure of the first storage party while ensuring that the target file is accurately displayed.

[0127] Specifically, in one possible implementation, the first data and the second data can be used to display and process the target file. That is, based on the first data and the second data, the computer device can independently complete the processing flow for the target file, such as forwarding, reporting, or transmitting the target file. In addition to the aforementioned data, the first data may also include processing flow information corresponding to the target file. This processing flow information is used to identify the processing flow corresponding to the target file. Based on this processing flow information, the computer device can independently complete the processing flow corresponding to the target file without requiring additional operations by the data exchange party, further improving the convenience of data processing.

[0128] For example, the target file may be a report template used for information reporting. Element identifiers and element distribution information can be used to determine the components and distribution of the report template required for presentation. The report template can then be constructed using the components in the second data. A data interactor can input the required data into the report template. The computer device can then transmit the report template to the desired data interactor for subsequent processing based on the processing flow information in the first data. This eliminates the need for the data interactor to input data and perform the data transmission process, thereby improving data reporting efficiency.

[0129] In addition to improving the convenience and versatility of data processing, in another possible implementation, the computer device can also authenticate the data deletion and data recovery processes to ensure the security of data processing.

[0130] In terms of data deletion, when executing step S201, the computer device may execute steps S2012-S2013 (not shown in the figure). Steps S2012-S2013 are a possible implementation of step S201, including:

[0131] S2012: Based on the acquired data deletion request, determine whether the first initiator of the data deletion request meets the data deletion condition.

[0132] The data deletion condition is used to determine whether the initiator of the data deletion request has the authority to delete the first data, for example, whether the initiator is the data creator of the first data, whether the initiator has the same owner as the first data, etc.

[0133] S2013: Based on the first initiator satisfying the data deletion condition, the state identified by the state identification information corresponding to the first data is changed to a deletion state.

[0134] Based on the fact that the first initiator meets the data deletion condition, it means that the first initiator has the authority to delete the first data, and at this time the computer device can execute the data deletion process.

[0135] Similarly, when executing step S202, the computer device may execute steps S2022-S2023 (not shown in the figure). Steps S2022-S2023 are a possible implementation of step S202, including:

[0136] S2022: Based on the acquired data recovery request, determine whether the second initiator of the data recovery request meets the data recovery condition.

[0137] The data recovery condition can be used to determine whether the second initiator has the data recovery permission for the first data. The data recovery condition can be the same as the data deletion condition for determining whether the first initiator has the data deletion permission, or different conditions can be set for different data processing processes. This is not limited here.

[0138] S2023: Based on the second initiator satisfying the data recovery condition, the state identified by the state identification information is changed to a non-deleted state.

[0139] If the second initiator meets the data recovery conditions, it means that the second initiator has the authority to recover the data. At this time, the computer device can execute the above data recovery process for the first data.

[0140] As can be seen from the above process, this application can effectively authenticate the initiator of data deletion and data recovery through data recovery conditions, thereby avoiding abnormal data processing and improving data security.

[0141] To further enhance data security, in one possible implementation, the computer device can provide different data interaction permission options for the initiator of data recovery. For example, after the second initiator changes the state identified by the state identification information to a non-deleted state through data recovery, the state identification information identified as a non-deleted state can be used to respond to the second initiator's data interaction request for the first data. That is, only data interaction requests initiated by the initiator who initiated data recovery will be responded to, and data interaction requests initiated by other initiators will still be rejected. Therefore, the second initiator can perform operations such as checking and editing the recovered first data before the first data is put back into use.

[0142] If the second initiator wants to allow other initiators to interact with the first data, the data interaction permissions of the first data can be changed by initiating a permission change request. Based on obtaining the permission change request initiated by the second initiator, the computer device can change the state identified by the state identification information to a general state. The state identification information that identifies the state as a general state is used to respond to the target initiator's data interaction request for the first data. The target initiator is different from the second initiator, that is, by initiating a permission change request, other initiators except the second initiator can also interact with the first data, thereby realizing the change of the data interaction permissions of the first data, making the management of the first data more flexible, and also helping the second initiator to fully process the first data before the first data is interacted with by other initiators, so as to ensure that other initiators can successfully interact with the first data.

[0143] Furthermore, it is understood that each data item can have a corresponding data name, and data interaction parties can use the data name to distinguish different data items. Since the data interaction party cannot perceive the first data when the state identified by the status identification information is deleted, it is triggered at the perception level and may construct data with the same data name as the original data item. Furthermore, when recovering data, directly using the original data name of the first data item may result in multiple data items with the same data name appearing on the storage device, potentially preventing the data interaction party from quickly selecting the desired data for interaction.

[0144] Based on this, in one possible implementation, the computer device can ensure that the recovered data has a unique data name when performing data recovery, so that the data interaction party can quickly and accurately locate the recovered data. In this implementation, the first data is stored in the first storage party. Based on changing the state identified by the state identification information to a non-deleted state, that is, after the data is recovered, the computer device can determine whether there is data with the same data name as the first data in the non-deleted data stored by the first storage party. The non-deleted data is data other than the first data, and the state identified by the corresponding state identification information is a non-deleted state, that is, data that the data interaction party can interact with. The data interaction party can locate the non-deleted data based on the data name of the non-deleted data, thereby enabling data interaction, etc.

[0145] If there is no data with the same data name as the first data in the non-deleted data, it means that when the original data name of the first data is directly used, the data interaction party can also accurately locate the first data from multiple non-deleted data, thereby not affecting the interaction between the data interaction party and the first data, and the computer device can perform no additional processing on the data name of the first data. Based on the fact that there is data with the same data name as the first data in the non-deleted data, it means that if the data name of the first data is not processed, after the first data is restored, the data interaction party can perceive multiple data with the same data name, making it difficult to accurately locate the first data for data interaction. Based on this, the computer device can add preset name information to the data name corresponding to the first data, such as "1", "backup" and other information. After adding the preset name information, the data name does not have the same data name in the data name corresponding to the non-deleted data, thereby ensuring that the first data has a unique data name, which helps the data interaction party to quickly locate the first data. The preset name information can be arbitrarily set based on actual needs, as long as it meets the function, and is not limited here.

[0146] For example, the data name of the first data may be "Report File". If there is data with the same data name as "Report File" in the non-deleted data, after the first data is restored, the data name can be modified to "Report File 1" to distinguish it.

[0147] The above content mainly introduces the data processing flow on the back-end side of the computer equipment during the data processing process. Next, the front-end performance corresponding to several data processing methods of this application will be introduced in detail.

[0148] See also Figure 5 , Figure 5This is a flowchart of a data processing method provided in an embodiment of the present application. In this embodiment, the computer device can be any terminal device with data processing capabilities, or a combination of a server and a terminal device. The method includes:

[0149] S501: Displaying an available data interface.

[0150] See also Figure 6 The available data interface may include data controls corresponding to multiple interactive data, or may only include data controls corresponding to a single interactive data. The data control is used to trigger the processing of the data. The first data is data whose status identified by the corresponding status identification information is not a deleted state. The status identification information indicating that the status is a deleted state is used to reject the data interaction request for the first data. The first data is any one of the multiple interactive data. That is, the interactive data is the data that the data interaction parties can interact with. Figure 6 In the example, the first data may be data 1, and the available data interface includes seven data controls corresponding to interactive data, including data 1 to data 7. The first data is used to display the target file, which includes template information. The template information is used to instruct the information inputter to enter the information to be input in the target file. The first data is stored in the first storage. Once the first data is deleted from the first storage, it cannot be restored in the first storage.

[0151] S502: Based on a first trigger operation on a first data control corresponding to the first data, display a data deletion control corresponding to the first data.

[0152] If the operator wants to initiate a data deletion process for the first data, the operator may perform a first trigger operation on the first data control corresponding to the first data, such as clicking or long pressing the first data control. Based on the first trigger operation, the computer device may display a data deletion control corresponding to the first data, and the data deletion control is used to trigger the data deletion process for the first data.

[0153] S503: Based on a second trigger operation for the data deletion control, the first data control is hidden from the available data interface, and a data recovery control corresponding to the first data is displayed, where the second trigger operation is used to change the state identified by the state identification information to a deletion state.

[0154] If the operator determines to delete the first data and make it imperceptible, a second trigger operation can be performed on the data deletion control. The second trigger operation is used to change the state identified by the state identification information to a deletion state. It can be seen from the above content that the data interaction request for the first data will be rejected at this time, so the operator can no longer perceive the first data. From the perception level, the first data is successfully deleted.

[0155] In addition, if Figure 7 As shown, in order to provide the operator with a data recovery function, the computer device can display a data recovery control corresponding to the first data to the operator, and the data recovery control is used to trigger the data recovery process for the first data. For example, the computer device can display Figure 7 The recoverable data interface shown in , which is used to display data that supports data recovery, includes data 1, that is, first data, and data 1 has corresponding data recovery controls.

[0156] S504: Based on the third trigger operation on the data recovery control, add a first data control to the available data interface.

[0157] If the operator wants to continue to interact with the first data, a third trigger operation can be performed on the data recovery control. The third trigger operation is used to change the state identified by the state identification information to a non-deleted state. The state identification information identified as a non-deleted state is used to respond to the data interaction request for the first data. That is, after executing the third processing operation, the data interaction request initiated by the operator for the first data will be responded to, so that the operator can continue to interact with the first data. From the perspective of perception, the first data has been successfully restored. In addition, in order to enable the operator to perceive that the first data has been restored, the computer device can add a first data control in the available data interface, such as Figure 7 As shown, the operator can know that the first data has become interactive data again.

[0158] It can be seen from the above content that the change of data interaction permissions can be achieved by changing the state identified by the state identification information. Next, the front-end interaction performance of the permission change will be introduced. In a possible implementation method, the above-mentioned data processing method can be applied to the first device corresponding to the first operator. The first operator is the operator who deletes and restores data through the trigger operation. The first device can be any device that can execute the above-mentioned data processing method. The state identification information that is identified as a non-deletion state is used to respond to the first operator's request for data interaction with the first data, that is, the first operator can obtain the permission to interact with the first data only through the third trigger operation, and other operators are still unable to interact with the first data.

[0159] like Figure 8As shown, the computer device can display a permission change control. If the first operator wants to grant other operators the permission to interact with the first data, a fourth trigger operation can be performed on the permission change operation. This fourth trigger operation is used to change the state identified by the state identification information to a general state. The state identification information identified as the general state is used to respond to a data interaction request for the first data from a second operator, who is different from the first operator. In other words, through this fourth trigger operation, a second operator other than the first operator can also obtain the permission to interact with the first operator.

[0160] In order to inform the second operator that it has obtained permission to interact with the first operator, based on the fourth trigger operation for the permission change control, the computer device can instruct the second operator's corresponding second device to add the first data control to the available data interface displayed to the second operator, so that the second operator can know that the first data has become data with which it can interact. In this way, the first operator can be given the ability to grant other operators permission to interact. On the one hand, this allows the first operator to have sufficient time to review or edit the data before it is interacted with by other operators; on the other hand, it allows the first operator to effectively manage data interactions, thereby improving data security.

[0161] It can be understood that the above-mentioned operating party, initiator or data interaction party can be any party that can perform the corresponding action, such as a user, artificial intelligence, etc.; the above-mentioned triggering operations can be any triggering operation that can realize the function, and are not limited here.

[0162] In order to facilitate understanding of the technical solution provided by this application, the data processing method provided by this application will be introduced below in combination with an actual application scenario.

[0163] See also Figure 9 , Figure 9 A signaling diagram of a data processing method in an actual application scenario provided by an embodiment of the present application. In this actual application scenario, the computer device can be a first storage party background device. The actual application scenario includes the first storage party, the second storage party, the first storage party background device and the second storage party background device. The first storage party background device is used to manage the data stored by the first storage party, and the second storage party background device is used to manage the data stored by the second storage party.

[0164] The method includes:

[0165] S901: A first operator performs a trigger operation on a data deletion control corresponding to first data.

[0166] The first operator may send a data deletion request to the first storage party backend device through the trigger operation, where the data deletion request includes a first data identifier corresponding to the first data.

[0167] S902: The backend device of the first storage party checks whether the first operation party meets the data deletion condition.

[0168] The data deletion condition here may be to check whether the first operator is a user with a special identity, whether the first operator is the creator of the first data, etc., and then check whether the first operator and the first data correspond to the same owner.

[0169] S903: The backend device of the first storage party reads the data identification list and the template detail information corresponding to the first data identification.

[0170] The template details information is the first data, and the template details information can be used to record element identifiers corresponding to the constituent elements included in the first data, as well as element distribution information, processing flow information, and the like.

[0171] S904: The backend device of the first storage party backs up the special information in the data identification list to the template details information, and changes the status identified by the status identification information to a deleted status.

[0172] The backend device of the first storage party can determine whether the first data identifier is in the data identifier list. If so, it means that the first data has not been deleted, and the data deletion process for the first data can be executed. Among them, special information is information that can only be deleted directly and does not have corresponding status identification information. Therefore, it needs to be backed up to the first data, and the data deletion of the special information is achieved through the status identification information corresponding to the first data. Special information can be interactive permission information corresponding to the first data, data processing process information, etc., which is not limited here.

[0173] S905: The first storage party backend device deletes the first data identifier from the data identifier list.

[0174] In order to avoid deleting duplicate data, the computer device may delete the first data identifier from the data identifier list after the status identifier information is changed.

[0175] S906: The backend device of the first storage party instructs the second storage party to delete the second data corresponding to the first data identifier.

[0176] In order to let the backend device of the second storage party know which data needs to be deleted synchronously with the first data, the backend device of the first storage party can determine the second data identifier corresponding to the first data identifier based on the data identifier mapping relationship, and send it to the backend device of the second storage party. The second data identifier can identify the second data that needs to be deleted synchronously with the first data.

[0177] S907: The backend device of the second storage party marks the second data as deleted data.

[0178] In this practical application scenario, the first and second data are used together to present a report template. The second data includes the elements that make up the report template, as well as data entered in the data editing direction recovery template. The second data is stored in a second storage entity and managed by the second storage entity's backend. Marking the second data as deleted triggers the deletion process for the second data.

[0179] S908: The backend device of the second storage party deletes the second data.

[0180] S909: The second storage party moves the second data to the deleted data set.

[0181] The backend device of the second storage party may instruct the second storage party to move the second data to the deleted data set, thereby making the second data unable to be interacted with, and completing the deletion of the second data.

[0182] See also Figure 10 , Figure 10 A signaling diagram of a data processing method in an actual application scenario provided in an embodiment of the present application is mainly directed to a data recovery process. The method includes:

[0183] S1001: A second operating party performs a trigger operation on a data recovery control corresponding to first data.

[0184] exist Figure 10 An intermediate forwarding party is added, which can be used to display the data recovery control corresponding to the first data to the second operating party.

[0185] S1002: The intermediate forwarding party instructs the second storage party to perform data recovery on the second data.

[0186] S1003: The backend device of the second storage party marks the second data as being in a normal state.

[0187] By marking the second data as being in a normal state, a data recovery process for the second data in the background of the second storage party may be triggered, ie, the second data may be moved to a non-deleted data set.

[0188] S1004: The second storage party moves the second data from the deleted data set to the non-deleted data set.

[0189] S1005: The backend device of the first storage party determines whether the second operation party meets the data recovery conditions.

[0190] S1006: The backend device of the first storage party reads the data identification list and template detail information.

[0191] The first storage party backend device can determine whether the data identification list contains the first data identifier. If not, a data recovery process is executed, and the template detail information is the first data.

[0192] S1007: The backend device of the first storage party changes the state identified by the state identification information corresponding to the first data to a non-deleted state, and adds special information and the first data identification to the data identification list.

[0193] S1008: The backend device of the first storage party analyzes the data name of the first data to ensure that no data with the same data name as the first data exists in the first storage party.

[0194] The backend device of the first storage party can determine whether the data stored by the first storage party contains data with the same data name as the first data. If so, it adds preset name information to the data name of the first data to obtain a non-duplicate data name. The backend device of the first storage party can return the new data name to the backend device of the second storage party, so that it can synchronously change the data name of the second data, and can also cause the intermediate forwarding party to display the data control corresponding to the first data, and the data control can display the new data name corresponding to the first data.

[0195] From the above content, it can be seen that compared with the related art, this application has the following technical effects:

[0196] (1) In the first storage party, the present application does not need to actually delete or restore the data. It only needs to change the state identified by the state identification information corresponding to the data to bring the perception effect of data deletion and restoration to the operator.

[0197] (2) This application can be combined with storage devices corresponding to various data processing methods to simultaneously delete or restore multiple data with mapping relationships, thereby improving the versatility of data processing.

[0198] (3) This application can provide the operator with a variety of data interaction permission modes, while supporting rapid switching between multiple permissions, thereby improving the flexibility of data processing.

[0199] (4) This application can effectively authenticate the operator during data processing and recovery, thereby improving data security.

[0200] Based on the data processing method for the data deletion process described in the above embodiment, this application also provides a data processing device, see Figure 11 , Figure 11 This is a structural block diagram of a data processing device provided in an embodiment of the present application. The device 1100 includes a first changing unit 1101 and a second changing unit 1102:

[0201] The first changing unit 1101 is configured to change the state identified by the state identification information corresponding to the first data to a deleted state based on obtaining a data deletion request, wherein the state identification information indicating the state is the deleted state is used to reject a data interaction request for the first data, wherein the data deletion request includes a first data identification, wherein the first data identification is used to identify the first data, wherein the first data is used to display a target file, wherein the target file includes template information, wherein the template information is used to instruct an information input party to input information to be input in the target file, wherein the first data is stored in a first storage party, and after the first data is deleted from the first storage party, data recovery in the first storage party is impossible;

[0202] The second changing unit 1102 is used to change the state identified by the state identification information to a non-deleted state based on obtaining a data recovery request. The state identification information indicating the non-deleted state is used to respond to a data interaction request for the first data, and the data recovery request includes the first data identification.

[0203] In a possible implementation, the first changing unit 1101 is specifically configured to:

[0204] Based on the presence of the first data identifier in a data identifier list, changing the state identified by the state identification information corresponding to the first data to a deleted state, wherein the data identifier list is used to record data identifiers corresponding to interactive data;

[0205] The device further includes a first deleting unit:

[0206] The first deleting unit is configured to delete the first data identifier from the data identifier list based on changing the state identified by the state identification information to a deleted state.

[0207] In a possible implementation, the second changing unit 1102 is specifically configured to:

[0208] Based on the absence of the first data identifier in the data identifier list, changing the state identified by the state identification information to a non-deleted state;

[0209] The device further comprises a writing unit:

[0210] The writing unit is configured to write the first data identifier into the data identifier list based on changing the state identified by the state identification information to a non-deleted state.

[0211] In a possible implementation, the apparatus further includes a first generating unit, a second deleting unit, and a restoring unit:

[0212] The first generating unit is configured to generate backup data of the data to be deleted corresponding to the first data identifier based on the data deletion request, wherein the first data does not include the data to be deleted;

[0213] The second deleting unit is configured to delete the data to be deleted and write the backup data into the first data;

[0214] The recovery unit is configured to recover the to-be-deleted data according to the backup data based on obtaining the data recovery request.

[0215] In a possible implementation, the first data is stored in the first storage, and the apparatus further includes a first indication unit and a second indication unit:

[0216] The first instructing unit is configured to, based on obtaining the data deletion request, instruct the second storage party to move the second data from a non-deleted data set to a deleted data set, where the second data is data corresponding to the first data identifier, the second storage party includes the non-deleted data set and the deleted data set, the non-deleted data set is used to store data that can be interacted with through the second storage party, and the deleted data set is used to store data that cannot be interacted with through the second storage party;

[0217] The second instructing unit is configured to instruct the second storage party to move the second data from the deleted data set to the non-deleted data set based on obtaining the data recovery request.

[0218] In a possible implementation, the first indicating unit is specifically configured to:

[0219] Determine, according to the identifier mapping relationship, a second data identifier corresponding to the first data identifier, where the second data identifier is used to identify the second data, and the identifier mapping relationship is used to record a mapping relationship between the data identifier of the data stored by the first storage party and the data identifier of the data stored by the second storage party;

[0220] The second data identifier is used to instruct the second storage party to move the second data from the undeleted data set to the deleted data set.

[0221] In one possible implementation, the first data and the second data are used to display the target file, the first data includes element identifiers corresponding to constituent elements and element distribution information of the constituent elements in the target file, and the second data includes the constituent elements, which are used to constitute the target file.

[0222] In a possible implementation, the first data and the second data are used to display and process the target file. The first data also includes processing flow information corresponding to the target file, and the processing flow information is used to identify the processing flow corresponding to the target file.

[0223] In a possible implementation, the first changing unit 1101 is specifically configured to:

[0224] Based on the acquired data deletion request, determining whether a first initiator of the data deletion request satisfies a data deletion condition;

[0225] Based on the first initiator satisfying the data deletion condition, changing the state identified by the state identification information corresponding to the first data to a deletion state;

[0226] The second changing unit 1102 is specifically configured to:

[0227] Based on the acquired data recovery request, determining whether a second initiator who initiated the data recovery request meets a data recovery condition;

[0228] Based on the second initiator satisfying the data recovery condition, the state identified by the state identification information is changed to a non-deleted state.

[0229] In a possible implementation, the state identification information indicating that the state is a non-deletion state is used to respond to a data interaction request from the second initiator for the first data, and the apparatus further includes a third changing unit:

[0230] The third change unit is used to change the state identified by the state identification information to a general state based on obtaining the permission change request initiated by the second initiator. The state identification information identified as the general state is used to respond to the data interaction request of the target initiator for the first data. The target initiator is different from the second initiator.

[0231] In a possible implementation, the first data is stored in the first storage device, and the apparatus further includes a determining unit and an adding unit:

[0232] The determining unit is configured to determine whether there is data having the same data name as the first data in the non-deleted data stored by the first storage party based on the change of the state identified by the state identification information to a non-deleted state, the non-deleted data being data other than the first data and having a state identified by the corresponding state identification information as a non-deleted state;

[0233] The adding unit is used to add preset name information to the data name corresponding to the first data based on the presence of data with the same data name as the first data in the non-deleted data, and the data name after adding the preset name information does not have the same data name in the data name corresponding to the non-deleted data.

[0234] Based on the data processing method for the data recovery process described in the above embodiment, the present application also provides a data processing device, see Figure 12 , Figure 12 This is a structural block diagram of a data processing device provided in an embodiment of the present application, wherein the device includes a first display unit 1201, a second display unit 1202, a hiding unit 1203, and a third display unit 1204:

[0235] The first display unit 1201 is used to display an available data interface, the available data interface including data controls corresponding to a plurality of interactive data, the first data being data whose status, as indicated by the corresponding status identification information, is not a deleted state, the status identification information indicating a deleted state is used to reject a data interaction request for the first data, the first data being any one of the plurality of interactive data, the first data being used to display a target file, the target file including template information, the template information being used to instruct an information inputter to input information to be input in the target file, the first data being stored in a first storage, and being unable to be restored in the first storage after the first data is deleted from the first storage;

[0236] The second display unit 1202 is configured to display a data deletion control corresponding to the first data based on a first trigger operation on a first data control corresponding to the first data;

[0237] The hiding unit 1203 is configured to hide the first data control from the available data interface and display a data recovery control corresponding to the first data based on a second trigger operation on the data deletion control, wherein the second trigger operation is configured to change the state identified by the state identification information to a deletion state;

[0238] The third display unit 1204 is used to add the first data control in the available data interface based on a third trigger operation for the data recovery control, and the third trigger operation is used to change the state identified by the state identification information to a non-deletion state, and the state identification information indicating the state is a non-deletion state is used to respond to a data interaction request for the first data.

[0239] In a possible implementation, the state identification information indicating that the state is a non-deletion state is used to respond to a data interaction request of the first operator for the first data, and the apparatus further includes a fourth display unit and a third indication unit:

[0240] The fourth display unit is used to display the permission change control;

[0241] The third indication unit is used to instruct the second device corresponding to the second operating party to add the first data control in the available data interface displayed to the second operating party based on the fourth trigger operation on the permission change control. The fourth trigger operation is used to change the state identified by the state identification information to a general state. The state identification information identified as the general state is used to respond to the second operating party's data interaction request for the first data. The second operating party is different from the first operating party.

[0242] The present application also provides a computer device. Figure 13 As shown, the computer device may be a terminal device, taking a mobile phone as an example:

[0243] Figure 13 The block diagram shows a partial structure of a mobile phone related to the terminal device provided in the embodiment of the present application. Figure 13 The mobile phone includes components such as a radio frequency (RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a sensor 750, an audio circuit 760, a wireless fidelity (WiFi) module 770, a processor 780, and a power supply 790. Those skilled in the art will appreciate that Figure 13 The mobile phone structure shown in the figure does not constitute a limitation to the mobile phone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0244] The following combination Figure 13 A detailed introduction to the various components of a mobile phone:

[0245] The RF circuit 710 can be used to receive and send signals during information transmission or calls. In particular, after receiving the downlink information from the base station, it is sent to the processor 780 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 710 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 710 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

[0246] The memory 720 can be used to store software programs and modules. The processor 780 executes the various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 720. The memory 720 can mainly include a program storage area and a data storage area. The program storage area can store an operating system and at least one application required for a function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created based on the use of the mobile phone (such as audio data, a phone book, etc.). In addition, the memory 720 can include high-speed random access memory and non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device.

[0247] The input unit 730 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, also known as a touch screen, can collect user touch operations on or near it (such as operations performed by the user using any suitable object or accessory such as a finger, stylus, etc. on or near the touch panel 731) and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 731 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch direction and detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 780. It can also receive commands sent by the processor 780 and execute them. In addition, the touch panel 731 can be implemented using various types such as resistive, capacitive, infrared and surface acoustic wave. In addition to the touch panel 731, the input unit 730 may further include other input devices 732. Specifically, the other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick.

[0248] The display unit 740 can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 740 may include a display panel 741. Optionally, the display panel 741 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 731 may cover the display panel 741. When the touch panel 731 detects a touch operation on or near it, it is transmitted to the processor 780 to determine the type of touch event. Subsequently, the processor 780 provides corresponding visual output on the display panel 741 according to the type of touch event. Although in Figure 13 In the embodiment, the touch panel 731 and the display panel 741 are used as two independent components to realize the input and output functions of the mobile phone, but in some embodiments, the touch panel 731 and the display panel 741 can be integrated to realize the input and output functions of the mobile phone.

[0249] The mobile phone may also include at least one sensor 750, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 741 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 741 and / or the backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that the mobile phone can also be configured with, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be described here.

[0250] Audio circuit 760, speaker 761, and microphone 762 provide an audio interface between the user and the phone. Audio circuit 760 converts received audio data into electrical signals and transmits them to speaker 761, which then converts them into sound signals for output. Microphone 762, on the other hand, converts collected sound signals into electrical signals, which are then received by audio circuit 760 and converted into audio data. The audio data is then processed by processor 780 and transmitted to, for example, another phone via RF circuit 710, or stored in memory 720 for further processing.

[0251] WiFi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse the web and access streaming media through the WiFi module 770. It provides users with wireless broadband Internet access. Figure 13 A WiFi module 770 is shown, but it is understandable that it is not an essential component of the mobile phone and can be omitted as needed without changing the essence of the invention.

[0252] Processor 780 is the control center of the phone, connecting all parts of the phone using various interfaces and circuits. By running or executing software programs and / or modules stored in memory 720 and accessing data stored in memory 720, it performs various phone functions and processes data, thereby performing overall phone testing. Optionally, processor 780 may include one or more processing units; preferably, processor 780 may integrate an application processor and a modem processor, where the application processor primarily handles the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 780.

[0253] The mobile phone also includes a power supply 790 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 780 through a power management system, thereby managing charging, discharging, and power consumption management functions through the power management system.

[0254] Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.

[0255] In this embodiment, the processor 780 included in the terminal device further has the following functions:

[0256] Based on obtaining a data deletion request, changing a state identified by state identification information corresponding to the first data to a deletion state, the state identification information indicating the deletion state is used to reject a data interaction request for the first data, the data deletion request including a first data identification, the first data identification being used to identify the first data, the first data being used to display a target file, the target file including template information, the template information being used to instruct an information inputter to input information to be input in the target file, the first data being stored in a first storage, and after the first data is deleted from the first storage, data recovery in the first storage is impossible;

[0257] Based on obtaining a data recovery request, the state identified by the state identification information is changed to a non-deleted state. The state identification information identified as a non-deleted state is used to respond to a data interaction request for the first data. The data recovery request includes the first data identification.

[0258] Alternatively, the processor 780 included in the terminal device further has the following functions:

[0259] Displaying an available data interface, the available data interface including data controls corresponding to a plurality of interactive data, wherein first data is data whose status identified by corresponding status identification information is not a deleted state, the status identification information indicating a deleted state is used to reject a data interaction request for the first data, the first data is any one of the plurality of interactive data, the first data is used to display a target file, the target file includes template information, the template information is used to instruct an information input party to input information to be input in the target file, the first data is stored in a first storage party, and after the first data is deleted in the first storage party, the data cannot be restored in the first storage party;

[0260] Based on a first trigger operation on a first data control corresponding to the first data, displaying a data deletion control corresponding to the first data;

[0261] Based on a second trigger operation on the data deletion control, hiding the first data control from the available data interface and displaying a data recovery control corresponding to the first data, wherein the second trigger operation is used to change the state identified by the state identification information to a deletion state;

[0262] Based on the third trigger operation for the data recovery control, the first data control is added in the available data interface, and the third trigger operation is used to change the state identified by the state identification information to a non-deletion state, and the state identification information identified as a non-deletion state is used to respond to a data interaction request for the first data.

[0263] This application embodiment also provides a server, see Figure 14 As shown, Figure 14 The structural diagram of the server 800 provided in the embodiment of the present application, the server 800 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPUs) 822 (for example, one or more processors) and memories 832, and one or more storage media 830 (for example, one or more mass storage devices) for storing application programs 842 or data 844. Among them, the memories 832 and the storage media 830 can be temporary storage or persistent storage. The program stored in the storage medium 830 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 822 can be configured to communicate with the storage medium 830 to execute a series of instruction operations in the storage medium 830 on the server 800.

[0264] The server 800 may also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input and output interfaces 858, and / or one or more operating systems 841, such as Windows Server 2000. TM , Mac OS X TM , Unix TM ,Linux TM , FreeBSD TM etc.

[0265] The steps performed by the server in the above embodiment can be based on Figure 14 The server structure shown.

[0266] An embodiment of the present application further provides a computer-readable storage medium for storing a computer program, which is used to execute any one of the data processing methods described in the aforementioned embodiments.

[0267] An embodiment of the present application further provides a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the data processing method described in any one of the above embodiments.

[0268] It is understandable that in the specific implementation of this application, when it comes to user information (such as data stored by the storage party) and other related data, when the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0269] Those skilled in the art will understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the above-mentioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the above-mentioned storage medium can be at least one of the following media: read-only memory (English: read-only memory, abbreviated: ROM), RAM, magnetic disk or optical disk, etc., various media that can store program codes.

[0270] It should be noted that the various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments. The device and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. A person of ordinary skill in the art can understand and implement it without expending creative work.

[0271] The above is merely one specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A data processing method, characterized in that: The method is applied to a first storage party, and includes: Based on obtaining a data deletion request, changing a state identified by state identification information corresponding to the first data to a deletion state, the state identification information indicating the deletion state is used to reject a data interaction request for the first data, the data deletion request including a first data identification, the first data identification being used to identify the first data, the first data being used to display a target file, the target file including template information, the template information being used to instruct an information inputter to input information to be input in the target file, the first data being stored in the first storage, and the first data being unable to be restored in the first storage after being deleted from the first storage; Based on obtaining a data recovery request, the state identified by the state identification information is changed to a non-deleted state. The state identification information identified as a non-deleted state is used to respond to a data interaction request for the first data. The data recovery request includes the first data identification.

2. The method according to claim 1, characterized in that Changing the state identified by the state identification information corresponding to the first data to a deleted state includes: Based on the presence of the first data identifier in a data identifier list, changing the state identified by the state identification information corresponding to the first data to a deleted state, wherein the data identifier list is used to record data identifiers corresponding to interactive data; The method further comprises: Based on changing the state identified by the state identification information to a deleted state, the first data identification is deleted from the data identification list.

3. The method according to claim 2, characterized in that Changing the state identified by the state identification information to a non-deleted state includes: Based on the absence of the first data identifier in the data identifier list, changing the state identified by the state identification information to a non-deleted state; The method further comprises: Based on changing the state identified by the state identification information to a non-deleted state, the first data identification is written into the data identification list.

4. The method according to claim 1, wherein The method further comprises: generating, based on obtaining the data deletion request, backup data of the data to be deleted corresponding to the first data identifier, wherein the first data does not include the data to be deleted; Deleting the to-be-deleted data, and writing the backup data into the first data; Based on obtaining the data recovery request, the to-be-deleted data is restored according to the backup data.

5. The method according to claim 1, wherein The method further comprises: Based on obtaining the data deletion request, instructing the second storage party to move the second data from a non-deleted data set to a deleted data set, where the second data is data corresponding to the first data identifier, the second storage party includes the non-deleted data set and the deleted data set, the non-deleted data set is used to store data that can be interacted with through the second storage party, and the deleted data set is used to store data that cannot be interacted with through the second storage party; Based on obtaining the data recovery request, the second storage party is instructed to move the second data from the deleted data set to the non-deleted data set.

6. The method according to claim 5, characterized in that The instructing the second storage party to move the second data from the undeleted data set to the deleted data set includes: Determine, according to the identifier mapping relationship, a second data identifier corresponding to the first data identifier, where the second data identifier is used to identify the second data, and the identifier mapping relationship is used to record a mapping relationship between the data identifier of the data stored by the first storage party and the data identifier of the data stored by the second storage party; The second data identifier is used to instruct the second storage party to move the second data from the undeleted data set to the deleted data set.

7. The method according to claim 6, characterized in that The first data and the second data are used to display the target file, the first data includes element identifiers corresponding to constituent elements and element distribution information of the constituent elements in the target file, and the second data includes the constituent elements, which are used to constitute the target file.

8. The method according to claim 7, characterized in that The first data and the second data are used to display and process the target file. The first data also includes processing flow information corresponding to the target file. The processing flow information is used to identify the processing flow corresponding to the target file.

9. The method according to claim 1, characterized in that The step of changing the state identified by the state identification information corresponding to the first data to a deleted state based on obtaining the data deletion request includes: Based on the acquired data deletion request, determining whether a first initiator of the data deletion request satisfies a data deletion condition; Based on the first initiator satisfying the data deletion condition, changing the state identified by the state identification information corresponding to the first data to a deletion state; The step of changing the state identified by the state identification information to a non-deleted state based on obtaining the data recovery request includes: Based on the acquired data recovery request, determining whether a second initiator who initiated the data recovery request meets a data recovery condition; Based on the second initiator satisfying the data recovery condition, the state identified by the state identification information is changed to a non-deleted state.

10. The method according to claim 9, characterized in that The state identification information indicating that the state is a non-deletion state is used to respond to a data interaction request from the second initiator for the first data, and the method further includes: Based on obtaining the permission change request initiated by the second initiator, the state identified by the state identification information is changed to a general state, and the state identification information identified as the general state is used to respond to the data interaction request of the target initiator for the first data. The target initiator is different from the second initiator.

11. The method according to claim 1, wherein The method further comprises: Based on changing the state identified by the state identification information to a non-deleted state, determining whether there is data having the same data name as the first data in the non-deleted data stored by the first storage party, the non-deleted data being data other than the first data whose state identified by the corresponding state identification information is a non-deleted state; Based on the presence of data having the same data name as the first data in the non-deleted data, preset name information is added to the data name corresponding to the first data, and the data name after adding the preset name information does not have the same data name in the data name corresponding to the non-deleted data.

12. A data processing method, characterized in that: The method comprises: Displaying an available data interface, the available data interface including data controls corresponding to a plurality of interactive data, wherein first data is data whose status identified by corresponding status identification information is not a deleted state, the status identification information indicating a deleted state is used to reject a data interaction request for the first data, the first data is any one of the plurality of interactive data, the first data is used to display a target file, the target file includes template information, the template information is used to instruct an information input party to input information to be input in the target file, the first data is stored in a first storage party, and after the first data is deleted in the first storage party, the data cannot be restored in the first storage party; Based on a first trigger operation on a first data control corresponding to the first data, displaying a data deletion control corresponding to the first data; Based on a second trigger operation on the data deletion control, hiding the first data control from the available data interface and displaying a data recovery control corresponding to the first data, wherein the second trigger operation is used to change the state identified by the state identification information to a deletion state; Based on the third trigger operation for the data recovery control, the first data control is added in the available data interface, and the third trigger operation is used to change the state identified by the state identification information to a non-deletion state, and the state identification information identified as a non-deletion state is used to respond to a data interaction request for the first data.

13. The method according to claim 12, characterized in that The method is applied to a first device corresponding to a first operator, and the state identification information indicating a non-deletion state is used to respond to a data interaction request of the first operator for the first data. The method further includes: Display permission change controls; Based on the fourth trigger operation for the permission change control, the second device corresponding to the second operator is instructed to add the first data control in the available data interface displayed to the second operator. The fourth trigger operation is used to change the state identified by the state identification information to a general state. The state identification information identified as a general state is used to respond to the second operator's data interaction request for the first data. The second operator is different from the first operator.

14. A data processing device, characterized in that: The device comprises a first changing unit and a second changing unit: The first changing unit is configured to change a state identified by state identification information corresponding to the first data to a deleted state based on obtaining a data deletion request, wherein the state identification information indicating the deleted state is used to reject a data interaction request for the first data, wherein the data deletion request includes a first data identification, wherein the first data identification is used to identify the first data, wherein the first data is used to display a target file, wherein the target file includes template information, wherein the template information is used to instruct an information input party to input information to be input in the target file, wherein the first data is stored in the first storage party, and after the first data is deleted from the first storage party, data recovery in the first storage party is impossible; The second change unit is used to change the state identified by the state identification information to a non-deletion state based on obtaining a data recovery request. The state identification information identified as a non-deletion state is used to respond to a data interaction request for the first data, and the data recovery request includes the first data identification.

15. A data processing device, characterized in that: The device includes a first display unit, a second display unit, a hidden unit and a third display unit: The first display unit is used to display an available data interface, the available data interface includes data controls corresponding to multiple interactive data, the first data is data whose status identified by the corresponding status identification information is not a deleted state, the status identification information indicating the status is a deleted state is used to reject a data interaction request for the first data, the first data is any one of the multiple interactive data, the first data is used to display a target file, the target file includes template information, the template information is used to instruct an information input party to input information to be input in the target file, the first data is stored in the first storage party, and after the first data is deleted in the first storage party, the data cannot be restored in the first storage party; The second display unit is configured to display a data deletion control corresponding to the first data based on a first trigger operation on a first data control corresponding to the first data; The hiding unit is configured to hide the first data control from the available data interface and display a data recovery control corresponding to the first data based on a second trigger operation on the data deletion control, wherein the second trigger operation is configured to change the state identified by the state identification information to a deletion state; The third display unit is used to add the first data control in the available data interface based on a third trigger operation for the data recovery control, and the third trigger operation is used to change the state identified by the state identification information to a non-deletion state. The state identification information identified as a non-deletion state is used to respond to a data interaction request for the first data.

16. A computer device, characterized in that: The computer device includes a processor and a memory: The memory is used to store a computer program and transmit the computer program to the processor; The processor is configured to execute the data processing method described in any one of claims 1 to 11, or execute the data processing method described in any one of claims 12 to 13, according to instructions in the computer program.

17. A computer-readable storage medium, characterized in that The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the data processing method described in any one of claims 1 to 11, or execute the data processing method described in any one of claims 12 to 13.

18. A computer program product comprising a computer program, which, when executed on a computer device, enables the computer device to execute the data processing method according to any one of claims 1 to 11, or the data processing method according to any one of claims 12 to 13.