CN109683810A - A kind of reading/writing method and terminal - Google Patents
A kind of reading/writing method and terminal Download PDFInfo
- Publication number
- CN109683810A CN109683810A CN201811382357.5A CN201811382357A CN109683810A CN 109683810 A CN109683810 A CN 109683810A CN 201811382357 A CN201811382357 A CN 201811382357A CN 109683810 A CN109683810 A CN 109683810A
- Authority
- CN
- China
- Prior art keywords
- file
- end disk
- disk group
- disk
- group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1464—Management of the backup or restore process for networked environments
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0629—Configuration or reconfiguration of storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/065—Replication mechanisms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/067—Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Quality & Reliability (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Power Sources (AREA)
- Storage Device Security (AREA)
Abstract
The present invention provides a kind of reading/writing method and terminal, cold data disk is divided into front end disk group and rear end disk group, front end disk group is set as power-up state, and rear end disk group is set as electricity condition;File write request is received, the key message of the file is extracted;According to the key message, the file characteristic of the file is obtained, analyzes the file characteristic, selects matched front end disk;The front end disk is written into the file, and the filename of the file, store path and its corresponding key message are stored to key message server, realizes the reliability access for guaranteeing data while cold storage energy saving.
Description
This case is so that application No. is 201710695573.4, the applying date is on 08 15th, 2017, a kind of entitled " cold number
According to processing method and terminal " patent application be female case divisional application.
Technical field
The present invention relates to cold data field more particularly to a kind of reading/writing method and terminals.
Background technique
Under big data era, numerous IDC data centers, enterprise and service provider CPS are faced with data volume and rapidly increase
It is long, constantly generate the epoch of mass data.For example as broadband is universal, bring flood tide log and log, social networks
The personal information constantly updated daily, the videographs such as video communication, medical imaging, geography information, monitoring video, sensor,
The data information that the non-traditional information technoloy equipment such as navigation equipment generates, and picture and letter that the various intelligent terminals that continue to increase generate
Breath, so that total amount of data reaches ZB number of stages, and every 18 months will double.But it is many in these ever-increasing data
Information content belongs to access frequency seldom access, lower, older data, i.e., so-called " cold " data.If by these
" cold " Data Migration is into the cold storage of low cost, and disk is powered when access, and disk powers off when idle, i.e., so-called " cold storage
Use model ", then the storage electricity consumption of every GB data can be farthest reduced, realizes the totality of subscriber data center computer room
Operation costs significantly reduce.Currently, " cold storage uses model " largely answers in backup, archive, disaster recovery and social media etc.
It obtains using 50% amount of storage of " cold storage the uses model " storage that dominated the market in.
But usually in " cold storage uses model ", for energy saving, cold storage hard disk is powered off or is powered often,
But hard disk frequently removes electricity, powers on, and will lead to topmost paper system and reports an error or loss of data, occur file lose, file system
System report an error, disk failures the problems such as, cause the access of cold data unreliable.
Summary of the invention
The technical problems to be solved by the present invention are: providing a kind of reading/writing method and terminal, cold storage energy saving is realized
While guarantee data reliability access.
In order to solve the above-mentioned technical problem, a kind of technical solution that the present invention uses are as follows:
A kind of reading/writing method, comprising steps of
Cold data disk is divided into front end disk group and rear end disk group, front end disk group is set as power-up state, rear end
Disk group is set as electricity condition;
File write request is received, the key message of the file is extracted;
According to the key message, the file characteristic of the file is obtained, the file characteristic is analyzed, before selection is matched
Hold disk;
The file is written into the front end disk, and by the filename of the file, store path and its corresponding pass
Key information is stored to key message server.
In order to solve the above-mentioned technical problem, the another technical solution that the present invention uses are as follows:
A kind of read-write terminal 1, including memory 2, processor 3 and be stored on memory 2 and can be run on processor 3
Computer program, the processor 3 performs the steps of when executing described program
Cold data disk is divided into front end disk group and rear end disk group, front end disk group is set as power-up state, rear end
Disk group is set as electricity condition;
File write request is received, the key message of the file is extracted;
According to the key message, the file characteristic of the file is obtained, the file characteristic is analyzed, before selection is matched
Hold disk;
The file is written into the front end disk, and by the filename of the file, store path and its corresponding pass
Key information is stored to key message server.
The beneficial effects of the present invention are: cold data disk is divided into front and back disk group, forward and backward disk group, which is respectively set, is
Power-up state and electricity condition is removed, matched front end disk is selected according to file characteristic, and the key message of file is stored to pass
Key information server carries out polymerization reading to the file with same file feature while realizing that disk efficiently utilizes, is energy saving
It writes, when executing write operation, polymerization same group of disk of write-in, in this way when reading data, the data of same file feature are past
Toward central access, the number of disks of unlatching can be thus reduced, the spoilage of disk is effectively reduced, and due to key message
Documentary key message is stored in server, it, can be from key message when the closing of cold storage server disk can not access
Server inquires the essential information of file, solves file loss or text caused by closing for cold storage server because of disk
Part system reports an error problem, to ensure that the access reliability of cold data.
Detailed description of the invention
Fig. 1 is a kind of flow chart of reading/writing method of the embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of read-write terminal of the embodiment of the present invention;
Label declaration:
1, read-write terminal;2, memory;3, processor.
Specific embodiment
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and cooperate attached
Figure is explained.
The most critical design of the present invention is: cold data disk is divided into front and back disk group, forward and backward disk group is respectively set
Power-up state and to remove electricity condition, matched front end disk is selected according to file characteristic, and by the key message of file store to
Key message server.
Please refer to Fig. 1, a kind of reading/writing method, comprising steps of
Cold data disk is divided into front end disk group and rear end disk group, front end disk group is set as power-up state, rear end
Disk group is set as electricity condition;
File write request is received, the key message of the file is extracted;
According to the key message, the file characteristic of the file is obtained, the file characteristic is analyzed, before selection is matched
Hold disk;
The file is written into the front end disk, and by the filename of the file, store path and its corresponding pass
Key information is stored to key message server.
As can be seen from the above description, the beneficial effects of the present invention are: cold data disk is divided into front and back disk group, is set respectively
Setting forward and backward disk group is power-up state and to remove electricity condition, selects matched front end disk according to file characteristic, and by the pass of file
Key information is stored to key message server, while realizing that disk efficiently utilizes, is energy saving, to the text with same file feature
Part carries out polymerization read-write, when executing write operation, polymerization same group of disk of write-in, and in this way when reading data, same file
The data of feature often central access, can thus reduce the number of disks of unlatching, the spoilage of disk is effectively reduced, and
It, can when the closing of cold storage server disk can not access due to storing documentary key message in key message server
To inquire the essential information of file from key message server, solve caused by being closed for cold storage server because of disk
Problem that file is lost or file system reports an error, to ensure that the access reliability of cold data.
Further, the analysis file characteristic, selects matched front end disk to specifically include:
In key message server store path be front end disk key message in search whether exist and the text
Identical second file characteristic of part feature, if it is present before where selection file corresponding with second file characteristic
Hold disk as matched front end disk;Otherwise, a front end disk is randomly choosed from the disk group of front end as matched front end
Disk.
Seen from the above description, preferential magnetic where choosing the storage file that there is same file feature with file to be written
Matching disk of the disk as file to be written realizes that the polymerization to file is written, in this way when reading data, the number of same characteristic features
According to often central access, it is possible to reduce the spoilage of disk is effectively reduced in the number of disks of unlatching.
Further, it further comprises the steps of:
Monitor the disk space service condition and disk read-write state of front end disk group in real time, if front end disk group
Disk space reaches nominal threshold value or in a preset time period without read requests, then powers on rear end disk group, front end disk
Group removes electricity, and front end disk group and rear end disk group are mutually converted.
Seen from the above description, front and back disk group automatic conversion is realized by setting certain condition, realizes the height of disk
Effect utilizes and energy-efficient purpose.
Further, it further comprises the steps of:
File read request is received, inquires the key message of the file in key message server according to filename;
Send the key message.
Seen from the above description, due to storing documentary key message in key message server, when cold storage service
When the closing of device disk can not access, the essential information of file can be inquired from key message server, solves and deposits for cold
Problem that file caused by storage server is closed because of disk is lost or file system reports an error.
Further, it further comprises the steps of:
File read request is received, inquires the store path of the file in key message server according to filename;
Judge that the file is stored in front end disk group or rear end disk group according to the store path, if be stored in
Front end disk group then reads the file according to the store path, if being stored in rear end disk group, by rear end disk group
It powers on, front end disk group removes electricity, and front end disk group and rear end disk group are mutually converted, and reads the text according to the store path
Part.
Seen from the above description, when cold storage server disk works normally, when receiving file read request, if
The file of reading is stored in rear end disk group, then automatically carry out front and back end disk group conversion, realize disk it is efficient utilization with
Energy-efficient purpose.
Referring to figure 2., a kind of read-write terminal 1, including memory 2, processor 3 and be stored on memory 2 and can locate
The computer program run on reason device 3, the processor 3 perform the steps of when executing described program
Cold data disk is divided into front end disk group and rear end disk group, front end disk group is set as power-up state, rear end
Disk group is set as electricity condition;
File write request is received, the key message of the file is extracted;
According to the key message, the file characteristic of the file is obtained, the file characteristic is analyzed, before selection is matched
Hold disk;
The file is written into the front end disk, and by the filename of the file, store path and its corresponding pass
Key information is stored to key message server.
As can be seen from the above description, the beneficial effects of the present invention are: cold data disk is divided into front and back disk group, is set respectively
Setting forward and backward disk group is power-up state and to remove electricity condition, selects matched front end disk according to file characteristic, and by the pass of file
Key information is stored to key message server, while realizing that disk efficiently utilizes, is energy saving, to the text with same file feature
Part carries out polymerization read-write, when executing write operation, polymerization same group of disk of write-in, and in this way when reading data, same file
The data of feature often central access, can thus reduce the number of disks of unlatching, the spoilage of disk is effectively reduced, and
It, can when the closing of cold storage server disk can not access due to storing documentary key message in key message server
To inquire the essential information of file from key message server, solve caused by being closed for cold storage server because of disk
Problem that file is lost or file system reports an error, to ensure that the access reliability of cold data.
Further, the analysis file characteristic, selects matched front end disk to specifically include:
In key message server store path be front end disk key message in search whether exist and the text
Identical second file characteristic of part feature, if it is present before where selection file corresponding with second file characteristic
Hold disk as matched front end disk;Otherwise, a front end disk is randomly choosed from the disk group of front end as matched front end
Disk.
Seen from the above description, preferential magnetic where choosing the storage file that there is same file feature with file to be written
Matching disk of the disk as file to be written realizes that the polymerization to file is written, in this way when reading data, the number of same characteristic features
According to often central access, it is possible to reduce the spoilage of disk is effectively reduced in the number of disks of unlatching.
Further, it further comprises the steps of:
Monitor the disk space service condition and disk read-write state of front end disk group in real time, if front end disk group
Disk space reaches nominal threshold value or in a preset time period without read requests, then powers on rear end disk group, front end disk
Group removes electricity, and front end disk group and rear end disk group are mutually converted.
Seen from the above description, front and back disk group automatic conversion is realized by setting certain condition, realizes the height of disk
Effect utilizes and energy-efficient purpose.
Further, it further comprises the steps of:
File read request is received, inquires the key message of the file in key message server according to filename;
Send the key message.
Seen from the above description, due to storing documentary key message in key message server, when cold storage service
When the closing of device disk can not access, the essential information of file can be inquired from key message server, solves and deposits for cold
Problem that file caused by storage server is closed because of disk is lost or file system reports an error.
Further, it further comprises the steps of:
File read request is received, inquires the store path of the file in key message server according to filename;
Judge that the file is stored in front end disk group or rear end disk group according to the store path, if be stored in
Front end disk group then reads the file according to the store path, if being stored in rear end disk group, by rear end disk group
It powers on, front end disk group removes electricity, and front end disk group and rear end disk group are mutually converted, and reads the text according to the store path
Part.
Seen from the above description, when cold storage server disk works normally, when receiving file read request, if
The file of reading is stored in rear end disk group, then automatically carry out front and back end disk group conversion, realize disk it is efficient utilization with
Energy-efficient purpose.
Embodiment one
Please refer to Fig. 1, a kind of reading/writing method, comprising steps of
Cold data disk is divided into front end disk group and rear end disk group, front end disk group is set as power-up state, rear end
Disk group is set as electricity condition;
When system is run, the good front and back end disk group of configured in advance, after system starting, the default starting of front end disk group, and
Rear end disk group does not start temporarily, after front end disk write is full, then starting rear end disk on demand;
Wherein, disk group in front end is in power-up state, rear end disk group is for storing for directly interacting with customer service
User data, in removing electricity condition;When front end, disk group reaches when writing full state or data unmanned access, after automatically becoming
Disk group is held, in electricity condition is removed, correspondingly, rear end disk group automatically becomes front end disk group, is in power-up state;Work as rear end
When disk group has reading data requirements, front end disk group is automatically become, is in power-up state, correspondingly, front end disk group is automatic
Become rear end disk group, in removing electricity condition;
Particularly, the disk space service condition and magnetic of background monitoring process real time monitoring front end disk group can be set
Disk read-write state, if the disk space of front end disk group reaches nominal threshold value or in a preset time period without read requests,
Then rear end disk group is powered on, front end disk group removes electricity, and front end disk group and rear end disk group are mutually converted;
File write request is received, the key message of the file is extracted;
The key message includes file characteristic, file size, generates the information such as time;
According to the key message, the file characteristic of the file is obtained, the file characteristic is analyzed, before selection is matched
Hold disk;
The file characteristic includes the type of service of file, the data type of file, generation period of file etc.;
The analysis file characteristic, selects matched front end disk to specifically include:
In key message server store path be front end disk key message in search whether exist and the text
Identical second file characteristic of part feature, if it is present before where selection file corresponding with second file characteristic
Hold disk as matched front end disk;Otherwise, a front end disk is randomly choosed from the disk group of front end as matched front end
Disk;
The file is written into the front end disk, and by the filename of the file, store path and its corresponding pass
Key information is stored to key message server.
Wherein, key message server is the server different from the storage cold storage server of cold data, in this way, working as institute
When stating in cold storage server disk closing can not access, the essential information of file can be inquired from key message server.
Embodiment two
A kind of reading/writing method, corresponding is and the magnetic in cold storage server when to read data from cold storage server
The case where when disk closing can not access, comprising steps of
File read request is received, inquires the key message of the file in key message server according to filename;
Send the key message;
Since disk closing can not access in cold storage server at this time, it can will be stored in key message server at this time
The key message of the middle correspondence file to be read is sent to user, and user is allow to inquire file from key message server
Essential information.
Embodiment three
A kind of reading/writing method, corresponding is the disk in cold storage server when to read data from cold storage server
Situation good for use, comprising steps of
File read request is received, inquires the store path of the file in key message server according to filename;
Judge that the file is stored in front end disk group or rear end disk group according to the store path, if be stored in
Front end disk group then reads the file according to the store path, if being stored in rear end disk group, by rear end disk group
It powers on, front end disk group removes electricity, and front end disk group and rear end disk group are mutually converted, and reads the text according to the store path
Part.
Example IV
A kind of read-write terminal 1, including memory 2, processor 3 and be stored on memory 2 and can be run on processor 3
Computer program, the processor 3 realizes step described in embodiment one when executing described program.
Embodiment five
A kind of read-write terminal 1, including memory 2, processor 3 and be stored on memory 3 and can be run on processor 2
Computer program, the processor 3 realizes step described in embodiment two when executing described program.
Embodiment six
A kind of read-write terminal 1, including memory 2, processor 3 and be stored on memory 2 and can be run on processor 3
Computer program, the processor 3 realizes step described in embodiment three when executing described program.
In conclusion a kind of reading/writing method provided by the invention and terminal, are divided into front and back disk group for cold data disk, point
It is power-up state and to remove electricity condition that forward and backward disk group is not arranged, selects matched front end disk according to file characteristic, and by file
Key message store to key message server, realize disk efficiently utilize, energy conservation while, to same file feature
File carry out polymerization read-write, when executing write operation, polymerization write-in same group of disk, it is identical in this way when reading data
The data of file characteristic often central access, can thus reduce the number of disks of unlatching and the frequent unlatching of disk, have
Effect reduces the spoilage of disk, and due to storing documentary key message in key message server, when cold storage service
When the closing of device disk can not access, the essential information of file can be inquired from key message server, solves and deposits for cold
Problem that file caused by storage server is closed because of disk is lost or file system reports an error, to ensure that the access of cold data is reliable
Property.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, similarly include
In scope of patent protection of the invention.
Claims (8)
1. a kind of reading/writing method, which is characterized in that comprising steps of
Cold data disk is divided into front end disk group and rear end disk group, the disk in the disk group is fixed, front end magnetic
Disk group is set as power-up state, and rear end disk group is set as electricity condition;
File write request is received, the key message of the file is extracted;
According to the key message, the file characteristic of the file is obtained, analyzes the file characteristic, selects matched front end magnetic
Disk, the matched front end disk storage have the file with the file characteristic;
The front end disk is written into the file, and the filename of the file, store path and its corresponding key are believed
Breath is stored to key message server.
2. reading/writing method according to claim 1, which is characterized in that
The analysis file characteristic, selects matched front end disk, and the matched front end disk storage has with described
The file of file characteristic specifically includes:
In key message server store path be front end disk key message in search whether to exist and the file is special
Identical second file characteristic is levied, if it is present the front end magnetic where selection file corresponding with second file characteristic
Disk is as matched front end disk;Otherwise, a front end disk is randomly choosed from the disk group of front end as matched front end disk.
3. reading/writing method according to claim 1, which is characterized in that further comprise the steps of:
The disk space service condition and disk read-write state for monitoring front end disk group in real time, if the disk of front end disk group
Space reaches nominal threshold value or in a preset time period without read requests, then powers on rear end disk group, and front end disk group is gone
Electricity, front end disk group and rear end disk group are mutually converted.
4. reading/writing method according to claim 1, which is characterized in that further comprise the steps of:
File read request is received, inquires the store path of the file in key message server according to filename;
Judge that the file is stored in front end disk group or rear end disk group according to the store path, if being stored in front end
Disk group, then reading the file according to the store path will be in the disk group of rear end if being stored in rear end disk group
Electricity, front end disk group remove electricity, and front end disk group and rear end disk group are mutually converted, and read the text according to the store path
Part.
5. a kind of read-write terminal including memory, processor and stores the calculating that can be run on a memory and on a processor
Machine program, which is characterized in that the processor performs the steps of when executing described program
Cold data disk is divided into front end disk group and rear end disk group, the disk in the disk group is fixed, front end magnetic
Disk group is set as power-up state, and rear end disk group is set as electricity condition;
File write request is received, the key message of the file is extracted;
According to the key message, the file characteristic of the file is obtained, analyzes the file characteristic, selects matched front end magnetic
Disk, the matched front end disk storage have the file with the file characteristic;
The front end disk is written into the file, and the filename of the file, store path and its corresponding key are believed
Breath is stored to key message server.
6. read-write terminal according to claim 5, which is characterized in that
The analysis file characteristic, selects matched front end disk, and the matched front end disk storage has with described
The file of file characteristic specifically includes:
In key message server store path be front end disk key message in search whether to exist and the file is special
Identical second file characteristic is levied, if it is present the front end magnetic where selection file corresponding with second file characteristic
Disk is as matched front end disk;Otherwise, a front end disk is randomly choosed from the disk group of front end as matched front end disk.
7. read-write terminal according to claim 5, which is characterized in that further comprise the steps of:
The disk space service condition and disk read-write state for monitoring front end disk group in real time, if the disk of front end disk group
Space reaches nominal threshold value or in a preset time period without read requests, then powers on rear end disk group, and front end disk group is gone
Electricity, front end disk group and rear end disk group are mutually converted.
8. read-write terminal according to claim 5, which is characterized in that further comprise the steps of:
File read request is received, inquires the store path of the file in key message server according to filename;
Judge that the file is stored in front end disk group or rear end disk group according to the store path, if being stored in front end
Disk group, then reading the file according to the store path will be in the disk group of rear end if being stored in rear end disk group
Electricity, front end disk group remove electricity, and front end disk group and rear end disk group are mutually converted, and read the text according to the store path
Part.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811382357.5A CN109683810B (en) | 2017-08-15 | 2017-08-15 | Read-write method and terminal |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710695573.4A CN107436826B (en) | 2017-08-15 | 2017-08-15 | A kind of cold data processing method and terminal |
CN201811382357.5A CN109683810B (en) | 2017-08-15 | 2017-08-15 | Read-write method and terminal |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710695573.4A Division CN107436826B (en) | 2017-08-15 | 2017-08-15 | A kind of cold data processing method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109683810A true CN109683810A (en) | 2019-04-26 |
CN109683810B CN109683810B (en) | 2022-02-18 |
Family
ID=60461031
Family Applications (4)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811382082.5A Active CN109739340B (en) | 2017-08-15 | 2017-08-15 | Energy-saving and power-saving data processing method and terminal |
CN201811382360.7A Active CN109669811B (en) | 2017-08-15 | 2017-08-15 | Data processing method and terminal capable of reliable access |
CN201710695573.4A Active CN107436826B (en) | 2017-08-15 | 2017-08-15 | A kind of cold data processing method and terminal |
CN201811382357.5A Active CN109683810B (en) | 2017-08-15 | 2017-08-15 | Read-write method and terminal |
Family Applications Before (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811382082.5A Active CN109739340B (en) | 2017-08-15 | 2017-08-15 | Energy-saving and power-saving data processing method and terminal |
CN201811382360.7A Active CN109669811B (en) | 2017-08-15 | 2017-08-15 | Data processing method and terminal capable of reliable access |
CN201710695573.4A Active CN107436826B (en) | 2017-08-15 | 2017-08-15 | A kind of cold data processing method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (4) | CN109739340B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117234435A (en) * | 2023-11-14 | 2023-12-15 | 苏州元脑智能科技有限公司 | File storage method and device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112015342B (en) * | 2020-08-27 | 2023-08-18 | 优刻得科技股份有限公司 | IO scheduling system and scheduling method and corresponding electronic equipment |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1281560A (en) * | 1997-10-08 | 2001-01-24 | 西加特技术有限责任公司 | Hybrid data storage and reconstruction system and method for data storage device |
WO2006032197A1 (en) * | 2004-09-20 | 2006-03-30 | Shoukui Liu | A module of architecture engineering modeling and system and method thereof |
CN101079902A (en) * | 2007-06-29 | 2007-11-28 | 清华大学 | A great magnitude of data hierarchical storage method |
CN101351760A (en) * | 2005-12-30 | 2009-01-21 | 科潘系统公司 | Method and system for accessing auxiliary data in power-efficient high-capacity scalable storage |
CN101441668A (en) * | 2008-12-31 | 2009-05-27 | 中兴通讯股份有限公司 | Method and apparatus of multiple-magnetic disk packet heat standby in distributed file system |
CN101551804A (en) * | 2008-03-31 | 2009-10-07 | 联想(北京)有限公司 | Computer and file processing method used in same |
US20100070689A1 (en) * | 2008-09-11 | 2010-03-18 | Samsung Electronics Co., Ltd | Hybrid hard disk drive to rapidly read files having specified conditions, method of controlling the hybrid hard disk drive, and recording medium for the hybrid hard disk drive |
US20100094864A1 (en) * | 2008-09-11 | 2010-04-15 | Patrick Foody | Data storage and fusion layer |
CN102014150A (en) * | 2010-09-29 | 2011-04-13 | 厦门市美亚柏科信息股份有限公司 | Distributed small file storage system based on UDP (User Datagram Protocol) and data processing method thereof |
CN103442070A (en) * | 2013-08-30 | 2013-12-11 | 华南理工大学 | Private cloud storage resource allocation method based on statistical prediction |
CN104598568A (en) * | 2015-01-12 | 2015-05-06 | 浪潮电子信息产业股份有限公司 | High-efficiency and low-power-consumption offline storage system and method |
US20150186046A1 (en) * | 2013-12-30 | 2015-07-02 | Teradata Corporation | Management of data in multi-storage systems that can include non-volatile and volatile storages |
CN104991747A (en) * | 2015-07-30 | 2015-10-21 | 湖南亿谷科技发展股份有限公司 | Method and system for data management |
CN106293492A (en) * | 2015-05-14 | 2017-01-04 | 中兴通讯股份有限公司 | A kind of memory management method and distributed file system |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6446199B1 (en) * | 1995-06-06 | 2002-09-03 | International Business Machines Corporation | Disk drive incompatible firmware recovery |
SG122759A1 (en) * | 2001-10-29 | 2006-06-29 | Seagate Technology Llc | System and method for protecting a peripheral device against hot plug attacks |
EP2196895A1 (en) * | 2008-12-09 | 2010-06-16 | Thomson Licensing | System for storing and/or retrieving a data-set and method thereof |
CN101854378B (en) * | 2010-02-26 | 2013-02-13 | 深圳市龙视传媒有限公司 | Data operating method and data operating equipment |
JP5846006B2 (en) * | 2012-03-29 | 2016-01-20 | 富士通株式会社 | Program, code generation method, and information processing apparatus |
CN103488578B (en) * | 2012-12-28 | 2016-05-25 | 晶天电子(深圳)有限公司 | Virtual memory facilities (VMD) application/driver |
CN103399806A (en) * | 2013-07-26 | 2013-11-20 | 安徽省徽商集团有限公司 | Method and system for updating and managing network backups |
EP3026545B1 (en) * | 2013-08-09 | 2019-02-20 | Huawei Technologies Co., Ltd. | File processing method and storage device |
CN105389129A (en) * | 2015-11-11 | 2016-03-09 | 北京汉柏科技有限公司 | Virtual cloud disk implementation method in cloud computing system |
CN106959826A (en) * | 2017-03-28 | 2017-07-18 | 联想(北京)有限公司 | A kind of data-storage system and method |
-
2017
- 2017-08-15 CN CN201811382082.5A patent/CN109739340B/en active Active
- 2017-08-15 CN CN201811382360.7A patent/CN109669811B/en active Active
- 2017-08-15 CN CN201710695573.4A patent/CN107436826B/en active Active
- 2017-08-15 CN CN201811382357.5A patent/CN109683810B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1281560A (en) * | 1997-10-08 | 2001-01-24 | 西加特技术有限责任公司 | Hybrid data storage and reconstruction system and method for data storage device |
WO2006032197A1 (en) * | 2004-09-20 | 2006-03-30 | Shoukui Liu | A module of architecture engineering modeling and system and method thereof |
CN101351760A (en) * | 2005-12-30 | 2009-01-21 | 科潘系统公司 | Method and system for accessing auxiliary data in power-efficient high-capacity scalable storage |
CN101079902A (en) * | 2007-06-29 | 2007-11-28 | 清华大学 | A great magnitude of data hierarchical storage method |
CN101551804A (en) * | 2008-03-31 | 2009-10-07 | 联想(北京)有限公司 | Computer and file processing method used in same |
US20100070689A1 (en) * | 2008-09-11 | 2010-03-18 | Samsung Electronics Co., Ltd | Hybrid hard disk drive to rapidly read files having specified conditions, method of controlling the hybrid hard disk drive, and recording medium for the hybrid hard disk drive |
US20100094864A1 (en) * | 2008-09-11 | 2010-04-15 | Patrick Foody | Data storage and fusion layer |
CN101441668A (en) * | 2008-12-31 | 2009-05-27 | 中兴通讯股份有限公司 | Method and apparatus of multiple-magnetic disk packet heat standby in distributed file system |
CN102014150A (en) * | 2010-09-29 | 2011-04-13 | 厦门市美亚柏科信息股份有限公司 | Distributed small file storage system based on UDP (User Datagram Protocol) and data processing method thereof |
CN103442070A (en) * | 2013-08-30 | 2013-12-11 | 华南理工大学 | Private cloud storage resource allocation method based on statistical prediction |
US20150186046A1 (en) * | 2013-12-30 | 2015-07-02 | Teradata Corporation | Management of data in multi-storage systems that can include non-volatile and volatile storages |
CN104598568A (en) * | 2015-01-12 | 2015-05-06 | 浪潮电子信息产业股份有限公司 | High-efficiency and low-power-consumption offline storage system and method |
CN106293492A (en) * | 2015-05-14 | 2017-01-04 | 中兴通讯股份有限公司 | A kind of memory management method and distributed file system |
CN104991747A (en) * | 2015-07-30 | 2015-10-21 | 湖南亿谷科技发展股份有限公司 | Method and system for data management |
Non-Patent Citations (1)
Title |
---|
文D等: "超大容量NAND FLASH坏区管理方法的设计与实现", 《现代电子技术》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117234435A (en) * | 2023-11-14 | 2023-12-15 | 苏州元脑智能科技有限公司 | File storage method and device |
CN117234435B (en) * | 2023-11-14 | 2024-02-20 | 苏州元脑智能科技有限公司 | File storage method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109739340A (en) | 2019-05-10 |
CN109739340B (en) | 2021-04-13 |
CN109669811A (en) | 2019-04-23 |
CN107436826A (en) | 2017-12-05 |
CN109669811B (en) | 2021-04-13 |
CN107436826B (en) | 2018-12-18 |
CN109683810B (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101719149B (en) | Data synchronization method and device | |
CN105373899A (en) | Server asset management method and apparatus | |
CN101325610B (en) | Virtual tape library backup system and magnetic disk power supply control method | |
CN102402471A (en) | Data real-time backup method and system based on storage array snapshot function | |
CN102387048B (en) | A kind of method for supervising for distributed file system and distributed file system | |
CN107436826B (en) | A kind of cold data processing method and terminal | |
CN110851318A (en) | Serial port log collection method, system and equipment under server management system | |
CN107229537A (en) | A kind of database real time backup method | |
WO2023185111A1 (en) | Quick access method and device for data file | |
CN108205482B (en) | File mount restoration methods | |
US20140115112A1 (en) | Server system and message processing method thereof | |
CN111240879B (en) | SAS card firmware log collection method, system, device and storage medium | |
CN109117297A (en) | Fault positioning method and device for solid state disk | |
CN110543398A (en) | method and system for recording fault information | |
CN109960638A (en) | BMC starts reason recording method, system, device and readable storage medium storing program for executing | |
CN103207916A (en) | Metadata processing method and device | |
CN109245819A (en) | A kind of Fault Locating Method and relevant apparatus | |
CN101751283B (en) | Virtual machine monitor, dummy machine system and client operation system state acquiring method | |
CN103761156A (en) | Online repair method aimed at file system | |
CN116627737A (en) | Hard disk testing method, device, equipment and medium | |
CN106909477A (en) | A kind of storage server IO stack internal storage data guard methods and device | |
CN101087237A (en) | A magnetic array share file system and its implementation method | |
CN111209608A (en) | Big data storage system | |
CN107391186A (en) | A kind of method, apparatus and system for refreshing power supply unit firmware | |
CN106021348A (en) | A log file rolling storage system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |