CN109684289B - File processing and burning method and device - Google Patents

File processing and burning method and device Download PDF

Info

Publication number
CN109684289B
CN109684289B CN201811308456.9A CN201811308456A CN109684289B CN 109684289 B CN109684289 B CN 109684289B CN 201811308456 A CN201811308456 A CN 201811308456A CN 109684289 B CN109684289 B CN 109684289B
Authority
CN
China
Prior art keywords
file
modification
target
recording
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811308456.9A
Other languages
Chinese (zh)
Other versions
CN109684289A (en
Inventor
王�锋
郝海生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Vita Earth Data Technology Co ltd
Original Assignee
Beijing Vita Earth Data Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Vita Earth Data Technology Co ltd filed Critical Beijing Vita Earth Data Technology Co ltd
Priority to CN201811308456.9A priority Critical patent/CN109684289B/en
Publication of CN109684289A publication Critical patent/CN109684289A/en
Application granted granted Critical
Publication of CN109684289B publication Critical patent/CN109684289B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a device for processing and burning files, belonging to the technical field of data storage, wherein the method comprises the following steps: the file system receives a modification request sent by a user side and determines a target modification file of the modification request; the file system determines the modifiable state of the target modification file according to the delayed WORM mode of the file system so as to send the modification request to the target modification file for modification; the recording system designates a target recording file, and determines the recording state of the target recording file according to the delay mode of the file system so as to record the target recording file. The invention can not only reduce the complexity of data management of the optical disc library storage system, but also reduce the system overhead and improve the applicability of the optical disc library storage system.

Description

File processing and burning method and device
Technical Field
The present invention relates to the field of data storage technologies, and in particular, to a method and an apparatus for processing and recording a file.
Background
Currently, users typically provide a WRITE ONCE READ MANY (WORM) function for a file system that is compatible with an optical disc storage system, so as to simplify the data recording process. The standard WORM function, however, enters the freeze mode immediately after the data is stored in the file system, and no further modifications can be made to the data. In response to the foregoing, users typically employ the following methods to effect modifications to data stored in a file system that is coordinated with an optical disc library storage system: storing the data to be modified in a storage space separately; all data is stored in the common storage space, and the determined data is selected to be stored in the storage space with the standard write once read many WORM function.
The inventors of the present patent application found that the prior art has at least the following problems: the data to be modified is independently stored in a storage space, and the storage space is not in butt joint with the optical disc storage system, so that the complexity of data management is increased to a certain extent; storing all data in a normal storage space and storing certain data in a storage space having a standard WORM function not only requires an additional increase in storage space, resulting in an increase in system overhead, but also reduces the applicability of the optical disc storage system.
Disclosure of Invention
In order to solve the problems in the prior art, an aspect of the present invention provides a method for processing and recording a file, including: the file system receives a modification request sent by a user side and determines a target modification file of the modification request; the file system determines the modifiable state of the target modification file according to the delayed WORM mode of the file system so as to send the modification request to the target modification file for modification; the recording system designates a target recording file, and determines the recording state of the target recording file according to the delayed WORM mode of the file system so as to record the target recording file.
Further, the method further comprises: the file system receives a reading request sent by a user side and determines a target reading file of the reading request; the file system sends the read request to the target read file to obtain data corresponding to the read request.
Further, the delayed WORM mode is a maximum delay mode or a specified delay mode;
Further, when the delayed WORM mode is the maximum delay mode, the file system determines the modifiable state of the target modification file according to the delayed WORM mode of the file system, so as to send the modification request to the target modification file for modification, where the step of modifying specifically includes: if the target modification file is not recorded, the file system marks the target modification file as a modification state and sends the modification request to the target modification file for modification; the file system feeds back the modification result to the user side, and marks the modified file as a common state; if the target modification file is recorded, the file system feeds back to the user terminal that the file is in an unmodified state, and the modification request fails.
Further, when the delayed WORM mode is the maximum delay mode, the recording system designates a target recording file, and determines a recording state of the target recording file according to the delayed WORM mode of the file system, so as to record the target recording file specifically as follows: if the target recording file is in a common state, the recording system marks the target recording file as recorded and carries out data recording; and if the target recording file is in a modified state, the recording system skips the target recording file.
Further, when the delayed WORM mode is the designated delayed mode, the file system determines, according to the delayed WORM mode of the file system, a modifiable state of the target modification file, so as to send the modification request to the target modification file for modification, where the step of modifying specifically includes: the file system obtains the latest modification time of the target modification file and determines whether the time interval between the latest modification time and the current time is greater than the designated delay time of the file system; if the time interval is smaller than the designated delay time, the file system sends the modification request to the target modification file for modification; the file system feeds back the modification result to the user side, and updates the current time to the latest modification time of the modified file; if the time interval is greater than the designated delay time, the file system feeds back to the client that the file is in an unmodified state, and the modification request fails.
Further, when the delayed WORM mode is a specified delay mode, the recording system specifies a target recording file, and determines a recording state of the target recording file according to the delayed WORM mode of the file system, so as to record the target recording file specifically as follows: the recording system obtains the latest modification time of the target recorded file and determines whether the time interval between the modification time and the current time is greater than the designated delay time of the file system; if the time interval is larger than the specified delay time, the recording system records the target recorded file; and if the time interval is smaller than the designated delay time, the recording system skips the target recorded file.
In another aspect, the present invention further provides a file processing and recording device, including: a file module and a burning module; the file module is used for receiving a modification request sent by a user side and determining a target modification file of the modification request; the file module is further configured to determine a modifiable state of the target modification file according to a delayed WORM mode of the file module, so as to send the modification request to the target modification file for modification; the recording module is used for appointing a target recording file, and determining the recording state of the target recording file according to the delayed WORM mode of the file module so as to record the target recording file.
Further, the file module is further configured to receive a read request sent by a user side, and determine a target read file of the read request; the file module is further configured to send the read request to the target read file to obtain data corresponding to the read request.
Further, the delayed WORM mode is a maximum delay mode or a specified delay mode.
Further, when the delayed WORM mode is the maximum delay mode, the file module is specifically configured to: if the target modification file is not recorded, the file module is used for marking the target modification file as a modification state and sending the modification request to the target modification file for modification; the method comprises the steps of receiving a modification result from a user terminal, and marking the modified file as a common state; and if the target modification file is recorded, the file module is further configured to feed back to the user terminal that the file is in an unmodified state, and the modification request fails.
Further, when the delayed WORM mode is the maximum delay mode, the recording module is specifically configured to: if the target recording file is in a common state, the recording module is used for marking the target recording file as recorded and performing data recording; and if the target recording file is in a modified state, the recording module is also used for skipping the target recording file.
Further, when the delayed WORM mode is a specified delay mode, the file module is specifically configured to: the file module is used for acquiring the latest modification time of the target modification file and determining whether the time interval between the latest modification time and the current time is larger than the designated delay time of the file module; if the time interval is smaller than the specified delay time, the file module is further configured to send the modification request to the target modification file for modification; the method comprises the steps of receiving a modification result from a user terminal, and updating the current time to the latest modification time of the modified file; and if the time interval is greater than the designated delay time, the file module is further configured to feed back to the client that the file is in an unmodified state, and the modification request fails.
Further, when the delayed WORM mode is a specified delay mode, the recording module is specifically configured to: the recording module is used for acquiring the latest modification time of the target recorded file and determining whether the time interval between the modification time and the current time is larger than the designated delay time of the file module; if the time interval is greater than the specified delay time, the recording module is further configured to record the target recorded file; and if the time interval is smaller than the designated delay time, the recording module is further used for skipping the target recorded file.
From the above, the data to be modified is stored in one storage space separately from the prior art; or all data are stored in a common storage space, and compared with the storage space with the WORM function, the method adds a delayed WORM mode for the file system, so that a user can modify the stored data according to the need within a certain time, the problem that the data stored in the file system matched with the optical disc library storage system cannot be directly modified in the prior art is solved, and further the complexity of data management is remarkably reduced. Furthermore, the invention stores the data in the file system without additionally increasing the storage space, thereby reducing the system overhead and obviously improving the applicability of the optical disc library storage system.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a file processing and recording method according to a first embodiment of the present invention.
Fig. 2 is a flowchart of a file processing and recording method according to a second embodiment of the present invention.
FIG. 3 is a flowchart of a method for processing a file in a maximum delay mode according to an embodiment of the present invention.
Fig. 4 is a flowchart of a file recording method in a maximum delay mode according to an embodiment of the invention.
FIG. 5 is a flowchart of a method for processing a file to specify a delay pattern according to an embodiment of the present invention.
FIG. 6 is a flowchart of a method for recording files in a specified delay mode according to an embodiment of the present invention.
Fig. 7 is a block diagram of a file processing and recording apparatus according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the invention, the file system is initialized before being started, and the delayed WORM mode of the file system is set to be the maximum delay mode or the appointed delay mode. The maximum delay mode refers to: the file is kept in a modifiable state until the recording system selects the file stored by the file system for recording. In the maximum delay mode, if the target modification file is not recorded, the target modification file is in a modifiable state; if the target modification file is recorded, the target modification file is in an unmodified state. The specified delay pattern refers to: the file system stores the file in a modifiable state for a specified delay time, and switches to an unmodified state once the specified delay time is exceeded.
Fig. 1 is a flowchart of a file processing and recording method according to a first embodiment of the present invention.
S101, the file system receives a modification request sent by a user side and determines a target modification file of the modification request.
In one embodiment, after the file system receives the access request, the access request may be parsed to obtain request information, where the request information includes at least: request flags, target files for the request, etc. The file system may determine the request type of the access request based on the request flag, including a modify request, a read request, and the like.
In one embodiment, the access request sent by the user terminal may be a modification request or a read request. The file system may receive different request types and perform corresponding read, write, etc. operations. The process of receiving a read request by the file system will be described in detail in fig. 2, and will not be described in detail here.
S102, the file system determines the modifiable state of the target modification file according to the delayed WORM mode of the file system so as to send a modification request to the target modification file for modification.
In one embodiment, the delayed WORM mode of the file system may be a maximum delay mode or a specified delay mode. In these two different delayed WORM modes, the specific process of determining the target modified file recording status by the file system will be described in detail in FIGS. 3 and 5, which are not repeated here.
S103, the recording system designates the target recording file, and determines the recording state of the target recording file according to the delayed WORM mode of the file system so as to record the target recording file.
In one embodiment, when the files stored in the file system reach a certain amount, the recording system is automatically triggered to perform the recording operation. For example, when the size of the file stored in the file system exceeds the capacity of one optical disc, the recording system selects the file for recording. Before the recording system performs the recording operation on the file, whether the file meets the recording condition is determined according to the read-write flag bit of the file. The user can set the basis for triggering the recording operation and selecting the target recording file according to the requirement, and the invention is not limited to the above.
In one embodiment, when the delayed WORM mode of the file system is the maximum delay mode or the specified delay mode, the specific process of determining the recording status of the target recording file will be described in detail in FIG. 4 and FIG. 6, and will not be described in detail here
It should be noted that the method for processing and recording files in a delayed WORM mode of the present invention is not only applicable to optical disc library storage systems, but also applicable to various recording storage systems, which is not limited in this invention.
Fig. 2 is a flowchart of a file processing and recording method according to a second embodiment of the present invention.
S201, the file system receives a read request sent by a user side and determines a target read file of the read request.
In one embodiment, after the file system receives the access request, the access request may be parsed to obtain request information to determine the request type of the access request and its target file. This process is already described in detail in S101, and will not be described here again.
S202, the file system sends the read request to a target read file to read data corresponding to the read request.
In one embodiment, after the file system reads the data corresponding to the read request, the read data is sent to the client.
FIG. 3 is a flowchart of a method for processing a file in a maximum delay mode according to an embodiment of the present invention.
S301, the file system receives a modification request sent by a user side and determines a target modification file of the modification request.
In one embodiment, after the file system receives the access request, the access request may be parsed to obtain request information to determine the request type of the access request and its target file. This process is already described in detail in S101, and will not be described here again.
S302, whether the target modification file is recorded.
In one embodiment, after the recording system records the file, a recording mark is added to the recorded file, and the position of the recorded file is recorded. In this step, if the target modification file has a recording mark, the file is recorded, i.e. the target modification file is in an unmodified state, and S303 is executed; if the target modification file has no recording mark, the file is not recorded, i.e. the target modification file is in a modifiable state, and S304 and S305 are executed.
S303, the file system feeds back to the user terminal that the file is in an unmodified state, and the modification request fails.
S304, the file system marks the target modification file as a modification state, and sends a modification request to the target modification file for modification.
In one embodiment, before modifying the target modified file, the file system marks the file as a modified state, so as to prevent the recording system from selecting the file to perform recording operation or receiving the access request of the user again in the modifying process, which results in modification failure.
S305, the file system feeds back the modification result to the user terminal, and marks the modified file as a common state.
In one embodiment, after the file system successfully executes the modification operation, the modification result is fed back to the user side, and the modified file is marked as a common state, so that the file system or the recording system can select the file to modify, read, record and other operations.
Fig. 4 is a flowchart of a file recording method in a maximum delay mode according to an embodiment of the invention.
S401, the recording system designates a target recording file.
In one embodiment, when the files stored in the file system reach a certain amount, the recording system is automatically triggered to perform the recording operation. This process is already described in detail in S103, and will not be described here again.
S402, whether the target recording file is in a modification state.
In one embodiment, the recording status of the target recording file may be a modified status or a normal status. In this step, if the target recording file is in the modified state, S403 is executed; if the target recording file is in the normal state, S404 is executed.
S403, the recording system skips the target recording file.
S404, the recording system records the target recorded file.
In one embodiment, the recording system adds a recorded mark to the target recorded file before recording, so as to prevent the file from being selected by the file system to perform the modification operation.
FIG. 5 is a flowchart of a method for processing a file to specify a delay pattern according to an embodiment of the present invention.
S501, the file system receives a modification request sent by a user side and determines a target modification file of the modification request.
In one embodiment, after the file system receives the access request, the access request may be parsed to obtain request information to determine the request type of the access request and its target file. This process is already described in detail in S101, and will not be described here again.
S502, the file system obtains the latest modification time of the target modification file.
In one embodiment, metadata of each file is stored in the file system, and at least information such as a file path, a modification record of the file, and the like is stored in the metadata. The file system may obtain the latest modification time of the target modification file from the metadata of the target modification file.
S503, whether the time interval between the latest modification time and the current time is greater than the specified delay time.
In one embodiment, the time interval between the latest modification time and the current time is compared with a specified delay time to learn the modifiable state of the target modification file. For example, the specified delay time set by the user is 1 hour, and the latest modification time is 2018, 7, 10, and 10:00. If the current time is 2018, 7, 10 and 10:20, and the time interval between the latest modification time and the current time is 20 minutes and is smaller than the designated delay time, the target modification file is in a modifiable state; if the current time is 2018, 7, 10, 11:20, and the time interval between the latest modification time and the current time is 1 hour and 20 minutes, and is greater than the designated delay time, the target modification file is in an unmodified state. The user can set the specified delay time as needed, which is not limited by the present invention.
In this step, if the time interval between the latest modification time and the current time is greater than the specified delay time, S504 is executed; if the time interval between the latest modification time and the current time is smaller than the specified delay time, S505 and S506 are executed.
S504, the file system feeds back to the user terminal that the file is in an unmodified state, and the modification request fails.
S505, the file system sends the modification request to the target modification file for modification.
S506, the file system feeds the modification result back to the user terminal, and updates the current time to the latest modification time of the modified file
In one embodiment, the current time is updated to the latest modification time after the file system modifies the target modification file, so that when the file system receives the request for accessing the file again, the file recording state can be determined according to the latest modification time, the current time and the designated delay time.
FIG. 6 is a flowchart of a method for recording files in a delay time mode according to an embodiment of the invention.
S601, the recording system designates a target recording file.
In one embodiment, when the data stored in the file system reaches a certain amount, the recording system is automatically triggered to perform the recording operation. The specific process in S103 is described in detail and will not be described here again.
S602, the recording system obtains the latest modification time of the target recorded file.
In one embodiment, metadata of each file is stored in the file system, and at least information such as a file path, a modification record of the file, and the like is stored in the metadata. The recording system can acquire the latest modification time of the target recording file from the metadata of the target recording file through the file system.
S603, whether the time interval between the latest modification time and the current time is greater than the specified delay time.
In one embodiment, if the time interval between the latest modification time and the current time is greater than the specified delay time, the target recording file is in an unmodified state, i.e. the target recording file is recordable, and S604 is executed; if the time interval between the latest modification time and the current time is smaller than the specified delay time, the target recording file is in a modifiable state, i.e. the target recording file is not recordable, and S605 is executed.
S604, the recording system records the target recorded file.
S605, the recording system skips the target recording file.
Fig. 7 is a block diagram of a file processing and recording apparatus according to an embodiment of the present invention.
As shown in fig. 7, a file processing and recording apparatus according to an embodiment of the present invention includes: a file module and a burning module. The file module is used for receiving a modification request sent by a user side and determining a target modification file of the modification request; and the method is also used for determining the modifiable state of the target modification file according to the delayed WORM mode of the file module so as to send a modification request to the target modification file for modification. The recording module is used for designating the target recording file, and determining the recording state of the target recording file according to the delayed WORM mode of the file module so as to record the target recording file.
Further, the file module is further configured to receive a read request sent by the user side, and determine a target read file of the read request; and the method is also used for sending the read request to the target read file so as to acquire the data corresponding to the read request.
In one embodiment, the delayed WORM mode of the file module is a maximum delay mode or a specified delay mode.
When the delayed WORM mode of the file module is the maximum delay mode: if the target modification file is not recorded, the file module is used for marking the target modification file as a modification state and sending a modification request to the target modification file for modification; and the file marking module is used for feeding the modification result back to the user side and marking the modified file as a common state. If the target modification file is recorded, the file module is further configured to feed back to the user that the file is in an unmodified state, and the modification request fails.
When the delayed WORM mode of the file module is the maximum delay mode: if the target recording file is in a common state, the recording module is used for marking the target recording file as recorded and carrying out data recording; if the target recording file is in the modified state, the recording module is further used for skipping the target recording file.
When the delayed WORM mode of the file module is the specified delay mode: the file module is used for acquiring the latest modification time of the target modification file and determining whether the time interval between the latest modification time and the current time is larger than the designated delay time of the file system. If the time interval is smaller than the designated delay time, the file module is further used for sending a modification request to the target modification file for modification; and the method is used for feeding back the modification result to the user terminal and updating the current time to the latest modification time of the modified file. If the time interval is greater than the specified delay time, the file module is further configured to feed back to the user that the file is in an unmodified state, and the modification request fails.
When the delayed WORM mode of the file module is the specified delay mode: the recording module is used for obtaining the latest modification time of the target recorded file and determining whether the time interval between the modification time and the current time is larger than the designated delay time of the file module. If the time interval is larger than the designated delay time, the recording module is also used for recording the target recording file; if the time interval is smaller than the designated delay time, the recording module is further used for skipping the target recorded file.
The file processing and recording device in this embodiment can be applied to the method embodiments shown in fig. 1 to 6, and will not be described herein.
From the above, the data to be modified is stored in one storage space separately from the prior art; or all data are stored in a common storage space, and compared with the storage space with the WORM function, the method adds a delayed WORM mode for the file system, so that a user can modify the stored data according to the need within a certain time, the problem that the data stored in the file system matched with the optical disc library storage system cannot be directly modified in the prior art is solved, and further the complexity of data management is remarkably reduced. Furthermore, the invention stores the data in the file system without additionally increasing the storage space, thereby reducing the system overhead and obviously improving the applicability of the optical disc library storage system.
The foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (12)

1. The file processing and burning method is characterized by comprising the following steps:
The file system receives a modification request sent by a user side and determines a target modification file of the modification request;
the file system determines the modifiable state of the target modification file according to a delayed WORM mode of the file system so as to send the modification request to the target modification file for modification, wherein the delayed WORM mode is a maximum delay mode or a specified delay mode, and the maximum delay mode is that the file is always kept in the modifiable state until the recording system selects the file stored by the file system for recording operation; the specified delay mode is that a file stored in the file system is kept in a modifiable state in a specified delay time, and when the specified delay time is exceeded, the file is switched to an unmodified state;
The recording system designates a target recording file, and determines the recording state of the target recording file according to the delayed WORM mode of the file system so as to record the target recording file.
2. The method of claim 1, wherein the method further comprises:
The file system receives a reading request sent by a user side and determines a target reading file of the reading request;
the file system sends the read request to the target read file to obtain data corresponding to the read request.
3. The method as set forth in claim 1 wherein when the delayed WORM mode is the maximum delayed mode, the step of the file system determining the modifiable state of the target modification file based on the delayed WORM mode of the file system to send the modification request to the target modification file for modification is specifically:
If the target modification file is not recorded, the file system marks the target modification file as a modification state and sends the modification request to the target modification file for modification;
The file system feeds back the modification result to the user side, and marks the modified file as a common state;
If the target modification file is recorded, the file system feeds back to the user terminal that the file is in an unmodified state, and the modification request fails.
4. The method as set forth in claim 1, wherein when the delayed WORM mode is the maximum delay mode, the recording system designates a target recording file, and determines a recording state of the target recording file according to the delayed WORM mode of the file system, so as to record the target recording file specifically as follows:
If the target recording file is in a common state, the recording system marks the target recording file as recorded and carries out data recording;
and if the target recording file is in a modified state, the recording system skips the target recording file.
5. The method as set forth in claim 1 wherein when the delayed WORM mode is a specified delayed mode, the step of the file system determining the modifiable state of the target modification file based on the delayed WORM mode of the file system to send the modification request to the target modification file for modification is specifically:
The file system obtains the latest modification time of the target modification file and determines whether the time interval between the latest modification time and the current time is greater than the designated delay time of the file system;
If the time interval is smaller than the designated delay time, the file system sends the modification request to the target modification file for modification;
the file system feeds back the modification result to the user side, and updates the current time to the latest modification time of the modified file;
if the time interval is greater than the designated delay time, the file system feeds back to the client that the file is in an unmodified state, and the modification request fails.
6. The method as set forth in claim 1, wherein when the delayed WORM mode is a specified delay mode, the recording system specifies a target recording file, and the step of determining a recording state of the target recording file according to the delayed WORM mode of the file system to record the target recording file specifically includes:
The recording system obtains the latest modification time of the target recorded file and determines whether the time interval between the modification time and the current time is greater than the designated delay time of the file system;
If the time interval is larger than the specified delay time, the recording system records the target recorded file;
And if the time interval is smaller than the designated delay time, the recording system skips the target recorded file.
7. A document processing and recording apparatus, comprising: a file module and a burning module;
The file module is used for receiving a modification request sent by a user side and determining a target modification file of the modification request;
The file module is further configured to determine a modifiable state of the target modification file according to a delayed WORM mode of the file module, so as to send the modification request to the target modification file for modification, where the delayed WORM mode is a maximum delay mode or a specified delay mode, and the maximum delay mode is that the file is kept in the modifiable state until the recording module selects the file stored in the file module for recording operation; the specified delay mode is that a file stored by the file module is kept in a modifiable state in a specified delay time, and when the specified delay time is exceeded, the file is switched to an unmodified state;
The recording module is used for appointing a target recording file, and determining the recording state of the target recording file according to the delayed WORM mode of the file module so as to record the target recording file.
8. The apparatus of claim 7, wherein:
The file module is also used for receiving a reading request sent by a user side and determining a target reading file of the reading request;
the file module is further configured to send the read request to the target read file to obtain data corresponding to the read request.
9. The apparatus as set forth in claim 7 wherein, when the delayed WORM mode is a maximum delay mode, the file module is specifically configured to:
If the target modification file is not recorded, the file module is used for marking the target modification file as a modification state and sending the modification request to the target modification file for modification; the method comprises the steps of receiving a modification result from a user terminal, and marking the modified file as a common state;
And if the target modification file is recorded, the file module is further configured to feed back to the user terminal that the file is in an unmodified state, and the modification request fails.
10. The apparatus of claim 7, wherein when the delayed WORM mode is a maximum delay mode, the recording module is specifically configured to:
If the target recording file is in a common state, the recording module is used for marking the target recording file as recorded and performing data recording;
and if the target recording file is in a modified state, the recording module is also used for skipping the target recording file.
11. The apparatus as set forth in claim 7 wherein when the delayed WORM mode is a specified delay mode, the file module is specifically configured to:
The file module is used for acquiring the latest modification time of the target modification file and determining whether the time interval between the latest modification time and the current time is larger than the designated delay time of the file module;
If the time interval is smaller than the specified delay time, the file module is further configured to send the modification request to the target modification file for modification; the method comprises the steps of receiving a modification result from a user terminal, and updating the current time to the latest modification time of the modified file;
and if the time interval is greater than the designated delay time, the file module is further configured to feed back to the client that the file is in an unmodified state, and the modification request fails.
12. The apparatus of claim 7, wherein when the delayed WORM mode is a specified delay mode, the recording module is specifically configured to:
The recording module is used for acquiring the latest modification time of the target recorded file and determining whether the time interval between the modification time and the current time is larger than the designated delay time of the file module;
If the time interval is greater than the specified delay time, the recording module is further configured to record the target recorded file;
and if the time interval is smaller than the designated delay time, the recording module is further used for skipping the target recorded file.
CN201811308456.9A 2018-11-05 2018-11-05 File processing and burning method and device Active CN109684289B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811308456.9A CN109684289B (en) 2018-11-05 2018-11-05 File processing and burning method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811308456.9A CN109684289B (en) 2018-11-05 2018-11-05 File processing and burning method and device

Publications (2)

Publication Number Publication Date
CN109684289A CN109684289A (en) 2019-04-26
CN109684289B true CN109684289B (en) 2024-05-14

Family

ID=66185099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811308456.9A Active CN109684289B (en) 2018-11-05 2018-11-05 File processing and burning method and device

Country Status (1)

Country Link
CN (1) CN109684289B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527152A (en) * 2008-03-06 2009-09-09 深圳迈瑞生物医疗电子股份有限公司 Method for realizing editable CD file data
CN107728943A (en) * 2017-10-09 2018-02-23 华中科技大学 It is a kind of to postpone to produce the method for verification CD and its corresponding data reconstruction method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7958166B2 (en) * 2007-08-15 2011-06-07 Emc Corporation System and method for providing write-once-read-many (WORM) storage

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527152A (en) * 2008-03-06 2009-09-09 深圳迈瑞生物医疗电子股份有限公司 Method for realizing editable CD file data
CN107728943A (en) * 2017-10-09 2018-02-23 华中科技大学 It is a kind of to postpone to produce the method for verification CD and its corresponding data reconstruction method

Also Published As

Publication number Publication date
CN109684289A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN102346740B (en) A kind of file synchronisation method, electronic equipment and synchronization system
CN103119550B (en) Store the digital content with time-varying characteristics
WO2018153251A1 (en) Method for processing snapshots and distributed block storage system
KR102289192B1 (en) Copy processing method and node, storage system, server, and readable medium
CN112395836B (en) Method and device for editing document, computer storage medium and terminal
CN111966632A (en) Streaming data storage method, reading method, equipment and readable storage medium
CN109684289B (en) File processing and burning method and device
US9870385B2 (en) Computer system, data management method, and computer
US9380109B2 (en) Resource synchronization control method, device, and system
US7636175B2 (en) Image forming apparatus ensuring erasing operation
JP4512386B2 (en) Backup system and method
CN100578460C (en) File read-write control device, system and method
US7664914B2 (en) Hierarchical control apparatus of hierarchical storage system and method for maintaining and managing duplexed media
EP1689178A1 (en) Resume reproduction system
US8649657B2 (en) Recording apparatus
CN112256694B (en) Hive table state changing method and device
CN108345431B (en) Data reading method and device
CN113992876A (en) Method for recording document and playing video, storage medium and terminal
US8306394B2 (en) Audiovisual information data processing apparatus
US20200371881A1 (en) Data reading method of data source system having duplicate data sources
CN111405313A (en) Method and system for storing streaming media data
EP1143436A2 (en) Information recording and reproduction apparatus, information recording and reproduction method and information signal source
JP2006195698A (en) Information processing apparatus and program
JP2008282072A (en) Content storage device, information processing method and program
CN108399049B (en) Data writing-in and reading method and system, and data reading-writing system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant