CN116149577B - Data processing method, system and readable storage medium based on rotary pool - Google Patents

Data processing method, system and readable storage medium based on rotary pool Download PDF

Info

Publication number
CN116149577B
CN116149577B CN202310444402.XA CN202310444402A CN116149577B CN 116149577 B CN116149577 B CN 116149577B CN 202310444402 A CN202310444402 A CN 202310444402A CN 116149577 B CN116149577 B CN 116149577B
Authority
CN
China
Prior art keywords
data
sector
storage
stored
storage disk
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
CN202310444402.XA
Other languages
Chinese (zh)
Other versions
CN116149577A (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.)
Hangzhou Sunrise Technology Co ltd
Original Assignee
Hangzhou Sunrise Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Sunrise Technology Co ltd filed Critical Hangzhou Sunrise Technology Co ltd
Priority to CN202310444402.XA priority Critical patent/CN116149577B/en
Publication of CN116149577A publication Critical patent/CN116149577A/en
Application granted granted Critical
Publication of CN116149577B publication Critical patent/CN116149577B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/061Improving I/O performance
    • 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/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • 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]
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/003Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity for electricity
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention discloses a data processing method, a system and a readable storage medium based on a rotary pool, wherein the method comprises the following steps: acquiring data to be stored, judging the end storage position of a current storage disk to store the data to be stored, wherein if the end storage position does not reach a preset rotation area, the data to be stored is directly stored in a sector of the storage disk; if the tail end storage position reaches the rotation area, carrying out storage position offset operation, and updating the position of the rotation area so as to store the data to be stored into the sector of the storage disk; and acquiring a read data packet, and calculating to obtain a storage address based on the read data packet and a preset address calculation formula so as to read data in the storage address and output the data. The invention can improve the data searching efficiency and the reading and writing efficiency, equalize the service life of each storage sector, and is convenient for reading and analyzing the stored data after the ammeter equipment is damaged.

Description

Data processing method, system and readable storage medium based on rotary pool
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data processing method, system and readable storage medium based on a rotating pool.
Background
At present, the storage data of the smart meter is generally applied to flash storage, and the flash storage is characterized in that original data in a sector to be written needs to be erased before the data is written, when the area space of the flash storage is full, the first sector needs to be returned to be rewritten, and the data of the first sector can be completely erased at the moment, so that one more sector is required to be opened up for data circulation to be used for recording and managing the first address of the storage data, whether the current storage unit is used up or not, and the like.
The existing method has a plurality of defects, such as the need of a single sector to manage the first address of the stored data, the problems of low data reading and writing efficiency and redundant design in the aspects of data cross-sector searching and reading and writing, and the service lives of different sectors are different because the sectors cannot rotate in the existing method, so that the smooth operation of the whole storage is affected, and the correct derivation of the corresponding stored data is not facilitated when the intelligent ammeter is damaged.
Disclosure of Invention
The invention aims to provide a data processing method, a system and a readable storage medium based on a rotary pool, which can improve the data searching efficiency and the reading and writing efficiency, equalize the service life of each storage sector and facilitate the reading and the analysis of stored data after ammeter equipment is damaged.
The first aspect of the invention provides a data processing method based on a rotary pool, which comprises the following steps:
acquiring data to be stored, judging the end storage position of the current storage disk to store the data to be stored, wherein,
if the tail end storage position does not reach the preset rotation area, the data to be stored are directly stored in the sector of the storage disc;
if the tail end storage position reaches the rotation area, carrying out storage position offset operation, and updating the position of the rotation area so as to store the data to be stored into the sector of the storage disk;
acquiring a read data packet, and calculating to obtain a storage address based on the read data packet and a preset address calculation formula so as to read data in the storage address and output the data;
and responding to abnormal data detection of the user terminal, identifying the abnormal factors in the storage disk sector, and outputting the data in the sector with the abnormal factors to the user terminal.
In this scheme, obtain the data that wait to store, judge the terminal storage position of current storage disk in order to keep waiting to store data, specifically include:
identifying the carousel based on the storage disk, wherein the storage disk comprises m+1 sectors, and the carousel is the m+1th sector;
Judging the end storage position of the storage disk, wherein,
if the sector sequence number corresponding to the terminal storage position is smaller than or equal to m, storing the data to be stored into the sector corresponding to the storage disk;
if the sector sequence number corresponding to the tail end storage position is equal to m+1, carrying out storage position offset operation, wherein the offset operation specifically comprises the step of counting the number of times of updating the rotating area position so as to determine the updated sector position of the rotating area; and storing the data to be stored into the sector of the next bit after the updated sector position.
In this solution, the updating the number of times of the rotation area position to determine the updated sector position of the rotation area specifically includes:
counting once after updating the position of the rotating area once, and accumulating to obtain a counting result Q;
and updating the sector position of the rotating area according to the counting result Q, wherein the updated position of the rotating area is the sector with the sequence number Q in the storage disk.
In this scheme, the obtaining the read data packet, calculating based on the read data packet in combination with a preset address calculation formula to obtain a storage address, so as to read the data in the storage address and output the data, specifically includes:
Obtaining the maximum storage number corresponding to each sector
Figure SMS_1
The number of remaining memory stripes of the current memory disk +.>
Figure SMS_2
Acquiring the number of the data to be stored
Figure SMS_3
Judging the current->
Figure SMS_4
And->
Figure SMS_5
Wherein, in the relation of (C), wherein,
if it is
Figure SMS_6
Then, the->
Figure SMS_7
The addresses of the pieces of data to be stored are:
Figure SMS_8
if it is
Figure SMS_9
Then, the->
Figure SMS_10
The addresses of the pieces of data to be stored are:
Figure SMS_11
wherein,,
Figure SMS_12
for the length value of each piece of data in the data to be stored, and 4 +_ of each sector>
Figure SMS_13
Byte->
Figure SMS_14
For the memory address->
Figure SMS_15
Is an intermediate quantity of the memory addresses.
In this solution, the method further includes: and synchronously storing the currently identified abnormality factors into the sector currently storing data when the ammeter abnormality and/or the storage disk abnormality are identified, wherein the abnormality factors at least comprise ammeter abnormality factors and storage disk abnormality factors.
In this scheme, the response to detection of abnormal data at the user terminal identifies an abnormal factor in the sector of the storage disk and outputs data in the sector where the abnormal factor exists to the user terminal, and specifically includes:
acquiring an abnormal data detection command input by a user terminal to respond;
traversing data stored by each sector of the storage disk to identify the anomaly factors;
And extracting all data in the sector with the abnormal factor to output to the user terminal.
The second aspect of the present invention also provides a data processing system based on a rotation pool, comprising a memory and a processor, wherein the memory includes a data processing method program based on the rotation pool, and the data processing method program based on the rotation pool realizes the following steps when executed by the processor:
acquiring data to be stored, judging the end storage position of the current storage disk to store the data to be stored, wherein,
if the tail end storage position does not reach the preset rotation area, the data to be stored are directly stored in the sector of the storage disc;
if the tail end storage position reaches the rotation area, carrying out storage position offset operation, and updating the position of the rotation area so as to store the data to be stored into the sector of the storage disk;
acquiring a read data packet, and calculating to obtain a storage address based on the read data packet and a preset address calculation formula so as to read data in the storage address and output the data;
and responding to abnormal data detection of the user terminal, identifying the abnormal factors in the storage disk sector, and outputting the data in the sector with the abnormal factors to the user terminal.
In this scheme, obtain the data that wait to store, judge the terminal storage position of current storage disk in order to keep waiting to store data, specifically include:
identifying the carousel based on the storage disk, wherein the storage disk comprises m+1 sectors, and the carousel is the m+1th sector;
judging the end storage position of the storage disk, wherein,
if the sector sequence number corresponding to the terminal storage position is smaller than or equal to m, storing the data to be stored into the sector corresponding to the storage disk;
if the sector sequence number corresponding to the tail end storage position is equal to m+1, carrying out storage position offset operation, wherein the offset operation specifically comprises the step of counting the number of times of updating the rotating area position so as to determine the updated sector position of the rotating area; and storing the data to be stored into the sector of the next bit after the updated sector position.
In this solution, the updating the number of times of the rotation area position to determine the updated sector position of the rotation area specifically includes:
counting once after updating the position of the rotating area once, and accumulating to obtain a counting result Q;
and updating the sector position of the rotating area according to the counting result Q, wherein the updated position of the rotating area is the sector with the sequence number Q in the storage disk.
In this scheme, the obtaining the read data packet, calculating based on the read data packet in combination with a preset address calculation formula to obtain a storage address, so as to read the data in the storage address and output the data, specifically includes:
obtaining the maximum storage number corresponding to each sector
Figure SMS_16
The number of remaining memory stripes of the current memory disk +.>
Figure SMS_17
Acquiring the number of the data to be stored
Figure SMS_18
Judging the current->
Figure SMS_19
And->
Figure SMS_20
Wherein, in the relation of (C), wherein,
if it is
Figure SMS_21
Then, the->
Figure SMS_22
The addresses of the pieces of data to be stored are:
Figure SMS_23
if it is
Figure SMS_24
Then, the->
Figure SMS_25
The addresses of the pieces of data to be stored are:
Figure SMS_26
wherein,,
Figure SMS_27
for the length value of each piece of data in the data to be stored, and 4 +_ of each sector>
Figure SMS_28
Byte->
Figure SMS_29
For the memory address->
Figure SMS_30
Is an intermediate quantity of the memory addresses.
In this solution, the method further includes: and synchronously storing the currently identified abnormality factors into the sector currently storing data when the ammeter abnormality and/or the storage disk abnormality are identified, wherein the abnormality factors at least comprise ammeter abnormality factors and storage disk abnormality factors.
In this scheme, the response to detection of abnormal data at the user terminal identifies an abnormal factor in the sector of the storage disk and outputs data in the sector where the abnormal factor exists to the user terminal, and specifically includes:
Acquiring an abnormal data detection command input by a user terminal to respond;
traversing data stored by each sector of the storage disk to identify the anomaly factors;
and extracting all data in the sector with the abnormal factor to output to the user terminal.
A third aspect of the present invention provides a computer readable storage medium comprising a data processing method program of a machine, which when executed by a processor, implements the steps of a data processing method of a wheel-based pool as described in any of the preceding claims.
The data processing method, the system and the readable storage medium based on the rotary pool can improve the data searching efficiency and the reading and writing efficiency, equalize the service life of each storage sector, and simultaneously facilitate the reading and the analysis of stored data after the ammeter equipment is damaged.
Drawings
FIG. 1 shows a flow chart of a method of processing data based on a rolling pool of the present invention;
FIG. 2 is a schematic diagram of a disk of a data processing method based on a carousel in accordance with the present invention;
FIG. 3 illustrates a block diagram of a data processing system based on a rolling pool in accordance with the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.
Fig. 1 shows a flow chart of a data processing method based on a rotation pool.
As shown in fig. 1, the application discloses a data processing method based on a rotary pool, which comprises the following steps:
s102, acquiring data to be stored, and judging the end storage position of a current storage disk to store the data to be stored;
s104, if the tail end storage position does not reach a preset rotation area, the data to be stored is directly stored in a sector of the storage disc;
s106, if the tail end storage position reaches the rotation area, carrying out storage position offset operation, and updating the position of the rotation area so as to store the data to be stored into the sector of the storage disk;
S108, acquiring a read data packet, and calculating a storage address based on the read data packet and a preset address calculation formula so as to read and output data in the storage address;
s110, responding to abnormal data detection of the user terminal, identifying abnormal factors in the storage disk sector, and outputting data in the sector with the abnormal factors to the user terminal.
It should be noted that, in this embodiment, when there is data to be stored, the data to be stored is first obtained, and the end storage position of the current storage disk is determined to store the data to be stored, where the storage disk uses flash storage as an example, and correspondingly, different end storage positions correspond to different storage modes, if the end storage position does not reach a preset rotation area, the data to be stored is directly stored in a sector of the storage disk, which indicates that the current data storage stage is not stored in the rotation area, so that there is no need to update the rotation area, and if the end storage position reaches the rotation area, there is a need to perform a storage position offset operation, and update the position of the rotation area, so that the data to be stored is stored in the sector of the storage disk.
Further, when the user side needs to read data, the corresponding read data packet is obtained first, so that a storage address is calculated based on the read data packet in combination with a preset address calculation formula, the data in the storage address is read and output, and accordingly, the storage addresses corresponding to different storage data are different, so that the currently needed storage address needs to be obtained according to the data in the corresponding range in the read data packet in combination with the address calculation formula, and specific calculation steps are described later.
Further, when an abnormal situation occurs, for example, when the smart meter is damaged or flash storage is in problem, abnormal data detection of the user end needs to be responded, so that abnormal factors existing in the storage disk sector are identified, and data in the sector with the abnormal factors are output to the user end for the user to conduct research, reading and judgment.
According to an embodiment of the present invention, the obtaining data to be stored, judging a terminal storage position of a current storage disk to save the data to be stored, specifically includes:
identifying the carousel based on the storage disk, wherein the storage disk comprises m+1 sectors, and the carousel is the m+1th sector;
Judging the end storage position of the storage disk, wherein,
if the sector sequence number corresponding to the terminal storage position is smaller than or equal to m, storing the data to be stored into the sector corresponding to the storage disk;
if the sector sequence number corresponding to the tail end storage position is equal to m+1, carrying out storage position offset operation, wherein the offset operation specifically comprises the step of counting the number of times of updating the rotating area position so as to determine the updated sector position of the rotating area; and storing the data to be stored into the sector of the next bit after the updated sector position.
In this embodiment, as shown in fig. 2, taking a storage disc with m+1 sectors as an example, taking the last sector with a sequence number as the rotation area, that is, the rotation area is the m+1st sector, the end storage position corresponds to the sector where the end data stored in the storage disc is located, and correspondingly, if the sequence number of the sector corresponding to the end storage position is smaller than or equal to m, it indicates that the rotation area does not need to update the position, and the data to be stored is stored in the sector corresponding to the storage disc at this time, and correspondingly, the currently stored sector is generally the first sector; however, when the end position is equal to m+1, that is, it indicates that the currently stored sector is no longer the first sector, an offset operation needs to be performed, specifically, first, the updated position of the rotation area is determined, so that the data to be stored is saved in the updated sector of the next bit of the rotation area, the updated sector position of the rotation area can be determined by counting the update times of the rotation area, and then the data to be stored is saved in the updated sector of the next bit of the position of the sector, where m is a natural number and is at least greater than "2", accordingly.
According to an embodiment of the present invention, the updating the number of times of the rotation area location to determine the updated sector location of the rotation area specifically includes:
counting once after updating the position of the rotating area once, and accumulating to obtain a counting result Q;
and updating the sector position of the rotating area according to the counting result Q, wherein the updated position of the rotating area is the sector with the sequence number Q in the storage disk.
It should be noted that, in this embodiment, when the rotation area position is updated, the updated sector position of the rotation area is obtained by counting, specifically, counting is performed once after the rotation area position is updated once, and the counting result Q is obtained by accumulating; and updating the sector position of the rotating area according to the counting result Q, wherein the updated position of the rotating area is the sector with the sequence number Q in the storage disk, and correspondingly, Q can be far larger than m, but the Q value is automatically subtracted by m+1 every time Q is larger than m+1, so that the sector with the sequence number Q is always positioned in the original sector of the current storage disk and belongs to the sector range of [1, m+1 ].
According to an embodiment of the present invention, the obtaining a read data packet, calculating based on the read data packet in combination with a preset address calculation formula to obtain a storage address, so as to read data in the storage address and output the data, specifically includes:
Obtaining the maximum storage number corresponding to each sector
Figure SMS_31
The number of remaining memory stripes of the current memory disk +.>
Figure SMS_32
Acquiring the number of the data to be stored
Figure SMS_33
Judging the current->
Figure SMS_34
And->
Figure SMS_35
Wherein, in the relation of (C), wherein,
if it is
Figure SMS_36
Then, the->
Figure SMS_37
The addresses of the pieces of data to be stored are:
Figure SMS_38
if it is
Figure SMS_39
Then, the->
Figure SMS_40
The addresses of the pieces of data to be stored are:
Figure SMS_41
wherein,,
Figure SMS_42
for the length value of each piece of data in the data to be stored, and 4 +_ of each sector>
Figure SMS_43
Byte->
Figure SMS_44
For the memory address->
Figure SMS_45
Is an intermediate quantity of the memory addresses.
It should be noted that, in this embodiment, according to the number of the to-be-stored stripes
Figure SMS_48
Number of storage stripes remaining with the storage disk->
Figure SMS_50
Different address calculation formulas are adopted, wherein, when +.>
Figure SMS_54
First->
Figure SMS_55
The addresses of the pieces of data to be stored are:
Figure SMS_56
wherein, "%" symbol represents a remainder operator for performing a remainder operation by dividing a number, and when +.>
Figure SMS_57
Corresponding->
Figure SMS_58
The addresses of the pieces of data to be stored are:
Figure SMS_46
and
Figure SMS_49
Wherein->
Figure SMS_51
For the length value of each piece of data in the data to be stored, and 4 +_ of each sector>
Figure SMS_53
Byte->
Figure SMS_47
For the memory address->
Figure SMS_52
Is an intermediate quantity of the memory addresses.
According to an embodiment of the present invention, the method further comprises: and synchronously storing the currently identified abnormality factors into the sector currently storing data when the ammeter abnormality and/or the storage disk abnormality are identified, wherein the abnormality factors at least comprise ammeter abnormality factors and storage disk abnormality factors.
It should be noted that, in this embodiment, when data is stored, the anomaly factor is synchronously stored, and accordingly, when the ammeter anomaly and/or the storage disk anomaly are identified, the anomaly factor that is currently identified is synchronously stored into the sector that is currently storing data, for example, when the data is being stored into the sector 2, no new data is stored due to occurrence of the storage disk anomaly, at this time, the anomaly factor that is identified is synchronously stored into the sector 2, and the smart meter is always normal, and after the temporary anomaly recovery of the storage disk, the data to be stored (for example, the smart meter data) will be stored into the sector 3 soon, so that in order to enable the user to better analyze the anomaly data, after storing the anomaly factor into the sector 2, the user is not required to retrieve the data in the sector 3, and only needs to directly retrieve the data in the sector 2, which is time-saving and efficient.
According to an embodiment of the present invention, the responding to abnormal data detection of the user terminal identifies an abnormal factor in the storage disk sector, and outputs data in the sector where the abnormal factor exists to the user terminal, specifically including:
acquiring an abnormal data detection command input by a user terminal to respond;
Traversing data stored by each sector of the storage disk to identify the anomaly factors;
and extracting all data in the sector with the abnormal factor to output to the user terminal.
It should be noted that, in this embodiment, after the user inputs the abnormality detection command, the abnormality detection command is responded to, and the data stored in each sector of the current storage disk is traversed, so that the abnormality factor is identified, and correspondingly, the data in the sector where the abnormality factor exists is extracted and output to the user terminal for analysis.
It is worth mentioning that the method further comprises verifying whether the rotation area rotates, specifically comprises:
acquiring the erasing times of the sectors in the storage disk
Figure SMS_59
Comparing the number of erasures
Figure SMS_60
And the size of the count result Q, wherein,
if the number of times of erasing
Figure SMS_61
The result is the same as the counting result Q, and the correct rotation of the rotation area is indicated;
if the number of times of erasing
Figure SMS_62
And if the number is different from the counting result Q, indicating that the rotation region rotates by mistake.
It should be noted that, in this embodiment, the wrap-around area is rotated once every time, indicating that there is a sector to be erased, and accordingly, the number of erasures
Figure SMS_63
The same as the count result Q should indicate that the current round-robin region is correctly round, otherwise, it is incorrectly round.
It is worth mentioning that when an erroneous rotation occurs, the method further comprises:
stopping storing the data to be stored into the storage disk, and taking the sector of the current error cycle as a target sector;
storing the preset self-checking data into the target sector to judge whether the target sector is abnormal or not, wherein,
and if the self-checking result is normal, indicating that the current target sector has no abnormal storage.
It should be noted that, in this embodiment, due to the problem of error rotation, that is, the problem that the target sector corresponding to the storage disk may have a storage abnormality, the data cannot be stored, resulting in the number of erasures
Figure SMS_64
And when the self-checking data is stored in the target sector, the problem that the storage abnormality of the current target sector is not caused is identified.
It is worth mentioning that when an erroneous rotation occurs, the method further comprises:
stopping storing the data to be stored in the storage disk;
and storing the data to be stored into the storage disk for the second time after the preset time is over, and judging the rotation result, wherein,
if the rotation result is normal, indicating that the current storage disk is not abnormal, and continuing to store the data to be stored;
and if the rotation result is abnormal, indicating that the current storage disk is abnormal, and detecting the data to be stored.
It should be noted that, in this embodiment, since a temporary bug occurs during storage, it is necessary to perform secondary storage on the data to be stored after the preset time is over, and determine the storage disk based on the rotation result, where if the rotation result corresponding to the secondary storage is normal, it indicates that there is no abnormality in the current storage disk, and subsequent data may be continuously stored, and if the rotation result is abnormal, it indicates that there is abnormality in the current storage disk, and the data to be stored may be used to detect the storage disk to identify a specific sector, where the preset time may be "1min".
It should be noted that the detecting the storage disc by using the data to be stored to identify a specific sector specifically includes:
when the secondary storage corresponding rotation result is abnormal, identifying the sector currently storing data as a sector to be tested;
extracting a sector of a next bit of the sector to be detected as a detection sector, storing the data to be stored into the detection sector, judging the rotation result of the data to be stored in the detection sector, wherein,
if the corresponding rotation result is normal, indicating that the sector to be tested is abnormal;
and if the corresponding rotation result is abnormal, indicating that the current storage disk is abnormal.
It should be noted that, in this embodiment, when analyzing an abnormal situation, the to-be-stored data may be used to determine a storage disk and a sector in the storage disk, where a sector of the current stored data is used as a to-be-detected sector, a sector next to the to-be-detected sector is used as a detection sector, the to-be-stored data is stored in the detection sector, and a rotation result of the to-be-stored data in the detection sector is determined, where if the rotation result is normal, it is indicated that the to-be-detected sector in the storage disk is abnormal, otherwise, it is indicated that the current storage disk is abnormal, and the data cannot be stored.
FIG. 3 illustrates a block diagram of a data processing system based on a rolling pool in accordance with the present invention.
As shown in fig. 3, the invention discloses a data processing system based on a rotary pool, which comprises a memory and a processor, wherein the memory comprises a data processing method program based on the rotary pool, and the data processing method program based on the rotary pool realizes the following steps when being executed by the processor:
acquiring data to be stored, judging the end storage position of the current storage disk to store the data to be stored, wherein,
if the tail end storage position does not reach the preset rotation area, the data to be stored are directly stored in the sector of the storage disc;
if the tail end storage position reaches the rotation area, carrying out storage position offset operation, and updating the position of the rotation area so as to store the data to be stored into the sector of the storage disk;
acquiring a read data packet, and calculating to obtain a storage address based on the read data packet and a preset address calculation formula so as to read data in the storage address and output the data;
and responding to abnormal data detection of the user terminal, identifying the abnormal factors in the storage disk sector, and outputting the data in the sector with the abnormal factors to the user terminal.
It should be noted that, in this embodiment, when there is data to be stored, the data to be stored is first obtained, and the end storage position of the current storage disk is determined to store the data to be stored, where the storage disk uses flash storage as an example, and correspondingly, different end storage positions correspond to different storage modes, if the end storage position does not reach a preset rotation area, the data to be stored is directly stored in a sector of the storage disk, which indicates that the current data storage stage is not stored in the rotation area, so that there is no need to update the rotation area, and if the end storage position reaches the rotation area, there is a need to perform a storage position offset operation, and update the position of the rotation area, so that the data to be stored is stored in the sector of the storage disk.
Further, when the user side needs to read data, the corresponding read data packet is obtained first, so that a storage address is calculated based on the read data packet in combination with a preset address calculation formula, the data in the storage address is read and output, and accordingly, the storage addresses corresponding to different storage data are different, so that the currently needed storage address needs to be obtained according to the data in the corresponding range in the read data packet in combination with the address calculation formula, and specific calculation steps are described later.
Further, when an abnormal situation occurs, for example, when the smart meter is damaged or flash storage is in problem, abnormal data detection of the user end needs to be responded, so that abnormal factors existing in the storage disk sector are identified, and data in the sector with the abnormal factors are output to the user end for the user to conduct research, reading and judgment.
According to an embodiment of the present invention, the obtaining data to be stored, judging a terminal storage position of a current storage disk to save the data to be stored, specifically includes:
identifying the carousel based on the storage disk, wherein the storage disk comprises m+1 sectors, and the carousel is the m+1th sector;
judging the end storage position of the storage disk, wherein,
if the sector sequence number corresponding to the terminal storage position is smaller than or equal to m, storing the data to be stored into the sector corresponding to the storage disk;
if the sector sequence number corresponding to the tail end storage position is equal to m+1, carrying out storage position offset operation, wherein the offset operation specifically comprises the step of counting the number of times of updating the rotating area position so as to determine the updated sector position of the rotating area; and storing the data to be stored into the sector of the next bit after the updated sector position.
In this embodiment, as shown in fig. 2, taking a storage disc with m+1 sectors as an example, taking the last sector with a sequence number as the rotation area, that is, the rotation area is the m+1st sector, the end storage position corresponds to the sector where the end data stored in the storage disc is located, and correspondingly, if the sequence number of the sector corresponding to the end storage position is smaller than or equal to m, it indicates that the rotation area does not need to update the position, and the data to be stored is stored in the sector corresponding to the storage disc at this time, and correspondingly, the currently stored sector is generally the first sector; however, when the end position is equal to m+1, that is, it indicates that the currently stored sector is no longer the first sector, an offset operation needs to be performed, specifically, first, the updated position of the rotation area is determined, so that the data to be stored is saved in the updated sector of the next bit of the rotation area, the updated sector position of the rotation area can be determined by counting the update times of the rotation area, and then the data to be stored is saved in the updated sector of the next bit of the position of the sector, where m is a natural number and is at least greater than "2", accordingly.
According to an embodiment of the present invention, the updating the number of times of the rotation area location to determine the updated sector location of the rotation area specifically includes:
counting once after updating the position of the rotating area once, and accumulating to obtain a counting result Q;
and updating the sector position of the rotating area according to the counting result Q, wherein the updated position of the rotating area is the sector with the sequence number Q in the storage disk.
It should be noted that, in this embodiment, when the rotation area position is updated, the updated sector position of the rotation area is obtained by counting, specifically, counting is performed once after the rotation area position is updated once, and the counting result Q is obtained by accumulating; and updating the sector position of the rotating area according to the counting result Q, wherein the updated position of the rotating area is the sector with the sequence number Q in the storage disk, and correspondingly, Q can be far larger than m, but the Q value is automatically subtracted by m+1 every time Q is larger than m+1, so that the sector with the sequence number Q is always positioned in the original sector of the current storage disk and belongs to the sector range of [1, m+1 ].
According to an embodiment of the present invention, the obtaining a read data packet, calculating based on the read data packet in combination with a preset address calculation formula to obtain a storage address, so as to read data in the storage address and output the data, specifically includes:
Obtaining the maximum storage number corresponding to each sector
Figure SMS_65
AndThe number of remaining memory stripes of the current memory disk +.>
Figure SMS_66
Acquiring the number of the data to be stored
Figure SMS_67
Judging the current->
Figure SMS_68
And->
Figure SMS_69
Wherein, in the relation of (C), wherein,
if it is
Figure SMS_70
Then, the->
Figure SMS_71
The addresses of the pieces of data to be stored are:
Figure SMS_72
if it is
Figure SMS_73
Then, the->
Figure SMS_74
The addresses of the pieces of data to be stored are:
Figure SMS_75
wherein,,
Figure SMS_76
for the length value of each piece of data in the data to be stored, and 4 +_ of each sector>
Figure SMS_77
Byte->
Figure SMS_78
For the memory address->
Figure SMS_79
Is an intermediate quantity of the memory addresses.
It should be noted that, in this embodiment, according to the number of the to-be-stored stripes
Figure SMS_80
Number of storage stripes remaining with the storage disk->
Figure SMS_86
Different address calculation formulas are adopted, wherein, when +.>
Figure SMS_91
First->
Figure SMS_82
The addresses of the pieces of data to be stored are:
Figure SMS_84
wherein, "%" symbol represents a remainder operator for performing a remainder operation by dividing a number, and when +.>
Figure SMS_87
Corresponding->
Figure SMS_89
The addresses of the pieces of data to be stored are:
Figure SMS_81
and
Figure SMS_83
Wherein->
Figure SMS_85
For the length value of each piece of data in the data to be stored, and 4 +_ of each sector>
Figure SMS_88
Byte->
Figure SMS_90
For the memory address->
Figure SMS_92
Is an intermediate quantity of the memory addresses.
According to an embodiment of the present invention, the method further comprises: and synchronously storing the currently identified abnormality factors into the sector currently storing data when the ammeter abnormality and/or the storage disk abnormality are identified, wherein the abnormality factors at least comprise ammeter abnormality factors and storage disk abnormality factors.
It should be noted that, in this embodiment, when data is stored, the anomaly factor is synchronously stored, and accordingly, when the ammeter anomaly and/or the storage disk anomaly are identified, the anomaly factor that is currently identified is synchronously stored into the sector that is currently storing data, for example, when the data is being stored into the sector 2, no new data is stored due to occurrence of the storage disk anomaly, at this time, the anomaly factor that is identified is synchronously stored into the sector 2, and the smart meter is always normal, and after the temporary anomaly recovery of the storage disk, the data to be stored (for example, the smart meter data) will be stored into the sector 3 soon, so that in order to enable the user to better analyze the anomaly data, after storing the anomaly factor into the sector 2, the user is not required to retrieve the data in the sector 3, and only needs to directly retrieve the data in the sector 2, which is time-saving and efficient.
According to an embodiment of the present invention, the responding to abnormal data detection of the user terminal identifies an abnormal factor in the storage disk sector, and outputs data in the sector where the abnormal factor exists to the user terminal, specifically including:
acquiring an abnormal data detection command input by a user terminal to respond;
Traversing data stored by each sector of the storage disk to identify the anomaly factors;
and extracting all data in the sector with the abnormal factor to output to the user terminal.
It should be noted that, in this embodiment, after the user inputs the abnormality detection command, the abnormality detection command is responded to, and the data stored in each sector of the current storage disk is traversed, so that the abnormality factor is identified, and correspondingly, the data in the sector where the abnormality factor exists is extracted and output to the user terminal for analysis.
It is worth mentioning that the method further comprises verifying whether the rotation area rotates, specifically comprises:
acquiring the erasing times of the sectors in the storage disk
Figure SMS_93
Comparing the number of erasures
Figure SMS_94
And the size of the count result Q, wherein,
if the number of times of erasing
Figure SMS_95
The result is the same as the counting result Q, and the correct rotation of the rotation area is indicated;
if the number of times of erasing
Figure SMS_96
And if the number is different from the counting result Q, indicating that the rotation region rotates by mistake. />
It should be noted that, in this embodiment, the wrap-around area is rotated once every time, indicating that there is a sector to be erased, and accordingly, the number of erasures
Figure SMS_97
The same as the count result Q should indicate that the current round-robin region is correctly round, otherwise, it is incorrectly round.
It is worth mentioning that when an erroneous rotation occurs, the method further comprises:
stopping storing the data to be stored into the storage disk, and taking the sector of the current error cycle as a target sector;
storing the preset self-checking data into the target sector to judge whether the target sector is abnormal or not, wherein,
and if the self-checking result is normal, indicating that the current target sector has no abnormal storage.
It should be noted that, in this embodiment, due to the problem of error rotation, that is, the problem that the target sector corresponding to the storage disk may have a storage abnormality, the data cannot be stored, resulting in the number of erasures
Figure SMS_98
And when the self-checking data is stored in the target sector, the problem that the storage abnormality of the current target sector is not caused is identified.
It is worth mentioning that when an erroneous rotation occurs, the method further comprises:
stopping storing the data to be stored in the storage disk;
and storing the data to be stored into the storage disk for the second time after the preset time is over, and judging the rotation result, wherein,
if the rotation result is normal, indicating that the current storage disk is not abnormal, and continuing to store the data to be stored;
and if the rotation result is abnormal, indicating that the current storage disk is abnormal, and detecting the data to be stored.
It should be noted that, in this embodiment, since a temporary bug occurs during storage, it is necessary to perform secondary storage on the data to be stored after the preset time is over, and determine the storage disk based on the rotation result, where if the rotation result corresponding to the secondary storage is normal, it indicates that there is no abnormality in the current storage disk, and subsequent data may be continuously stored, and if the rotation result is abnormal, it indicates that there is abnormality in the current storage disk, and the data to be stored may be used to detect the storage disk to identify a specific sector, where the preset time may be "1min".
It should be noted that the detecting the storage disc by using the data to be stored to identify a specific sector specifically includes:
when the secondary storage corresponding rotation result is abnormal, identifying the sector currently storing data as a sector to be tested;
extracting a sector of a next bit of the sector to be detected as a detection sector, storing the data to be stored into the detection sector, judging the rotation result of the data to be stored in the detection sector, wherein,
if the corresponding rotation result is normal, indicating that the sector to be tested is abnormal;
and if the corresponding rotation result is abnormal, indicating that the current storage disk is abnormal.
It should be noted that, in this embodiment, when analyzing an abnormal situation, the to-be-stored data may be used to determine a storage disk and a sector in the storage disk, where a sector of the current stored data is used as a to-be-detected sector, a sector next to the to-be-detected sector is used as a detection sector, the to-be-stored data is stored in the detection sector, and a rotation result of the to-be-stored data in the detection sector is determined, where if the rotation result is normal, it is indicated that the to-be-detected sector in the storage disk is abnormal, otherwise, it is indicated that the current storage disk is abnormal, and the data cannot be stored.
A third aspect of the present invention provides a computer readable storage medium comprising a data processing method program based on a carousel, which when executed by a processor, implements the steps of a data processing method based on a carousel as described in any of the above.
The data processing method, the system and the readable storage medium based on the rotary pool can improve the data searching efficiency and the reading and writing efficiency, equalize the service life of each storage sector, and simultaneously facilitate the reading and the analysis of stored data after the ammeter equipment is damaged.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present invention may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.

Claims (10)

1. A data processing method based on a rotating pool, comprising the steps of:
acquiring data to be stored, judging the end storage position of the current storage disk to store the data to be stored, wherein,
if the tail end storage position does not reach the preset rotation area, the data to be stored are directly stored in the sector of the storage disc;
If the tail end storage position reaches the rotation area, carrying out storage position offset operation, and updating the position of the rotation area so as to store the data to be stored into the sector of the storage disk;
acquiring a read data packet, and calculating to obtain a storage address based on the read data packet and a preset address calculation formula so as to read data in the storage address and output the data;
and responding to abnormal data detection of the user terminal, identifying the abnormal factors in the storage disk sector, and outputting the data in the sector with the abnormal factors to the user terminal.
2. The method for processing data based on a rotating pool according to claim 1, wherein the step of obtaining data to be stored, and determining an end storage position of a current storage disk to store the data to be stored, specifically comprises:
identifying the carousel based on the storage disk, wherein the storage disk comprises m+1 sectors, and the carousel is the m+1th sector;
judging the end storage position of the storage disk, wherein,
if the sector sequence number corresponding to the terminal storage position is smaller than or equal to m, storing the data to be stored into the sector corresponding to the storage disk;
If the sector sequence number corresponding to the tail end storage position is equal to m+1, carrying out storage position offset operation, wherein the offset operation specifically comprises the step of counting the number of times of updating the rotating area position so as to determine the updated sector position of the rotating area; and storing the data to be stored into the sector of the next bit after the updated sector position.
3. The method for processing data based on a carousel pool according to claim 2, wherein the updating the number of times of the carousel location to determine the updated sector location of the carousel includes:
counting once after updating the position of the rotating area once, and accumulating to obtain a counting result Q;
and updating the sector position of the rotating area according to the counting result Q, wherein the updated position of the rotating area is the sector with the sequence number Q in the storage disk.
4. The method for processing data based on a rotating pool according to claim 3, wherein the step of obtaining the read data packet, and calculating a storage address based on the read data packet in combination with a preset address calculation formula to read data in the storage address and output the data, specifically comprises:
Obtaining the maximum storage number corresponding to each sector
Figure QLYQS_1
The number of remaining memory stripes of the current memory disk +.>
Figure QLYQS_2
Acquiring the number of the data to be stored
Figure QLYQS_3
Judging the current->
Figure QLYQS_4
And->
Figure QLYQS_5
Wherein, in the relation of (C), wherein,
if it is
Figure QLYQS_6
Then, the->
Figure QLYQS_7
The addresses of the pieces of data to be stored are:
Figure QLYQS_8
if it is
Figure QLYQS_9
Then, the->
Figure QLYQS_10
The addresses of the pieces of data to be stored are:
Figure QLYQS_11
wherein,,
Figure QLYQS_12
for the length value of each piece of data in the data to be stored, and 4 +_ of each sector>
Figure QLYQS_13
Byte->
Figure QLYQS_14
For the memory address->
Figure QLYQS_15
Is an intermediate quantity of the memory addresses.
5. A method of processing data based on a rolling pool as claimed in claim 1, further comprising: and synchronously storing the currently identified abnormality factors into the sector currently storing data when the ammeter abnormality and/or the storage disk abnormality are identified, wherein the abnormality factors at least comprise ammeter abnormality factors and storage disk abnormality factors.
6. The method for processing data based on a rotating pool according to claim 5, wherein the responding to the abnormal data detection of the client identifies the abnormal factor in the sector of the storage disk and outputs the data in the sector in which the abnormal factor exists to the client, specifically comprising:
Acquiring an abnormal data detection command input by a user terminal to respond;
traversing data stored by each sector of the storage disk to identify the anomaly factors;
and extracting all data in the sector with the abnormal factor to output to the user terminal.
7. A data processing system based on a carousel, comprising a memory and a processor, wherein the memory comprises a carousel-based data processing method program, which when executed by the processor, performs the steps of:
acquiring data to be stored, judging the end storage position of the current storage disk to store the data to be stored, wherein,
if the tail end storage position does not reach the preset rotation area, the data to be stored are directly stored in the sector of the storage disc;
if the tail end storage position reaches the rotation area, carrying out storage position offset operation, and updating the position of the rotation area so as to store the data to be stored into the sector of the storage disk;
acquiring a read data packet, and calculating to obtain a storage address based on the read data packet and a preset address calculation formula so as to read data in the storage address and output the data;
And responding to abnormal data detection of the user terminal, identifying the abnormal factors in the storage disk sector, and outputting the data in the sector with the abnormal factors to the user terminal.
8. The data processing system based on the rotation pool according to claim 7, wherein the obtaining the data to be stored, determining the end storage location of the current storage disk to save the data to be stored, specifically comprises:
identifying the carousel based on the storage disk, wherein the storage disk comprises m+1 sectors, and the carousel is the m+1th sector;
judging the end storage position of the storage disk, wherein,
if the sector sequence number corresponding to the terminal storage position is smaller than or equal to m, storing the data to be stored into the sector corresponding to the storage disk;
if the sector sequence number corresponding to the tail end storage position is equal to m+1, carrying out storage position offset operation, wherein the offset operation specifically comprises the step of counting the number of times of updating the rotating area position so as to determine the updated sector position of the rotating area; and storing the data to be stored into the sector of the next bit after the updated sector position.
9. A data processing system based on a carousel pool according to claim 8, wherein the updating the carousel location a number of times to determine the carousel updated sector location comprises:
Counting once after updating the position of the rotating area once, and accumulating to obtain a counting result Q;
and updating the sector position of the rotating area according to the counting result Q, wherein the updated position of the rotating area is the sector with the sequence number Q in the storage disk.
10. A computer-readable storage medium, characterized in that it comprises a data processing method program based on a carousel, which, when being executed by a processor, implements the steps of a data processing method based on a carousel as claimed in any one of claims 1 to 6.
CN202310444402.XA 2023-04-24 2023-04-24 Data processing method, system and readable storage medium based on rotary pool Active CN116149577B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310444402.XA CN116149577B (en) 2023-04-24 2023-04-24 Data processing method, system and readable storage medium based on rotary pool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310444402.XA CN116149577B (en) 2023-04-24 2023-04-24 Data processing method, system and readable storage medium based on rotary pool

Publications (2)

Publication Number Publication Date
CN116149577A CN116149577A (en) 2023-05-23
CN116149577B true CN116149577B (en) 2023-07-07

Family

ID=86358600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310444402.XA Active CN116149577B (en) 2023-04-24 2023-04-24 Data processing method, system and readable storage medium based on rotary pool

Country Status (1)

Country Link
CN (1) CN116149577B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63113623A (en) * 1986-10-30 1988-05-18 Nec Corp Sector buffer control system
CN102081580A (en) * 2011-02-24 2011-06-01 华中科技大学 Magnetic disc data protection method
CN103823642A (en) * 2014-03-17 2014-05-28 深圳市道通科技有限公司 Method and system used for Flash balance storage
CN110413223A (en) * 2019-06-25 2019-11-05 汉纳森(厦门)数据股份有限公司 Data read-write method, medium, equipment and the device of flash storage
CN112700814A (en) * 2021-01-05 2021-04-23 潍柴动力股份有限公司 EEPROM data reading method, device, electric control equipment and medium
CN115129257A (en) * 2022-07-08 2022-09-30 深圳市正浩创新科技股份有限公司 Data reading and writing method, electronic equipment and computer readable storage medium
CN115292266A (en) * 2022-05-30 2022-11-04 中国电子科技集团公司第五十二研究所 High-reliability log storage method based on memory
CN115421657A (en) * 2022-08-30 2022-12-02 科华数据股份有限公司 Data storage method and device, electronic equipment and storage medium
CN115905307A (en) * 2022-12-29 2023-04-04 成都长城开发科技股份有限公司 Data storage method and device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4183868B2 (en) * 1999-12-07 2008-11-19 富士通株式会社 Optical storage device
JP2007157226A (en) * 2005-12-02 2007-06-21 Fujitsu Ltd Disk unit and data read/write method
TWI333145B (en) * 2006-04-03 2010-11-11 Quanta Storage Inc Method for updating data in a flash rom

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63113623A (en) * 1986-10-30 1988-05-18 Nec Corp Sector buffer control system
CN102081580A (en) * 2011-02-24 2011-06-01 华中科技大学 Magnetic disc data protection method
CN103823642A (en) * 2014-03-17 2014-05-28 深圳市道通科技有限公司 Method and system used for Flash balance storage
CN110413223A (en) * 2019-06-25 2019-11-05 汉纳森(厦门)数据股份有限公司 Data read-write method, medium, equipment and the device of flash storage
CN112700814A (en) * 2021-01-05 2021-04-23 潍柴动力股份有限公司 EEPROM data reading method, device, electric control equipment and medium
CN115292266A (en) * 2022-05-30 2022-11-04 中国电子科技集团公司第五十二研究所 High-reliability log storage method based on memory
CN115129257A (en) * 2022-07-08 2022-09-30 深圳市正浩创新科技股份有限公司 Data reading and writing method, electronic equipment and computer readable storage medium
CN115421657A (en) * 2022-08-30 2022-12-02 科华数据股份有限公司 Data storage method and device, electronic equipment and storage medium
CN115905307A (en) * 2022-12-29 2023-04-04 成都长城开发科技股份有限公司 Data storage method and device, electronic equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A New Data Allocation Method for Parallel Probe-Based Storage Devices;Maria Varsamou;《IEEE Transactions on Magnetics》;第44卷(第4期);全文 *
WinCE系统上大容量NAND Flash驱动设计与优化;张超;张哲;胡晨;;电子器件(第02期);全文 *
基于嵌入式MCU数据Flash的数据存储及管理方法研究与实现;刘源杨;《万方数据库》;全文 *

Also Published As

Publication number Publication date
CN116149577A (en) 2023-05-23

Similar Documents

Publication Publication Date Title
CN100440163C (en) Method and system for analysis processing of computer program
CN105975377A (en) Memory monitoring method and apparatus
CN110704287B (en) RAID card abnormal log collection method and system under Linux system and storage medium
CN109684141A (en) A kind of disk failure diagnostic method, device, terminal and readable storage medium storing program for executing
CN109144754B (en) Reliability testing method and device
CN112579327B (en) Fault detection method, device and equipment
CN109582488A (en) A kind of wrong prevention method and relevant apparatus of solid state hard disk
CN104965779A (en) Detecting and locating method and device for memory leakage based on PoolMon
CN116149577B (en) Data processing method, system and readable storage medium based on rotary pool
CN110764960B (en) Solid state disk firmware testing method
CN116820821A (en) Disk failure detection method, apparatus, electronic device and computer readable storage medium
CN116340044A (en) Fault analysis method, device, equipment and storage medium
CN116400249A (en) Detection method and device for energy storage battery
CN106648969A (en) Method and system for inspecting damaged data in disk
CN110597674B (en) Memory detection method, device, video recording system and storage medium
CN110795129A (en) Data flashing method, device and equipment
CN113625957B (en) Method, device and equipment for detecting hard disk faults
CN114218001A (en) Fault repairing method and device, electronic equipment and readable storage medium
CN112084097B (en) Disk alarm method and device
CN107885640B (en) Hard disk management method and device
CN106776169A (en) A kind of method and device of the PSU of testing service device
CN111831511A (en) Detection processing method, device and medium for service host of cloud service
CN112083891A (en) Method for detecting data block in memory and related equipment
CN114116333B (en) CPU binding check-based M.2 system disk performance test method and device
CN116884469B (en) Flash memory performance detection method, device, equipment and 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