CN114115753B - Storage device, request processing method and device based on storage device - Google Patents
Storage device, request processing method and device based on storage device Download PDFInfo
- Publication number
- CN114115753B CN114115753B CN202210103831.6A CN202210103831A CN114115753B CN 114115753 B CN114115753 B CN 114115753B CN 202210103831 A CN202210103831 A CN 202210103831A CN 114115753 B CN114115753 B CN 114115753B
- Authority
- CN
- China
- Prior art keywords
- computing node
- data computing
- request
- hard disk
- communication bus
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 13
- 238000004891 communication Methods 0.000 claims abstract description 80
- 238000012545 processing Methods 0.000 claims description 76
- 238000013480 data collection Methods 0.000 claims description 41
- 238000000034 method Methods 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 8
- 230000002159 abnormal effect Effects 0.000 claims description 6
- 238000004458 analytical method Methods 0.000 claims description 2
- 238000013461 design Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single 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)
- Stored Programmes (AREA)
Abstract
The application discloses a storage device, and a request processing method and device based on the storage device. The storage device includes: the controller is respectively connected with the master data computing node and the slave data computing nodes, the master data computing node is connected with the slave data computing nodes through a first communication bus, the master data computing node is connected with the plurality of first expansion hard disks in series through a second communication bus, the slave data computing node is connected with the plurality of second expansion hard disks in series through a third communication bus, and a plurality of different firmware are deployed in the first expansion hard disks and the second expansion hard disks. According to the embodiment of the application, the main data computing node and the slave data computing node are arranged and are respectively connected with the expansion hard disk in series, so that the main data computing node can manage all the expansion hard disks through a plurality of serial paths at the same time, and the working efficiency is improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a storage device, and a request processing method and apparatus based on the storage device.
Background
At present, the capacity of storage products is increasingly large, and the most hard disks are expected to be placed in the smallest space, so that a storage device is generated aiming at the design, an uplink port of the storage device is connected with a server mainboard, a limited space is used for storing the hard disks at the rear end, and data is stored in the hard disks, so that the basic requirement on the storage device is that the data is never lost, and a commonly used framework in the design of the storage device is that a first-level node is used for linking the server mainboard, and meanwhile, hard disk data information is collected from a second-level node and reported. The second level node is generally called a secondary node, and the secondary node is mainly used for expanding, collecting HDD information and Backplane information and directly linking the HDD Backplane.
However, in the design and test processes, the flash needs to be updated, and the purpose of firmware update or information collection can be achieved only by performing manual configuration, so that if a plurality of structures are provided, the workload of the storage device is large, and the storage device is repeatedly operated.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the application provides a storage device, a request processing method and a request processing device based on the storage device.
According to an aspect of an embodiment of the present application, there is provided a storage device, including: the controller is respectively connected with the master data computing node and the slave data computing nodes, the master data computing node is connected with the slave data computing nodes through a first communication bus, the master data computing node is connected with the first expansion hard disks in series through a second communication bus, the slave data computing nodes are connected with the second expansion hard disks in series through a third communication bus, and a plurality of different firmware are deployed in the expansion hard disks.
Further, the master data computing node is configured to receive a firmware update request issued by the controller, send the firmware update request to the slave data computing node through the first communication bus, and send the firmware update request to the first extended hard disk through the second communication bus, where the firmware update request carries a firmware identifier and update information of a target firmware to be updated;
and the first extended hard disk is used for determining a target firmware according to a firmware identifier carried in the firmware updating request and updating the target firmware by using the updating information.
Further, the slave data computing node is configured to receive the firmware update request, and send the firmware update request to the second expansion hard disk through the third communication bus;
and the second extended hard disk is used for determining a target firmware according to the firmware identification carried in the firmware updating request and updating the target firmware by using the updating information.
Further, the master data computing node is configured to receive a data collection request issued by the controller, send the data collection request to the slave data computing node through the first communication bus, and send the data collection request to the first expansion hard disk through the second communication bus, where the data collection request carries information collection conditions;
and the first expansion hard disk is used for acquiring target data meeting information collection conditions carried by the data collection request and feeding back the target data.
Further, the slave data computing node is configured to receive the data collection request, and send the data collection request to the second expansion hard disk through the third communication bus;
and the second expansion hard disk is used for acquiring target data meeting the information collection condition carried by the data collection request and feeding back the target data.
Further, the controller is configured to obtain operation data corresponding to the master data computing node, and send a switching instruction to the slave data computing node when it is determined that the master data computing node is in an abnormal state according to the operation data, so that the slave data computing node performs a service by replacing the master data computing node with the slave data computing node according to the switching instruction.
According to another aspect of the embodiments of the present application, there is also provided a storage device-based request processing method applied to a master data computing node deployed in a storage device, the method further including:
receiving a processing request issued by a controller in the storage device;
analyzing the processing request, and determining a request type corresponding to the processing request, wherein the request type comprises: a firmware update type and a data collection type;
sending the processing request to a slave data computing node through a first communication bus, and sending the processing request to a first expansion hard disk through a second communication bus, wherein the first expansion hard disk is an expansion hard disk associated with the master data computing node, the slave data computing node is used for sending the processing request to a second expansion hard disk through a third communication bus, and the second expansion hard disk is an expansion hard disk associated with the slave data computing node;
and acquiring the processing results fed back by the first expansion hard disk and the slave data computing node.
According to another aspect of the embodiments of the present application, there is also provided a request processing apparatus based on a storage device, including:
a receiving module, configured to receive a processing request issued by a controller in the storage device;
an analysis module, configured to analyze the processing request and determine a request type corresponding to the processing request, where the request type includes: a firmware update type and a data collection type;
the sending module is used for sending the processing request to a slave data computing node through a first communication bus and sending the processing request to a first expansion hard disk through a second communication bus, wherein the first expansion hard disk is an expansion hard disk associated with the master data computing node, the slave data computing node is used for sending the processing request to a second expansion hard disk through a third communication bus, and the second expansion hard disk is an expansion hard disk associated with the slave data computing node;
and the acquisition module is used for receiving the first expansion hard disk and the processing result fed back from the data computing node.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program that executes the above steps when the program is executed.
According to another aspect of the embodiments of the present application, there is also provided an electronic apparatus, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; wherein: a memory for storing a computer program; a processor for executing the steps of the method by running the program stored in the memory.
Embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the steps of the above method.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the embodiment of the application, the main data computing node and the slave data computing node are arranged and are respectively connected with the expansion hard disk in series, so that the main data computing node can manage all the expansion hard disks through a plurality of serial paths at the same time, manual operation is not needed, and the working efficiency is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic diagram of a storage device according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a memory device according to another embodiment of the present application;
fig. 3 is a flowchart of a request processing method based on a storage device according to an embodiment of the present application;
fig. 4 is a block diagram of a request processing apparatus based on a storage device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments, and the illustrative embodiments and descriptions thereof of the present application are used for explaining the present application and do not constitute a limitation to the present application. 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 application.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another similar 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 embodiment of the application provides a storage device, and a request processing method and device based on the storage device. The method provided by the embodiment of the invention can be applied to any required electronic equipment, for example, the electronic equipment can be electronic equipment such as a server and a terminal, and the method is not particularly limited herein, and is hereinafter simply referred to as electronic equipment for convenience in description.
Fig. 1 is a schematic diagram of a storage device provided in an embodiment of the present application, where the apparatus may be implemented as part of or all of an electronic device through software, hardware, or a combination of the two. As shown in fig. 1, the apparatus includes:
the system comprises a controller 100, a master data computing node 200, a slave data computing node 300 and a plurality of expansion hard disks, wherein the controller 100 is respectively connected with the master data computing node 200 and the slave data computing node 300, the master data computing node 200 is connected with the slave data computing node 300 through a first communication bus, the master data computing node 200 is connected with a plurality of first expansion hard disks 400 in series through a second communication bus, the slave data computing node 300 is connected with a plurality of second expansion hard disks 500 in series through a third communication bus, and a plurality of different firmware are deployed in the first expansion hard disks and the second expansion hard disks.
As an example, as shown in fig. 2, the controller is connected to the master data compute node EEB0 and the slave data compute node EEB0, and the master data compute node EEB0 is connected to the expansion hard disk BEB00, the expansion hard disk BEB01 and the expansion hard disk BEB02 through communication buses. The slave data computing node EEB0 is connected with the expansion hard disk BEB10, the expansion hard disk BEB11 and the expansion hard disk BEB12 through a communication bus.
In the embodiment of the application, by setting the master data computing node and the slave data computing nodes, firmware update or information collection can be performed on all the extended hard disks through a plurality of paths by using the master data computing node when firmware of the extended hard disks is updated or information is collected subsequently. No manual operation is needed, and the working efficiency is improved.
In this embodiment of the present application, the master data computing node 200 is configured to receive a firmware update request issued by the controller 100, send the firmware update request to the slave data computing node 300 through a first communication bus, and send the firmware update request to the first extended hard disk 400 through a second communication bus, where the firmware update request carries a firmware identifier and update information of a target firmware to be updated; and the first extended hard disk 400 is configured to determine a target firmware according to the firmware identifier carried in the firmware update request, and update the target firmware by using the update information.
In the embodiment of the present application, the slave data computing node 300 is configured to receive a firmware update request, and send the firmware update request to the second expansion hard disk through the third communication bus. And the second extended hard disk 500 is configured to determine a target firmware according to the firmware identifier carried in the firmware update request, and update the target firmware by using the update information.
In the embodiment of the application, due to the requirement of reliability design, each expansion hard disk is designed in a redundancy mode, all disks need to be seen under each trunk, and due to the fact that the number of the expansion hard disks is large, in the principle that consistency and omission of firmware versions are considered in later maintenance and updating, the expansion hard disks are planned on a serial link, for example, in the mode of low-speed wiring I2C/UART/SPI/JTAT and the like, a plurality of expansion hard disks are related to the serial link, and management is conducted through a data computing node.
Therefore, when the firmware of one extended hard disk is updated, other extended hard disks are updated at the same time through the path. And the condition that a certain firmware is omitted to cause inconsistent versions can not occur.
In this embodiment of the present application, the master data computing node 200 is configured to receive a data collection request issued by a controller, send the data collection request to the slave data computing node through a first communication bus, and send the data collection request to the first extended hard disk through a second communication bus, where the data collection request carries information collection conditions. The first expansion hard disk 400 is configured to acquire target data that satisfies information collection conditions carried by the data collection request, and feed back the target data.
In the embodiment of the present application, the slave data computing node 300 is configured to receive a data collection request, and send the data collection request to the second expansion hard disk through the third communication bus; and a second expansion hard disk 500, configured to acquire target data that meets information collection conditions carried by the data collection request, and feed back the target data.
In the embodiment of the application, the master data computing node can also receive a data collection request issued by the controller, wherein the data collection request carries a data type, and the data collection request is used for acquiring target data meeting the data type from data stored in the extended hard disk.
Specifically, after receiving the data collection request, the main data computing node issues the data collection request to the first expansion hard disk through the second communication bus, and at this time, the first expansion hard disk obtains first data meeting the data type from the stored data and feeds the first data back to the main data computing node. Meanwhile, the master data computing node can issue the data collection request to the slave data computing nodes through the first communication bus, and the slave data computing nodes issue the data collection request to the second expansion hard disk through the third communication bus. At this time, the second expansion hard disk acquires second data meeting the data type from the stored data, feeds the second data back to the slave data computing node, and feeds the second data back to the master data computing node by the slave data computing node. And finally, the main data computing node collects the first data and the second data to obtain target data, and the target data are fed back to the controller.
In this embodiment of the application, the controller 100 is configured to obtain operation data corresponding to the master data computing node 200, and send a switching instruction to the slave data computing node 300 when it is determined that the master data computing node 200 is in an abnormal state according to the operation data, so that the slave data computing node 300 performs a service in place of the master data computing node according to the switching instruction.
In this embodiment, the controller can also obtain the operation data of the master data computing node in real time, for example: network delay, etc. And comparing the acquired operation data with a preset operation data range, wherein the preset operation data is the operation data range of the main data computing node under the normal condition. And if the operation data falls into the preset operation data range, determining that the main data computing node is in a normal state. And if the operation data does not fall into the preset operation data range, determining that the main data computing node is in an abnormal state. And if the master data computing node is determined to be in the abnormal state, the controller sends a switching instruction to the slave data computing node, so that the slave data computing node replaces the master data computing node for service according to the switching instruction.
In the embodiment of the application, when the main data computing node is abnormally interrupted, the management and firmware upgrading of other board cards are affected, so that a redundant link design is provided, when the link applied at present is detected to be abnormal, the link is switched to the slave data computing node, and the redundant link design ensures the reliability of firmware upgrading and hard disk management information collection.
In this embodiment of the application, the primary data computing node may be further configured to obtain an operating parameter of the first extended hard disk through the first communication bus, and when it is determined that the first extended hard disk is in a failure state according to the operating parameter, the primary data computing node may send a failure processing request to the controller, so that the controller sends a failure processing policy. Meanwhile, the slave data computing node may be further configured to obtain an operating parameter of the second expansion hard disk through the second communication bus, and when it is determined that the second expansion hard disk is in a failure state according to the operating parameter, the slave data computing node may send a failure processing request to the controller through the master data computing node, so that the controller sends a failure processing policy.
According to an aspect of the embodiments of the present application, a method embodiment of a request processing method based on a storage device is provided. Fig. 3 is a flowchart of a request processing method based on a storage device according to an embodiment of the present application, and as shown in fig. 3, the method includes:
step S11, a processing request issued by the controller in the storage device is received.
The method provided by the embodiment of the application is applied to the main data computing node deployed in the storage device, and the processing request issued by the controller of the storage device can be a processing request of a firmware update type or a processing request of a data collection type. The firmware update type processing request is used for updating the firmware of the extended hard disk in the storage device. The data collection type processing request is for collecting data in an extended hard disk in a storage device.
Step S12, parsing the processing request, and determining a request type corresponding to the processing request, where the request type includes: a firmware update type and a data collection type.
In the embodiment of the application, the main data computing node analyzes the processing request and determines the request type corresponding to the processing request. Specifically, the main data computing node may analyze information content carried in the processing request to determine a request type corresponding to the processing request.
Step S13, sending the processing request to the slave data computing node through the first communication bus, and sending the processing request to the first extended hard disk through the second communication bus, where the first extended hard disk is an extended hard disk associated with the master data computing node, and the slave data computing node is configured to send the processing request to the second extended hard disk through the third communication bus, and the second extended hard disk is an extended hard disk associated with the slave data computing node.
Step S14, acquiring the first expansion hard disk and the processing result fed back from the data computing node.
In the embodiment of the application, when the request type of the processing request is a firmware update type, the processing request carries a firmware identifier and update information of the target firmware to be upgraded. And the master data computing node sends the processing request to the slave data computing node through a first communication bus and sends the processing request to the first expansion hard disk through a second communication bus, wherein the first expansion hard disk determines a target firmware according to a firmware identifier carried in the firmware updating request and updates the target firmware by using the updating information. At this time, a firmware update request is received from the data computing node and sent to the second extended hard disk through the third communication bus. And the second expansion hard disk determines the target firmware according to the firmware identification carried in the firmware updating request and updates the target firmware by using the updating information. After the firmware is updated, the first expansion hard disk and the second expansion hard disk both feed back the update result.
In the embodiment of the present application, when the request type of the processing request is a data collection type, the processing request carries an information collection condition. The master data computing node sends the processing request to the slave data computing node through the first communication bus and sends the processing request to the first expansion hard disk through the second communication bus, and the first expansion hard disk obtains target data meeting information collection conditions carried by the processing request and feeds back the target data. Receiving a processing request from the data computing node, and sending the processing request to a second expansion hard disk through a third communication bus; and the second expansion hard disk acquires target data meeting the information collection condition carried by the processing request and feeds back the target data.
In the embodiment of the application, when the request type of the processing request is the firmware update type, the processing result is the firmware update result of the first extended hard disk and the second extended hard disk.
In the embodiment of the present application, when the request type of the processing request is the data collection type, the processing result is the target data acquired from the first extended hard disk and the second extended hard disk.
Fig. 4 is a block diagram of a request processing apparatus based on a storage device according to an embodiment of the present application, where the apparatus may be implemented as part of or all of an electronic device through software, hardware, or a combination of the two. As shown in fig. 4, the apparatus includes:
the receiving module 31 is configured to receive a processing request sent by a controller in a storage device.
The parsing module 32 is configured to parse the processing request and determine a request type corresponding to the processing request, where the request type includes: a firmware update type and a data collection type.
The sending module 33 is configured to send the processing request to the slave data computing node through the first communication bus and to the first extended hard disk through the second communication bus, where the first extended hard disk is an extended hard disk associated with the master data computing node, and the slave data computing node is configured to send the processing request to the second extended hard disk through the third communication bus, and the second extended hard disk is an extended hard disk associated with the slave data computing node.
And the obtaining module 34 is configured to receive the first expansion hard disk and the processing result fed back from the data computing node.
An embodiment of the present application further provides an electronic device, as shown in fig. 5, the electronic device may include: the system comprises a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 complete communication with each other through the communication bus 1504.
A memory 1503 for storing a computer program;
the processor 1501 is configured to implement the steps of the above embodiments when executing the computer program stored in the memory 1503.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In yet another embodiment provided by the present application, a computer-readable storage medium is further provided, which has instructions stored therein, and when the instructions are executed on a computer, the instructions cause the computer to execute the storage device based request processing method according to any one of the above embodiments.
In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the storage device based request processing method of any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk), among others.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. 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 application. Thus, the present application 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 (9)
1. A storage device, comprising: the system comprises a controller, a master data computing node, a slave data computing node and a plurality of expansion hard disks, wherein the controller is respectively connected with the master data computing node and the slave data computing node, the master data computing node and the slave data computing node are connected through a first communication bus, the master data computing node is connected with the plurality of first expansion hard disks in series through a second communication bus, the slave data computing node is connected with the plurality of second expansion hard disks in series through a third communication bus, and a plurality of different firmware are deployed in the first expansion hard disks and the second expansion hard disks;
the master data computing node is configured to receive a firmware update request issued by the controller, send the firmware update request to the slave data computing node through the first communication bus, and send the firmware update request to the first extended hard disk through the second communication bus, where the firmware update request carries a firmware identifier and update information of a target firmware to be updated;
and the first extended hard disk is used for determining a target firmware according to a firmware identifier carried in the firmware updating request and updating the target firmware by using the updating information.
2. The device of claim 1, wherein the slave data computing node is configured to receive the firmware update request and send the firmware update request to the second expansion hard disk via the third communication bus;
and the second extended hard disk is used for determining a target firmware according to the firmware identification carried in the firmware updating request and updating the target firmware by using the updating information.
3. The device according to claim 1, wherein the master data computing node is configured to receive a data collection request issued by the controller, send the data collection request to the slave data computing node through the first communication bus, and send the data collection request to a first expansion hard disk through the second communication bus, where the data collection request carries information collection conditions;
and the first expansion hard disk is used for acquiring target data meeting information collection conditions carried by the data collection request and feeding back the target data.
4. The apparatus of claim 3, wherein the slave data computing node is configured to receive the data collection request and send the data collection request to the second expansion hard disk via the third communication bus;
and the second expansion hard disk is used for acquiring target data meeting the information collection condition carried by the data collection request and feeding back the target data.
5. The device according to claim 1, wherein the controller is configured to obtain operation data corresponding to the master data computing node, and send a switching instruction to the slave data computing node when it is determined that the master data computing node is in an abnormal state according to the operation data, so that the slave data computing node performs a service in place of the master data computing node according to the switching instruction.
6. A request processing method based on a storage device is applied to a main data computing node deployed in the storage device, and is characterized in that the method further comprises the following steps:
receiving a processing request issued by a controller in the storage device;
analyzing the processing request, and determining a request type corresponding to the processing request, wherein the request type comprises: a firmware update type and a data collection type;
sending the processing request to a slave data computing node through a first communication bus, and sending the processing request to a first extended hard disk through a second communication bus, wherein the first extended hard disk is an extended hard disk associated with the master data computing node, the slave data computing node is used for sending the processing request to a second extended hard disk through a third communication bus, and the second extended hard disk is an extended hard disk associated with the slave data computing node;
and acquiring the processing results fed back by the first expansion hard disk and the slave data computing node.
7. A request processing apparatus based on a storage device, comprising:
the receiving module is used for receiving a processing request sent by the controller in the storage device;
an analysis module, configured to analyze the processing request and determine a request type corresponding to the processing request, where the request type includes: a firmware update type and a data collection type;
the sending module is used for sending the processing request to a slave data computing node through a first communication bus and sending the processing request to a first extended hard disk through a second communication bus, wherein the first extended hard disk is an extended hard disk associated with a master data computing node, the slave data computing node is used for sending the processing request to a second extended hard disk through a third communication bus, and the second extended hard disk is an extended hard disk associated with the slave data computing node;
and the acquisition module is used for receiving the first expansion hard disk and the processing result fed back from the data computing node.
8. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program is operative to perform the method steps of claim 6.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus; wherein:
a memory for storing a computer program;
a processor for executing the steps of the method of claim 6 by executing a program stored in a memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210103831.6A CN114115753B (en) | 2022-01-28 | 2022-01-28 | Storage device, request processing method and device based on storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210103831.6A CN114115753B (en) | 2022-01-28 | 2022-01-28 | Storage device, request processing method and device based on storage device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114115753A CN114115753A (en) | 2022-03-01 |
CN114115753B true CN114115753B (en) | 2022-04-26 |
Family
ID=80361812
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210103831.6A Active CN114115753B (en) | 2022-01-28 | 2022-01-28 | Storage device, request processing method and device based on storage device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114115753B (en) |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9378068B2 (en) * | 2013-03-13 | 2016-06-28 | International Business Machines Corporation | Load balancing for a virtual networking system |
EP4202681A1 (en) * | 2015-10-13 | 2023-06-28 | Schneider Electric Industries SAS | Software defined automation system and architecture |
CN105487621A (en) * | 2015-12-09 | 2016-04-13 | 英业达科技有限公司 | Electronic device |
CN105843560B (en) * | 2016-04-08 | 2018-08-10 | 中国科学院计算技术研究所 | A kind of method and system for safeguarding the soft Raid6 consistency of master-slave mode dual control |
CN108228087B (en) * | 2016-12-21 | 2021-08-06 | 伊姆西Ip控股有限责任公司 | Apparatus for hyper-converged infrastructure |
CN111475103A (en) * | 2020-03-08 | 2020-07-31 | 苏州浪潮智能科技有限公司 | Server storage architecture based on multiple computing nodes |
CN113742142B (en) * | 2020-05-27 | 2024-03-26 | 华为技术有限公司 | Method for managing SATA hard disk by storage system and storage system |
CN113535088A (en) * | 2021-07-15 | 2021-10-22 | 深圳市安存数据技术有限公司 | Storage device, data processing method and storage system |
-
2022
- 2022-01-28 CN CN202210103831.6A patent/CN114115753B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN114115753A (en) | 2022-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8640118B2 (en) | Managing firmware on a system board | |
CN110209405B (en) | Automatic upgrading method and device for distributed system | |
CN113645085B (en) | Method and device for detecting abnormality of intelligent network card, electronic equipment and storage medium | |
WO2021157299A1 (en) | Communication device, surveillance server, and log collection method | |
CN111049928A (en) | Data synchronization method, system, electronic device and computer readable storage medium | |
CN112099825B (en) | Method, device, equipment and storage medium for upgrading component | |
CN111679888A (en) | Deployment method and device of agent container | |
CN115858221A (en) | Management method and device of storage equipment, storage medium and electronic equipment | |
CN114500305B (en) | Device monitoring method, device, storage medium and program product | |
CN109639755B (en) | Associated system server decoupling method, device, medium and electronic equipment | |
CN111752577B (en) | Upgrading method and equipment for system version | |
CN114115753B (en) | Storage device, request processing method and device based on storage device | |
US8677323B2 (en) | Recording medium storing monitoring program, monitoring method, and monitoring system | |
CN115037653B (en) | Service flow monitoring method, device, electronic equipment and storage medium | |
CN112711466B (en) | Hanging affair inspection method and device, electronic equipment and storage medium | |
CN106708541A (en) | Version upgrading processing method and apparatus | |
CN112328287B (en) | Method, device, equipment and storage medium for updating embedded equipment system | |
CN114253573A (en) | PCIe device firmware batch upgrading method, system, terminal and storage medium | |
CN112416385A (en) | Acquisition component management method and system | |
CN112148330A (en) | Target equipment system upgrading method and device | |
CN112214437A (en) | Storage device, communication method and device and computer readable storage medium | |
CN114171165B (en) | Forwarding method and system based on independent task management service | |
CN111639089B (en) | Transaction processing method, transaction processing device, electronic equipment and computer readable storage medium | |
CN116069363A (en) | Basic input/output system upgrading method and device, electronic equipment and readable medium | |
CN115827027A (en) | Data processing method, data processing device, storage medium and electronic equipment |
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 |