CN109491604B - Method, device and system for processing hard disk drive letter repetition problem - Google Patents

Method, device and system for processing hard disk drive letter repetition problem Download PDF

Info

Publication number
CN109491604B
CN109491604B CN201811295865.XA CN201811295865A CN109491604B CN 109491604 B CN109491604 B CN 109491604B CN 201811295865 A CN201811295865 A CN 201811295865A CN 109491604 B CN109491604 B CN 109491604B
Authority
CN
China
Prior art keywords
preset number
drive
cascade
backboard
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811295865.XA
Other languages
Chinese (zh)
Other versions
CN109491604A (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811295865.XA priority Critical patent/CN109491604B/en
Publication of CN109491604A publication Critical patent/CN109491604A/en
Priority to PCT/CN2019/093357 priority patent/WO2020087955A1/en
Application granted granted Critical
Publication of CN109491604B publication Critical patent/CN109491604B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/062Securing storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/73Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information by creating or determining hardware identification, e.g. serial numbers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0674Disk device
    • G06F3/0676Magnetic disk device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device

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)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention discloses a method for processing a hard disk drive symbol repetition problem, which comprises the steps of obtaining a first preset number of first drive symbols in a rear chip in a rear backboard and a second preset number of second drive symbols in a cascade chip in a cascade backboard, wherein the first preset number is the number of hard disks managed by the rear backboard, and the second preset number is the number of hard disks managed by the cascade backboard; when the first drive letter and the second drive letter are repeated, generating a second preset number of third drive letters different from all the first drive letters; and modifying a second preset number of second drive symbols in the cascade chips in the cascade backboard into a second preset number of third drive symbols by adopting a preset language. The hard disk managed by the cascade backboard and the rear backboard has no repeated disk symbol, so that wrong data can not be read, and potential safety hazards caused by data reading errors are eliminated. The invention also discloses a device and a system for processing the hard disk drive letter repetition problem, and the beneficial effects are the same as the processing method.

Description

Method, device and system for processing hard disk drive letter repetition problem
Technical Field
The invention relates to the field of hard disks, in particular to a method for processing a hard disk drive letter repetition problem, and also relates to a device and a system for processing the hard disk drive letter repetition problem.
Background
With the development of big data technology, the requirement for the data storage capacity of a server is higher and higher, the server generally adopts a hard disk storage structure combining a front backplane and a rear backplane, the front backplane and the rear backplane need to be cascaded, the front backplane at this time is a cascaded backplane, the cascaded backplane and the rear backplane are both used for managing a plurality of hard disks, the hard disks managed by the cascaded backplane and the hard disks managed by the rear backplane have respective drive characters, and a plurality of drive characters have repeated drive characters.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a method for processing the hard disk drive character repetition problem, which reduces the probability of data reading errors and eliminates potential safety hazards; another object of the present invention is to provide a device and a system for processing hard disk drive symbol duplication problem, which reduces the probability of data reading error and eliminates the potential safety hazard.
In order to solve the above technical problem, the present invention provides a method for processing a hard disk drive letter repetition problem, comprising:
acquiring a first disk signature with a first preset number in a rear chip in a rear back plate and a second disk signature with a second preset number in a cascade chip in a cascade back plate, wherein the first preset number is the number of hard disks managed by the rear back plate, and the second preset number is the number of hard disks managed by the cascade back plate;
when the first drive letter and the second drive letter are repeated, generating a second preset number of third drive letters different from all the first drive letters;
and modifying the second drive letter with the second preset number in the cascade chip in the cascade backboard into the third drive letter with the second preset number by adopting a preset language.
Preferably, the first drive letter, the second drive letter and the third drive letter are numbers.
Preferably, all the first drive letters are:
the first preset number of digits is gradually increased from zero;
the second preset number of third drive characters different from all the first drive characters are specifically:
the second preset number of digits that are incremented one by one, wherein the smallest of the third characters is 1 greater than the largest of the first characters.
Preferably, the modifying, by using a preset language, the second disk characters of the second preset number in the cascade chip in the cascade backplane into the numbers of the second preset number that are gradually increased one by one specifically includes:
modifying the second preset number of logic ports in a mapping table of physical ports and logic ports in a cascade chip in the cascade backboard into the second preset number of digits which are gradually increased by adopting a preset method;
and the numbers of the second preset number of numbers and the numbers of the second preset number of physical ports in the mapping table are in one-to-one correspondence according to an increasing sequence, and the logical ports are the drive symbols.
Preferably, the preset language is extensible markup language XML.
In order to solve the above technical problem, the present invention further provides a device for processing hard disk drive letter repetition problem, including:
the device comprises an acquisition module, a storage module and a control module, wherein the acquisition module is used for acquiring a first disk sign with a first preset number in a rear chip in a rear backboard and a second disk sign with a second preset number in a cascade chip in a cascade backboard, the first preset number is the number of hard disks managed by the rear backboard, and the second preset number is the number of hard disks managed by the cascade backboard;
a generation module, configured to generate a second preset number of third drive letters different from all the first drive letters when there is a duplication between the first drive letter and the second drive letter;
and the modification module is used for modifying the second preset number of second drive symbols in the cascade chips in the cascade backboard into the second preset number of third drive symbols by adopting a preset language.
Preferably, the first drive letter, the second drive letter and the third drive letter are numbers.
Preferably, all the first drive letters are:
the first preset number of digits is gradually increased from zero;
the second preset number of third drive characters different from all the first drive characters are specifically:
the second preset number of digits that are incremented one by one, wherein the smallest of the third characters is 1 greater than the largest of the first characters.
Preferably, the modification module is specifically configured to:
modifying the second preset number of logic ports in a mapping table of physical ports and logic ports in a cascade chip in the cascade backboard into the second preset number of digits which are gradually increased by adopting a preset method;
and the numbers of the second preset number of numbers and the numbers of the second preset number of physical ports in the mapping table are in one-to-one correspondence according to an increasing sequence, and the logical ports are the drive symbols.
In order to solve the above technical problem, the present invention further provides a system for processing hard disk drive letter repetition problem, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of the processing method of the hard disk drive character repeating problem when the computer program is executed.
The invention provides a method for processing a hard disk drive symbol repetition problem, which comprises the steps of obtaining a first preset number of first drive symbols in a rear chip in a rear backboard and a second preset number of second drive symbols in a cascade chip in a cascade backboard, wherein the first preset number is the number of hard disks managed by the rear backboard, and the second preset number is the number of hard disks managed by the cascade backboard; when the first drive letter and the second drive letter are repeated, generating a second preset number of third drive letters different from all the first drive letters; and modifying a second preset number of second drive symbols in the cascade chips in the cascade backboard into a second preset number of third drive symbols by adopting a preset language.
Therefore, in the invention, a first disk symbol with a first preset number in a rear chip in a rear backboard and a second disk symbol with a second preset number in a cascade chip in a cascade backboard can be obtained firstly, when the first disk symbol and the second disk symbol are repeated, a third disk symbol with a second preset number different from all the first disk symbols can be generated, and finally, the second disk symbol with the second preset number in the cascade chip is modified into the third disk symbol with the second preset number by adopting a preset language.
The invention also provides a device and a system for processing the hard disk drive letter repetition problem, and the beneficial effects are the same as the processing method.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for handling a hard disk drive letter duplication problem according to the present invention;
FIG. 2 is a schematic structural diagram of a device for processing a hard disk drive letter duplication problem according to the present invention;
fig. 3 is a schematic structural diagram of a system for processing a hard disk drive letter duplication problem according to the present invention.
Detailed Description
The core of the invention is to provide a processing method for the hard disk drive symbol repetition problem, which reduces the probability of data reading error and eliminates the potential safety hazard; the invention also provides a device and a system for processing the hard disk drive letter repetition problem, which reduce the probability of data reading errors and eliminate potential safety hazards.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for processing a hard disk drive letter duplication problem according to the present invention, including:
step S1: acquiring a first preset number of first disk symbols in a rear chip in a rear back plate and a second preset number of second disk symbols in a cascade chip in a cascade back plate, wherein the first preset number is the number of hard disks managed by the rear back plate, and the second preset number is the number of hard disks managed by the cascade back plate;
specifically, the rear backplane and the cascade backplane have respective management chips, wherein the management chip in the rear backplane is a rear chip, and the management chip in the cascade backplane is a cascade chip, and can be respectively used for connecting and managing a plurality of hard disks corresponding to the rear backplane and the cascade backplane, and an important management function of the rear backplane and the cascade backplane is to manage disk identifiers of the hard disks, for example, for the cascade chip, a second preset number of hard disks managed by the cascade chip are connected to the cascade chip through physical ports on the cascade chip, each hard disk is correspondingly connected to one physical port, and for each physical port, when the cascade chip leaves a factory, a disk identifier corresponding to each physical port is already set in the cascade chip; similarly, the same applies to the rear chip in the rear backplane, and therefore, when the initial disk identifier in the two chips leaves the factory has the same disk identifier, if the rear backplane and the cascade backplane are cascaded together for use, the situation that the disk identifier is repeated occurs, and further, a problem of data reading error is caused.
Specifically, the first preset number may be a maximum value of the number of hard disks that can be managed by the rear chip, and the second preset number may be a maximum value of the number of hard disks that can be managed by the rear chip.
Of course, the first preset number may also be the number of hard disks actually connected to the rear backplane, and the second preset number may be the number of hard disks actually connected to the cascade backplane, at this time, the obtained first disk character may be a first disk character corresponding to a physical port where the rear backplane is connected to the hard disks, and the second disk character may be a second disk character corresponding to a physical port where the cascade backplane is connected to the hard disks.
Step S2: when the first drive letter and the second drive letter are repeated, generating a second preset number of third drive letters different from all the first drive letters;
specifically, a first preset number of first drive letters may be compared with a second preset number of second drive letters, and when there is a duplication between the first drive letter and the second drive letter, that is, when there is an duplication between any first drive letter and all second drive letters, a second preset number of third drive letters different from all first drive letters are generated.
Specifically, when the third drive letter is generated, there may be multiple types, for example, only the second drive letter that is repeated with the first drive letter among the second preset number of second drive letters may be replaced with the second drive letter that is different from all the first drive letters, for example, the first drive letter is 0 and 1, and the second drive letter is 0, 1, 2, 3, and 4, at this time, only 0 and 1 in the second drive letter may be modified, and the modified drive letter cannot include 0 and 1.
Of course, other types of third drive characters may also be generated, for example, the third drive character is different from all the second drive characters, and the embodiment of the present invention is not limited herein.
Step S3: and modifying a second preset number of second drive symbols in the cascade chips in the cascade backboard into a second preset number of third drive symbols by adopting a preset language.
Specifically, the second disk drive symbol with the second preset number in the cascade chip in the cascade backplane is modified into the third disk drive symbol with the second preset number, so that the modification of the repeated disk drive symbol can be realized, and the problem of the repeated disk drive symbol is solved.
During the modification, if the second disk identifier with the second preset number acquired in step S1 is the disk identifier corresponding to the physical port of the cascade backplane connected to the hard disk, the second disk identifier corresponding to the physical port of the cascade backplane connected to the hard disk may be modified during the modification.
In the embodiment of the present invention, FW in the cascaded chip may be modified when the cascaded backplane and the back backplane are not cascaded, or FW in the cascaded chip may be modified after the cascaded backplane and the back backplane are cascaded.
In addition, the cascaded backplane may also be called an extensible backplane.
The invention provides a method for processing a hard disk drive symbol repetition problem, which comprises the steps of obtaining a first preset number of first drive symbols in a rear chip in a rear backboard and a second preset number of second drive symbols in a cascade chip in a cascade backboard, wherein the first preset number is the number of hard disks managed by the rear backboard, and the second preset number is the number of hard disks managed by the cascade backboard; when the first drive letter and the second drive letter are repeated, generating a second preset number of third drive letters different from all the first drive letters; and modifying a second preset number of second drive symbols in the cascade chips in the cascade backboard into a second preset number of third drive symbols by adopting a preset language.
Therefore, in the invention, a first disk symbol with a first preset number in a rear chip in a rear backboard and a second disk symbol with a second preset number in a cascade chip in a cascade backboard can be obtained firstly, when the first disk symbol and the second disk symbol are repeated, a third disk symbol with a second preset number different from all the first disk symbols can be designed, and finally, the second disk symbol with the second preset number in the cascade chip is changed into the third disk symbol with the second preset number by adopting a preset language.
On the basis of the above-described embodiment:
in a preferred embodiment, the first drive letter, the second drive letter and the third drive letter are numbers.
Specifically, in the embodiment of the present invention, the drive letter in the digital form has the advantages of small data size, convenience in counting management, and the like.
Of course, the first character, the second character and the third character may be other types of characters besides numbers, such as letters, and the like, and the embodiments of the present invention are not limited herein.
As a preferred embodiment, all the first drive letters are:
a first preset number of digits which are gradually increased from zero;
specifically, when the backplane is shipped, the preset first characters in the internal backplane are usually numbers and are in a form of increasing one by one, such as 0, 1, 2 …, etc., which is convenient for management.
Of course, the first character may be in other forms besides the first preset number of digits that is gradually increased from zero, for example, the digits that are gradually decreased or the digits that are out of order, and the embodiment of the present invention is not limited herein.
The second preset number of third drive characters different from all the first drive characters are specifically:
and a second preset number of digits which are gradually increased, wherein the smallest third disk character is 1 larger than the largest first disk character.
Specifically, a second preset number of third disk characters different from all the first disk characters are set as a second preset number of numbers which are gradually increased, and the minimum third disk character is greater than the maximum first disk character by 1, so that all the hard disks connected to the backplane and the tandem backplane are conveniently managed, for example, the first disk characters are 0 and 1, and the third disk characters are 2 to 12, in this case, the disk characters of all the hard disks managed by the backplane and the tandem backplane in the tandem case are 13 disk characters in total, that is, represent 13 hard disks, and further, the management of the hard disks is facilitated.
Of course, the third disc may also be set in other forms, and the embodiment of the present invention is not limited herein.
As a preferred embodiment, modifying a second preset number of second drive symbols in a cascaded chip in a cascaded backplane into a second preset number of numbers that are gradually increased by using a preset language specifically includes:
modifying a second preset number of logic ports in a mapping table of physical ports and logic ports in a cascade chip in the cascade backboard into a second preset number of digits which are gradually increased by adopting a preset method;
and the numbers of the second preset number of numbers and the numbers of the second preset number of physical ports in the mapping table are in one-to-one correspondence according to the increasing sequence, and the logical ports are the drive symbols.
For better explaining the embodiments of the present invention, please refer to table 1 below, where table 1 is a mapping table of a physical port and a logical port when a cascade chip leaves a factory.
TABLE 1
Figure BDA0001851170880000081
Specifically, when the chip leaves the factory, FW inside the cascade chip specifies a corresponding relationship between a physical port (phy) on the cascade chip and a Logic port Logic, where the Logic port is a drive letter, and modifying a second drive letter preset in the cascade chip is a Logic port in the modification mapping table, and in table 1, if a first drive letter in a post-chip is 0 and 1, a second preset number of generated numbers that are gradually increased one by one is 2 to 15, and it is only necessary to modify a numerical value in the Logic port Logic in table 1 to 2 to 15.
The second preset number of numbers and the numbers of the second preset number of physical ports in the mapping table may all be in one-to-one correspondence according to an increasing order, the specific form may be table 2, and table 2 is the mapping table of the modified physical ports and the logical ports of the cascade chip provided by the present invention.
TABLE 2
Figure BDA0001851170880000082
Specifically, corresponding to the cascade chip in table 2, when the hard disk is connected to the physical port No. 0, the presented drive symbol may be 2, and when the hard disk is connected to the physical port No. 1, the presented drive symbol may be 3, and so on, which is more convenient for managing the hard disk.
Of course, besides the modification method in the embodiment of the present invention, the mapping table may be modified in other manners, and the embodiment of the present invention is not limited herein.
As a preferred embodiment, the predetermined Language is XML (Extensible Markup Language).
Specifically, the XML has the advantages of strong friendliness, simple structure and the like.
Of course, the second drive symbol may be modified by using other types of languages besides XML, and the embodiment of the present invention is not limited herein.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a processing apparatus for handling a hard disk drive letter duplication problem according to the present invention, including:
the system comprises an acquisition module 1, a first module and a second module, wherein the acquisition module is used for acquiring a first preset number of first disk symbols in a rear chip in a rear backboard and a second preset number of second disk symbols in a cascade chip in a cascade backboard, the first preset number is the number of hard disks managed by the rear backboard, and the second preset number is the number of hard disks managed by the cascade backboard;
a generating module 2, configured to generate a second preset number of third drive letters different from all the first drive letters when the first drive letter and the second drive letter are duplicated;
and the modifying module 3 is used for modifying a second preset number of second drive symbols in the cascade chips in the cascade backboard into a second preset number of third drive symbols by adopting a preset language.
In a preferred embodiment, the first drive letter, the second drive letter and the third drive letter are numbers.
As a preferred embodiment, all the first drive letters are:
a first preset number of digits which are gradually increased from zero;
the second preset number of third drive characters different from all the first drive characters are specifically:
and a second preset number of digits which are gradually increased, wherein the smallest third disk character is 1 larger than the largest first disk character.
As a preferred embodiment, the modification module 3 is specifically configured to:
modifying a second preset number of logic ports in a mapping table of physical ports and logic ports in a cascade chip in the cascade backboard into a second preset number of digits which are gradually increased by adopting a preset method;
and the numbers of the second preset number of numbers and the numbers of the second preset number of physical ports in the mapping table are in one-to-one correspondence according to the increasing sequence, and the logical ports are the drive symbols.
For the introduction of the processing apparatus for handling the hard disk drive identifier duplication problem provided in the embodiment of the present invention, please refer to the embodiment of the foregoing processing method, which is not described herein again.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a system for processing a hard disk drive letter duplication problem according to the present invention, including:
a memory 4 for storing a computer program;
and the processor 5 is used for realizing the steps of the processing method of the hard disk drive character repetition problem in the embodiment when executing the computer program.
For the introduction of the processing system for the hard disk drive identifier duplication problem provided in the embodiment of the present invention, please refer to the embodiment of the foregoing processing method, which is not described herein again.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for processing hard disk drive letter repetition problem is characterized by comprising the following steps:
acquiring a first disk signature with a first preset number in a rear chip in a rear back plate and a second disk signature with a second preset number in a cascade chip in a cascade back plate, wherein the first preset number is the number of hard disks managed by the rear back plate, and the second preset number is the number of hard disks managed by the cascade back plate;
when the first drive letter and the second drive letter are repeated, generating a second preset number of third drive letters different from all the first drive letters;
and modifying the second drive letter with the second preset number in the cascade chip in the cascade backboard into the third drive letter with the second preset number by adopting a preset language.
2. The processing method according to claim 1, wherein the first character, the second character, and the third character are numbers.
3. The processing method according to claim 2, wherein all the first drive characters are:
the first preset number of digits is gradually increased from zero;
the second preset number of third drive characters different from all the first drive characters are specifically:
the second preset number of digits that are incremented one by one, wherein the smallest of the third characters is 1 greater than the largest of the first characters.
4. The processing method according to claim 3, wherein the modifying the second preset number of second drive symbols in the cascaded chips in the cascaded backplane into the second preset number of numbers that are gradually increased by using a preset language is specifically:
modifying the second preset number of logic ports in a mapping table of physical ports and logic ports in a cascade chip in the cascade backboard into the second preset number of digits which are gradually increased by adopting a preset method;
and the numbers of the second preset number of numbers and the numbers of the second preset number of physical ports in the mapping table are in one-to-one correspondence according to an increasing sequence, and the logical ports are the drive symbols.
5. The processing method according to any one of claims 1 to 4, wherein the preset language is extensible markup language XML.
6. An apparatus for processing hard disk drive letter duplication problem, comprising:
the device comprises an acquisition module, a storage module and a control module, wherein the acquisition module is used for acquiring a first disk sign with a first preset number in a rear chip in a rear backboard and a second disk sign with a second preset number in a cascade chip in a cascade backboard, the first preset number is the number of hard disks managed by the rear backboard, and the second preset number is the number of hard disks managed by the cascade backboard;
a generation module, configured to generate a second preset number of third drive letters different from all the first drive letters when there is a duplication between the first drive letter and the second drive letter;
and the modification module is used for modifying the second preset number of second drive symbols in the cascade chips in the cascade backboard into the second preset number of third drive symbols by adopting a preset language.
7. The processing apparatus according to claim 6, wherein the first, second, and third characters are numbers.
8. The processing apparatus according to claim 7, wherein all of the first drive characters are:
the first preset number of digits is gradually increased from zero;
the second preset number of third drive characters different from all the first drive characters are specifically:
the second preset number of digits that are incremented one by one, wherein the smallest of the third characters is 1 greater than the largest of the first characters.
9. The processing apparatus according to claim 8, wherein the modification module is specifically configured to:
modifying the second preset number of logic ports in a mapping table of physical ports and logic ports in a cascade chip in the cascade backboard into the second preset number of digits which are gradually increased by adopting a preset method;
and the numbers of the second preset number of numbers and the numbers of the second preset number of physical ports in the mapping table are in one-to-one correspondence according to an increasing sequence, and the logical ports are the drive symbols.
10. A system for handling hard disk drive signature duplication problems, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method for processing the hard disk drive letter repetition problem according to any one of claims 1 to 5 when executing the computer program.
CN201811295865.XA 2018-11-01 2018-11-01 Method, device and system for processing hard disk drive letter repetition problem Active CN109491604B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811295865.XA CN109491604B (en) 2018-11-01 2018-11-01 Method, device and system for processing hard disk drive letter repetition problem
PCT/CN2019/093357 WO2020087955A1 (en) 2018-11-01 2019-06-27 Method, apparatus and system for processing hard disk identifier duplication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811295865.XA CN109491604B (en) 2018-11-01 2018-11-01 Method, device and system for processing hard disk drive letter repetition problem

Publications (2)

Publication Number Publication Date
CN109491604A CN109491604A (en) 2019-03-19
CN109491604B true CN109491604B (en) 2021-07-02

Family

ID=65692258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811295865.XA Active CN109491604B (en) 2018-11-01 2018-11-01 Method, device and system for processing hard disk drive letter repetition problem

Country Status (2)

Country Link
CN (1) CN109491604B (en)
WO (1) WO2020087955A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109491604B (en) * 2018-11-01 2021-07-02 郑州云海信息技术有限公司 Method, device and system for processing hard disk drive letter repetition problem

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000322327A (en) * 1999-05-10 2000-11-24 Mitsubishi Electric Corp File restoring device and information storing medium
CN104281498A (en) * 2014-09-18 2015-01-14 飞天诚信科技股份有限公司 Method for automatically restoring logical drive in windows system
CN104699423A (en) * 2015-03-13 2015-06-10 华为技术有限公司 Method and device for binding disk drive in Linux system
CN106681799A (en) * 2017-01-03 2017-05-17 北京百度网讯科技有限公司 Disk inserting method, device and system
CN107239273A (en) * 2017-05-02 2017-10-10 杭州沃趣科技股份有限公司 A kind of disk drive binding method of server

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789371A (en) * 2012-07-27 2012-11-21 曙光信息产业(北京)有限公司 Method for distributing disk identifier of hard disk
CN106469103B (en) * 2015-08-14 2019-10-18 华为软件技术有限公司 The maintaining method and device of hard disk
CN105205009B (en) * 2015-09-30 2018-05-11 华为技术有限公司 A kind of address mapping method and device based on large capacity solid-state storage
CN107239231B (en) * 2017-05-03 2020-12-04 深圳市同泰怡信息技术有限公司 Method for fixing mapping relation between disk slot position number and disk identifier
CN109491604B (en) * 2018-11-01 2021-07-02 郑州云海信息技术有限公司 Method, device and system for processing hard disk drive letter repetition problem

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000322327A (en) * 1999-05-10 2000-11-24 Mitsubishi Electric Corp File restoring device and information storing medium
CN104281498A (en) * 2014-09-18 2015-01-14 飞天诚信科技股份有限公司 Method for automatically restoring logical drive in windows system
CN104699423A (en) * 2015-03-13 2015-06-10 华为技术有限公司 Method and device for binding disk drive in Linux system
CN106681799A (en) * 2017-01-03 2017-05-17 北京百度网讯科技有限公司 Disk inserting method, device and system
CN107239273A (en) * 2017-05-02 2017-10-10 杭州沃趣科技股份有限公司 A kind of disk drive binding method of server

Also Published As

Publication number Publication date
WO2020087955A1 (en) 2020-05-07
CN109491604A (en) 2019-03-19

Similar Documents

Publication Publication Date Title
CN110704398B (en) Database migration method and device from MySQL to Oracle and computer equipment
CN108038018B (en) Extensible log data storage method and device
CN108932268B (en) Data processing method and device
WO2011149696A2 (en) Concurrent utilization of a document by multiple threads
US20140244654A1 (en) Data migration
CN110362829B (en) Quality evaluation method, device and equipment for structured medical record data
CN109918678B (en) Method and device for identifying field meaning
CN110008193A (en) Data normalization method and device
US9524475B1 (en) Presenting discriminant change history records on topology graphs
CN113300883B (en) Protocol information generation method, device and terminal equipment
JP2021535473A (en) Token matching in a large document corpus
US20110264703A1 (en) Importing Tree Structure
CN111209736A (en) Text file analysis method and device, computer equipment and storage medium
CN109491604B (en) Method, device and system for processing hard disk drive letter repetition problem
US20080077552A1 (en) Systems and methods for analyzing multiple states in one or more groups of data
CN112199935A (en) Data comparison method and device, electronic equipment and computer readable storage medium
CN112256684A (en) Report generation method, terminal equipment and storage medium
CN112732427B (en) Data processing method, system and related device based on Redis cluster
CN111339560B (en) Data isolation method, device and system
WO2019090825A1 (en) Automatic comparison method, apparatus and device for fund system testing values and storage medium
CN110059087B (en) Data attribute identification method, device and equipment in block chain type account book
CN107038022B (en) Deserialization method and deserialization device
CN111124883A (en) Test case library introduction method, system and equipment based on tree form
CN113407180B (en) Configuration page generation method, system, equipment and medium
CN110704635A (en) Conversion method and device for ternary group data in knowledge graph

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