CN113806119A - Memory card processing method, device, equipment and storage medium - Google Patents

Memory card processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN113806119A
CN113806119A CN202010555047.XA CN202010555047A CN113806119A CN 113806119 A CN113806119 A CN 113806119A CN 202010555047 A CN202010555047 A CN 202010555047A CN 113806119 A CN113806119 A CN 113806119A
Authority
CN
China
Prior art keywords
file
memory card
abnormal
storage
target service
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
CN202010555047.XA
Other languages
Chinese (zh)
Other versions
CN113806119B (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN202010555047.XA priority Critical patent/CN113806119B/en
Publication of CN113806119A publication Critical patent/CN113806119A/en
Application granted granted Critical
Publication of CN113806119B publication Critical patent/CN113806119B/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
    • 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/0793Remedial or corrective actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1727Details of free space management performed by the file system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1847File system types specifically adapted to static storage, e.g. adapted to flash memory or SSD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0617Improving the reliability of storage systems in relation to availability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The embodiment of the invention discloses a memory card processing method, a memory card processing device, memory card processing equipment and a memory medium. The method comprises the following steps: analyzing to obtain a directory entry of a target service file stored in a service partition of the memory card; according to the directory entry of the target service file and the file allocation table of the memory card file system, performing abnormal storage detection on the target service file, and determining an abnormal file in the target service file; and repairing the storage defect of the abnormal file, and indicating the memory card to continue to execute the storage operation after the repair is finished. By adopting the scheme, the storage function of the storage card can be guaranteed in real time by monitoring the storage defect of the storage card in real time and repairing the existing storage defect in a targeted manner in time; meanwhile, the memory card is instructed to continue to execute the storage operation after the repair is finished, so that the storage function of the memory card can be recovered in time, and the storage omission of a large number of service files caused by incapability of continuously storing subsequent service files is avoided.

Description

Memory card processing method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a memory card processing method, a memory card processing device, memory card processing equipment and a memory medium.
Background
With the continuous development of the technology, the storage carrier is widely applied to various storage scenes. For example, in a security scene, a front-end memory card is generally selected to store data generated by a small number of cameras, so as to avoid the increase of storage cost caused by centralized storage at the back end. However, when the memory card is read or written, the memory card file system is abnormal and cannot be recovered due to abnormal power failure or long-time partition erasing, which results in a large amount of data loss stored by the client. For this reason, how to effectively ensure the storage function of the memory card becomes important.
Disclosure of Invention
The embodiment of the invention provides a memory card processing method, a memory card processing device, memory equipment and a memory medium, which are used for realizing real-time monitoring and repairing of a memory card and effectively ensuring the memory function of the memory card.
In a first aspect, an embodiment of the present invention provides a memory card processing method, which is applied to a front-end acquisition device, and the method includes:
analyzing to obtain a directory entry of a target service file stored in a service partition of the memory card;
according to the directory entry of the target service file and a file allocation table of a memory card file system, performing abnormal storage detection on the target service file to determine an abnormal file in the target service file;
and repairing the storage defect of the abnormal file, and indicating the memory card to continue to execute the storage operation after the repair is finished.
In a second aspect, an embodiment of the present invention further provides a memory card processing apparatus configured to a front-end acquisition device, where the apparatus includes:
the directory entry analysis module is used for analyzing and obtaining a directory entry of a target service file stored in the service partition of the memory card;
the abnormal detection module is used for carrying out abnormal storage detection on the target service file according to the directory entry of the target service file and the file allocation table of the memory card file system, and determining an abnormal file in the target service file;
and the abnormal file repairing module is used for repairing the storage defect of the abnormal file and indicating the memory card to continue to execute the storage operation after the repairing is finished.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processing devices;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processing devices, the one or more processing devices are caused to implement the memory card processing method according to any one of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processing device, implements the memory card processing method described in any one of the embodiments of the present invention.
When the related memory card is used for storing the service files, the front-end acquisition equipment analyzes to obtain the directory items of the target service files stored in the service partition of the memory card, performs abnormal storage detection on the target service files stored in the memory card in real time according to the directory items of the target service files and the file allocation table of the file system of the memory card, actively finds abnormal files in the target service files and repairs the storage defects of the abnormal files, so that the storage function of the memory card is guaranteed in real time by monitoring the storage defects of the memory card in real time and timely performing targeted repair on the existing storage defects, and the stored service files are not required to be largely deleted, thereby maximally ensuring the original stored service files in the memory card; and meanwhile, the memory card is instructed to continue to execute the storage operation after the repair is finished, so that the storage function of the memory card can be recovered in time, and the storage omission of a large number of service files caused by incapability of continuously storing subsequent service files is avoided.
The above summary of the present invention is merely an overview of the technical solutions of the present invention, and the present invention can be implemented in accordance with the content of the description in order to make the technical means of the present invention more clearly understood, and the above and other objects, features, and advantages of the present invention will be more clearly understood.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart of a memory card processing method provided in an embodiment of the present invention;
FIG. 2 is a flow chart of another memory card processing method provided in an embodiment of the present invention;
fig. 3 is a schematic process diagram of compatibility processing for a memory card provided in the embodiment of the present invention;
fig. 4 is a flowchart of still another memory card processing method provided in the embodiment of the present invention;
FIG. 5 is a schematic diagram of a bad block flag provided in an embodiment of the present invention;
FIG. 6 is a diagram illustrating a cluster chain of files according to an embodiment of the present invention;
fig. 7 is a block diagram of a memory card processing apparatus provided in the embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations (or steps) can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of a memory card processing method provided in an embodiment of the present invention. The technical scheme of the embodiment of the application can be suitable for the condition that the storage function of the memory card is timely recovered. The method can be executed by a memory card processing device, which can be implemented in software and/or hardware and integrated on any electronic equipment with network communication function. The electronic device can be a front-end acquisition device, and the front-end acquisition device can be front-end monitoring devices such as IPC. As shown in fig. 1, the memory card processing method in the embodiment of the present application may include the following steps S110 to S130:
and S110, analyzing to obtain a directory entry of the target service file stored in the service partition of the memory card.
In this embodiment, for various front-end collection devices, considering the reason that the cost of the back-end centralized storage is high, and the like, when storing the service file, a memory card is usually selected to be mounted, and the service file collected by the front-end collection device is stored by using the memory card. The memory card in the scheme of the application can be a front-end memory card such as an SD card and a CF card. The target service file can be a service storage file of a preset service type stored in the memory card; for example, the target service file may be a service storage file of a software service type.
In this embodiment, the service partition of the memory card may be a partition for storing a service file, which is obtained by partitioning the memory card according to service requirements. For example, taking the memory card as an SD card as an example, the memory card service partition may be specifically the FAT32 primary partition. And storing the target service file in the service partition of the memory card by adopting a file system of the memory card. Therefore, the storage of the video and picture files collected by front-end collecting equipment such as IPC and the like can be realized through the service partition of the memory card. In the memory card file system, each folder and the folder where the file is located correspond to a directory entry, so that the target service file and the folder where the target service file is located are both allocated to the same directory entry.
S120, performing abnormal storage detection according to the directory entry of the target service file and the file allocation table of the memory card file system, and determining an abnormal file in the target service file.
In this embodiment, abnormal power failure or long-time erasing of the service partition may cause an abnormality in the file system of the memory card, which may result in failure to perform normal storage on the service file, and further result in failure to perform normal reading and writing on the memory card. Therefore, a real-time detection mechanism is introduced in the scheme of the application, abnormal storage detection is carried out on the target service file stored in the memory card, the abnormal file existing in the target service file is found in time, and the problem that the memory card cannot normally store the subsequently acquired service file due to the storage defect of the abnormal file because the abnormal file cannot be found in time is avoided, so that the storage function of the memory card is monitored and recovered in time. The abnormal file may be a target service file with a storage defect caused by an abnormality in the file system of the memory card.
In this embodiment, the directory entry of the target service file records the file name, size, file content start address (start cluster number) and other metadata of each target service file that needs to be subjected to abnormal storage detection. The file allocation table may describe allocation states of storage units in a file system of the memory card and a front-to-back link relationship of file contents. Therefore, according to the file allocation table of the memory card file system, the target service file indicated by the directory entry of the target service file can be found in order, and the ordered abnormal storage detection operation is carried out on the found target service file, so that all abnormal files with abnormal storage can be found in order and in a non-missing way, the storage defect of the memory card can be repaired more quickly and more efficiently, and the memory card can be ensured to store the data acquired by the front-end acquisition equipment in a non-missing way to the greatest extent.
In this embodiment, optionally, an anomaly detection triggering condition for anomaly storage detection is set, and the anomaly storage detection of the target service file stored in the memory card can be triggered at regular time according to the preset anomaly detection triggering condition, so that periodic automatic cycle detection is realized, and the anomaly can be found in time. The anomaly detection triggering condition may be that a time interval from the last anomaly detection repair is greater than a preset time interval threshold.
S130, repairing the storage defect of the abnormal file, and instructing the memory card to continue to execute the storage operation after the repair is finished.
In this embodiment, after detecting an abnormal file in the target service file, that is, when detecting that the memory card has a storage abnormality, the scheme of the present application may select to repair a storage defect of the detected abnormal file in the target service file in the memory card file system. Therefore, the storage function of the memory card is recovered without deleting a large number of stored service files, only abnormal files are repaired in a targeted manner, and the original stored service files in the memory card can be ensured to the greatest extent; moreover, because the space of the memory card is limited, a full-coverage storage mode is usually adopted for storage, and the storage defect of the abnormal file is repaired in time, so that more storage defects of the memory card file system during full-coverage storage can be avoided as far as possible due to the storage defect of the abnormal file.
In this embodiment, after the repair of the storage defect of the abnormal file is completed, the memory card may be instructed to continue to perform the storage operation, so that the normal storage service of the memory card can be timely recovered, and it is avoided that subsequent service files cannot be continuously stored, which causes storage omission of a large number of service files, thereby ensuring the completeness of the stored service files to the greatest extent. Optionally, when the storage defect of the abnormal file is repaired, the memory card may be instructed to suspend executing the storage operation, so that the problem that more storage defects occur when the memory card performs full-coverage storage due to the storage defect of the abnormal file can be avoided as much as possible.
In this embodiment, optionally, because the front-end acquisition device is usually a civil device or a device with simple hardware, and the memory in the front-end acquisition device is relatively small, the storage defects of the plurality of abnormal files in the target service file can be repaired one by one instead of the storage defects of the plurality of abnormal files in the target service file being repaired in parallel, thereby avoiding that the subsequent storage function is affected due to the fact that the repair is stuck.
In this embodiment, optionally, the file name and the file location of the abnormal file in the memory card file system and the storage abnormality type of the abnormal file may be determined, and the related information is added to a file check table, so that the storage defect of the abnormal file in the memory card system may be repaired in order according to the file check table.
When the memory card is used for storing the service files, the front-end acquisition equipment monitors the storage defects of the memory card in real time and repairs the existing storage defects in a targeted manner in time, so that the storage function of the memory card is guaranteed in real time, and the stored service files are not required to be largely deleted, and the original stored service files in the memory card are guaranteed to the greatest extent; meanwhile, compared with the scheme that the memory card is detected to enter the write protection mechanism abnormally and does not continue to be stored, the scheme indicates the memory card to continue to execute the storage operation after the repair is finished, so that the normal storage function of the memory card can be recovered in time, and the problem that subsequent service files cannot be stored continuously and a large number of subsequently collected service files are omitted in storage is avoided. In addition, according to the scheme of the embodiment of the application, the directory entry of the target service file stored in the memory card service partition can be obtained through analysis, the target service file indicated by the directory entry of the target service file can be found in order according to the file allocation table of the memory card file system, the ordered and omission-free abnormal storage detection of the target service file can be realized, all abnormal files with abnormal storage can be found quickly without omission, and further the storage defect of the memory card can be repaired more quickly and more efficiently.
On the basis of the foregoing embodiment, optionally, parsing to obtain a directory entry of a target service file stored in the service partition of the memory card may include the following steps a1-a 2:
a1, acquiring key index information of the memory card file system; the key index information includes a file allocation table, a root directory location, and a file allocation table size.
In this embodiment, reading and traversing the service partition of the memory card, and acquiring the key data of the file system of the memory card are respectively: a file allocation table, a root directory location, and a file allocation table size. For example, taking the memory card as an SD card as an example, reading the service partition of the SD card, and acquiring the key data of the FAT32 file system of the SD card are: FAT table, root directory location, and FAT table size.
Step A2, analyzing the memory card service partition according to the key index information to obtain a directory entry of a target service file of a preset service type stored in the memory card service partition.
In this embodiment, directory entry information of each service file stored in the service partition of the memory card may be parsed according to key data of the file system of the memory card, and then directory entries of target service files of preset service types may be screened from the directory entry information of each service file obtained through parsing.
According to the technical scheme, the target service files of the preset types stored in the service partition of the memory card can be directionally screened, namely, the directory entries of the target service files of the preset types are found, so that the abnormal storage detection can be performed on the target service of the preset service types, the abnormal storage detection is not required to be performed on all the service files, and the detection resources are saved.
Fig. 2 is a flowchart of another memory card processing method provided in the embodiment of the present invention. The embodiments of the present application are further optimized on the basis of the embodiments described above, and the embodiments of the present application can be combined with various alternatives in one or more of the embodiments described above. As shown in fig. 2, the memory card processing method provided in the embodiment of the present application may include the following steps S210 to S250:
s210, initializing the memory card to be used.
In this embodiment, fig. 3 is a schematic process diagram of performing compatibility processing on a memory card according to an embodiment of the present invention. Referring to fig. 3, due to different specifications of the storage cards such as the SD card, compatibility and adaptability between the front-end acquisition device and the storage card are poor, and file data in the storage card cannot be read and written normally. Therefore, after the front-end acquisition equipment is started, the memory card to be used can be initialized so that the memory card is mounted on the front-end acquisition equipment, the problem of hardware communication abnormity of the memory card is solved, and communication abnormity caused by hardware problems during reading and writing of the memory card is avoided. Optionally, the hardware module pin of the memory card may be triggered to perform a power-on and power-off operation, and a hard reset may be simulated to perform initialization of the memory card, so as to implement initialization and mounting of the memory card to be used.
In this embodiment, optionally, after the device is started, the drive attempts to perform initialization operation on the memory card, so that the front-end acquisition device mounts the memory card and initializes again after the initialization fails; if the number of times of the initialization operation is detected to be larger than the preset number of times, it is indicated that the multiple initialization mounting failures of the memory card may be the SD memory card problem or the device hardware module problem, the front-end acquisition device is prompted to format the memory card or perform hardware test on the memory card or replace the memory card, and multiple repeated initialization operations are avoided.
S220, after the initialization is successful, adjusting and adapting the file system of the memory card according to the file system supported by the front-end acquisition equipment; and adjusting and adapting the service partition of the memory card according to the service partition required by the front-end acquisition equipment.
In this embodiment, referring to fig. 3, after the memory card is successfully initialized, it may be determined whether the file system of the memory card is the file system supported by the front-end collection device. And if the file system of the memory card is determined to be supported by judgment, entering the next process to adapt the service partition of the memory card. And if the file system of the memory card is judged to be not supported, prompting the memory card to be formatted so as to format the file system of the memory card into a file system supported by the front-end acquisition equipment. Therefore, the problem that the file system supported by the front-end acquisition equipment is not matched with the file system of the memory card can be solved, and the compatibility of the file system is improved.
In this embodiment, referring to fig. 3, after the memory card is initialized successfully, it is further determined whether the service partition of the memory card is a service partition required by the front-end acquisition device. And if the service partition of the memory card is judged to be the partition required for storage, entering the service partition of the memory card for storage. And if the service partition of the memory card is judged to be not the partition required for storage, prompting the formatting of the memory card so as to format the service partition of the memory card into the service partition required for storage. Therefore, the problem that the service partition required by the front-end acquisition equipment is not matched with the service partition of the memory card can be solved, and the compatibility of the service partition is improved.
According to the technical scheme, before the front-end acquisition equipment uses the memory card for storage, product compatibility between the memory card and the front-end acquisition equipment is improved by simulating hard reset on the pin of the memory card, judging a file system of the memory card and judging a service partition of the memory card.
And S230, under the condition that the memory card is successfully mounted in the initialized state, analyzing to obtain a directory entry of the target service file stored in the service partition of the memory card.
S240, performing abnormal storage detection according to the directory entry of the target service file and the file allocation table of the memory card file system, and determining an abnormal file in the target service file.
And S250, repairing the storage defect of the abnormal file, and indicating the memory card to continue to execute the storage operation after the repair is finished.
The embodiment of the application provides a storage card processing method, which can achieve the corresponding purpose and achieve the corresponding technical effect in the previous embodiment, and the scheme of the application can further improve the product compatibility between the storage card and the front-end acquisition equipment by simulating hard reset of a pin of the storage card, judging a file system of the storage card and judging a service partition of the storage card before the front-end acquisition equipment uses the storage card for storage, so as to solve the problem of abnormal different storage caused by product incompatibility.
Fig. 4 is a flowchart of another memory card processing method provided in the embodiment of the present invention. The embodiments of the present application are further optimized on the basis of the embodiments described above, and the embodiments of the present application can be combined with various alternatives in one or more of the embodiments described above. As shown in fig. 4, the out-of-step processing method for the shooting device provided in the embodiment of the present application may include the following steps S410 to S440:
and S410, analyzing to obtain a directory entry of the target service file stored in the service partition of the memory card.
And S420, traversing the file allocation table of the memory card file system according to the file start cluster number recorded in the directory entry of the target service file, and determining a file cluster chain of the target service file.
In the embodiment, in the memory card file system, the target service file is stored in the memory card service partition in the form of a file cluster or a file cluster chain. Each cluster has a cluster table entry corresponding to the cluster, the cluster table entry is a space address number (position of a recorded cluster) corresponding to the current cluster, the cluster table entries are sequentially ordered to form a file allocation table, a value recorded in a cluster table entry is not 0 and does not exceed the range of the cluster table entry of the current memory card, the current cluster is indicated to be occupied, and a specific recorded value indicates the next cluster table entry. For this, the start cluster number of the target service file recorded in the directory entry may be determined by querying the directory entry of the target service file. And then, the file distribution table can be searched in a traversing mode according to the determined initial cluster number, and a file cluster chain corresponding to the target service file can be found.
S430, determining an abnormal file with abnormal storage from the target service file according to the traversal result of the file cluster chain of the target service file; the exception type of the exception file comprises incomplete file storage and/or bad memory card blocks.
In this embodiment, after finding the file cluster chain corresponding to the target service file, the file cluster chain of the target service file may be traversed, and the number of file clusters (the minimum storage units in the file system) actually occupied by the target service file is counted, so as to obtain the file cluster chain length of the target service file. The cluster chain length of the file cluster occupied by the target service file is multiplied by the cluster size (the cluster size can be divided into 8K, 16K, 32K, 64K and the like according to the size of the memory card), so that the file size indicated by the file cluster chain corresponding to the target service file can be obtained, and the file size is the size of the file which can be normally accessed actually.
In this embodiment, the directory entry of the target service file records the file size of the target service file to be written. At this time, the abnormal file with storage abnormality can be determined from the target service file by comparing the file size indicated by the file cluster chain length obtained by traversing the file cluster chain of the target service file with the file size recorded by the directory entry of the target service file. The exception file may include a target transaction file with storage exceptions caused by incomplete file storage and/or bad memory card blocks.
In an optional manner of this embodiment, determining, according to a traversal result of a file cluster chain of a target service file, an abnormal file with a storage exception from the target service file may include the following operations:
and if the file size of the file cluster chain of the target service file is determined to be different from the file size recorded in the directory entry of the target service file through traversal, determining that the target service file belongs to an abnormal file with an abnormal type and incomplete file storage.
In this embodiment, when the file size of the file cluster chain of the target service file is different from the file size recorded in the directory entry of the target service file, it indicates that a storage exception occurs in the file system for the target service file due to incomplete file storage. The difference between the file size of the file cluster chain of the target service file and the file size recorded in the directory entry of the target service file is recorded as the lost data size of the target service file in the file system.
In this embodiment, optionally, the file name, the file location, the file size actually accessible, and the size of the missing data of the abnormal file of the incomplete file are recorded in the check table. After all the target service files are checked, accumulating the determined data size lost by each abnormal file to obtain the total data size lost by the files of the memory card file system, and writing the total data size lost by the files of the memory card file system into a check table.
According to the technical scheme of the embodiment, in the abnormal storage detection process, the file cluster chain length actually occupied by the target file and the file size recorded in the directory entry are obtained by quickly traversing the file allocation table, so that whether the target service file has the storage defect that the file storage is incomplete can be quickly judged.
In another optional manner of this embodiment, determining, according to a traversal result of a file cluster chain of a target service file, an abnormal file with a storage exception from the target service file may include the following operations:
and if the file block of the target service file is determined to be read and written abnormally through traversal, determining whether the target service file belongs to an abnormal file of which the abnormal type is a bad block of the memory card.
In this embodiment, abnormal power failure or long-time erasing of the partition may cause storage abnormality due to incomplete file storage, and may also cause abnormal reading and writing due to bad blocks of the memory card. Therefore, reading and writing can be carried out on the file cluster chain corresponding to the target service file, and whether reading and writing abnormality occurs in reading and writing of the file blocks of the target service file is judged. If the read-write abnormality of the file block of the target service file is determined, whether the target service file is an abnormal file caused by a bad block of the memory card is judged, namely whether the target service file is the read-write abnormality caused by the bad block of the memory card or the read-write abnormality caused by the abnormality of the current communication signal needs to be judged in detail.
In another optional manner of this embodiment, determining, according to the traversal result of the file cluster chain of the target business file, an abnormal file with a storage exception occurring in the target business file may include the following operations:
if the file size of the file cluster chain of the target service file is determined to be the same as the file size recorded in the directory entry of the target service file in a traversing manner, and the file block of the target service file is read and written abnormally, determining whether the target service file belongs to an abnormal file of which the abnormal type is a memory card bad block;
if the file size of the file cluster chain of the target service file is determined to be different from the file size recorded in the directory entry of the target service file in a traversing manner, and the file block of the target service file is read and written abnormally, the target service file is determined to belong to an abnormal file of which the file storage is incomplete, and whether the target service file simultaneously belongs to an abnormal file of which the abnormal type is a bad block of a storage card is continuously determined.
On the basis of the technical solution of the foregoing embodiment, optionally, determining whether the target service file belongs to an abnormal file caused by a bad block of the memory card may include the following steps B1-B2:
step B1, performing at least one re-initialization operation on the memory card.
And step B2, if the reading and writing of the file block of the target service file are still abnormal, determining that the target service file belongs to the abnormal file caused by the bad block of the memory card.
In this embodiment, the memory card is re-initialized and mounted, whether the target service file accessing the previous read-write abnormality is still read-write abnormality, and whether the file block accessing other service files is normal. And if the reading and writing of the file block of the target service file are still abnormal and the reading and writing of the file blocks of other service files can be normal after the memory card is mounted again for the first time, the memory card is initially mounted again. And if the file block of the target service file read and written last time is still read and written abnormally after the memory card is mounted again, determining that the target service file belongs to the abnormal file caused by the bad block of the memory card. And if the file block of the target service file read and written last time is read and written normally after the memory card is mounted again, determining that the target service file does not belong to the abnormal file caused by the bad block of the memory card. Considering that the memory card has a problem that a part of readable and writable parts cannot be read and written when the service life of the memory card expires, a judgment threshold is generally increased, for example, 1/2 file cannot be accessed to judge that the card is abnormal. If the service files exceeding a certain quantity ratio threshold in the file system are all read-write abnormal after the memory card is mounted by reinitialization, it is determined that the memory card is damaged, for example, the quantity ratio can be set to 1/2.
According to the technical scheme of the embodiment, the memory card can be subjected to re-mounting operation, the target service file is read and written again after being mounted again, and then whether the target service file belongs to the read and write abnormity which avoids communication signal abnormity caused by errors or is mistaken for the read and write abnormity caused by the memory card bad block is judged according to the re-read and write result, so that the memory card bad block can be conveniently screened and processed in time in the follow-up process.
S440, repairing the storage defect of the abnormal file, and instructing the memory card to continue to execute the storage operation after the repair is finished.
The embodiment of the application provides a storage card processing method, except that the corresponding purpose and the corresponding technical effect can be realized in the previous embodiment, the scheme of the application can further traverse a file distribution table according to a directory entry of a target service file, quickly find a file cluster chain corresponding to the target service file, and further quickly traverse the file cluster chain to determine whether the target service file is abnormal in storage, so that quick and ordered abnormal storage detection without missing of the target service file can be realized, all abnormal files with abnormal storage can be quickly found without missing, further, the storage defect of a storage card can be repaired more quickly and efficiently, and the storage function of the storage card can be restored in time.
On the basis of the technical solution of the foregoing embodiment, optionally repairing the storage defect of the abnormal file may include the following operations:
and if the abnormal type of the abnormal file is incomplete, adjusting the file size recorded in the directory entry of the abnormal file according to the file cluster chain length of the abnormal file.
In this embodiment, if the abnormal type of the abnormal file is incomplete, and it is determined through traversal that the end flag exists in the cluster chain of the abnormal file, only the file size obtained by converting the cluster chain length of the abnormal file may be filled in the file size in the directory entry of the abnormal file, so as to adjust the file size recorded in the directory entry of the abnormal file. If the abnormal type of the abnormal file is incomplete file storage and the file cluster chain of the abnormal file is determined to be traversed without an end mark, traversing the last cluster table entry of the file cluster chain of the abnormal file and setting the cluster table entry as a file end mark, and simultaneously filling the file size in the directory entry of the abnormal file with the file size obtained by converting the length of the file cluster chain of the abnormal file so as to adjust the file size recorded in the directory entry of the abnormal file.
According to the technical scheme, the consistency of the file is adjusted according to the file size of the target item record of the abnormal file which is abnormally stored due to incomplete file storage and the file size indicated by the actually occupied file cluster chain, so that the problem that the file storage function of the memory card is influenced due to abnormal file storage caused by inconsistent file sizes is avoided.
On the basis of the technical solution of the above embodiment, optionally repairing the storage defect of the abnormal file may include the following steps C1-C2:
and step C1, if the abnormal type of the abnormal file is a bad block of the memory card, determining a corresponding file cluster according to the file block number of the abnormal file, and marking the corresponding file cluster as a bad cluster.
And step C2, linking the file clusters before and after the file cluster marked as the bad cluster, and adjusting the file size recorded in the directory entry of the abnormal file according to the cluster chain length of the file cluster chain obtained by linking.
In this embodiment, fig. 5 is a schematic diagram of a bad block flag provided in the embodiment of the present invention. Fig. 6 is a schematic diagram of a file cluster chain provided in an embodiment of the present invention. Referring to fig. 6, the cluster chain is composed of clusters, and the cluster chain may be composed of spatially non-consecutive clusters, for example, when the 3 rd cluster is occupied, the 2 nd cluster is automatically linked to the 4 th cluster which is not occupied. The specific process can be as follows: the cluster chain length of the file cluster chain obtained by linking can be converted into the file size according to the file size conversion relation of the cluster length, and then the file size determined by conversion is filled in the file size in the directory entry of the abnormal file.
In this embodiment, optionally, the file allocation table of the memory card system may be traversed according to the directory entry of the target service file, a bitmap is used to mark an item or a cluster chain without a master cluster in the file system, the total size of the space occupied by the master cluster is counted, and the master cluster is set as an idle cluster, so that the highest utilization rate of the memory card is ensured.
According to the technical scheme of the embodiment, for the abnormal file caused by the bad block of the memory card, the consistency adjustment of the file can be performed on the file size recorded by the target item of the abnormal file and the file size indicated by the actually occupied file cluster chain, so that the problem that the file storage function of the memory card is not influenced due to abnormal file storage caused by inconsistent file sizes is avoided; and moreover, the file clusters corresponding to the bad blocks appearing in the abnormal files are marked, so that the storage abnormity caused by the fact that the subsequent files are stored on the bad clusters continuously when full-coverage storage is carried out is avoided.
Fig. 7 is a block diagram of a memory card processing apparatus provided in the embodiment of the present invention. The technical scheme of the embodiment of the application can be suitable for the condition that the storage function of the memory card is timely recovered. The device can be implemented in software and/or hardware and integrated on any electronic equipment with network communication function. The electronic device can be a front-end acquisition device. As shown in fig. 7, the memory card processing apparatus in the embodiment of the present application may include: a directory entry parsing module 710, an exception detection module 720, and an exception file repair module 730. Wherein:
a directory entry parsing module 710, configured to parse a directory entry of a target service file stored in a service partition of a memory card;
an exception detection module 720, configured to perform exception storage detection on the target service file according to the directory entry of the target service file and the file allocation table of the memory card file system, and determine an exception file in the target service file;
the abnormal file repairing module 730 is configured to repair the storage defect of the abnormal file, and instruct the memory card to continue to execute the storage operation after the repair is completed.
On the basis of the technical solution of the foregoing embodiment, optionally, the directory entry parsing module 710 includes:
acquiring key index information of a memory card file system; the key index information comprises a file allocation table, a root directory position and a file allocation table size;
and analyzing the memory card service partition according to the key index information to obtain a directory entry of a target service file of a preset service type stored in the memory card service partition.
On the basis of the technical solution of the foregoing embodiment, optionally, the anomaly detection module 720 includes:
a distribution table traversing unit, configured to traverse the file distribution table of the memory card file system according to the file start cluster number recorded in the directory entry of the target service file, and determine a file cluster chain of the target service file;
a cluster chain traversal unit, configured to determine, according to a traversal result of a cluster chain of files of the target service file, an abnormal file with storage exception from the target service file;
wherein the abnormal type of the abnormal file comprises incomplete file storage and/or bad memory card blocks.
On the basis of the technical solution of the foregoing embodiment, optionally, the cluster chain traversal unit includes:
if the file size of the file cluster chain of the target service file is determined to be different from the file size recorded in the directory entry of the target service file in a traversing manner, determining that the target service file belongs to an abnormal file with an abnormal type and incomplete file storage; and/or the presence of a gas in the gas,
and if the file block of the target service file is determined to be read and written abnormally by traversing, determining whether the target service file belongs to an abnormal file of which the abnormal type is a bad block of the memory card.
On the basis of the technical solution of the foregoing embodiment, optionally, the cluster chain traversal unit specifically includes:
performing at least one re-initialization mounting operation on the memory card;
and if the reading and writing of the file block of the target service file are still abnormal, determining that the target service file belongs to an abnormal file caused by a bad block of a memory card.
On the basis of the technical solution of the foregoing embodiment, optionally, the abnormal file repairing module 730 includes:
and if the abnormal type of the abnormal file is incomplete, adjusting the file size recorded in the directory entry of the abnormal file according to the file cluster chain length of the abnormal file.
On the basis of the technical solution of the foregoing embodiment, optionally, the abnormal file repairing module 730 includes:
if the abnormal type of the abnormal file is a bad block of the memory card, determining a corresponding file cluster according to the file block number of the abnormal file, and marking the corresponding file cluster as a bad cluster;
and linking the file clusters before and after the file cluster marked as the bad cluster, and adjusting the size of the file recorded in the directory entry of the abnormal file according to the cluster chain length of the file cluster chain obtained by linking.
On the basis of the technical solution of the above embodiment, optionally, the apparatus further includes:
the memory card mount processing module 740 is configured to initialize a memory card to be used before performing exception storage detection on a target service file stored in the memory card;
the memory card mount processing module 740 is further configured to, after the initialization is successful, adjust and adapt the memory card file system according to the file system supported by the front-end acquisition device; and adjusting and adapting the service partition of the memory card according to the service partition required by the front-end acquisition equipment.
The memory card processing apparatus provided in the embodiments of the present application can execute the memory card processing method provided in any embodiments of the present application, and has corresponding functions and advantages for executing the memory card processing method.
Fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention. As shown in fig. 8, the electronic device provided in the embodiment of the present invention includes: one or more processors 810 and storage 820; the processor 810 in the electronic device may be one or more, and fig. 8 illustrates one processor 810 as an example; storage 820 is used to store one or more programs; the one or more programs are executed by the one or more processors 810, so that the one or more processors 810 implement the memory card processing method according to any one of the embodiments of the present invention.
The electronic device may further include: an input device 830 and an output device 840.
The processor 810, the storage device 820, the input device 830 and the output device 840 in the electronic apparatus may be connected by a bus or other means, and fig. 8 illustrates an example of connection by a bus.
The storage device 820 in the electronic device, as a computer-readable storage medium, may be used for storing one or more programs, which may be software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the memory card processing method provided in the embodiment of the present invention. The processor 810 executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the storage device 820, that is, the memory card processing method in the above-described method embodiment is realized.
The storage device 820 may 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 use of the electronic device, and the like. Further, storage 820 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, storage 820 may further include memory located remotely from processor 810, which may be connected to devices over 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 830 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. The output device 840 may include a display device such as a display screen.
And, when the one or more programs included in the electronic device are executed by the one or more processors 810, the programs perform the following operations:
analyzing to obtain a directory entry of a target service file stored in a service partition of the memory card;
according to the directory entry of the target service file and a file allocation table of a memory card file system, performing abnormal storage detection on the target service file to determine an abnormal file in the target service file;
and repairing the storage defect of the abnormal file, and indicating the memory card to continue to execute the storage operation after the repair is finished.
Of course, it can be understood by those skilled in the art that when one or more programs included in the electronic device are executed by the one or more processors 810, the programs may also perform related operations in the memory card processing method provided in any embodiment of the present invention.
An embodiment of the present invention provides a computer-readable storage medium having stored thereon a computer program for executing a memory card processing method when executed by a processor, the method including:
analyzing to obtain a directory entry of a target service file stored in a service partition of the memory card;
according to the directory entry of the target service file and a file allocation table of a memory card file system, performing abnormal storage detection on the target service file to determine an abnormal file in the target service file;
and repairing the storage defect of the abnormal file, and indicating the memory card to continue to execute the storage operation after the repair is finished.
Alternatively, the program may be used to execute the memory card processing method provided in any of the embodiments of the present invention when executed by the processor.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. A computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take a variety of forms, including, but not limited to: an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention 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 invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A memory card processing method is applied to front-end acquisition equipment and comprises the following steps:
analyzing to obtain a directory entry of a target service file stored in a service partition of the memory card;
according to the directory entry of the target service file and a file allocation table of a memory card file system, performing abnormal storage detection on the target service file to determine an abnormal file in the target service file;
and repairing the storage defect of the abnormal file, and indicating the memory card to continue to execute the storage operation after the repair is finished.
2. The method of claim 1, wherein parsing to obtain a directory entry of a target service file stored in a service partition of a memory card comprises:
acquiring key index information of a memory card file system; the key index information comprises a file allocation table, a root directory position and a file allocation table size;
and analyzing the memory card service partition according to the key index information to obtain a directory entry of a target service file of a preset service type stored in the memory card service partition.
3. The method of claim 1, wherein performing an abnormal storage detection on the target service file according to a directory entry of the target service file and a file allocation table of a memory card file system, and determining an abnormal file in the target service file comprises:
traversing a file allocation table of the memory card file system according to a file start cluster number recorded in a directory entry of the target service file, and determining a file cluster chain of the target service file;
determining an abnormal file with abnormal storage from the target service file according to the traversal result of the file cluster chain of the target service file;
wherein the abnormal type of the abnormal file comprises incomplete file storage and/or bad memory card blocks.
4. The method of claim 3, wherein determining an abnormal file with storage exception from the target business file according to the traversal result of the file cluster chain of the target business file comprises:
if the file size of the file cluster chain of the target service file is determined to be different from the file size recorded in the directory entry of the target service file in a traversing manner, determining that the target service file belongs to an abnormal file with an abnormal type and incomplete file storage; and/or the presence of a gas in the gas,
and if the file block of the target service file is determined to be read and written abnormally by traversing, determining whether the target service file belongs to an abnormal file of which the abnormal type is a bad block of the memory card.
5. The method of claim 4, wherein repairing the storage defect of the exception file comprises:
and if the abnormal type of the abnormal file is incomplete, adjusting the file size recorded in the directory entry of the abnormal file according to the file cluster chain length of the abnormal file.
6. The method of claim 4, wherein repairing the storage defect of the exception file comprises:
if the abnormal type of the abnormal file is a bad block of the memory card, determining a corresponding file cluster according to the file block number of the abnormal file, and marking the corresponding file cluster as a bad cluster;
and linking the file clusters before and after the file cluster marked as the bad cluster, and adjusting the size of the file recorded in the directory entry of the abnormal file according to the cluster chain length of the file cluster chain obtained by linking.
7. The method of claim 1, prior to performing the abnormal storage detection on the target service file stored in the memory card, further comprising:
initializing a memory card to be used;
after the initialization is successful, adjusting and adapting the memory card file system according to the file system supported by the front-end acquisition equipment; and adjusting and adapting the service partition of the memory card according to the service partition required by the front-end acquisition equipment.
8. A memory card processing apparatus, configured to a front-end capture device, comprising:
the directory entry analysis module is used for analyzing and obtaining a directory entry of a target service file stored in the service partition of the memory card;
the abnormal detection module is used for carrying out abnormal storage detection on the target service file according to the directory entry of the target service file and the file allocation table of the memory card file system, and determining an abnormal file in the target service file;
and the abnormal file repairing module is used for repairing the storage defect of the abnormal file and indicating the memory card to continue to execute the storage operation after the repairing is finished.
9. An electronic device, comprising:
one or more processing devices;
storage means for storing one or more programs;
when executed by the one or more processing devices, cause the one or more processing devices to implement the memory card processing method of any one of claims 1-7.
10. A computer-readable storage medium on which a computer program is stored, characterized in that the program, when executed by a processing device, implements the memory card processing method of any one of claims 1 to 7.
CN202010555047.XA 2020-06-17 2020-06-17 Memory card processing method, device, equipment and storage medium Active CN113806119B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010555047.XA CN113806119B (en) 2020-06-17 2020-06-17 Memory card processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010555047.XA CN113806119B (en) 2020-06-17 2020-06-17 Memory card processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113806119A true CN113806119A (en) 2021-12-17
CN113806119B CN113806119B (en) 2024-05-31

Family

ID=78892670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010555047.XA Active CN113806119B (en) 2020-06-17 2020-06-17 Memory card processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113806119B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114416665A (en) * 2022-03-25 2022-04-29 苏州浪潮智能科技有限公司 Method, device and medium for detecting and repairing data consistency

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706783A (en) * 2009-11-16 2010-05-12 中兴通讯股份有限公司 Method and device for checking and repairing files in embedded equipment
US20140373080A1 (en) * 2013-06-18 2014-12-18 Concurrent Computer Corporation Remote Storage Digital Video Recording Optimization Method and System
CN105072372A (en) * 2015-07-30 2015-11-18 成都亿盟恒信科技有限公司 Automatic repair method for FAT file system on DVR terminal
US20180025015A1 (en) * 2016-07-22 2018-01-25 International Business Machines Corporation Estimating mount time completion in file systems
CN108021717A (en) * 2017-12-29 2018-05-11 成都三零嘉微电子有限公司 A kind of implementation method of lightweight embedded file system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706783A (en) * 2009-11-16 2010-05-12 中兴通讯股份有限公司 Method and device for checking and repairing files in embedded equipment
US20140373080A1 (en) * 2013-06-18 2014-12-18 Concurrent Computer Corporation Remote Storage Digital Video Recording Optimization Method and System
CN105072372A (en) * 2015-07-30 2015-11-18 成都亿盟恒信科技有限公司 Automatic repair method for FAT file system on DVR terminal
US20180025015A1 (en) * 2016-07-22 2018-01-25 International Business Machines Corporation Estimating mount time completion in file systems
CN108021717A (en) * 2017-12-29 2018-05-11 成都三零嘉微电子有限公司 A kind of implementation method of lightweight embedded file system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114416665A (en) * 2022-03-25 2022-04-29 苏州浪潮智能科技有限公司 Method, device and medium for detecting and repairing data consistency
CN114416665B (en) * 2022-03-25 2022-06-10 苏州浪潮智能科技有限公司 Method, device and medium for detecting and repairing data consistency

Also Published As

Publication number Publication date
CN113806119B (en) 2024-05-31

Similar Documents

Publication Publication Date Title
US20190286510A1 (en) Automatic correlation of dynamic system events within computing devices
CN110008129B (en) Reliability test method, device and equipment for storage timing snapshot
CN108089971B (en) Log service method and system based on embedded real-time system
CN106649071B (en) Method and device for reporting log in process
CN112148221B (en) Method, device, equipment and storage medium for inspecting redundant array of inexpensive disks
CN110704287B (en) RAID card abnormal log collection method and system under Linux system and storage medium
US20200250019A1 (en) Method, device and computer program product for monitoring access request
CN110798373A (en) Method for realizing performance test, test server and computer storage medium
CN105022694A (en) Test case generation method and system for mobile terminal test
US20100333066A1 (en) Method and system for managing software issues
CN110750416A (en) Method and device for automatically processing fault information
CN113806119B (en) Memory card processing method, device, equipment and storage medium
CN110543398A (en) method and system for recording fault information
CN110333993B (en) Memory snapshot generation method and device, electronic equipment and storage medium
CN116185706A (en) Data backup method and device, computing and storage medium and electronic equipment
CN110597674B (en) Memory detection method, device, video recording system and storage medium
CN114237957A (en) Method and device for processing abnormal disk partition
CN107885640B (en) Hard disk management method and device
US9710319B2 (en) Information processing apparatus and information collection method
CN104239182A (en) Cluster file system split-brain processing method and device
CN116149577B (en) Data processing method, system and readable storage medium based on rotary pool
CN116719663B (en) Data processing method, device, equipment and readable storage medium
CN113722142B (en) Method and device for analyzing reasons of insufficient memory, electronic equipment and storage medium
CN111381994B (en) Mirror image bad layer repairing method, device, equipment and medium
CN117251863A (en) Log data protection method, device, equipment and storage medium

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