CN110515765A - A kind of license key acquisition methods and device, storage system - Google Patents
A kind of license key acquisition methods and device, storage system Download PDFInfo
- Publication number
- CN110515765A CN110515765A CN201910702604.3A CN201910702604A CN110515765A CN 110515765 A CN110515765 A CN 110515765A CN 201910702604 A CN201910702604 A CN 201910702604A CN 110515765 A CN110515765 A CN 110515765A
- Authority
- CN
- China
- Prior art keywords
- storage system
- license key
- characteristic
- cabinet
- acquisition
- 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
- 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/1448—Management of the data involved in backup or backup restore
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/45—Structures or tools for the administration of authentication
- G06F21/46—Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Quality & Reliability (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Storage Device Security (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of license key acquisition methods and devices, the license key of corresponding characteristic is recorded in the middle plate information of storage system cabinet, in the status information of storage system and in the backup file of storage system, method includes: that the license key of corresponding characteristic is inquired from the middle plate information of storage system cabinet when restoring storage system;If not inquiring the license key of corresponding characteristic from the middle plate information of storage system cabinet, the license key of characteristic is corresponded to from the state information acquisition of storage system;If corresponding to the license key of characteristic from the backup file acquisition of storage system to the license key of corresponding characteristic not from the state information acquisition of storage system.When software fault occurs for storage system or when hardware fault, even if causing key file destroyed, plate information, status information or backup file can restore to obtain license key from the cabinet of storage system.Invention additionally discloses a kind of storage systems.
Description
Technical field
The present invention relates to memory system technologies fields, more particularly to a kind of license key acquisition methods and device.This
Invention further relates to a kind of storage system.
Background technique
Within the storage system, the characteristic using storage system is managed using licensing, the characteristic of storage system refers to solely
The preset function except the storage basic function of storage system is stood on, user corresponds to the license key of characteristic by buying, right
Individual features are activated;And the license key that storage system is inputted according to user solves the licensing of corresponding characteristic
It is close, the use to individual features is removed when successful decryption and is limited, so that user is able to use characteristic.In general, according to a machine
Machine type data, the hardware unique identification of cabinet, these three product informations of property name of device are corresponding characteristic applies licensing, and
These three information are encrypted using Encryption Algorithm, and then generate license key.
It in the prior art, is to be recorded in license key in one key file, by reading key from key file
Data and activate corresponding characteristic, but when storage system breaks down when causing key file destroyed, will be unable to using spy
Property, the operational data that user is completed using characteristic will also lose.
Summary of the invention
In view of the above, the present invention provides a kind of license key acquisition methods and device, when storage system occur it is soft
When part failure or hardware fault, it can restore to obtain license key, can continue to using characteristic.The present invention also provides one kind
Storage system.
To achieve the above object, the invention provides the following technical scheme:
The license key of corresponding characteristic is recorded in the middle plate of storage system cabinet by a kind of license key acquisition methods
In information, in the status information of storage system and in the backup file of storage system, method includes:
When restoring storage system, the licensing for inquiring corresponding characteristic from the middle plate information of the storage system cabinet is close
Key;
If not inquiring the license key of corresponding characteristic from the middle plate information of the storage system cabinet, from described
The state information acquisition of storage system corresponds to the license key of characteristic;
If not from the state information acquisition of the storage system to the license key of corresponding characteristic, from the storage
The backup file acquisition of system corresponds to the license key of characteristic.
Preferably, the status information of the storage system is stored in arbitration disk;
The license key for corresponding to characteristic from the state information acquisition of the storage system includes: from the storage system
The license key of corresponding characteristic is obtained in arbitration disk.
Preferably, if will acquire from the state information acquisition of the storage system to the license key of corresponding characteristic
To correspondence characteristic license key be re-recorded to cabinet middle plate information in.
Preferably, if will acquire from the backup file acquisition of the storage system to the license key of corresponding characteristic
To correspondence characteristic license key be re-recorded in the middle plate information of the storage system cabinet and the storage system
In the status information of system.
Preferably, the storage system includes multiple cabinets;
Method further include: if inquiring being permitted for corresponding characteristic from the middle plate information of any one cabinet of the storage system
Key can be demonstrate,proved, then other cabinets obtain the license key of the correspondence characteristic from the cabinet.
Preferably, the method for generating the backup file of the storage system includes: when receiving backup command to described
Storage system is backed up, and the license key of corresponding characteristic is recorded, and generates backup file, or when reaching timing pair
The storage system is backed up, and is recorded the license key of corresponding characteristic, is generated backup file.
A kind of license key acquisition device, for executing above-described license key acquisition methods.
A kind of storage system, including above-described license key acquisition device.
As shown from the above technical solution, a kind of license key acquisition methods and device provided by the present invention, will correspond to
The license key of characteristic is recorded in the middle plate information of storage system cabinet, in the status information of storage system and storage system
In the backup file of system, when restoring storage system, being permitted for corresponding characteristic is inquired from the middle plate information of storage system cabinet first
Key can be demonstrate,proved, if not inquiring, the license key of characteristic is corresponded to from the state information acquisition of storage system, if still not having
It gets, then corresponds to the license key of characteristic from the backup file acquisition of storage system, in the license for obtaining corresponding characteristic
Corresponding characteristic can be activated after card key, characteristic can be continued to use.Therefore, license key acquisition methods of the present invention and
Device, by the license key of corresponding characteristic be recorded in the middle plate information of storage system cabinet, the status information of storage system and
In the backup file of storage system, when software fault or hardware fault occur for storage system, even if leading to key file quilt
Damage plate information, status information or backup file can restore to obtain license key from the cabinet of storage system, with
It can continue to using characteristic, to solve the problems, such as of the existing technology.
A kind of storage system provided by the invention, can reach above-mentioned beneficial effect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow chart of license key acquisition methods provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of storage system of the embodiment of the present invention.
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, below in conjunction with of the invention real
The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation
Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common
Technical staff's every other embodiment obtained without making creative work, all should belong to protection of the present invention
Range.
Referring to FIG. 1, Fig. 1 is a kind of flow chart of license key acquisition methods provided in an embodiment of the present invention, this reality
It applies in a license key acquisition methods, in advance believes the middle plate that the license key of corresponding characteristic is recorded in storage system cabinet
In breath, in the status information of storage system and in the backup file of storage system.
The middle plate of storage system cabinet is the hardware component of storage system, and the middle plate of cabinet is mainly used for connecting in cabinet
Controller node and each expansion card can save product export data, the middle uncontrolled device nodes break down of plate on cabinet
Influence.The license key of characteristic is recorded in the middle plate information of cabinet, so that the license key of corresponding characteristic is protected
There are the hardware views of storage system.
The status information of storage system refers to the operating condition of the software monitors storage system of storage system operation and records
Status data, status information has recorded every status data of storage system operational process.By the license of storage system characteristic
Key data record is demonstrate,proved in status information, the license key of characteristic is saved from software view.
The backup file of storage system refers to the backup file of storage system runs software, when the runs software of storage system
Backup file access pattern storage system can be utilized after destruction.The license key of storage system characteristic is recorded in backup file
In, so that the license key of characteristic to be stored in the software view of storage system.
The present embodiment license key acquisition methods the following steps are included:
S10: when restoring storage system, the licensing of corresponding characteristic is inquired from the middle plate information of the storage system cabinet
Key.
When being such as that the hardware failure of storage system or software break down due to various situations, lead to storage system
The license environment for certain characteristic of uniting destroys, and needs to restore storage system at this time, needs to restore to make the characteristic in storage system
With.
When restoring storage system, the middle plate information of storage system cabinet is inquired first, therefrom inquires being permitted for corresponding characteristic
Key can be demonstrate,proved.If the middle plate of storage system cabinet is not replaced, being permitted for corresponding characteristic can be obtained by plate from cabinet
Key can be demonstrate,proved.After the key that gets a license, can be used license key activation storage system correspondence characteristic, allow to after
It is continuous to use corresponding characteristic.
In the preferred embodiment, if storage system includes multiple cabinets, if from any one machine of the storage system
The middle plate information of cabinet inquires the license key of corresponding characteristic, then other cabinets obtain the license of the correspondence characteristic from the cabinet
Demonstrate,prove key.Referring to Figure 2, Fig. 2 is a kind of structural schematic diagram of storage system in the present embodiment, storage system includes multiple
Cabinet 20 constitutes storage cluster, which is as unit of cabinet to the activation of characteristic, and storage cluster passes through it
In licensing of the cabinet application about characteristic, each cabinet of entire storage cluster can use the licensing and right
The license key answered, in corresponding the present embodiment, even if storage cluster system is destroyed and is reconstructed, as long as no to corresponding special
Property is deactivated, after the middle plate information of any one cabinet from storage system inquires the license key of characteristic, that
Other cabinets can obtain the license key of characteristic from the cabinet, which is kept state of activation.
If the physical hardware of storage system damages, the middle plate of storage system cabinet is replaced, then slave will be unable to
Plate obtains the license key of corresponding characteristic in cabinet.
S11: if not inquiring the license key of corresponding characteristic from the middle plate information of the storage system cabinet, from
The state information acquisition of the storage system corresponds to the license key of characteristic.
If not obtaining the license key of corresponding characteristic from the middle plate of storage system cabinet, from storage system
State information acquisition corresponds to the license key of characteristic.If the physical hardware of storage system damages, middle plate is replaced, but
It is that controller node in storage system cabinet does not change, then can be from the state information acquisition of storage system to characteristic
License key.Preferably, if storage system includes multiple cabinets in the present embodiment, storage cluster is constituted, then storage system
Status information in each controller node of each cabinet be all shared, and the status information of storage system is in each control
Device node processed keeps synchronizing.
In the specific implementation, the status information of storage system can be stored in arbitration disk, correspondingly, from the storage
The license key that the state information acquisition of system corresponds to characteristic includes: that corresponding spy is obtained from the arbitration disk of the storage system
The license key of property.
Preferably, after from the state information acquisition of storage system to the license key of corresponding characteristic, pair that will acquire
It answers the license key of characteristic to be re-recorded in the middle plate information of cabinet, is believed in this way with the middle plate of synchronized update cabinet in time
License key in breath.
If the status information of storage system is lost, the state information acquisition of storage system will not pass through to spy
The license key of property.
S12: if not from the state information acquisition of the storage system to the license key of corresponding characteristic, from described
The backup file acquisition of storage system corresponds to the license key of characteristic.
If middle plate information, the status information of storage system of storage system cabinet are all lost, from storage system cabinet
Middle plate information do not get the license key of characteristic, do not get being permitted for characteristic from the status information of storage system yet
Key can be demonstrate,proved, the license key of characteristic can be corresponded to from the backup file acquisition of storage system at this time, and then utilize and get
License key activate corresponding characteristic, restore the use that characteristic is corresponded to storage system.
It can restore all status datas of storage system and storage system by the backup file of storage system.It is preferred that
, from the backup file acquisition of the storage system to the license key of corresponding characteristic after, the correspondence characteristic that will acquire
License key is re-recorded in the middle plate information of the storage system cabinet and in the status information of the storage system,
In this way with the license in the license key and storage system status information in the middle plate information of synchronized update cabinet in time
Demonstrate,prove key.
Further, in the present embodiment, the method for generating the backup file of the storage system may is that receive it is standby
The storage system is backed up when part order, the license key of corresponding characteristic is recorded, backup file is generated, thus user
Can transmitting order to lower levels at any time, storage system is backed up.Alternatively, the method for generating the backup file of storage system can be with
It is: the storage system is backed up when reaching timing, record the license key of corresponding characteristic, generates backup text
Part.Timing is set for the backup functionality of storage system in this way, storage system is backed up whenever reaching timing, is realized
Automatic backup function.
As shown in the above, the license key of characteristic is recorded in storage by the present embodiment license key acquisition methods
It is in the backup file of the middle plate information of system cabinet, the status information of storage system and storage system, the licensing of characteristic is close
Key is stored in two levels of hardware and software of storage system, is stored in three different locations of storage system, works as storage system
When software fault or hardware fault occurs, even if causing key file destroyed, it can believe plate from the cabinet of storage system
Breath, status information or backup file restore to obtain license key, to solve the problems, such as of the existing technology.
Correspondingly, the embodiment of the present invention also provides a kind of license key acquisition device, for executing above-described permitted
Key acquisition method can be demonstrate,proved.
The license key of corresponding characteristic is recorded in storage system cabinet by the present embodiment license key acquisition device
In middle plate information, in the status information of storage system and in the backup file of storage system, when restoring storage system, first
The license key that corresponding characteristic is inquired from the middle plate information of storage system cabinet, if not inquiring, from storage system
State information acquisition corresponds to the license key of characteristic, if still not getting, from the backup file acquisition of storage system
The license key of corresponding characteristic can activate corresponding characteristic after the license key for obtaining corresponding characteristic, can be after
It is continuous to use characteristic.Therefore, the license key of corresponding characteristic is recorded in storage system by the present embodiment license key acquisition device
It unites in the backup file of the middle plate information of cabinet, the status information of storage system and storage system, when software occurs for storage system
When failure or hardware fault, even if causing key file destroyed, plate information, state it can believe from the cabinet of storage system
Breath or backup file restore to obtain license key, to solve the problems, such as of the existing technology.
Correspondingly, the embodiment of the present invention also provides a kind of storage system, including above-described license key obtains dress
It sets.
The present embodiment storage system uses above-mentioned license key acquisition device, and the license key of corresponding characteristic is remembered
Record is in the backup file of the middle plate information of storage system cabinet, the status information of storage system and storage system, when storage is
System occurs software fault or when hardware fault, even if causing key file destroyed, can from the cabinet of storage system plate
Information, status information or backup file restore to obtain license key, to solve the problems, such as of the existing technology.
Detailed Jie has been carried out to a kind of license key acquisition methods provided by the present invention and device, storage system above
It continues.Used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only
It is to be used to help understand method and its core concept of the invention.It should be pointed out that for those skilled in the art
For, it without departing from the principle of the present invention, can be with several improvements and modifications are made to the present invention, these improve and repair
Decorations are also fallen within the protection scope of the claims of the present invention.
Claims (8)
1. a kind of license key acquisition methods, which is characterized in that the license key of corresponding characteristic is recorded in storage system
In the middle plate information of cabinet, in the status information of storage system and in the backup file of storage system, method includes:
When restoring storage system, the license key of corresponding characteristic is inquired from the middle plate information of the storage system cabinet;
If not inquiring the license key of corresponding characteristic from the middle plate information of the storage system cabinet, from the storage
The state information acquisition of system corresponds to the license key of characteristic;
If not from the state information acquisition of the storage system to the license key of corresponding characteristic, from the storage system
Backup file acquisition correspond to the license key of characteristic.
2. license key acquisition methods according to claim 1, which is characterized in that the status information of the storage system
It is stored in arbitration disk;
The license key for corresponding to characteristic from the state information acquisition of the storage system includes: the arbitration from the storage system
The license key of corresponding characteristic is obtained on disk.
3. license key acquisition methods according to claim 1, which is characterized in that if from the state of the storage system
For acquisition of information to the license key of corresponding characteristic, then the license key for the correspondence characteristic that will acquire is re-recorded to cabinet
Middle plate information in.
4. license key acquisition methods according to claim 1, which is characterized in that if from the backup of the storage system
To the license key of corresponding characteristic, then the license key for the correspondence characteristic that will acquire is re-recorded to described file acquisition
In the middle plate information of storage system cabinet and in the status information of the storage system.
5. license key acquisition methods according to claim 1-4, which is characterized in that the storage system packet
Include multiple cabinets;
Method further include: if inquiring the licensing of corresponding characteristic from the middle plate information of any one cabinet of the storage system
Key, then other cabinets obtain the license key of the correspondence characteristic from the cabinet.
6. license key acquisition methods according to claim 1-4, which is characterized in that generate the storage system
The method of the backup file of system includes: to back up when receiving backup command to the storage system, records corresponding characteristic
License key, generate backup file, or the storage system backed up when reaching timing, record correspondence
The license key of characteristic generates backup file.
7. a kind of license key acquisition device, which is characterized in that require the described in any item licensings of 1-6 for perform claim
Key acquisition method.
8. a kind of storage system, which is characterized in that including license key acquisition device as claimed in claim 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910702604.3A CN110515765B (en) | 2019-07-31 | 2019-07-31 | License key acquisition method and device and storage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910702604.3A CN110515765B (en) | 2019-07-31 | 2019-07-31 | License key acquisition method and device and storage system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110515765A true CN110515765A (en) | 2019-11-29 |
CN110515765B CN110515765B (en) | 2022-04-22 |
Family
ID=68623779
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910702604.3A Active CN110515765B (en) | 2019-07-31 | 2019-07-31 | License key acquisition method and device and storage system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110515765B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080034021A1 (en) * | 2001-08-20 | 2008-02-07 | Kristof De Spiegeleer | Efficient Computer File Backup System and Method |
US20120165094A1 (en) * | 2005-08-01 | 2012-06-28 | Igt | Methods and devices for authentication and licensing in a gaming network |
US20140325663A1 (en) * | 2013-04-24 | 2014-10-30 | International Business Machines Corporation | Automatic recovery of license key information |
CN104699567A (en) * | 2013-10-21 | 2015-06-10 | 国际商业机器公司 | Method and system for recovering data objects in a distributed data storage system |
CN104754005A (en) * | 2013-12-30 | 2015-07-01 | 上海格尔软件股份有限公司 | Safe backup recovery system and method based on network storage resource |
CN104866394A (en) * | 2015-06-08 | 2015-08-26 | 肖选文 | Distributed file backup method and system |
US20170230346A1 (en) * | 2016-02-08 | 2017-08-10 | Konica Minolta, Inc. | Information processing system, communication relay device, license server, program, and data recovery method |
CN108460126A (en) * | 2018-02-28 | 2018-08-28 | 郑州云海信息技术有限公司 | A kind of acquisition methods and device of the daily record of equipment cabinet server unit of memory allocation |
-
2019
- 2019-07-31 CN CN201910702604.3A patent/CN110515765B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080034021A1 (en) * | 2001-08-20 | 2008-02-07 | Kristof De Spiegeleer | Efficient Computer File Backup System and Method |
US20120165094A1 (en) * | 2005-08-01 | 2012-06-28 | Igt | Methods and devices for authentication and licensing in a gaming network |
US20140325663A1 (en) * | 2013-04-24 | 2014-10-30 | International Business Machines Corporation | Automatic recovery of license key information |
CN104699567A (en) * | 2013-10-21 | 2015-06-10 | 国际商业机器公司 | Method and system for recovering data objects in a distributed data storage system |
CN104754005A (en) * | 2013-12-30 | 2015-07-01 | 上海格尔软件股份有限公司 | Safe backup recovery system and method based on network storage resource |
CN104866394A (en) * | 2015-06-08 | 2015-08-26 | 肖选文 | Distributed file backup method and system |
US20170230346A1 (en) * | 2016-02-08 | 2017-08-10 | Konica Minolta, Inc. | Information processing system, communication relay device, license server, program, and data recovery method |
CN108460126A (en) * | 2018-02-28 | 2018-08-28 | 郑州云海信息技术有限公司 | A kind of acquisition methods and device of the daily record of equipment cabinet server unit of memory allocation |
Also Published As
Publication number | Publication date |
---|---|
CN110515765B (en) | 2022-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10887086B1 (en) | Protecting data in a storage system | |
JP6827501B2 (en) | Hot backup system, hot backup method, and computer equipment | |
US5787485A (en) | Producing a mirrored copy using reference labels | |
CN107426265A (en) | The synchronous method and apparatus of data consistency | |
US8369529B1 (en) | Re-keying based on pre-generated keys | |
CN105431862B (en) | For the key rotation of Memory Controller | |
CN101681237B (en) | Encryption device and encryption method | |
CN104765661B (en) | The multinode hot spare method of Metadata Service node in a kind of cloud storage service | |
CN103929500A (en) | Method for data fragmentation of distributed storage system | |
WO2007103141A2 (en) | Method and apparatus for providing virtual machine backup | |
CN104252485A (en) | Database management platform | |
CN109302501A (en) | A kind of industrial control data storage method based on block chain technology, apparatus and system | |
CN110830253A (en) | Key management method, device, server, system and storage medium | |
CN111158955A (en) | High-availability system based on volume replication and multi-server data synchronization method | |
CN106681865A (en) | Business recovery method and device | |
CN110515765A (en) | A kind of license key acquisition methods and device, storage system | |
CN105893176A (en) | Management method and device of network storage system | |
CN109358988A (en) | A kind of restoration methods, device, system and the readable storage medium storing program for executing of cloud Backup Data | |
CN106776152B (en) | Data backup method and device | |
CN106802839A (en) | A kind of virtual-machine data guard method driven based on block | |
CN103970624A (en) | Backup method and restoration method for identity authentication all-in-one machine | |
CN106250274A (en) | The backup method of a kind of virtual machine and device | |
CN105718761A (en) | Software probation period controlling method and device | |
JP2020135571A (en) | Computer system, computer device and lincense management method | |
US8555342B1 (en) | Providing secure access to a set of credentials within a data security mechanism of a data 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 |