CN101520742A - Solid state disk (SSD) and method and system for backing up data in two SSDs - Google Patents

Solid state disk (SSD) and method and system for backing up data in two SSDs Download PDF

Info

Publication number
CN101520742A
CN101520742A CN200910119779A CN200910119779A CN101520742A CN 101520742 A CN101520742 A CN 101520742A CN 200910119779 A CN200910119779 A CN 200910119779A CN 200910119779 A CN200910119779 A CN 200910119779A CN 101520742 A CN101520742 A CN 101520742A
Authority
CN
China
Prior art keywords
data
backup
dish
solid state
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200910119779A
Other languages
Chinese (zh)
Other versions
CN101520742B (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.)
Chengdu Huawei Technology Co Ltd
Original Assignee
Huawei Symantec Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Symantec Technologies Co Ltd filed Critical Huawei Symantec Technologies Co Ltd
Priority to CN2009101197798A priority Critical patent/CN101520742B/en
Publication of CN101520742A publication Critical patent/CN101520742A/en
Application granted granted Critical
Publication of CN101520742B publication Critical patent/CN101520742B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for backing up data in two solid state disks (SSD), comprising the steps of detecting whether data passing interfaces of two SSDs in which data are to be backed up are successfully connected and sending data to be backed up to the SSD in the case that the data passing interfaces of two SSDs are successfully connected. The embodiment of the invention also provides an SSD and a system for backing up data in the two SSDs. Because the two SSDs with direct data backup function are directly connected, data can be more easily and rapidly backed up without any other equipment and can be more rapidly transmitted between the two SSDs.

Description

Solid state hard disc data back up method, system and corresponding solid state hard disc
Technical field
The present invention relates to technical field of memory, relate in particular to a kind of solid state hard disc data back up method, system and corresponding solid state hard disc.
Background technology
Along with the development of memory technology, the solid state hard disc (SSD, solid state disk) that adopts non-volatile flash memory (Flash) chip to constitute has appearred; Advantages such as SSD does not adopt mechanical rotation device, has the readwrite performance height, and shock resistance is strong, and the power supply expense is little are widely used in fields such as military affairs, vehicle-mounted, industry control, video monitoring, network monitoring, the network terminal, electric power, medical treatment, aviation etc., navigator.
The performance of SSD determines its utilization in the stores service of middle and high end.How to realize efficiently backing up easily, promptly realize that directly backup is the direction of a technical development not influencing under current stores service duty and the server architecture situation as far as possible.
The normal mode that adopts of existing backup mode has the rear end of increasing connection device to back up and does redundancy backup in the mode of disk array.The backup mode that increases the rear end connection device often adopts interpolation tape or hard disk data to be backed up or use network building-out store (NAS, Network Attach Storage) is storage area network frameworks such as (SAN, Storage Area Network) transmission data backup.The disk array method can according to the different shape of array do redundancy backup or the compression after redundancy backup.When needs backed up a hard disc data separately, a kind of mode was: two hard disks are articulated on the same main frame, by the copying data between two hard disks of main frame realization; Another mode is to come realizing the transmission of data between hard disk by special equipment " disk copy machine ".
In research and practice process to prior art, the present inventor finds, the backup method complexity height of prior art, and the input cost height, the copying data between hard disk is slow.
Summary of the invention
The embodiment of the invention provides solid state hard disc data back up method and system and corresponding solid state hard disc.
A kind of solid state hard disc data back up method comprises:
Detect to be equipped with dish by whether successful connection of data-interface;
When successful connection, send Backup Data to the described dish that is equipped with.
A kind of solid state hard disc data backup system comprises:
Master coils with being equipped with,
Described master is used to detect the described dish that is equipped with by whether successful connection of data-interface, to the described dish transmission Backup Data that is equipped with by described data-interface successful connection;
The described dish that is equipped with is used to receive described Backup Data and the storage that described master sends.
A kind of solid state hard disc is characterized in that, comprising:
Storage medium is used to store data;
Interface controller is used for detecting to be equipped with to coil whether pass through the data-interface successful connection;
The FLASH controller is used for being equipped with dish by after the data-interface successful connection when described interface controller detects, and control sends the data of described storage medium stores.
The embodiment of the invention adopts the framework method with direct backup functionality SSD, directly links to each other by two SSD, and it is simpler that data backup becomes, and need not to use the help by other equipment, and data transmission is faster between hard disk, and backup rate is faster.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the process flow diagram of an embodiment of a kind of solid state hard disc data back up method of the present invention;
Fig. 2 is the process flow diagram of second embodiment of a kind of solid state hard disc data back up method of the present invention;
Fig. 3 is the process flow diagram of the 3rd embodiment of a kind of solid state hard disc data back up method of the present invention;
Fig. 4 is the structural drawing of an embodiment of a kind of solid state hard disc data backup system of the present invention;
Fig. 5 is another structural drawing of an embodiment of a kind of solid state hard disc data backup system of the present invention;
Fig. 6 is the structural drawing of second embodiment of a kind of solid state hard disc data backup system of the present invention;
Fig. 7 is the structural drawing of an embodiment of a kind of solid state hard disc of the present invention;
Fig. 8 is the structural drawing of second embodiment of a kind of solid state hard disc of the present invention;
Fig. 9 is the structural drawing of the 3rd embodiment of a kind of solid state hard disc of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The embodiment of the invention provides a kind of solid state hard disc data back up method, makes to carry out the immediate data backup between two SSD.The embodiment of the invention also provides corresponding system and solid state hard disc.Below be elaborated respectively.
Embodiment one,
See also the process flow diagram of Fig. 1 for an embodiment of a kind of solid state hard disc data back up method of the present invention.
The embodiment of the invention adopts dual-port SSD:SSD to have two data interfaces on framework, first data-interface is used to receive and dispatch data or the order from main frame or storage server, second data-interface is used for connecting backup SSD, and data are transmitted by second data-interface that links to each other with backup SSD.First data-interface of master links to each other with main frame in the present embodiment, and second data-interface of master links to each other with the data-interface that is equipped with dish.
Flow process is as follows:
Step 101, master obtain and coil successful connection information fully;
When being equipped with dish and master by after the data-interface successful connection, master can be known successful connection.Master detects and whether is equipped with dish by the successful connection of Backup Data transmission exclusive data interface.
Step 102, master are initiated backup operation, send Backup Data to being equipped with dish.
Master is initiated backup operation, is equipped with dish and receives order and the parsing that master sends; Master is initiated the data write order to being equipped with dish, and the data on the master are backuped to from dish.
In the present embodiment, master can be expanded, and makes master that two data interfaces can be arranged, and when first data-interface is connected with main frame, adopts second interface and is equipped with dish and is connected and carries out backup operation.Like this when can not delay the operate as normal of master can be equipped with dish and back up.
Embodiment two,
See also the process flow diagram of Fig. 2 for second embodiment of a kind of solid state hard disc data back up method of the present invention;
The embodiment of the invention such as the embodiment one same dual-port SSD:SSD that adopts have two data interfaces on framework, data interface is used to receive and dispatch data or the order from main frame or storage server, another data-interface is used to connect another SSD, and data are transmitted by the port that links to each other with backup SSD.Different is to be master or to be equipped with dish at the attribute that SSD can be set.
The backup flow process is as follows:
Step 201, the solid state hard disc attribute is set;
Herein, the solid state hard disc attribute is set can adopts SSD to offer the button that the user selects, for example: a button, press expression as being equipped with dish, the expression of upspringing is as master.First solid state hard disc is set to master, and second solid state hard disc is set to be equipped with dish.
Step 202, master are initiated backup, send Backup Data to being equipped with dish;
When master be equipped with dish and link to each other by data-interface after, open the backup flow process, further, can be set to be equipped with dish initiation backup request, also can be that master is directly initiated backup operation;
After master is received the backup request (or master is directly initiated backup) that is equipped with dish and sends, master will need backed up data to encapsulate according to the selected agreement of data-interface, and be sent to dish fully by data-interface.
Step 203, be equipped with the disk storage Backup Data.
Embodiment three,
See also the process flow diagram of Fig. 3 for the 3rd embodiment of a kind of solid state hard disc data back up method of the present invention;
The embodiment of the invention adopts single port SSD:SSD to have only a data port on framework, and when needs, the equipment of the SSD of needs backup is set to master, then be equipped with dish and be connected the data backup between the realization hard disk.Adopt two SSD of present embodiment can adopt external power source.
Flow process is as follows:
Step 301, when master needs Backup Data, send connection request;
When master needed Backup Data, master sent connection request to being equipped with dish.
After step 303, master coiled successful connection fully, master sent Backup Data;
Is connected with master after dish receives the connection request that master sends when being equipped with, after successful connection, master sends to be needed backed up data to arrive to be equipped with to coil.
Step 304, be equipped with the data that master that disk storage receives sends.
Master coils fully and directly can adopt serial data line (SATA, Serial AdvancedTechnology Attachment) to connect in the present embodiment.
The embodiment of the invention adopts by two SSD and directly links to each other, and it is simpler that data backup becomes, and need not to use the help by other equipment, and data transmission is faster between hard disk, and backup rate is faster.
See also the structural drawing of Fig. 4 for an embodiment of a kind of solid state hard disc data backup system of the present invention;
Comprise:
Master 401 is used to detect and coils 402 fully by the data-interface successful connection, to 402 sending Backup Datas by coiling fully of data-interface successful connection;
Coil 402 fully, be used to receive Backup Data and the storage that master 401 sends.
Further, described master 401 sends the data write orders to coil 402 fully by data-interface successful connection described, data is write describedly coil 402 fully.
In embodiments of the present invention, backup also can be coiled 402 fully and initiated by described, and successful connection back-up disk 402 sends backup request to described master 401;
After described master 401 received backup request, the agreement selected according to data-interface encapsulated Backup Data, and the Backup Data that sends after encapsulating extremely coils 402 fully.
Master 401 has two data interfaces in the embodiment of the invention on framework, first data-interface is used to receive and dispatch data or the order from main frame or storage server, second data-interface is used for connecting backup SSD, data connect further by second data that link to each other with backup SSD, see also Fig. 5, the embodiment of the invention also can adopt the SSD with two same data-interfaces to do master 401, different is to be built-in with the backup conversion equipment in described SSD, set the attribute of SSD by the described backup conversion equipment of SSD inside, promptly the residing SSD of this backup conversion equipment is set is master or coil for being equipped with by the backup conversion equipment.
Embodiment five,
See also the structural drawing of Fig. 6 for second embodiment of a kind of solid state hard disc data backup system of the present invention;
The embodiment of the invention adopts single port SSD:SSD to have only a data port on framework, on SSD, increase a backup flip flop equipment, the residing SSD of described backup flip flop equipment is automatically as master when the user opens the backup flip flop equipment, with be equipped with dish and be connected the back and send Backup Data to being equipped with dish, the data backup between the realization hard disk.In the embodiment of the invention, solid state hard disc carries out the transmission or the reception of data by built-in interface controller control interface, and storage medium is used to store data; Identical among the function of interface controller and storage medium and the embodiment four, in the narration of the embodiment of the invention, solid state hard disc is done as a wholely, wherein interface controller and storage medium do not done specifying.In the present embodiment, master 401 with coil 402 fully and have identical structure.
Master 601, be used to detect and coil 602 fully by the data-interface successful connection, receive the backup trigger message after, require to start built-in master controller according to described trigger message, send write order to coiling 602 fully by built-in master controller control interface, data are write coil 602 fully;
Coil 602 fully, be used for receiving Backup Data and the storage that master 601 sends by the built-in disk controller that is equipped with.
Embodiment six,
See also the structural drawing of Fig. 7 for an embodiment of a kind of solid state hard disc of the present invention;
Interface controller 701 is used for detecting to be equipped with to coil whether pass through the data-interface successful connection;
FLASH controller 702 is used for being equipped with dish sends storage medium stores by control interface controller after the data-interface successful connection data when described interface controller detects;
Storage medium 703 is used to store data.
Embodiment seven,
See also the structural drawing of Fig. 8 for second embodiment of a kind of solid state hard disc of the present invention;
Interface controller 801 is used for detecting to be equipped with to coil whether pass through the data-interface successful connection;
FLASH controller 802 is used for being equipped with dish sends storage medium stores by control interface controller after the data-interface successful connection data when described interface controller detects;
Storage medium 803 is used to store data;
Backup conversion equipment 804 is used to be provided with active and standby attribute, and control FLASH controller sends data when being set to master, control FLASH controller storage data when being set to coil fully.
Embodiment eight,
See also the structural drawing of Fig. 9 for the 3rd embodiment of a kind of solid state hard disc of the present invention;
Backup trigger module 901 is used to receive user instruction and generates trigger message;
Master controller 902 is used for after described backup trigger module generates trigger message, sends data to described dish fully, so that the described dish that is equipped with receives the also storage of described data by being equipped with disk controller.
Further, described solid state hard disc also comprises storage medium and FLASH controller and interface, because the storage medium of described storage medium and FLASH controller and interface and existing solid state hard disc and FLASH controller and interface do not have difference, so do not do explanation.
The embodiment of the invention adopts and controls the transmission that original interface carries out Backup Data by the master controller, need not increase any interface and can realize its data backup.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, storage medium can comprise: read storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
More than a kind of solid state hard disc data back up method that the embodiment of the invention provided and system and corresponding solid state hard disc are described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (11)

1, a kind of solid state hard disc data back up method is characterized in that, comprising:
Detect to be equipped with dish by whether successful connection of data-interface;
When successful connection, send Backup Data to the described dish that is equipped with.
2, solid state hard disc data back up method according to claim 1 is characterized in that, described detection is equipped with dish, and whether successful connection is specially by data-interface:
Detect the described dish that is equipped with and send the whether successful connection of exclusive data interface by Backup Data.
3, solid state hard disc data back up method according to claim 1 is characterized in that, whether described detection is equipped with dish and also comprises after the successful connection by data-interface:
Receive the described backup request that dish sends that is equipped with.
4, solid state hard disc data back up method according to claim 3 is characterized in that, describedly sends Backup Data and is specially to being equipped with dish:
The agreement selected according to interface encapsulates Backup Data;
Backup Data to described being equipped with that sends after encapsulating, coil.
5, a kind of solid state hard disc data backup system is characterized in that, comprising: master coils with being equipped with,
Described master is used to detect the described dish that is equipped with by whether successful connection of data-interface, to the described dish transmission Backup Data that is equipped with by described data-interface successful connection;
The described dish that is equipped with is used to receive described Backup Data and the storage that described master sends.
6, solid state hard disc data backup system according to claim 5, it is characterized in that, described master is further used for detecting the described dish that is equipped with and sends the whether successful connection of exclusive data interface by Backup Data, sends the data write order to the described dish that is equipped with after successful connection, data is write be equipped with dish.
7, solid state hard disc data backup system according to claim 5 is characterized in that, the described dish that is equipped with is used for sending backup request to described master after successful connection;
After described master also was used to receive described backup request, the agreement selected according to interface encapsulated Backup Data, and Backup Data to described being equipped with that sends after encapsulating coils.
8, solid state hard disc data backup system according to claim 7, it is characterized in that, after described master also is used to receive the backup trigger message, require to start built-in master controller according to described trigger message, send write order to the described dish that is equipped with by built-in master controller control interface, described Backup Data is write the described dish that is equipped with; The described dish that is equipped with also is used for receiving described Backup Data and the storage that described master sends by the built-in disk controller that is equipped with.
9, a kind of solid state hard disc is characterized in that, comprising:
Storage medium is used to store data;
Interface controller is used for detecting to be equipped with to coil whether pass through the data-interface successful connection;
Flash memory FLASH controller is used for being equipped with dish by after the data-interface successful connection when described interface controller detects, and control sends the data of described storage medium stores.
10, solid state hard disc according to claim 9 is characterized in that, described solid state hard disc also comprises:
The backup conversion equipment is used to be provided with active and standby attribute, controls described FLASH controller and send data when being set to master, when being set to control described FLASH controller storage data when coiling fully.
According to the described solid state hard disc of claim 10, it is characterized in that 11, described solid state hard disc also comprises:
The backup trigger module is used to receive user instruction and generates trigger message;
The master controller is used for after described backup trigger module generates trigger message, and the data that send described storage are equipped with dish to described, so that the described dish that is equipped with receives described data and storage by being equipped with disk controller.
CN2009101197798A 2009-03-26 2009-03-26 Solid state disk (SSD) and method and system for backing up data in SSDs Active CN101520742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101197798A CN101520742B (en) 2009-03-26 2009-03-26 Solid state disk (SSD) and method and system for backing up data in SSDs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101197798A CN101520742B (en) 2009-03-26 2009-03-26 Solid state disk (SSD) and method and system for backing up data in SSDs

Publications (2)

Publication Number Publication Date
CN101520742A true CN101520742A (en) 2009-09-02
CN101520742B CN101520742B (en) 2011-12-21

Family

ID=41081345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101197798A Active CN101520742B (en) 2009-03-26 2009-03-26 Solid state disk (SSD) and method and system for backing up data in SSDs

Country Status (1)

Country Link
CN (1) CN101520742B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103353856A (en) * 2013-07-02 2013-10-16 华为技术有限公司 Hard disk and method for forwarding and obtaining hard disk data
CN104699565A (en) * 2013-12-10 2015-06-10 光阳工业股份有限公司 File backup method for motorcycle tachograph
CN108696569A (en) * 2017-03-31 2018-10-23 三星电子株式会社 The system and method that data replicate are provided in NVMe-oF Ethernets SSD

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002023965A (en) * 2000-07-12 2002-01-25 Sanyo Electric Co Ltd Data storage device and data backup device
CN1477541A (en) * 2003-05-12 2004-02-25 董 崧 Method and device for directly damping file being in internal storage medium of medium equipment into external storage medium
CN2692740Y (en) * 2004-03-15 2005-04-13 元融企业有限公司 External connected hard disk structure

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103353856A (en) * 2013-07-02 2013-10-16 华为技术有限公司 Hard disk and method for forwarding and obtaining hard disk data
CN104699565A (en) * 2013-12-10 2015-06-10 光阳工业股份有限公司 File backup method for motorcycle tachograph
CN108696569A (en) * 2017-03-31 2018-10-23 三星电子株式会社 The system and method that data replicate are provided in NVMe-oF Ethernets SSD

Also Published As

Publication number Publication date
CN101520742B (en) 2011-12-21

Similar Documents

Publication Publication Date Title
JP6626013B2 (en) Quick charging method, power adapter and mobile terminal
KR101209918B1 (en) Raid controller with programmable interface for a semiconductor storage device
KR101200998B1 (en) Hybrid raid controller having multi pci bus switching
CN102346779B (en) Distributed file system and master control node backup method
US20070168690A1 (en) Highly available computing platform
CN103543961A (en) PCIe-based storage extension system and method
CN101860570B (en) Method and system for backuping and restoring user data of mobile terminal
US6859896B2 (en) Adapter and method for handling errors in a data storage device converted to be accessible to multiple hosts
CN101520742B (en) Solid state disk (SSD) and method and system for backing up data in SSDs
KR101200997B1 (en) Raid controller having multi pci bus switching
CN101833522B (en) Communication method and equipment of SAS (Serial Attached SCSI) link
CN103412771A (en) Software upgrading processing method, device and system
US8312177B2 (en) System and method for dynamically configuring a target device
CN103929475A (en) Hard disk storage system of Ethernet framework and hard disk data operation method
CN105005515A (en) LAN-free backup system
KR101209924B1 (en) Two-way raid controller with programmable host interface for a semiconductor storage device
KR101209923B1 (en) Two-way raid controller for a semiconductor storage device
US11860719B2 (en) Method for implementing storage service continuity in storage system, front-end interface card, and storage system
CN106201520B (en) System reducing method and device
CN106484566B (en) NAS data backup and file fine-grained browsing recovery method based on NDMP protocol
CN210129211U (en) SD RAID storage device supporting hot plug
CN102184154B (en) System and method for realizing hot plug of equipment
CN103024087B (en) Support massive store and the system and method for ethernet communication simultaneously
CN102833096A (en) Method and device for implementation of low-cost high-availability system
CN101630237B (en) Method, device and system for controlling RAID

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: HUAWEI DIGITAL TECHNOLOGY (CHENGDU) CO., LTD.

Free format text: FORMER NAME: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: 611731 Chengdu high tech Zone, Sichuan, West Park, Qingshui River

Patentee after: HUAWEI DIGITAL TECHNOLOGIES (CHENG DU) Co.,Ltd.

Address before: 611731 Chengdu high tech Zone, Sichuan, West Park, Qingshui River

Patentee before: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220830

Address after: No. 1899 Xiyuan Avenue, high tech Zone (West District), Chengdu, Sichuan 610041

Patentee after: Chengdu Huawei Technologies Co.,Ltd.

Address before: 611731 Qingshui River District, Chengdu hi tech Zone, Sichuan, China

Patentee before: HUAWEI DIGITAL TECHNOLOGIES (CHENG DU) Co.,Ltd.