CN109669633B - Disk control method, device, equipment and medium of distributed storage system - Google Patents

Disk control method, device, equipment and medium of distributed storage system Download PDF

Info

Publication number
CN109669633B
CN109669633B CN201811543105.6A CN201811543105A CN109669633B CN 109669633 B CN109669633 B CN 109669633B CN 201811543105 A CN201811543105 A CN 201811543105A CN 109669633 B CN109669633 B CN 109669633B
Authority
CN
China
Prior art keywords
disk
target
control interface
control
address
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
CN201811543105.6A
Other languages
Chinese (zh)
Other versions
CN109669633A (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 CN201811543105.6A priority Critical patent/CN109669633B/en
Publication of CN109669633A publication Critical patent/CN109669633A/en
Application granted granted Critical
Publication of CN109669633B publication Critical patent/CN109669633B/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/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0658Controller construction arrangements
    • 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/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a disk control method, a device, equipment and a medium of a distributed storage system. The method comprises the following steps: receiving a disk address and operation contents transmitted by a user through a preset unified control interface; acquiring the disk type of the corresponding target disk according to the disk address; calling a target control interface corresponding to the type of the disk to establish a control relation of the target disk; and executing the operation content on the target disk based on the target control interface. In the method, the user can call the corresponding target control interface to the target disk required to be controlled by the user only by calling the uniform control interface to transmit the disk address and the operation content, so that the operation complexity of the user in controlling the disk of the distributed storage system is relatively reduced, the labor cost is relatively reduced, and the user experience is improved. In addition, the invention also provides a disk control device, equipment and a medium of the distributed storage system, and the beneficial effects are as above.

Description

Disk control method, device, equipment and medium of distributed storage system
Technical Field
The present invention relates to the field of data storage, and in particular, to a method, an apparatus, a device, and a medium for controlling a disk of a distributed storage system.
Background
With the advent of the big data era, data tends to have a high added value, and therefore secure storage of data is a major concern in the field of data storage.
The distributed storage system effectively ensures the overall reliability of large-scale data access, and because the distributed storage system dispersedly stores data on a plurality of independent devices and further utilizes a plurality of storage servers to share the storage load, the reliability, the availability and the access efficiency of the system are improved, and the system is easy to expand.
The distributed storage system is composed of a plurality of physical equipment nodes on a bottom layer physical structure, and each physical equipment node comprises a plurality of physical disks. Because there are many disk designers and different operating interfaces of disk products from different designers, the operating interfaces adopted by users to control the disk products of different designers are different from each other. In an actual production environment, disks accessed in physical device nodes in a distributed storage cluster are not all disk products of the same design manufacturer, so that when a user controls a disk of a certain physical device node in a distributed storage system, for example, a certain disk lamp is turned on to perform disk positioning, or the disk is loaded and quitted, the user is required to call multiple operation interfaces in a manual mode, but in an actual scene, the number of disks in the physical device node is relatively large, so that the user needs to repeatedly replace the operation interfaces to realize control over the disks, and therefore the user has relatively complex disk control over the distributed storage system, relatively large labor cost and poor user experience.
Therefore, the method for controlling the disk of the distributed storage system is provided to relatively reduce the operation complexity of the user in controlling the disk of the distributed storage system, so as to relatively reduce the labor cost and improve the user experience, which is a problem to be solved by the technical staff in the field.
Disclosure of Invention
The invention aims to provide a disk control method, a disk control device, disk control equipment and a disk control medium of a distributed storage system, so that the operation complexity of a user in controlling a disk of the distributed storage system is relatively reduced, the labor cost is relatively reduced, and the user experience is improved.
To solve the above technical problem, the present invention provides a disk control method for a distributed storage system, including:
receiving a disk address and operation contents transmitted by a user through a preset unified control interface;
acquiring the disk type of the corresponding target disk according to the disk address;
calling a target control interface corresponding to the type of the disk to establish a control relation of the target disk;
and executing the operation content on the target disk based on the target control interface.
Preferably, the step of calling a target control interface corresponding to the disk type to establish a control relationship for the target disk specifically includes:
and instantiating the target control interface based on the disk address to establish a control relationship to the target disk.
Preferably, after executing the operation content on the target disk based on the target control interface, the method further includes:
and when the idle time of the control relation reaches a preset threshold value, the target control interface is cancelled.
Preferably, the obtaining of the disk type of the corresponding target disk according to the disk address specifically includes:
and obtaining the disk type according to the disk address in a preset corresponding relation list.
Preferably, before obtaining the disk type of the corresponding target disk according to the disk address, the method further includes:
judging whether a corresponding target disk exists under the disk address;
if yes, executing the step of obtaining the disk type of the corresponding target disk according to the disk address;
otherwise, sending abnormal information to the user.
In addition, the present invention also provides a disk control apparatus for a distributed storage system, comprising:
the control information receiving module is used for receiving a disk address and operation contents transmitted by a user through a preset unified control interface;
the type acquisition module is used for acquiring the disk type of the corresponding target disk according to the disk address;
the interface calling module is used for calling a target control interface corresponding to the type of the disk so as to establish a control relation of the target disk;
and the operation execution module is used for executing the operation content to the target disk based on the target control interface.
In addition, the present invention also provides a disk control device of a distributed storage system, including:
a memory for storing a computer program;
and a processor for implementing the steps of the disk control method of the distributed storage system when executing the computer program.
Furthermore, the present invention also provides a computer readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the disk control method of the distributed storage system as described above.
The disk control method of the distributed storage system provided by the invention comprises the steps of firstly receiving a disk address where a target disk is located and operation contents of the target disk, which are transmitted by a user through a preset unified control interface, further finding out the disk type of the corresponding target disk according to the disk address, further calling a corresponding target control interface according to the disk type, establishing a control relation of the target disk through the target control interface, and finally executing the operation contents required by the user on the target disk through the target control interface compatible with the target disk. The method is equivalent to unifying various interfaces used by the user for controlling the disk, when the user controls the disk in the distributed file system, the user can call the corresponding target control interface for the target disk required to be controlled by the user only by calling the unified control interface to transmit the disk address and the operation content, and then the target control interface is controlled to execute the operation content required by the user, so that the corresponding operation control for the target disk is realized, and the user can control each disk without repeatedly replacing the operation interface, so that the operation complexity of the user for controlling the disk of the distributed storage system is relatively reduced, the labor cost is relatively reduced, and the user experience is improved. In addition, the invention also provides a disk control device, equipment and a medium of the distributed storage system, and the beneficial effects are as above.
Drawings
In order to illustrate the embodiments of the present invention more clearly, the drawings that are needed in 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 that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a disk control method of a distributed storage system according to an embodiment of the present invention;
fig. 2 is a structural diagram of a disk control apparatus of a distributed storage system according to an embodiment of the present invention.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without any creative work belong to the protection scope of the present invention.
The core of the invention is to provide a disk control method of a distributed storage system, so as to relatively reduce the operation complexity when a user controls the disk of the distributed storage system, thereby relatively reducing the labor cost and improving the user experience. The other core of the invention is to provide a disk control device, equipment and medium of the distributed storage system.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Implement method
Fig. 1 is a flowchart of a disk control method of a distributed storage system according to an embodiment of the present invention. Referring to fig. 1, the specific steps of the disk control method of the distributed storage system include:
step S10: and receiving a disk address and operation contents transmitted by a user through a preset unified control interface.
It is emphasized that the steps in the method are not performed manually by a user, and the execution subject of the method is a computing device, and the computing device takes the execution steps of the method as preset execution logic and executes the execution logic automatically in the form of software or scripts. The computing device may be specifically a computer, a server, a mobile terminal, or the like, and needs to have a data processing capability, and on this basis, the data processing capability may be determined according to an actual scene requirement, which is not further limited herein.
In this step, the nature of the unified control interface is API (application programming interface), which contains some predefined functions for the purpose of providing the user with the ability to access and control certain software or hardware without accessing the source code or understanding the details of the internal working mechanism. The step responds to the calling of the user through the unified control interface provided for the user, when the user needs to control the disk in the distributed storage system, the unified control interface is called, the disk address and the operation content are transmitted to the unified control interface, and then a series of subsequent steps are essentially execution logic inside the unified control interface. The disk address in the step refers to a physical address or a logical address which can uniquely represent the position of the disk in the communication process, so that the corresponding target disk can be accurately found according to the disk address; the operation content represents the specific operation performed by the user on the target disk, and since the method is not focused on controlling what kind of operation is performed on the disk, the method is not specifically limited to the operation content.
Step S11: and acquiring the disk type of the corresponding target disk according to the disk address.
It should be noted that, on the basis that the corresponding target disk can be obtained through the disk address, since the disks constituting the storage type storage cluster may come from different design vendors, and then there is a case that the operation interfaces of the disks of different design vendors are incompatible, it is necessary to call the corresponding operation interfaces to control the disks of different design vendors, and the disk type representation in this step is the design vendor to which the target disk belongs. In the process of communicating with the disk, the disk can return the relevant attribute information of the disk to the communication initiating device, so that the acquisition of the disk type corresponding to the target disk according to the disk address can specifically initiate a communication request to the disk address in advance, and further acquire response data containing the relevant attribute information of the disk returned by the target disk under the disk address, so that the disk type to which the target disk belongs is correspondingly acquired according to the attribute information in the response data.
Step S12: and calling a target control interface corresponding to the disk type to establish a control relation of the target disk.
The target control interface in this step is an inherent control interface of the target disk, and since the corresponding and inherent control interface of the target disk needs to be used when the target disk of different disk types is controlled, the step calls the target control interface corresponding to the disk type to establish the control relationship of the target disk. Since the details of the specific operation for calling the control interface of the disk are well known to those skilled in the art, they are not described herein.
Step S13: and executing the operation content on the target disk based on the target control interface.
It should be noted that, because the control interface of the disk includes a series of control functions invoked when the disk is controlled correspondingly, in this step, after the control relationship to the target disk is established through the target control interface, the target control function corresponding to the operation content transmitted by the user is selected from the control functions preset by the target control interface and executed, so as to implement the execution of the operation content expected by the user on the target disk based on the target control interface.
The disk control method of the distributed storage system provided by the invention comprises the steps of firstly receiving a disk address where a target disk is located and operation contents of the target disk, which are transmitted by a user through a preset unified control interface, further finding out the disk type of the corresponding target disk according to the disk address, further calling a corresponding target control interface according to the disk type, establishing a control relation of the target disk through the target control interface, and finally executing the operation contents required by the user on the target disk through the target control interface compatible with the target disk. The method is equivalent to unifying various interfaces used by the user for controlling the disk, when the user controls the disk in the distributed file system, the user can call the corresponding target control interface for the target disk required to be controlled by the user only by calling the unified control interface to transmit the disk address and the operation content, and then the target control interface is controlled to execute the operation content required by the user, so that the corresponding operation control for the target disk is realized, and the user can control each disk without repeatedly replacing the operation interface, so that the operation complexity of the user for controlling the disk of the distributed storage system is relatively reduced, the labor cost is relatively reduced, and the user experience is improved.
Example two
On the basis of the above examples, the present invention also provides a series of preferred embodiments as follows.
As a preferred embodiment, the calling a target control interface corresponding to a disk type to establish a control relationship for a target disk specifically includes:
and instantiating the target control interface based on the disk address to establish a control relationship to the target disk.
In the present embodiment, the target control interface is instantiated based on the disk address, and the disk address is essentially used as an input parameter of the target control interface, so that the target control interface is set as a control interface facing the target disk. In view of the fact that the same target control interface may need to be used by multiple users at the same time, the embodiment adopts a method of instantiating the target control interface, and when the target control interface needs to be used by a user, the target control interface is instantiated, so that when the target control interface is used by multiple users at the same time, each instantiated object of the target control interface occupies different memory space in the system and is independent of each other, thereby ensuring that the target control interface can be used by multiple users at the same time, and relatively ensuring the overall calling efficiency of the user for the target control interface.
In addition, as a preferred embodiment, after executing the operation content on the target disk based on the target control interface, the method further includes:
and when the idle time of the control relation reaches a preset threshold value, the target control interface is cancelled.
Because the computing device needs to continuously occupy the communication resources between the computing device and the target disk by establishing the control relationship between the computing device and the target disk through the target control interface, after the operating content is executed on the target disk based on the target control interface, if the control relationship is still maintained, the normal establishment of the control relationship on other disks by the computing device may be influenced.
In addition, as a preferred embodiment, the obtaining of the disk type of the corresponding target disk according to the disk address specifically includes:
and obtaining the disk type according to the disk address in a preset corresponding relation list.
In consideration of initiating a communication request to a disk address in advance and further acquiring response data which is returned by a target disk under the disk address and contains the attribute information related to the target disk, the communication request to the disk address needs to be initiated in advance according to a mode of obtaining the disk type of the target disk in the response data, so that communication resources between the target disk and the disk are occupied, and in actual use, a user controls the disk relatively frequently, so that the overall frequency of initiating the communication request to the disk address is relatively high, and further, the communication resources between the target disk and the disk are probably occupied in a large amount, so that the normal operation of calling a control interface and controlling the disk by a computing device is influenced, therefore, the disk address and the disk type of the corresponding target disk are recorded in a preset corresponding relation list in the embodiment, and further, the corresponding disk type can be obtained according to the disk address in the corresponding relation list, the occupation of communication resources between the computing equipment and the disk is reduced, and the normal operation of controlling the disk by the computing equipment is ensured.
In addition, on the basis of the above series of embodiments, as a preferred embodiment, before acquiring the disk type of the corresponding target disk according to the disk address, the method further includes:
judging whether a corresponding target disk exists under the disk address;
if yes, executing the step of obtaining the disk type of the corresponding target disk according to the disk address;
otherwise, sending abnormal information to the user.
It should be noted that, in consideration of the fact that a user may have a misoperation when inputting a disk address, the user may not be able to correspond to a corresponding target disk according to the disk address, in order to ensure that the user can learn that an exception exists in this case, in this embodiment, before obtaining a disk type of a corresponding target disk according to the disk address, first, it is determined whether the corresponding target disk exists under the disk address, and if the corresponding target disk does not exist under the disk address, exception information is sent to the user to notify the user that the disk address has an error, so as to ensure that the user learns the exception and eliminates the exception in time, thereby relatively improving the overall efficiency and the use experience of the user in controlling the disks of the distributed storage system.
EXAMPLE III
In the foregoing, the embodiment of the disk control method of the distributed storage system is described in detail, and the present invention further provides a disk control apparatus of the distributed storage system corresponding to the method.
Fig. 2 is a structural diagram of a disk control apparatus of a distributed storage system according to an embodiment of the present invention. The disk control device of the distributed storage system provided by the embodiment of the invention comprises:
and the control information receiving module 10 is configured to receive a disk address and operation content transmitted by a user through a preset unified control interface.
And the type obtaining module 11 is configured to obtain a disk type of the corresponding target disk according to the disk address.
And the interface calling module 12 is configured to call a target control interface corresponding to the disk type to establish a control relationship with the target disk.
And the operation execution module 13 is configured to execute the operation content on the target disk based on the target control interface.
The disk control device of the distributed storage system provided by the invention firstly receives the disk address of the target disk and the operation content of the target disk, which are transmitted by a user through the preset uniform control interface, and then finds the disk type of the corresponding target disk according to the disk address, and then calls the corresponding target control interface according to the disk type, so that the control relation of the target disk is established through the target control interface, and finally the operation content required by the user is executed on the target disk through the target control interface compatible with the target disk. The device is equivalent to that various interfaces used by the user for controlling the disk are subjected to unified processing, when the user controls the disk in the distributed file system, the user only needs to call the unified control interface to transmit the disk address and the operation content, the target disk required to be controlled by the user can be called by the user, and then the target control interface is controlled to execute the operation content required by the user, so that the corresponding operation control on the target disk is realized, and the user can realize the control on each disk without repeatedly replacing the operation interface, so that the operation complexity of the user when controlling the disk of the distributed storage system is relatively reduced, the labor cost is relatively reduced, and the user experience is improved.
Example four
The present invention also provides a disk control device of a distributed storage system, including:
a memory for storing a computer program;
and a processor for implementing the steps of the disk control method of the distributed storage system when executing the computer program.
The disk control device of the distributed storage system provided by the invention firstly receives the disk address of the target disk and the operation content of the target disk, which are transmitted by a user through the preset uniform control interface, and then finds the disk type of the corresponding target disk according to the disk address, and then calls the corresponding target control interface according to the disk type, so that the control relation of the target disk is established through the target control interface, and finally the operation content required by the user is executed on the target disk through the target control interface compatible with the target disk. The device is equivalent to that various interfaces used by the user for controlling the disk are subjected to unified processing, when the user controls the disk in the distributed file system, the user only needs to call the unified control interface to transmit the disk address and the operation content, the target disk required to be controlled by the user can be called by the user, and then the target control interface is controlled to execute the operation content required by the user, so that the corresponding operation control on the target disk is realized, and the user can realize the control on each disk without repeatedly replacing the operation interface, so that the operation complexity of the user when controlling the disk of the distributed storage system is relatively reduced, the labor cost is relatively reduced, and the user experience is improved.
Furthermore, the present invention also provides a computer readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the disk control method of the distributed storage system as described above.
The computer readable storage medium provided by the invention firstly receives the disk address of the target disk and the operation content of the target disk, which are transmitted by a user through a preset uniform control interface, and then finds the disk type of the corresponding target disk according to the disk address, and then calls the corresponding target control interface according to the disk type, so that the control relation of the target disk is established through the target control interface, and finally the operation content required by the user is executed on the target disk through the target control interface compatible with the target disk. The computer readable storage medium is equivalent to that various interfaces used by a user to control a disk are subjected to unified processing, when the user controls the disk in a distributed file system, the user only needs to call the unified control interface to transmit a disk address and operation contents, the target disk required to be controlled by the user can be called by the user, and then the target control interface is controlled to execute the operation contents required by the user, so that the corresponding operation control on the target disk is realized, and the user can control each disk without repeatedly replacing the operation interface, so that the operation complexity of the user in controlling the disk of the distributed storage system is relatively reduced, the labor cost is relatively reduced, and the user experience is improved.
The present invention provides a method, an apparatus, a device and a medium for controlling a disk of a distributed storage system. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device, the equipment and the medium disclosed by the embodiment correspond 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 should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
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.

Claims (6)

1. A disk control method for a distributed storage system, comprising:
receiving a disk address and operation contents transmitted by a user through a preset unified control interface;
acquiring the disk type of the corresponding target disk according to the disk address;
calling a target control interface corresponding to the type of the disk to establish a control relation of the target disk;
after the control relation of the target disk is established through the target control interface, selecting and executing a target control function corresponding to the operation content in control functions preset by the target control interface so as to execute the operation content on the target disk based on the target control interface;
the calling a target control interface corresponding to the disk type to establish a control relationship of the target disk specifically comprises:
instantiating the target control interface based on the disk address to establish a control relationship to the target disk;
the obtaining of the disk type of the corresponding target disk according to the disk address specifically includes:
acquiring the disk type in a preset corresponding relation list according to the disk address;
the disk type represents a design manufacturer to which the target disk belongs, and the target control interface represents a control interface inherent to the target disk.
2. The method of claim 1, wherein after the executing the operational content to the target disk based on the target control interface, the method further comprises:
and when the idle time of the control relationship reaches a preset threshold value, the target control interface is cancelled.
3. The method according to any one of claims 1 to 2, wherein before the obtaining the disk type of the corresponding target disk according to the disk address, the method further comprises:
judging whether the corresponding target disk exists under the disk address;
if yes, executing the step of obtaining the disk type of the corresponding target disk according to the disk address;
otherwise, sending abnormal information to the user.
4. A disk control apparatus for a distributed storage system, comprising:
the control information receiving module is used for receiving a disk address and operation contents transmitted by a user through a preset unified control interface;
the type acquisition module is used for acquiring the disk type of the corresponding target disk according to the disk address;
the interface calling module is used for calling a target control interface corresponding to the type of the disk so as to establish a control relation of the target disk; the target control interface represents a control interface inherent to the target disk;
the operation execution module is used for executing the operation content on the target disk based on the target control interface;
the operation execution module is specifically configured to:
after the control relation of the target disk is established through the target control interface, selecting and executing a target control function corresponding to the operation content in control functions preset by the target control interface so as to execute the operation content on the target disk based on the target control interface;
the interface calling module is specifically configured to: instantiating the target control interface based on the disk address to establish a control relationship to the target disk;
the type obtaining module is specifically configured to:
acquiring the disk type in a preset corresponding relation list according to the disk address;
wherein the disk type indicates a design manufacturer to which the target disk belongs.
5. A disk control apparatus of a distributed storage system, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the disk control method of the distributed storage system according to any one of claims 1 to 3 when executing the computer program.
6. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, implements the steps of the disk control method of the distributed storage system according to any one of claims 1 to 3.
CN201811543105.6A 2018-12-17 2018-12-17 Disk control method, device, equipment and medium of distributed storage system Active CN109669633B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811543105.6A CN109669633B (en) 2018-12-17 2018-12-17 Disk control method, device, equipment and medium of distributed storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811543105.6A CN109669633B (en) 2018-12-17 2018-12-17 Disk control method, device, equipment and medium of distributed storage system

Publications (2)

Publication Number Publication Date
CN109669633A CN109669633A (en) 2019-04-23
CN109669633B true CN109669633B (en) 2021-11-09

Family

ID=66144846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811543105.6A Active CN109669633B (en) 2018-12-17 2018-12-17 Disk control method, device, equipment and medium of distributed storage system

Country Status (1)

Country Link
CN (1) CN109669633B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932745A (en) * 2005-09-15 2007-03-21 英业达股份有限公司 Magnetic disc array setting system and method
CN101640695A (en) * 2008-07-29 2010-02-03 英业达股份有限公司 Method for providing customization replies by using disk array
CN105468300A (en) * 2015-11-20 2016-04-06 华为技术有限公司 IP hard disc management method and device
CN106919519A (en) * 2017-01-22 2017-07-04 郑州云海信息技术有限公司 A kind of method for designing of automatic difference NVME HD vendors
CN107623591A (en) * 2017-08-28 2018-01-23 北京云集智造科技有限公司 A kind of server universal monitor method and device
US9940293B1 (en) * 2015-12-22 2018-04-10 Emc Corporation Method for efficient storage and backup of data via SCSI transport

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160162210A1 (en) * 2014-12-09 2016-06-09 Bdt Media Automation Gmbh Openstack swift interface for tape library (ossitl)

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932745A (en) * 2005-09-15 2007-03-21 英业达股份有限公司 Magnetic disc array setting system and method
CN101640695A (en) * 2008-07-29 2010-02-03 英业达股份有限公司 Method for providing customization replies by using disk array
CN105468300A (en) * 2015-11-20 2016-04-06 华为技术有限公司 IP hard disc management method and device
US9940293B1 (en) * 2015-12-22 2018-04-10 Emc Corporation Method for efficient storage and backup of data via SCSI transport
CN106919519A (en) * 2017-01-22 2017-07-04 郑州云海信息技术有限公司 A kind of method for designing of automatic difference NVME HD vendors
CN107623591A (en) * 2017-08-28 2018-01-23 北京云集智造科技有限公司 A kind of server universal monitor method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Collaborative Memory Pool in Cluster System;Nan Wang;《 2007 International Conference on Parallel Processing (ICPP 2007)》;20071015;全文 *
英特尔和行业厂商开创全新存储接口CE-ATA针对手持设备和家电设备的独有要求而精心定制;佚名;《电子与电脑》;20041031(第10期);全文 *

Also Published As

Publication number Publication date
CN109669633A (en) 2019-04-23

Similar Documents

Publication Publication Date Title
US11226847B2 (en) Implementing an application manifest in a node-specific manner using an intent-based orchestrator
EP3620918B1 (en) Identifiers across application instances
CN109062619B (en) Method, system, device and storage medium for unified management of third-party storage equipment
US10216548B1 (en) Dynamic and adaptive programmatic interface selection (DAPIS)
WO2019015288A1 (en) Method, device and system for persistent data processing, and readable storage medium
EP3913859A1 (en) Vnf life cycle management method and apparatus
US9336020B1 (en) Workflows with API idiosyncrasy translation layers
CN113204353B (en) Big data platform assembly deployment method and device
US20210271491A1 (en) Application processing method, device, electronic device and storage medium
CN111582824B (en) Cloud resource synchronization method, device, equipment and storage medium
US20230342183A1 (en) Management method and apparatus for container cluster
US9081902B2 (en) Generalized architecture to support representation of multi-transport devices
CN116800825A (en) Calling method, device, equipment and medium based on micro-service splitting
TWI668634B (en) Software container based systems and methods for providing cloud services
US20240171668A1 (en) Method for urgently sending message, apparatus, and storage medium
CN109614271A (en) Control method, device, equipment and the storage medium of multiple company-data consistency
CN109669633B (en) Disk control method, device, equipment and medium of distributed storage system
RU2760911C2 (en) Reducing resource use by application
CN114629958B (en) Resource allocation method, device, electronic equipment and storage medium
US10223178B2 (en) Enabling WPD devices to be managed at the capability level
US11531674B2 (en) System and method for supporting rollback of changes made to target systems via an integration platform
CN112470443B (en) Isolating a reset-directed biometric device to a remote session
CN108958849B (en) Method, device, storage medium and mobile terminal for acquiring current Activity object
CN113641641A (en) Switching method, switching system, equipment and storage medium of file storage service
WO2020135350A1 (en) Network element access method and apparatus, network management platform and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant