CN112052110A - Storage method and device - Google Patents

Storage method and device Download PDF

Info

Publication number
CN112052110A
CN112052110A CN202010910101.8A CN202010910101A CN112052110A CN 112052110 A CN112052110 A CN 112052110A CN 202010910101 A CN202010910101 A CN 202010910101A CN 112052110 A CN112052110 A CN 112052110A
Authority
CN
China
Prior art keywords
target picture
picture
preset cache
edited
identifier
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.)
Granted
Application number
CN202010910101.8A
Other languages
Chinese (zh)
Other versions
CN112052110B (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.)
Guangzhou Baiguoyuan Information Technology Co Ltd
Original Assignee
Guangzhou Baiguoyuan Information 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 Guangzhou Baiguoyuan Information Technology Co Ltd filed Critical Guangzhou Baiguoyuan Information Technology Co Ltd
Priority to CN202010910101.8A priority Critical patent/CN112052110B/en
Publication of CN112052110A publication Critical patent/CN112052110A/en
Application granted granted Critical
Publication of CN112052110B publication Critical patent/CN112052110B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/073Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a memory management context, e.g. virtual memory or cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Abstract

The application discloses a storage method and a storage device, wherein the method comprises the following steps: detecting the editing operation of a user on a target picture in an editing interface, and storing the edited target picture in a first preset cache; monitoring the first preset cache, if the buffer amount of the first preset cache reaches a first preset cache threshold, determining an edited picture to be removed from the first preset cache, and transferring the edited picture to be removed from the first preset cache to a preset temporary queue for storage, wherein the temporary queue is used for storing the edited picture which is being stored from a memory to the local; and when the edited picture in the temporary queue is detected to be stored locally, removing the edited picture from the temporary queue, so that the memory overflow is prevented, and the picture loss problem caused by memory recovery is avoided.

Description

Storage method and device
Technical Field
The present disclosure relates to data processing technologies, and in particular, to a storage method and a storage device.
Background
With the improvement of the terminal performance, a user can edit the pictures in the terminal through various editing software. In order to improve the picture editing efficiency of the user, some editing software also provides a function of multi-picture editing, and the user can import a plurality of pictures into the editing software for editing.
In a scene of editing a plurality of pictures, the edited pictures can be stored in the memory. When a user continuously switches pictures to edit, the edited pictures stored in the memory may exceed the maximum memory allocable by the application, which may cause memory overflow and application crash.
In the related art, pictures in the memory may be processed by using an LRU (Least Recently Used) cache algorithm, which has a main algorithm principle that the most Recently Used pictures are stored in the cache with strong references, and the Least Recently Used pictures are removed from the cache and recycled by the memory before a cache value reaches a preset value, but this may cause a problem that when a user switches back to edit a picture again, if the picture is removed, the picture is lost.
Disclosure of Invention
The application provides a storage method and a storage device, which are used for solving the problem that in the prior art, after a picture is stored in a memory, the memory is triggered to be recycled due to memory overflow, so that the picture is lost when the picture is edited again.
In a first aspect, an embodiment of the present application provides a storage method, where the method includes:
detecting the editing operation of a user on a target picture in an editing interface, and storing the edited target picture in a first preset cache, wherein the first preset cache is used for storing the edited picture;
monitoring the first preset cache, if the buffer amount of the first preset cache reaches a first preset cache threshold, determining an edited picture to be removed from the first preset cache, and transferring the edited picture to be removed from the first preset cache to a preset temporary queue for storage, wherein the temporary queue is used for storing the edited picture which is being stored from a memory to the local;
and when the edited pictures in the temporary queue are detected to be stored locally, removing the edited pictures from the temporary queue.
In a second aspect, an embodiment of the present application further provides a storage apparatus, where the apparatus includes:
the first preset cache processing module is used for detecting the editing operation of a user on a target picture in an editing interface and storing the edited target picture in a first preset cache, wherein the first preset cache is used for storing the edited picture;
the temporary storage processing module is used for monitoring the first preset cache, determining an edited picture to be removed from the first preset cache if the buffer amount of the first preset cache reaches a first preset cache threshold, and transferring the edited picture to be removed from the first preset cache to a preset temporary queue for storage, wherein the temporary queue is used for storing the edited picture which is being stored from a memory to a local area;
and the temporary storage and removal module is used for removing the edited picture from the temporary queue after detecting that the edited picture in the temporary queue is stored locally.
In a third aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the storage method when executing the program.
In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the storage method described above.
The application has the following beneficial effects:
in the embodiment, the edited picture is stored and managed by setting a first preset buffer and a temporary queue, the first preset buffer is used for storing the edited picture which is edited by a user, monitoring the first preset cache, determining the edited picture to be removed from the first preset cache if the cache amount of the first preset cache reaches a first preset cache threshold value, then the edited picture to be removed is transferred from the first preset buffer to a temporary queue, when the picture in the temporary queue is stored locally, the picture can be removed from the temporary queue, thereby completing the process of transferring the edited picture from the memory to the local storage, preventing the memory from overflowing, realizing that when the edited picture removed from the memory is edited again, the method can obtain the picture from the local for editing, and avoids the problem of picture loss caused by memory recovery.
Drawings
FIG. 1 is a flowchart of an embodiment of a storage method provided in an embodiment of the present application;
fig. 2 is a flowchart of an embodiment of a storage method provided in the second embodiment of the present application;
fig. 3 is a flowchart of an embodiment of a storage method provided in the third embodiment of the present application;
4-6 are schematic diagrams of editing interfaces provided by a third embodiment of the present application, respectively;
fig. 7 is a flowchart for acquiring a target picture according to a third embodiment of the present application;
fig. 8 is a schematic diagram of acquiring a target picture according to a third embodiment of the present application;
fig. 9 is a block diagram illustrating a structure of an embodiment of a memory device according to a fourth embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an embodiment of a storage method according to an embodiment of the present application, where the embodiment may be applied to an application client having a picture or video editing function, and a terminal device where the application client is located may include any terminal device, and is particularly suitable for a terminal device with low memory.
The embodiment may specifically include the following steps:
step 110, detecting an editing operation of a user on a target picture in an editing interface, and storing the edited target picture in a first preset cache.
For example, the pictures referred to in this embodiment may include pictures stored locally, and may also include an edit layer created above the video when the video is edited. That is, the present embodiment may be applied to a scene in which a picture is edited and stored in accordance with a set storage policy, a scene in which a video is edited and stored in accordance with a set storage policy, or a scene in which a picture and a video are simultaneously edited and stored in accordance with a set storage policy.
In this embodiment, a first preset cache for storing the edited picture may be set in the memory, and after the user opens the picture or video editing function of the application client and enters the editing interface, the user may capture an editing operation of the user on the picture and/or video editing layer, for example, adding a filter to the picture, tagging the picture, modifying various display parameters of the picture, and the like, obtain the edited picture (i.e., the edited picture), and store the edited picture in the first preset cache.
In one example, the first preset cache may store the edited picture in a Key-Value pair (Key-Value) manner, where a Value of Key may be an identifier of the edited picture, and a Value of Value may be Bitmap (Bitmap) data of the edited picture. In one implementation, the identity of the edited picture may be represented by a storage path of the original picture (i.e., an original storage path) to which the edited picture corresponds, and for video editing, the original storage path is an original storage path of the video.
In an embodiment, the user may import multiple pictures or videos for editing at the same time, for example, the user may import multiple pictures for editing, and the target picture may be a picture edited for the first time or a picture recorded with a previous edit. The step of having the previous editing record means that the user edits the target picture, then switches to other pictures or videos for editing, and then switches back to the target picture for editing again.
Step 120, monitoring the first preset cache, determining an edited picture to be removed from the first preset cache if the buffer amount of the first preset cache reaches a first preset cache threshold, and transferring the edited picture to be removed from the first preset cache to a preset temporary queue for storage.
In this step, a first preset cache threshold may be set for the first preset cache, the buffer amount of the first preset cache may be monitored in real time, the buffer amount is compared with the first preset cache threshold, and when the buffer amount of the first preset cache reaches the first preset cache threshold, the recovery mechanism of the first preset cache is triggered.
In this embodiment, the recycling mechanism of the first preset cache may be: and determining the edited picture to be removed from the first preset cache, and transferring the edited picture to be removed from the first preset cache to a preset temporary queue for storage.
In one embodiment, the first predetermined cache may be an LRU cache (LruCache), and thus the first predetermined cache may also be referred to as an editBitmapLruCache, which may determine the edited picture that is least recently used in the first predetermined cache as the edited picture to be removed using an LRU algorithm.
In this embodiment, after determining the edited picture to be removed, the edited picture to be removed may be transferred from the memory to a local area (e.g., a local disk, a local file storage, etc.) for storage, that is, the edited picture to be removed is stored locally, and the edited picture stored locally is removed from the first preset cache, so as to avoid a problem that the picture is recycled by the memory after being removed from the first preset cache, and the picture is lost when the picture is edited again.
In this embodiment, a temporary queue may be further configured to store edited pictures that are being saved locally from the memory (so the temporary queue may also be referred to as savingEditBitmapMap). Specifically, in the process of transferring a picture from the memory to the local storage, when an edited picture to be removed has been removed from the first preset cache but is not stored locally, if the user edits the picture again, the picture will be lost because the picture has been removed from the cache, so the embodiment sets the temporary queue to temporarily store the data (i.e., the edited picture being stored from the memory to the local storage), and can avoid the picture loss problem caused when the picture is edited again during the period of transferring the picture to the local storage.
And step 130, removing the edited picture from the temporary queue after detecting that the edited picture in the temporary queue is stored locally.
In this step, after the edited picture in the temporary queue is saved locally, the edited picture may be removed from the temporary queue, so that the process of transferring the edited picture from the memory to the local storage is completed.
In the embodiment, the edited picture is stored and managed by setting a first preset buffer and a temporary queue, the first preset buffer is used for storing the edited picture which is edited by a user, monitoring the first preset cache, determining the edited picture to be removed from the first preset cache if the cache amount of the first preset cache reaches a first preset cache threshold value, then the edited picture to be removed is transferred from the first preset buffer to a temporary queue, when the picture in the temporary queue is stored locally, the picture can be removed from the temporary queue, thereby completing the process of transferring the edited picture from the memory to the local storage, preventing the memory from overflowing, realizing that when the edited picture removed from the memory is edited again, the picture can be obtained locally for editing, and the problem of picture loss caused by memory recovery is avoided.
Example two
Fig. 2 is a flowchart of an embodiment of a storage method provided in the second embodiment of the present application, where in this embodiment, on the basis of the first embodiment, a second preset cache is configured to store an original picture that is not edited, and a recycling mechanism of the second preset cache is described.
The embodiment may specifically include the following steps:
step 210, detecting an editing operation of a user on a target picture in an editing interface, and storing the edited target picture in a first preset cache, wherein the first preset cache is used for storing the edited picture.
Step 220, searching the target picture in a second preset cache, and deleting the target picture in the second preset cache when the target picture is found, wherein the second preset cache is used for storing an original picture which is not edited.
In this embodiment, a second preset cache may be further disposed in the memory, and is configured to store the parsed and unedited original picture, and after the user opens the picture editing function of the application client and enters the editing interface, for the parsed and unedited picture imported by the user, the parsed and unedited picture may be stored in the second preset cache.
In an example, the second preset cache may also store the unedited original picture in a Key-Value pair (Key-Value) manner, where a Value of the Key may be an identifier of the original picture, and a Value of the Value may be a Bitmap (Bitmap) of the original picture. In one implementation, the identity of the original picture may be represented in its storage path (i.e., the original storage path). For the same picture, the Key values of the same picture in the first preset cache or the second preset cache are the same.
After the target picture is edited and stored in the first preset cache, the target picture can be deleted from the second preset cache. Specifically, after the picture is edited and stored in the first preset cache, the picture may be searched in the second preset cache according to the identifier of the picture (such as an original storage path), and if the picture exists in the second preset cache, the picture may be deleted in the second preset cache, so that the cache transfer management of the picture according to the editing state of the picture is realized.
Step 230, monitoring the first preset cache, determining an edited picture to be removed from the first preset cache if the buffer amount of the first preset cache reaches a first preset cache threshold, and transferring the edited picture to be removed from the first preset cache to a preset temporary queue for storage, wherein the temporary queue is used for storing the edited picture which is being stored from a memory to a local place.
And 240, removing the edited picture from the temporary queue after detecting that the edited picture in the temporary queue is stored locally.
Step 250, obtaining a storage path of the edited picture stored locally, and recording the storage path in a preset first path list.
In this embodiment, a first path list (editFileList) may be set for recording the storage path of the edited picture saved locally. After the edited picture is saved locally, a storage path of the picture locally can be acquired, and the storage path is recorded in the first path list.
In an example, the first path list may also store the storage path of the edited picture in a Key-Value pair (Key-Value) manner, where a Value of the Key may be an identifier of the picture, and a Value of the Value may be the storage path of the edited picture. In one implementation, the identification of a picture may be represented in the storage path of its original picture (i.e., the original storage path).
Step 260, monitoring the second preset cache, and if the buffer amount of the second preset cache reaches a second preset cache threshold, determining the original picture to be removed from the second preset cache, and removing the original picture to be removed from the second preset cache.
In this step, a second preset cache threshold may also be set for the second preset cache, the cache amount of the second preset cache is monitored in real time, the cache amount is compared with the second preset cache threshold, and when the cache amount of the second preset cache reaches the second preset cache threshold, a recovery mechanism of the second preset cache is triggered.
In this embodiment, the reclamation mechanism of the second preset cache may be: and determining an original picture to be removed from a second preset cache, and removing the original picture to be removed from the second preset cache.
In one embodiment, the second predetermined cache may also be an LRU cache (LruCache), and thus the second predetermined cache may also be referred to as an originbitmap LruCache, which may determine the least recently used original picture in the second predetermined cache as the original picture to be removed by using an LRU algorithm. After determining the original picture to be removed, the original picture to be removed may be directly deleted from the second preset buffer.
It should be noted that, the present embodiment does not limit the execution sequence of step 260 and step 230, and may monitor the first preset cache and the second preset cache simultaneously, and process according to the set recycling mechanism when it is monitored that a certain cache meets the recycling condition.
In this embodiment, by setting a first preset cache, a second preset cache, a temporary queue, and a first path list, the picture is stored and managed according to the editing state of the picture, the edited picture that has been edited by a user is stored in the first preset cache, the original picture that has not been edited is stored in the second preset cache, the edited picture that is being stored in the local from the memory is stored in the temporary queue, and the storage path of the edited picture that is stored in the local is recorded in the first path list, so that the process of transferring the edited picture from the second preset cache to the first preset cache and transferring the edited picture from the memory to the local storage is realized, and the problem of picture loss caused by memory recycling when the edited picture is edited again is avoided.
EXAMPLE III
Fig. 3 is a flowchart of an embodiment of a storage method provided in the third embodiment of the present application, and this embodiment describes a process of obtaining a target picture based on the first embodiment or the second embodiment.
The embodiment can be applied to an application client with a picture or video editing function, when a user opens the picture or video editing function of the application client, one or more pictures can be imported, for example, multiple pictures or one or more videos can be imported, or a combination of multiple pictures and videos can be imported, the pictures or videos enter an editing interface, and the user can edit the pictures or videos in the editing interface. For example, a user may import one or more pictures and/or videos to be edited from a local album or other storage file through an import interface of the client.
In one example, as shown in the editing interface diagrams of fig. 4-6, the editing interface may include a thumbnail area a and an editing area B, where thumbnails of multiple pictures or videos selected by the user may be included in the thumbnail area, and the editing area is used to display the picture or video corresponding to the thumbnail selected by the user. For example, as shown in fig. 4, the thumbnail area a may include a plurality of pictures selected by the user, and when the user selects a first thumbnail, the editing area B may display the picture corresponding to the first thumbnail. As shown in fig. 5, the thumbnail area a may include a plurality of videos (e.g., small videos) selected by the user, and when the user selects a first thumbnail, the edit area B may display the video corresponding to the first thumbnail. As shown in fig. 6, the thumbnail area a may include a combination of a plurality of pictures and videos selected by the user, and when the user selects a first thumbnail, the edit area B may display a picture corresponding to the first thumbnail.
As shown in fig. 3, the present embodiment may include the following steps:
step 310, acquiring the identifier of the thumbnail selected from the thumbnail area as the identifier of the target picture.
In an embodiment, when it is detected that the user clicks a certain thumbnail in the thumbnail area, it may be considered that the user selects the thumbnail to be edited, and then the identifier of the thumbnail may be obtained as the identifier of the target picture.
In one embodiment, step 310 may include the steps of:
step 310-1, determining the thumbnail position of the thumbnail selected from the thumbnail area.
In one implementation, the boxes in the thumbnail area may be numbered in advance, and the thumbnail position in which the selected thumbnail is located may be represented as the number of the thumbnail in the thumbnail area. For example, in the thumbnail area in fig. 4 or fig. 5 or fig. 6, the first box may be numbered 0, the second box may be numbered 1, and so on.
And 310-2, searching the thumbnail position in a preset second path list, and obtaining an original storage path corresponding to the thumbnail position as the identifier of the target picture.
In this embodiment, a second path list may be created in advance for recording the original storage paths of the plurality of pictures or videos imported to the application client. For example, each time a user imports a picture or video to an application client, a local storage path (i.e., an original storage path) of the picture or video may be obtained and recorded in the second path list.
Since the order of the pictures or videos imported into the client is consistent with the order recorded in the second path list, the original storage path with the corresponding number can be searched in the second path list according to the thumbnail position, such as the thumbnail number, of the selected thumbnail in the thumbnail area, and the original storage path is used as the identifier of the target picture.
When the video is edited, the target picture may be an edit layer above the video.
Step 320, obtaining a target picture corresponding to the identifier of the target picture, and displaying the target picture in an editing area.
In an embodiment, after the original storage path of the target picture is obtained, the corresponding target picture may be obtained according to the original storage path, and the target picture is displayed in the editing area.
In one embodiment, as shown in the flowchart of fig. 7, the step 320 may further include the following steps:
step 320-1, sequentially searching the identifier of the target picture from a first preset cache, a temporary queue and a first path list; and if the identification of the target picture is found, acquiring the target picture corresponding to the identification of the target picture from a local file corresponding to a first preset cache, a temporary queue or a first path list.
In this step, it may be determined whether the target picture has a previous editing record, and if there is a previous editing record, the target picture with the previous editing record may be acquired for display.
In this embodiment, a first preset cache, a temporary queue and a first path list are set to record different states of an edited picture, wherein the first preset cache is used for storing an edited picture which is edited recently; the temporary queue is used for storing edited pictures which are stored from the memory to the local; the first path list is used for recording the storage path of the edited picture saved to the local. In an example, the three above-mentioned methods can all store data in a Key-Value pair Key-Value manner, the Key values are original storage paths of pictures, and the Value of the first preset cache is a bitmap of the pictures; the Value of the temporary queue is also a bitmap of the picture; the Value of the first path list is a storage path of the picture locally.
The identifier of the target picture can be sequentially searched in the first preset cache, the temporary queue and the first path list to determine whether the target picture has a previous editing record. If the identification of the target picture exists in one of the three parts, the target picture is indicated to have a previous editing record, otherwise, if the identification of the target picture does not exist in the three parts, the target picture is indicated to have no previous editing record.
In one embodiment, step 320-1 may include the steps of:
in step 320-1-1, if the identifier of the target picture is found in the first preset cache, reading the target picture corresponding to the identifier of the target picture from the first preset cache.
And step 320-1-2, if the identifier of the target picture cannot be found in the first preset cache, finding the identifier of the target picture in the temporary queue.
Step 320-1-3, if the identifier of the target picture is found in the temporary queue, reading the target picture corresponding to the identifier of the target picture from the temporary queue, and transferring the target picture from the temporary queue to the first preset cache.
And step 320-1-4, if the identifier of the target picture cannot be found in the temporary queue, finding the identifier of the target picture in the first path list.
Step 320-1-5, if the identifier of the target picture is found in the first path list, obtaining a storage path corresponding to the identifier of the target picture, loading the corresponding target picture from the storage path, and adding the target picture to the first preset cache;
and 320-1-6, if the target picture identifier cannot be found in the first path list, executing step 320-2.
For example, as shown in the schematic diagram of obtaining a target picture shown in fig. 8, an original storage path of the target picture is first searched in a first preset cache, and if the original storage path is found, a corresponding target picture is obtained and directly returned; if the original storage path of the target picture cannot be found in the first preset cache, finding the original storage path in a temporary queue, if the original storage path is found in the temporary queue, indicating that the picture stored from the memory to the local is edited again, and transferring the picture from the temporary queue to the first preset cache for storage; and if the original storage path cannot be found in the temporary queue, searching from the first path list, if the original storage path is found, acquiring a local storage path of the target picture, analyzing the target picture from the storage path, storing the target picture in a first preset cache, and deleting the target picture in local storage. If the original storage path is not found in the first path list, step 320-2 is performed.
And step 320-2, if the target picture identifier cannot be found, acquiring the target picture corresponding to the target picture identifier from a second preset cache or the local storage of the original picture.
In this embodiment, a second preset cache may be further configured to store an unedited original picture, if the target picture does not have a previous editing record, the target picture may be searched in the second preset cache of the memory, and if the target picture does not exist in the second preset cache, the target picture is obtained from the local original data.
In one embodiment, step 320-2 may include the steps of:
step 320-2-1, searching the identifier of the target picture in the second preset cache, reading the target picture from the second preset cache when the identifier of the target picture is found, and transferring the target picture from the second preset cache to the first preset cache for storage.
Step 320-2-2, if the identifier of the target picture cannot be found in the second preset cache, loading the corresponding target picture from the local storage of the original picture according to the identifier of the target picture, and adding the target picture to the second preset cache.
For example, as shown in fig. 8, if an original storage path of a target picture does not exist in a first preset cache, a temporary queue, and a first path list, the original storage path of the target picture may be searched in a second preset cache, and if the original storage path is found, a corresponding target picture is directly returned, and the target picture is stored in the first preset cache, and the target picture is deleted from the second preset cache; if the original storage path of the target picture cannot be found in the second preset cache, the corresponding target picture can be loaded from the corresponding storage position to the second preset cache according to the original storage path.
It should be noted that, in a video editing scene, since the editing layer of the video is created during editing, if an original storage path of the target picture does not exist in the first preset buffer, the temporary queue, and the first path list, the null value null may be directly returned without executing step 320-2.
Step 330, detecting an editing operation of a user on a target picture in an editing interface, and storing the edited target picture in a first preset cache, wherein the first preset cache is used for storing the edited picture;
after the target picture is obtained and displayed in the editing area, the editing operation of the user on the target picture in the editing area can be detected, and the edited target picture is stored in the first preset cache.
In an embodiment, the step of storing the edited target picture in the first preset buffer may include the following steps:
acquiring an identifier of the target picture; searching the identification of the target picture in the first preset cache; if the search is successful, replacing the original target picture in the first preset cache with the edited target picture; and if the search is unsuccessful, storing the edited target picture into the first preset cache.
In this embodiment, for each picture, the first pre-set cache holds the latest edited version, and the old version is overwritten by the new version. Specifically, if the identifier of the target picture already exists in the first preset cache, the newly edited target picture may replace the original target picture in the first preset cache. If the identification of the target picture does not exist in the first preset cache, the target picture is edited for the first time, and the edited target picture is directly stored in the first preset cache.
Step 340, monitoring the first preset cache, determining an edited picture to be removed from the first preset cache if the buffer amount of the first preset cache reaches a first preset cache threshold, and transferring the edited picture to be removed from the first preset cache to a preset temporary queue, where the temporary queue is used for storing the edited picture which is being stored from a memory to a local place.
And step 350, removing the edited picture from the temporary queue after detecting that the edited picture in the temporary queue is stored locally.
In this embodiment, in a scene where a plurality of pictures are edited, two caches are set, a first preset cache is used to store the edited pictures, a second preset cache is used to store the unedited pictures, and memory recovery mechanisms of the two caches are set, and when the memory recovery of the pictures in the second preset cache is triggered due to insufficient memory, the pictures in the second preset cache are directly deleted. When the pictures in the first preset cache memory trigger memory recovery due to insufficient memory, the pictures are transferred to the temporary queue for storage, and after the pictures in the temporary queue are stored locally, the corresponding pictures in the temporary queue can be deleted. When the user continuously switches the pictures to edit, the pictures are analyzed from the local file, the pictures can be rapidly displayed, meanwhile, the phenomenon that the pictures are lost due to memory overflow and memory recovery can be avoided.
Example four
Fig. 9 is a block diagram of a storage apparatus according to a fourth embodiment of the present application, where the storage apparatus may include the following modules:
the first preset cache processing module 910 is configured to detect an editing operation of a user on a target picture in an editing interface, and store the edited target picture in a first preset cache, where the first preset cache is used to store an edited picture after editing;
a temporary storage processing module 920, configured to monitor the first preset cache, determine, if a buffer amount of the first preset cache reaches a first preset cache threshold, an edited picture to be removed from the first preset cache, and transfer the edited picture to be removed from the first preset cache to a preset temporary queue for storage, where the temporary queue is used to store the edited picture being stored from a memory to a local area;
a temporary saving and removing module 930, configured to remove the edited picture from the temporary queue after detecting that the edited picture in the temporary queue is saved locally.
In one embodiment, the first predetermined cache processing module 910 is further configured to:
acquiring an identifier of the target picture;
searching the identification of the target picture in the first preset cache;
if the search is successful, replacing the original target picture in the first preset cache with the edited target picture;
and if the search is unsuccessful, storing the edited target picture into the first preset cache.
In one embodiment, the apparatus further comprises:
the second preset cache processing module is configured to search for the target picture in a second preset cache after storing the edited target picture in the first preset cache, and delete the target picture in the second preset cache when the target picture is found, where the second preset cache is used for storing an unedited original picture.
In one embodiment, the apparatus further comprises:
and the second preset cache monitoring module is used for monitoring the second preset cache, and if the cache amount of the second preset cache reaches a second preset cache threshold value, determining the original picture to be removed from the second preset cache, and removing the original picture to be removed from the second preset cache.
In one embodiment, the apparatus further comprises:
and the path recording module is used for acquiring a storage path of the edited picture stored to the local after the edited picture is removed from the temporary queue, and recording the storage path in a preset first path list.
In one embodiment, the editing interface comprises a thumbnail area and an editing area, the thumbnail area comprises thumbnails of one or more pictures selected by a user, and the editing area is used for displaying the pictures corresponding to the thumbnails selected by the user;
the device further comprises:
the target picture acquisition module is used for acquiring the identifier of the thumbnail selected from the thumbnail area as the identifier of the target picture before detecting the editing operation of a user on the target picture in an editing interface; and acquiring a target picture corresponding to the identification of the target picture, and displaying the target picture in the editing area.
In one embodiment, the target picture acquiring module includes:
the first data acquisition submodule is used for searching the identification of the target picture from the first preset cache, the temporary queue and the first path list in sequence; if the identifier of the target picture is found, acquiring the target picture corresponding to the identifier of the target picture from the first preset cache, the temporary queue or the local file corresponding to the first path list;
and the second data acquisition sub-module is used for acquiring the target picture corresponding to the identifier of the target picture from the second preset cache or the local storage of the original picture if the identifier of the target picture cannot be found.
In one embodiment, the first data acquisition sub-module is further configured to:
if the identification of the target picture is found in the first preset cache, reading the target picture corresponding to the identification of the target picture from the first preset cache;
if the identifier of the target picture cannot be found in the first preset cache, finding the identifier of the target picture in the temporary queue;
if the identifier of the target picture is found in the temporary queue, reading the target picture corresponding to the identifier of the target picture from the temporary queue, and transferring the target picture from the temporary queue to the first preset cache for storage;
if the identifier of the target picture cannot be found in the temporary queue, finding the identifier of the target picture in the first path list;
if the identifier of the target picture is found in the first path list, acquiring a storage path corresponding to the identifier of the target picture, loading the corresponding target picture from the storage path, and adding the target picture to the first preset cache;
and if the identifier of the target picture cannot be found in the first path list, acquiring the target picture corresponding to the identifier of the target picture from the second preset cache or the local storage of the original picture.
In one embodiment, the second data obtaining sub-module is further configured to:
searching the identifier of the target picture in the second preset cache, reading the target picture from the second preset cache when the identifier of the target picture is found, and transferring the target picture from the second preset cache to the first preset cache for storage;
and if the identification of the target picture cannot be found in the second preset cache, loading the corresponding target picture from the local storage of the original picture according to the identification of the target picture, and adding the target picture into the second preset cache.
In one embodiment, the target picture acquiring module includes:
determining the thumbnail position of the thumbnail selected from the thumbnail area;
and searching the thumbnail position in a preset second path list, and acquiring an original storage path corresponding to the thumbnail position as the identifier of the target picture.
It should be noted that the storage device provided in the embodiments of the present application can execute the storage method provided in any embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method.
EXAMPLE five
Fig. 10 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present disclosure, as shown in fig. 10, the electronic device includes a processor 10, a memory 20, an input device 30, and an output device 40; the number of the processors 10 in the electronic device may be one or more, and one processor 10 is taken as an example in fig. 10; the processor 10, the memory 20, the input device 30 and the output device 40 in the electronic apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 10.
The memory 20 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the storage method in the embodiment of the present application. The processor 10 executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the memory 20, that is, implements the above-described method.
The memory 20 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 20 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 20 may further include memory located remotely from processor 10, which may be connected to electronic devices through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 30 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function controls of the electronic apparatus. The output device 40 may include a display device such as a display screen.
EXAMPLE six
The sixth embodiment of the present application further provides a storage medium containing computer-executable instructions, which when executed by a processor of an electronic device, are configured to perform the method in any one of the first to third embodiments.
From the above description of the embodiments, it is obvious for those skilled in the art that the present application can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, an electronic device, or a network device) to execute the methods described in the embodiments of the present application.
It should be noted that, in the embodiment of the apparatus, the included units and modules are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (13)

1. A method of storage, the method comprising:
detecting the editing operation of a user on a target picture in an editing interface, and storing the edited target picture in a first preset cache, wherein the first preset cache is used for storing the edited picture;
monitoring the first preset cache, if the buffer amount of the first preset cache reaches a first preset cache threshold, determining an edited picture to be removed from the first preset cache, and transferring the edited picture to be removed from the first preset cache to a preset temporary queue for storage, wherein the temporary queue is used for storing the edited picture which is being stored from a memory to the local;
and when the edited pictures in the temporary queue are detected to be stored locally, removing the edited pictures from the temporary queue.
2. The method according to claim 1, wherein the storing the edited target picture in a first preset cache comprises:
acquiring an identifier of the target picture;
searching the identification of the target picture in the first preset cache;
if the search is successful, replacing the original target picture in the first preset cache with the edited target picture;
and if the search is unsuccessful, storing the edited target picture into the first preset cache.
3. The method according to claim 1 or 2, wherein after storing the edited target picture in the first preset cache, the method further comprises:
and searching the target picture in a second preset cache, and deleting the target picture in the second preset cache when the target picture is searched, wherein the second preset cache is used for storing the original picture which is not edited.
4. The method of claim 3, further comprising:
monitoring the second preset cache, and if the buffer amount of the second preset cache reaches a second preset cache threshold, determining an original picture to be removed from the second preset cache, and removing the original picture to be removed from the second preset cache.
5. The method according to claim 3, wherein after removing the edited picture from the temporary queue after detecting that the edited picture in the temporary queue is saved locally, the method further comprises:
and acquiring a storage path of the edited picture stored locally, and recording the storage path in a preset first path list.
6. The method according to claim 5, wherein the editing interface comprises a thumbnail area and an editing area, the thumbnail area comprises thumbnails of one or more pictures selected by the user, and the editing area is used for displaying the pictures corresponding to the thumbnails selected by the user;
before the detecting the editing operation of the user on the target picture in the editing interface, the method further comprises:
acquiring an identifier of a thumbnail selected from the thumbnail area as an identifier of a target picture;
and acquiring a target picture corresponding to the identification of the target picture, and displaying the target picture in the editing area.
7. The method according to claim 6, wherein the obtaining of the target picture corresponding to the identification of the target picture comprises:
searching the identification of the target picture from the first preset cache, the temporary queue and the first path list in sequence; if the identifier of the target picture is found, acquiring the target picture corresponding to the identifier of the target picture from the first preset cache, the temporary queue or the local file corresponding to the first path list;
and if the identification of the target picture cannot be found, acquiring the target picture corresponding to the identification of the target picture from the second preset cache or the local storage of the original picture.
8. The method according to claim 7, wherein the identifier of the target picture is sequentially searched from the first preset cache, the temporary queue and the first path list; if the identifier of the target picture is found, acquiring the target picture corresponding to the identifier of the target picture from the first preset cache, the temporary queue or the local file corresponding to the first path list comprises:
if the identification of the target picture is found in the first preset cache, reading the target picture corresponding to the identification of the target picture from the first preset cache;
if the identifier of the target picture cannot be found in the first preset cache, finding the identifier of the target picture in the temporary queue;
if the identifier of the target picture is found in the temporary queue, reading the target picture corresponding to the identifier of the target picture from the temporary queue, and transferring the target picture from the temporary queue to the first preset cache for storage;
if the identifier of the target picture cannot be found in the temporary queue, finding the identifier of the target picture in the first path list;
if the identifier of the target picture is found in the first path list, acquiring a storage path corresponding to the identifier of the target picture, loading the corresponding target picture from the storage path, and adding the target picture to the first preset cache;
and if the identifier of the target picture cannot be found in the first path list, executing the step of obtaining the target picture corresponding to the identifier of the target picture from the second preset cache or the local storage of the original picture.
9. The method according to claim 7, wherein the obtaining of the target picture corresponding to the identifier of the target picture from the second preset cache or the local storage of the original picture comprises:
searching the identifier of the target picture in the second preset cache, reading the target picture from the second preset cache when the identifier of the target picture is found, and transferring the target picture from the second preset cache to the first preset cache for storage;
and if the identification of the target picture cannot be found in the second preset cache, loading the corresponding target picture from the local storage of the original picture according to the identification of the target picture, and adding the target picture into the second preset cache.
10. The method according to claim 6, 7, 8 or 9, wherein the obtaining an identification of the thumbnail selected from the thumbnail area as an identification of the target picture comprises:
determining the thumbnail position of the thumbnail selected from the thumbnail area;
and searching the thumbnail position in a preset second path list, and acquiring an original storage path corresponding to the thumbnail position as the identifier of the target picture.
11. A storage device, the device comprising:
the first preset cache processing module is used for detecting the editing operation of a user on a target picture in an editing interface and storing the edited target picture in a first preset cache, wherein the first preset cache is used for storing the edited picture;
the temporary storage processing module is used for monitoring the first preset cache, determining an edited picture to be removed from the first preset cache if the buffer amount of the first preset cache reaches a first preset cache threshold, and transferring the edited picture to be removed from the first preset cache to a preset temporary queue for storage, wherein the temporary queue is used for storing the edited picture which is being stored from a memory to a local area;
and the temporary storage and removal module is used for removing the edited picture from the temporary queue after detecting that the edited picture in the temporary queue is stored locally.
12. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1-10 when executing the program.
13. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-10.
CN202010910101.8A 2020-09-02 2020-09-02 Storage method and device Active CN112052110B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010910101.8A CN112052110B (en) 2020-09-02 2020-09-02 Storage method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010910101.8A CN112052110B (en) 2020-09-02 2020-09-02 Storage method and device

Publications (2)

Publication Number Publication Date
CN112052110A true CN112052110A (en) 2020-12-08
CN112052110B CN112052110B (en) 2024-04-05

Family

ID=73606791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010910101.8A Active CN112052110B (en) 2020-09-02 2020-09-02 Storage method and device

Country Status (1)

Country Link
CN (1) CN112052110B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101446924A (en) * 2008-12-16 2009-06-03 成都市华为赛门铁克科技有限公司 Method and system for storing and obtaining data
CN103390049A (en) * 2013-07-23 2013-11-13 南京联创科技集团股份有限公司 Method for processing high-speed message queue overflow based on memory database cache
CN103514112A (en) * 2012-06-29 2014-01-15 浙江大华技术股份有限公司 Data storage method and system
CN105684038A (en) * 2013-10-28 2016-06-15 谷歌公司 Image cache for replacing portions of images
CN107122135A (en) * 2017-04-25 2017-09-01 北京小米移动软件有限公司 Data processing method and device
CN107577711A (en) * 2017-08-01 2018-01-12 北京奇艺世纪科技有限公司 A kind of method and apparatus of image cache
CN107610206A (en) * 2017-09-29 2018-01-19 北京金山安全软件有限公司 Dynamic picture processing method and device, storage medium and electronic equipment
CN107885741A (en) * 2016-09-29 2018-04-06 阿里巴巴集团控股有限公司 Image cache management method and mobile terminal
CN108776949A (en) * 2017-04-07 2018-11-09 英特尔公司 Device and method for the memory management in graphics processing context
CN108959505A (en) * 2018-06-27 2018-12-07 平安科技(深圳)有限公司 A kind of method and terminal device of management caching picture
CN109246377A (en) * 2018-10-19 2019-01-18 青岛镕铭半导体有限公司 Video data storage, read method and video data storage device
CN109284183A (en) * 2018-10-17 2019-01-29 广州市百果园信息技术有限公司 Cardon playback method, device, computer storage medium and terminal
CN111159441A (en) * 2019-12-25 2020-05-15 北大方正集团有限公司 Picture editing method, picture editing apparatus, and computer-readable storage medium
US20200241874A1 (en) * 2018-12-28 2020-07-30 Shanghai Cambricon Information Technology Co., Ltd Signal processing device, signal processing method and related products

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101446924A (en) * 2008-12-16 2009-06-03 成都市华为赛门铁克科技有限公司 Method and system for storing and obtaining data
CN103514112A (en) * 2012-06-29 2014-01-15 浙江大华技术股份有限公司 Data storage method and system
CN103390049A (en) * 2013-07-23 2013-11-13 南京联创科技集团股份有限公司 Method for processing high-speed message queue overflow based on memory database cache
CN105684038A (en) * 2013-10-28 2016-06-15 谷歌公司 Image cache for replacing portions of images
CN107885741A (en) * 2016-09-29 2018-04-06 阿里巴巴集团控股有限公司 Image cache management method and mobile terminal
CN108776949A (en) * 2017-04-07 2018-11-09 英特尔公司 Device and method for the memory management in graphics processing context
CN107122135A (en) * 2017-04-25 2017-09-01 北京小米移动软件有限公司 Data processing method and device
CN107577711A (en) * 2017-08-01 2018-01-12 北京奇艺世纪科技有限公司 A kind of method and apparatus of image cache
CN107610206A (en) * 2017-09-29 2018-01-19 北京金山安全软件有限公司 Dynamic picture processing method and device, storage medium and electronic equipment
CN108959505A (en) * 2018-06-27 2018-12-07 平安科技(深圳)有限公司 A kind of method and terminal device of management caching picture
CN109284183A (en) * 2018-10-17 2019-01-29 广州市百果园信息技术有限公司 Cardon playback method, device, computer storage medium and terminal
CN109246377A (en) * 2018-10-19 2019-01-18 青岛镕铭半导体有限公司 Video data storage, read method and video data storage device
US20200241874A1 (en) * 2018-12-28 2020-07-30 Shanghai Cambricon Information Technology Co., Ltd Signal processing device, signal processing method and related products
CN111159441A (en) * 2019-12-25 2020-05-15 北大方正集团有限公司 Picture editing method, picture editing apparatus, and computer-readable storage medium

Also Published As

Publication number Publication date
CN112052110B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
US11604782B2 (en) Systems and methods for scheduling concurrent summarization of indexed data
US9262899B2 (en) Method, device and system for implementing video recording retrieval
CN108460045B (en) Snapshot processing method and distributed block storage system
CN111198856B (en) File management method, device, computer equipment and storage medium
EP3438845A1 (en) Data updating method and device for a distributed database system
CN109697140B (en) Data backup method and device, data recovery method and device and storage medium
CN111831625A (en) Data migration method, data migration device and readable storage medium
CN114168540A (en) File index information processing method and device, electronic equipment and storage medium
CN112732191A (en) Method, system, device and medium for merging tree merging data based on log structure
CN115981563A (en) Method and system for storing traffic image information
US10628305B2 (en) Determining a data layout in a log structured storage system
CN112052110B (en) Storage method and device
CN108090128B (en) Recovery method and device for merged storage space and electronic equipment
CN116798144A (en) Collision video storage method, system, device and computer readable storage medium
CN108121514B (en) Meta information updating method and device, computing equipment and computer storage medium
CN107590233B (en) File management method and device
CN113596019B (en) High-performance network traffic data representation and extraction method and system
CN113448946B (en) Data migration method and device and electronic equipment
CN111597149B (en) Data cleaning method and device for database
CN115237669A (en) Data backup method, data recovery method, data backup device, data recovery device and electronic equipment
CN112286876A (en) Log file capturing method and device and computer readable storage medium
CN111625500A (en) File snapshot method and device, electronic equipment and storage medium
JPWO2020065778A1 (en) Information processing equipment, control methods, and programs
EP4195068B1 (en) Storing and retrieving media recordings in an object store
CN110402436B (en) Method and device for processing pre-written log

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