CN112148523B - Verification method and device for data files in embedded system - Google Patents

Verification method and device for data files in embedded system Download PDF

Info

Publication number
CN112148523B
CN112148523B CN202010952989.1A CN202010952989A CN112148523B CN 112148523 B CN112148523 B CN 112148523B CN 202010952989 A CN202010952989 A CN 202010952989A CN 112148523 B CN112148523 B CN 112148523B
Authority
CN
China
Prior art keywords
file
data
check code
code
standard header
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010952989.1A
Other languages
Chinese (zh)
Other versions
CN112148523A (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.)
Wuhan Huazhong Numerical Control Co Ltd
Original Assignee
Wuhan Huazhong Numerical Control 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 Wuhan Huazhong Numerical Control Co Ltd filed Critical Wuhan Huazhong Numerical Control Co Ltd
Priority to CN202010952989.1A priority Critical patent/CN112148523B/en
Publication of CN112148523A publication Critical patent/CN112148523A/en
Application granted granted Critical
Publication of CN112148523B publication Critical patent/CN112148523B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention provides a method and equipment for checking a data file in an embedded system. The method comprises the following steps: defining a standard header file of a data file, setting all file check code positions of the standard header file to be zero, writing data information into the data file with all file check code positions being zero to obtain a data file with data information, and writing a first file check code into the file check code positions of the data file with data information to obtain a final data file; and reading the first file check code and storing the first file check code into a memory to obtain a third file check code, setting the first file check code in the standard header file of the final data file to zero, calculating a second file check code of the final data file after the file check code is set to zero, and determining whether the data information is true and reliable according to the second file check code and the third file check code. The invention can realize the verification of the data file in the embedded system.

Description

Verification method and device for data files in embedded system
Technical Field
The embodiment of the invention relates to the technical field of data verification, in particular to a method and equipment for verifying a data file in an embedded system.
Background
In an embedded system, data files are often used for storing system operation parameter data, and copying and circulation of the data files can possibly cause inconsistency between the data files and original data and influence normal operation of the system. In the case of abnormal data storage and transmission, the common practice is to store a check code file of a data file separately to check the data of the data file, so that the system also needs to manage the check code file of the file in management of reading, writing, transmission and the like of the data file, which necessarily increases the complexity of data file management. Therefore, developing a method for verifying data files in an embedded system can effectively overcome the defects in the related art, and is a technical problem to be solved in the industry.
Disclosure of Invention
Aiming at the problems existing in the prior art, the embodiment of the invention provides a method and equipment for checking data files in an embedded system.
In a first aspect, an embodiment of the present invention provides a method for verifying a data file in an embedded system, including: defining a standard header file of a data file, setting all file check code positions of the standard header file to be zero, writing data information into the data file with all file check code positions being zero to obtain a data file with data information, and writing a first file check code into the file check code positions of the data file with data information to obtain a final data file; and reading the first file check code and storing the first file check code into a memory to obtain a third file check code, setting the first file check code in the standard header file of the final data file to zero, calculating a second file check code of the final data file after the file check code is set to zero, and determining whether the data information is true and reliable according to the second file check code and the third file check code.
Based on the foregoing method embodiment, the method for verifying a data file in an embedded system according to the embodiment of the present invention includes: and comparing the second file check code with a third file check code, and if the second file check code is the same as the third file check code, determining that the data information is true and reliable.
Based on the content of the embodiment of the method, the verification method for the data file in the embedded system provided by the embodiment of the invention defines the standard header file of the data file, and correspondingly, the standard header file comprises: file identification code and file version number.
Based on the content of the embodiment of the method, the verification method for the data file in the embedded system provided by the embodiment of the invention defines the standard header file of the data file, and correspondingly, the standard header file comprises: file header start address.
Based on the content of the embodiment of the method, the verification method for the data file in the embedded system provided by the embodiment of the invention defines the standard header file of the data file, and correspondingly, the standard header file comprises: a file data start address.
Based on the content of the embodiment of the method, the verification method for the data file in the embedded system provided by the embodiment of the invention defines the standard header file of the data file, and correspondingly, the standard header file comprises: a file verification method.
Based on the content of the embodiment of the method, the verification method for the data file in the embedded system provided by the embodiment of the invention defines the standard header file of the data file, and correspondingly, the standard header file comprises: and (5) file check codes and reservation.
In a second aspect, an embodiment of the present invention provides a verification apparatus for a data file in an embedded system, including:
the final data acquisition module is used for defining a standard header file of the data file, setting all file check code positions of the standard header file to be zero, writing data information into the data file with all file check code positions being zero to obtain a data file carrying the data information, and writing a first file check code into the file check code positions of the data file carrying the data information to obtain a final data file;
and the data information checking module is used for reading the first file checking code and storing the first file checking code into a memory to obtain a third file checking code, setting the first file checking code in the standard header file of the final data file to zero, calculating a second file checking code of the final data file after the file checking code is set to zero, and determining whether the data information is true and reliable according to the second file checking code and the third file checking code.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor invoking the program instructions to enable execution of a method of verifying a data file in an embedded system provided by any of the various implementations of the first aspect.
In a fourth aspect, embodiments of the present invention provide a non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform a method for verifying a data file in an embedded system provided by any one of the various implementations of the first aspect.
According to the verification method and the verification device for the data file in the embedded system, the standard header file is defined, the file verification code is written into the file verification code bit in the standard header file, the written file verification code is stored in the memory, the file verification code bit is cleared, a new file verification code is generated for the data file with the clear file verification code bit, and verification of the data file in the embedded system can be achieved by comparing the file verification code stored in the memory with the new file verification code.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description will be given below of the drawings required for the embodiments or the prior art descriptions, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without any inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for verifying a data file in an embedded system according to an embodiment of the present invention;
FIG. 2 is a schematic diagram showing the effect of zero on the position of a file check code in a standard header file according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an effect of writing data information into a data file according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of writing a file check code into a bit effect of the file check code according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of reading a file check code into a memory according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of setting a file check code to zero and calculating the file check code effect according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a standard header definition effect provided in an embodiment of the present invention;
FIG. 8 is a schematic diagram of a verification device for data files in an embedded system according to an embodiment of the present invention;
fig. 9 is a schematic diagram of an entity structure of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention. In addition, the technical features of each embodiment or the single embodiment provided by the invention can be combined with each other at will to form a feasible technical scheme, and the combination is not limited by the sequence of steps and/or the structural composition mode, but is necessarily based on the fact that a person of ordinary skill in the art can realize the combination, and when the technical scheme is contradictory or can not realize, the combination of the technical scheme is not considered to exist and is not within the protection scope of the invention claimed.
By defining the standard file header with the check code, the method for writing the check code and the data file into the same file avoids the problem of complexity of file management caused by managing the data file and the check code file by the system. Based on the idea, the embodiment of the invention provides a verification method for a data file in an embedded system, referring to fig. 1, the method comprises the following steps:
101. defining a standard header file of a data file, setting all file check code positions of the standard header file to be zero, writing data information into the data file with all file check code positions being zero to obtain a data file with data information, and writing a first file check code into the file check code positions of the data file with data information to obtain a final data file;
102. and reading the first file check code and storing the first file check code into a memory to obtain a third file check code, setting the first file check code in the standard header file of the final data file to zero, calculating a second file check code of the final data file after the file check code is set to zero, and determining whether the data information is true and reliable according to the second file check code and the third file check code.
Specifically, the file check code positions of the standard header file are all set to zero, which can be seen in fig. 2. The part in the block in fig. 2 is the file check code bit, and all the file check code bits are set to zero. Writing data information into the data file with all file check code bits set to zero, see fig. 3. In fig. 3, block 301 is a file check code bit, block 302 is a header file bit, and block 303 is a data information bit for writing data information. Writing a first file check code into the file check code bit of the data file carrying the data information to obtain a final data file, which can be seen in fig. 4. In fig. 4, the contents of blocks 301 and 303 are unchanged from fig. 3, and the first file check code is written in block 302, so that the final data file is obtained. The first file check code is read and stored in the memory to obtain a third file check code, see fig. 5. In fig. 5, block 301 is a file check code bit, where the first file check code is stored in the memory 501. Setting the first file check code in the standard header file of the final data file to zero, and calculating the second file check code of the final data file after the file check code is set to zero, see fig. 6. In fig. 6, block 301 is a file check code bit, where the first file check code is set to zero, and the check code of the file is calculated, resulting in a calculated file check code 601. It should be noted that, the verification code of the calculation file is a conventional technical means for those skilled in the art, and need not be described in detail.
Based on the foregoing disclosure of the foregoing method embodiment, as an optional embodiment, the method for verifying a data file in an embedded system according to the embodiment of the present invention, where determining, according to the second file verification code and the third file verification code, whether the data information is true or reliable includes: and comparing the second file check code with a third file check code, and if the second file check code is the same as the third file check code, determining that the data information is true and reliable.
Based on the foregoing content of the foregoing method embodiment, as an optional embodiment, the verification method for a data file in an embedded system provided in the embodiment of the present invention, where the standard header file of the data file is defined, and correspondingly, the standard header file includes: file identification code and file version number.
Based on the foregoing content of the foregoing method embodiment, as an optional embodiment, the verification method for a data file in an embedded system provided in the embodiment of the present invention, where the standard header file of the data file is defined, and correspondingly, the standard header file includes: file header start address.
Based on the foregoing content of the foregoing method embodiment, as an optional embodiment, the verification method for a data file in an embedded system provided in the embodiment of the present invention, where the standard header file of the data file is defined, and correspondingly, the standard header file includes: a file data start address.
Based on the foregoing content of the foregoing method embodiment, as an optional embodiment, the verification method for a data file in an embedded system provided in the embodiment of the present invention, where the standard header file of the data file is defined, and correspondingly, the standard header file includes: a file verification method.
Based on the foregoing content of the foregoing method embodiment, as an optional embodiment, the verification method for a data file in an embedded system provided in the embodiment of the present invention, where the standard header file of the data file is defined, and correspondingly, the standard header file includes: and (5) file check codes and reservation.
The standard header file may specifically refer to fig. 7,typedef strct_FileHead as a defined structure body and name, fileFlag as a defined file identification code, version as a file version number, fileinfoAddr as a file header start address, fileDataAddr as a file data start address, verifyType as a file verification method, verifyCode as a file verification code, and reserve as reserved.
According to the verification method for the data file in the embedded system, the standard header file is defined, the file verification code is written into the file verification code bit in the standard header file, the written file verification code is stored in the memory, the file verification code bit is cleared, a new file verification code is generated for the data file with the clear file verification code bit, and verification of the data file in the embedded system can be achieved by comparing the file verification code stored in the memory with the new file verification code.
By splitting the data file into a data part and a check code, if the data of the data part in the file is stored in error, the check code and the check code which are necessarily calculated are inconsistent; if the data of the check code in the file is stored in error, the calculated check code is not consistent with the stored error check code. Various embodiments of the present invention may set a variety of verification schemes. For example: MD5, CRC32, checksum, etc. The data files adopted by the embodiments of the invention can be freely copied and circulated, and the check code problem of the files is not considered in the process. According to the method for writing the data file and the check code in the same file, the traditional method for recording the check code file by using the check code is avoided, and the complexity of file copying and circulation is increased. Compared with the fact that the verification data of the file are stored outside the data file alone, the data and the verification information are placed in the same file, and therefore extra burden on file management can be avoided; the verification mode of the data file can be customized.
The implementation basis of the embodiments of the present invention is realized by a device with a processor function to perform programmed processing. Therefore, in engineering practice, the technical solutions and the functions of the embodiments of the present invention can be packaged into various modules. Based on the actual situation, on the basis of the above embodiments, the embodiment of the present invention provides a device for verifying a data file in an embedded system, where the device is used to execute the method for verifying a data file in an embedded system in the method embodiment. Referring to fig. 8, the apparatus includes:
the final data obtaining module 801 is configured to define a standard header file of a data file, write data information into the data file with all the file check code positions being zero, obtain a data file with data information, and write a first file check code into the file check code position of the data file with data information, so as to obtain a final data file;
the data information checking module 802 is configured to read the first file check code and store the first file check code in the memory to obtain a third file check code, set the first file check code in the standard header file of the final data file to zero, calculate a second file check code of the final data file after the file check code is set to zero, and determine whether the data information is true and reliable according to the second file check code and the third file check code.
The verification method for the data file in the embedded system provided by the embodiment of the invention adopts the final data acquisition module and the data information verification module, writes the file verification code into the file verification code bit in the standard header file by defining the standard header file, clears the file verification code bit after the written file verification code is stored in the memory, generates a new file verification code for the data file with the cleared file verification code bit, and can realize the verification of the data file in the embedded system by comparing the file verification code stored in the memory with the new file verification code.
It should be noted that, the device in the device embodiment provided by the present invention may be used to implement the method in the above method embodiment, and may also be used to implement the method in other method embodiments provided by the present invention, where the difference is merely that the corresponding functional module is provided, and the principle is basically the same as that of the above device embodiment provided by the present invention, so long as a person skilled in the art refers to a specific technical solution in the above device embodiment based on the above device embodiment, and obtains a corresponding technical means by combining technical features, and a technical solution formed by these technical means, and on the premise that the technical solution is ensured to have practicability, the device in the above device embodiment may be modified, so as to obtain a corresponding device embodiment, and be used to implement the method in other method embodiment. For example:
based on the content of the above embodiment of the device, as an optional embodiment, the verification device for a data file in an embedded system provided in the embodiment of the present invention further includes: and the comparison module is used for comparing the second file check code with the third file check code, and if the second file check code and the third file check code are the same, the data information is determined to be true and reliable.
The method of the embodiment of the invention is realized by the electronic equipment, so that the related electronic equipment is necessary to be introduced. To this end, an embodiment of the present invention provides an electronic device, as shown in fig. 9, including: at least one processor (processor) 901, a communication interface (Communications Interface) 904, at least one memory (memory) 902, and a communication bus 903, wherein the at least one processor 901, the communication interface 904, and the at least one memory 902 communicate with each other via the communication bus 903. The at least one processor 901 may invoke logic instructions in the at least one memory 902 to perform all or part of the steps of the methods provided by the various method embodiments described above.
Further, the logic instructions in the at least one memory 902 described above may be implemented in the form of software functional units and stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. Based on this knowledge, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In this patent, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The method for verifying the data file in the embedded system is characterized by comprising the following steps of:
defining a standard header file of a data file, setting all file check code positions of the standard header file to be zero, writing data information into the data file with all file check code positions being zero to obtain a data file with data information, and writing a first file check code into the file check code positions of the data file with data information to obtain a final data file;
and reading the first file check code and storing the first file check code into a memory to obtain a third file check code, setting the first file check code in the standard header file of the final data file to zero, calculating a second file check code of the final data file after the file check code is set to zero, and determining whether the data information is true and reliable according to the second file check code and the third file check code.
2. The method for verifying a data file in an embedded system according to claim 1, wherein determining whether the data information is authentic according to the second file verification code and the third file verification code comprises: and comparing the second file check code with a third file check code, and if the second file check code is the same as the third file check code, determining that the data information is true and reliable.
3. The method according to claim 1, wherein the standard header file defining the data file, and the standard header file includes: file identification code and file version number.
4. The method according to claim 1, wherein the standard header file defining the data file, and the standard header file includes: file header start address.
5. The method according to claim 1, wherein the standard header file defining the data file, and the standard header file includes: a file data start address.
6. The method according to claim 1, wherein the standard header file defining the data file, and the standard header file includes: a file verification method.
7. The method according to claim 1, wherein the standard header file defining the data file, and the standard header file includes: and (5) file check codes and reservation.
8. A device for verifying a data file in an embedded system, comprising:
the final data acquisition module is used for defining a standard header file of the data file, setting all file check code positions of the standard header file to be zero, writing data information into the data file with all file check code positions being zero to obtain a data file carrying the data information, and writing a first file check code into the file check code positions of the data file carrying the data information to obtain a final data file;
and the data information checking module is used for reading the first file checking code and storing the first file checking code into a memory to obtain a third file checking code, setting the first file checking code in the standard header file of the final data file to zero, calculating a second file checking code of the final data file after the file checking code is set to zero, and determining whether the data information is true and reliable according to the second file checking code and the third file checking code.
9. An electronic device, comprising:
at least one processor, at least one memory, and a communication interface; wherein, the liquid crystal display device comprises a liquid crystal display device,
the processor, the memory and the communication interface are communicated with each other;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1-7.
10. A non-transitory computer readable storage medium storing computer instructions that cause the computer to perform the method of any one of claims 1 to 7.
CN202010952989.1A 2020-09-11 2020-09-11 Verification method and device for data files in embedded system Active CN112148523B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010952989.1A CN112148523B (en) 2020-09-11 2020-09-11 Verification method and device for data files in embedded system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010952989.1A CN112148523B (en) 2020-09-11 2020-09-11 Verification method and device for data files in embedded system

Publications (2)

Publication Number Publication Date
CN112148523A CN112148523A (en) 2020-12-29
CN112148523B true CN112148523B (en) 2023-10-31

Family

ID=73889635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010952989.1A Active CN112148523B (en) 2020-09-11 2020-09-11 Verification method and device for data files in embedded system

Country Status (1)

Country Link
CN (1) CN112148523B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729597A (en) * 2014-01-16 2014-04-16 宇龙计算机通信科技(深圳)有限公司 System starting verifying method and device and terminal
WO2015035536A1 (en) * 2013-09-16 2015-03-19 上海宝存信息科技有限公司 Method and system for constructing raid in storage system on the basis of flash memory
CN105280240A (en) * 2015-11-18 2016-01-27 致象尔微电子科技(上海)有限公司 Nand Flash parameter reading method
CN107133120A (en) * 2016-02-29 2017-09-05 阿里巴巴集团控股有限公司 A kind of method of calibration of file data, device
CN107479823A (en) * 2016-06-07 2017-12-15 阿里巴巴集团控股有限公司 Data verification method and device in the test of random read-write file
WO2018001140A1 (en) * 2016-06-28 2018-01-04 湖北锐世数字医学影像科技有限公司 Self-verification method and system for file
CN109800104A (en) * 2018-12-18 2019-05-24 盛科网络(苏州)有限公司 Detection method, device, storage medium and the electronic device of data storage
US10481972B1 (en) * 2015-08-10 2019-11-19 Google Llc File verification using cyclic redundancy check

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190286342A1 (en) * 2018-03-16 2019-09-19 Seagate Technology Llc Efficient storage drive read-write head verification

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015035536A1 (en) * 2013-09-16 2015-03-19 上海宝存信息科技有限公司 Method and system for constructing raid in storage system on the basis of flash memory
CN103729597A (en) * 2014-01-16 2014-04-16 宇龙计算机通信科技(深圳)有限公司 System starting verifying method and device and terminal
US10481972B1 (en) * 2015-08-10 2019-11-19 Google Llc File verification using cyclic redundancy check
CN105280240A (en) * 2015-11-18 2016-01-27 致象尔微电子科技(上海)有限公司 Nand Flash parameter reading method
CN107133120A (en) * 2016-02-29 2017-09-05 阿里巴巴集团控股有限公司 A kind of method of calibration of file data, device
CN107479823A (en) * 2016-06-07 2017-12-15 阿里巴巴集团控股有限公司 Data verification method and device in the test of random read-write file
WO2018001140A1 (en) * 2016-06-28 2018-01-04 湖北锐世数字医学影像科技有限公司 Self-verification method and system for file
CN109800104A (en) * 2018-12-18 2019-05-24 盛科网络(苏州)有限公司 Detection method, device, storage medium and the electronic device of data storage

Also Published As

Publication number Publication date
CN112148523A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN107832062B (en) Program updating method and terminal equipment
US20090037646A1 (en) Method of using a flash memory for a circular buffer
CN104182701B (en) Array control unit, array and data processing method
US8347052B2 (en) Initializing of a memory area
JP4974613B2 (en) IC memory, access device for IC memory, and validity verification method
US20130081144A1 (en) Storage device and writing device
CN107479823B (en) Data verification method and device in random read-write file test
WO2021135280A1 (en) Data check method for distributed storage system, and related apparatus
CN107133120A (en) A kind of method of calibration of file data, device
EP3336702B1 (en) Metadata recovery method and device
CN110597779A (en) Data reading and writing method in distributed file system and related device
CN105868127A (en) Data storage method and device and data reading method and device
US20170262180A1 (en) Integrated control of write-once data storage devices
CN112148523B (en) Verification method and device for data files in embedded system
US20150169668A1 (en) Single Pass File System Repair With Copy On Write
CN106068499A (en) Non-blocking command
CN110472978A (en) A kind of digital cash address tamper resistant method and system
US20030131280A1 (en) Method and apparatus for facilitating validation of data retrieved from disk
CN108241705A (en) A kind of data insertion method and device
CN110348245B (en) Data integrity protection method, system and device based on NVM and storage medium
CN112148220B (en) Method, device, computer storage medium and terminal for realizing data processing
CN110874285B (en) Method for realizing reducible write operation of EXT file system
US11803317B2 (en) Interrupted replicated write recognition
US9620157B2 (en) Encoding information on tape using write offset gaps
CN114388053A (en) SSD data testing method and device, storage medium and testing equipment

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