CN108287770B - Electronic device, information processing method, and readable storage medium - Google Patents

Electronic device, information processing method, and readable storage medium Download PDF

Info

Publication number
CN108287770B
CN108287770B CN201810171646.4A CN201810171646A CN108287770B CN 108287770 B CN108287770 B CN 108287770B CN 201810171646 A CN201810171646 A CN 201810171646A CN 108287770 B CN108287770 B CN 108287770B
Authority
CN
China
Prior art keywords
hard disk
controller
control unit
reset
controlling
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
CN201810171646.4A
Other languages
Chinese (zh)
Other versions
CN108287770A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201810171646.4A priority Critical patent/CN108287770B/en
Publication of CN108287770A publication Critical patent/CN108287770A/en
Application granted granted Critical
Publication of CN108287770B publication Critical patent/CN108287770B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2211/00Indexing scheme relating to details of data-processing equipment not covered by groups G06F3/00 - G06F13/00
    • G06F2211/1097Boot, Start, Initialise, Power

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The embodiment of the invention provides electronic equipment, an information processing method and a readable storage medium, wherein the electronic equipment comprises at least one hard disk, a first controller and a second controller; the method comprises the steps that a first controller sends first indication information for controlling a control unit of a first hard disk to reset to a second controller if a response of the first hard disk in at least one hard disk is not received within a first preset time; the second controller controls the control unit of the first hard disk to reset based on the first indication information, namely, the second controller simulates the process of manually pulling the hard disk out of the electronic equipment and then inserting the hard disk into the electronic equipment (the control unit is changed from the current running state to the initial state), so that when software running in the control unit of the hard disk goes wrong, the situation where the electronic equipment is located does not need to be manually reached, and the hard disk does not need to be manually plugged and pulled out.

Description

Electronic device, information processing method, and readable storage medium
Technical Field
The present invention relates to the field of hard disk technologies, and in particular, to an electronic device, an information processing method, and a readable storage medium.
Background
The electronic device includes a hard disk, such as an SSD (Solid State drive), which is composed of a control unit and a storage unit (e.g., a FLASH chip, a DRAM chip).
The control unit may execute the program software for controlling the storage unit, and if the program software has a problem, for example, the program software falls into a dead loop during execution, the hard disk needs to be manually pulled out from the electronic device and then inserted into the electronic device.
In summary, if the program software of the hard disk has a problem, the hard disk needs to be pulled out of the electronic device and then inserted into the electronic device by a person.
Disclosure of Invention
In view of the above, the present invention provides an electronic device, an information processing method and a readable storage medium, so as to overcome the problem that in the prior art, if a program software of a hard disk has a problem, a person needs to go to the site where the electronic device is located to pull the hard disk out of the electronic device and then insert the hard disk into the electronic device.
In order to achieve the purpose, the invention provides the following technical scheme:
an electronic device, comprising:
at least one hard disk;
the first controller is used for controlling the at least one hard disk, and if a first hard disk in the at least one hard disk does not respond to a control instruction of the first controller within a first preset time, first indication information used for controlling the control unit of the first hard disk to reset is sent to the second controller;
and the second controller is used for controlling the control unit in the first hard disk to reset based on the first indication information.
The second controller is respectively connected with the first pins of the at least one hard disk;
when the second controller is executed to control the control unit of the first hard disk to reset based on the first indication information, the second controller is specifically configured to:
and controlling the electric potential of the first pin of the first hard disk to be a preset value within a second preset time, and resetting the control unit of the first hard disk when the electric potential of the first pin of the first hard disk is the preset value.
The first pins corresponding to the at least one hard disk are reserved pins, and the first pins of the at least one hard disk are connected with the reset pins of the at least one hard disk respectively.
When the first controller executes a first instruction information for controlling the control unit of the first hard disk to reset to the second controller if the first hard disk of the at least one hard disk does not respond to the control instruction of the first controller within a first preset time, the first controller is specifically configured to:
if the first hard disk in the at least one hard disk does not respond to the control instruction of the first controller within the first preset time, sending first indication information for controlling the first hard disk to change from the power-on state to the power-off state and then from the power-off state to the power-on state to the second controller.
The second controller is respectively connected with a power supply pin which is used for being connected with a power supply in the at least one hard disk;
when the second controller executes the control of resetting the control unit in the first hard disk based on the first indication information, the second controller is specifically configured to:
controlling a power supply pin of the first hard disk to be at a low level, so that the first hard disk is changed from a power-on state to a power-off state;
and controlling a power supply pin of the first hard disk to be at a high level, so that the first hard disk is changed from a power-off state to a power-on state.
Wherein the first controller is further configured to:
and storing second indication information for bearing the data transmission progress of the first hard disk and the first controller.
Wherein the first controller is further configured to:
and after the control unit of the first hard disk is reset, sending the second indication information to the first hard disk, so that the first hard disk performs data transmission with the first controller based on the data transmission progress.
An information processing method applied to an electronic device including at least one hard disk, the information processing method comprising:
if a first hard disk in the at least one hard disk does not respond to the control instruction of the first controller within a first preset time, generating first indication information for controlling the control unit of the first hard disk to reset;
and controlling the control unit of the first hard disk to reset based on the first indication information.
An electronic device, comprising:
the generating module is used for generating first indication information for controlling the resetting of a control unit of a first hard disk if the first hard disk in the at least one hard disk does not respond to a control instruction of the first controller within a first preset time;
and the control module is used for controlling the control unit of the first hard disk to reset based on the first indication information.
A readable storage medium on which a computer program is stored, characterized in that the computer program, when being executed by a processor, carries out the steps of the information processing method according to any one of the preceding claims.
As can be seen from the foregoing technical solutions, compared with the prior art, an embodiment of the present invention provides an electronic device, which includes at least one hard disk, a first controller and a second controller, where if a response of the first hard disk of the at least one hard disk is not received within a first preset time, the first controller sends, to the second controller, first indication information for controlling a control unit of the first hard disk to reset; the second controller controls the control unit of the first hard disk to reset based on the first indication information, namely, the second controller simulates the process of manually pulling the hard disk out of the electronic equipment and then inserting the hard disk into the electronic equipment (the control unit is changed from the current running state to the initial state), so that when software running in the control unit of the hard disk goes wrong, the situation where the electronic equipment is located does not need to be manually reached, and the hard disk does not need to be manually plugged and pulled out.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a block diagram of an implementation manner of an electronic device according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a second controller connected to the at least one hard disk according to an embodiment of the present invention;
fig. 3 is a block diagram of a specific implementation manner of an electronic device according to an embodiment of the present invention;
fig. 4 is a flowchart of an information processing method applied to an electronic device according to an embodiment of the present invention;
fig. 5 is a block diagram of an implementation manner of an electronic device 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, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a block diagram of an implementation manner of an electronic device provided in an embodiment of the present invention is shown, where the electronic device includes:
at least one hard disk 11; a first controller 12 and a second controller 13, wherein:
the first controller 12 is configured to control the at least one hard disk, and send first indication information for controlling the control unit 111 of the first hard disk 11 to reset to the second controller 13 if the first hard disk 11 of the at least one hard disk 11 does not respond to the control instruction of the first controller 12 within a first preset time.
The first preset time may be determined based on practical situations, and is not limited herein.
In the at least one hard disk 11, each hard disk may be a Solid State drive (Solid State drive), the Solid State drive is a hard disk manufactured by using a Solid State electronic memory chip array, and the Solid State drive includes: the device comprises a control unit and a storage unit, wherein the storage unit can be a FLASH chip or a DRAM chip.
In an alternative embodiment, the at least one hard disk 11 may be combined in different ways to form a hard disk group, such as RAID (Redundant Array of Independent Disks).
In summary, each hard disk includes a control unit and a storage unit. The control unit may control the storage unit to respond to an instruction of the first controller 12, such as a read/write request instruction, and if a problem occurs in software of the control unit, such as the software in the control unit entering a dead loop, the storage unit may not respond to the first controller 12.
Because the storage unit in the hard disk is not damaged, the hard disk can normally run only by resetting the control unit, for example, after the control unit is reset, the hard disk automatically jumps out of a dead cycle, so that the hard disk can normally run.
And a second controller 13, configured to control the control unit 111 in the first hard disk 11 to reset based on the first indication information.
The embodiment of the invention provides electronic equipment, which comprises at least one hard disk, a first controller and a second controller, wherein if the response of the first hard disk in the at least one hard disk is not received within a first preset time, the first controller sends first indication information for controlling the reset of a control unit of the first hard disk to the second controller; the second controller controls the control unit of the first hard disk to reset based on the first indication information, namely, the second controller simulates the process of manually pulling the hard disk out of the electronic equipment and then inserting the hard disk into the electronic equipment (the control unit is changed from the current running state to the initial state), so that when software running in the control unit of the hard disk goes wrong, the situation where the electronic equipment is located does not need to be manually reached, and the hard disk does not need to be manually plugged and pulled out.
In an optional embodiment, the second controller is respectively connected to the first pins of the at least one hard disk, that is, each hard disk has one first pin.
Assuming that the number of the at least one hard disk is M, wherein M is a positive integer greater than or equal to 1; the second controller may at least include M pins, and the M pins are respectively connected to the first pins of the M hard disks in a one-to-one correspondence manner.
The second controller 13 may be connected to the first pin of the at least one hard disk through a multiplexer, the first pin of the at least one hard disk is connected to the corresponding output terminal of the multiplexer, and the second controller is connected to the input terminal of the multiplexer.
Assuming that M is 4, as shown in fig. 2, a schematic diagram of the second controller connected to the at least one hard disk is provided in the embodiment of the present invention.
The second controller 13 is connected to the Y terminal (which may be an input terminal) of the multiplexer 21, and the first pin of the hard disk 1 in the four hard disks is connected to the D0 pin (which may be an output terminal of the multiplexer 21) of the multiplexer 21; the first pin of the hard disk 2 is connected with a pin D1 of the multiplexer 21 (which may be an output terminal of the multiplexer 21); the first pin of the hard disk 3 is connected with the pin D2 of the multiplexer 21, which can be an output end of the multiplexer 21); the first pin of the hard disk 4 is connected to the D3 pin of the multiplexer 21, which may be an output terminal of the multiplexer 21).
In an optional embodiment, a specific way for the second controller 13 to control the reset of the control unit of the first hard disk may be: and controlling the electric potential of the first pin of the first hard disk to be a preset value within a second preset time, wherein when the electric potential of the first pin of the first hard disk is the preset value, the control unit of the first hard disk resets.
The second preset time may be determined based on practical situations, and is not limited herein.
If the levels are normalized, the preset value may be 0 (low level) or 1 (high level).
In an alternative embodiment, each hard disk has a reserved pin, for example, table 1 is a pin schematic table of a hard disk according to an embodiment of the present invention, and table 1 shows some pins included in a hard disk.
TABLE 1 Pin schematic table of hard disk
Pin Signal Color of line Definition of
1 +3.3VDC Orange colour Direct current 3.3V positive power supply pin
2 +3.3VDC Orange colour Direct current 3.3V positive power supply pin
3 +3.3VDC Orange colour DC 3.3V positive power supply pin, pre-charged, paired with the second path
4 GND Black color Grounded, generally connected to the negative pole, paired with way 1
5 GND Black color Grounded, generally connected to the negative pole, paired with way 2
6 GND Black color Ground, normally connected to the negative pole, paired with way 3
7 +5VDC Red colour DC 5V positive power supply pin, pre-charging, pairing with the second path
8 +5VDC Red colour Direct current 5V positive power supply pin
9 +5VDC Red colour Direct current 5V positive power supply pin
10 GND Black color Grounded, generally connected to the negative pole, paired with way 2
11 Optional Black color Retention pin
12 GND Black color Grounded, generally connected to the negative pole, paired with way 1
In table 1, the pin P11 is a reserved pin of the hard disk, i.e., the first pin of each hard disk can be a reserved pin, e.g., pin P11.
In an alternative embodiment, if the first pin of each hard disk is a reserved pin, since the reserved pin is not endowed with any function, in order to make the reserved pin have the function of the reset control unit, the first pin of each hard disk is connected with its own reset pin (a pin for controlling the reset of its own control unit).
In summary, when the control unit in the first hard disk in the electronic device fails, the first hard disk does not need to be plugged, and the control unit controlling the first hard disk is only required to be reset to the initial state. During this process, the first hard disk may not be powered off.
In an optional embodiment, the second controller 13 may control the first hard disk to change from a power-on state to a power-off state, then change from the power-off state to the power-on state, that is, control the first hard disk to lose power, and then control the first hard disk to get power, so as to simulate a process that the first hard disk is unplugged from the electronic device (that is, power is lost), and the first hard disk is plugged into the electronic device (that is, power is got). And after the control unit in the first hard disk is changed from a power-off state to a power-on state, the control unit is automatically reset. At this time, the first indication information is indication information for controlling the first hard disk to change from a power-on state to a power-off state and then from the power-off state to the power-on state.
In the above case, the second controller is respectively connected to the power pins of the at least one hard disk, where the power pins are used for being connected to a power supply, and taking table 2 as an example, the power pins of each hard disk include: pin 1, pin 2, pin 3, pin 7, pin 8, and pin 9.
When the second controller 13 executes the control of resetting the control unit in the first hard disk based on the first indication information, specifically, the second controller is configured to:
controlling a power supply pin of the first hard disk to be at a low level, so that the first hard disk is changed from a power-on state to a power-off state;
and controlling a power supply pin of the first hard disk to be at a high level, so that the first hard disk is changed from a power-off state to a power-on state.
The first method controls the level of the first pin of the first hard disk to be a preset value under the condition that the first hard disk is not powered off; and secondly, controlling the first hard disk to change from a power-on state to a power-off state, and then controlling the first hard disk to change from the power-off state to the power-on state.
In an optional embodiment, in any one of the above methods of controlling the reset of the control unit of the first hard disk, the first controller 11 is further configured to: and storing second indication information for bearing the data transmission progress of the first hard disk and the first controller.
The first controller is further configured to: and after the control unit of the first hard disk is reset, sending the second indication information to the first hard disk, so that the first hard disk performs data transmission with the first controller based on the data transmission progress.
After the control unit of the first hard disk is reset, the data transmission progress between the first hard disk and the first controller is lost, so that the first hard disk repeatedly sends the data which is transmitted before to the first controller.
And the first controller sends the second indication information to the first hard disk, and the first hard disk performs data transmission with the first controller based on the data transmission progress after receiving the second indication information, so that data which are transmitted before are not repeatedly sent to the first controller.
In order to make a person skilled in the art understand the structure of the electronic device provided in the embodiment of the present invention more, a specific example is described below, and as shown in fig. 3, a block diagram of a specific implementation manner of the electronic device provided in the embodiment of the present invention is provided.
The at least one hard disk is a RAID, the first hard disk is an SSD 11 (Solid State drive), the first controller 12 is a RAID card 12, and the second controller 13 is a PSOC 13(Programmable System-On-Chip).
In an alternative embodiment, the electronic device comprises a backplane 14 on which the second controller 13 and the at least one hard disk 11 are integrated.
The RAID card 12 communicates with the PSOC 13 via an SGPIO (Serial General Purpose Input/Output).
In an optional embodiment, if the SSD 11 in the RAID 11 does not respond to the RAID card 12 for a long time, the corresponding indication register of the SSD 11 is set, so as to notify the RAID card 12 that a problem occurs in the control unit of the SSD 11; alternatively, the RAID card 12 detects that the SSD 11 does not respond to the RAID card 12 for a long time, and determines that a problem occurs in the control unit of the SSD 11.
The RAID card 12 holds data 1 (transmission data schedule) that the SSD 11 sent to itself at the latest time. The RAID card 12 generates first instruction information for controlling the reset of the control unit of the first hard disk. The RAID card 12 sends the first indication information to the PSOC 12 through the SGPIO. The PSOC 12 decodes the first indication information and controls the control unit in the SSD 11 to reset. After the SSD 11 resumes normal operation, the RAID card 12 writes the data 1 back to the buffer of the SSD 11. The SSD 11 sends the data following the data 11 to the RAID card 12.
The information processing method will be described below with reference to the configuration diagram of the electronic device.
As shown in fig. 4, a flowchart of an information processing method applied to an electronic device according to an embodiment of the present invention is provided, where the method includes:
step S401: if a first hard disk in the at least one hard disk does not respond to the control instruction of the first controller within a first preset time, generating first indication information for controlling the control unit of the first hard disk to reset;
step S402: and controlling the control unit of the first hard disk to reset based on the first indication information.
There are various implementation manners of step S402, and the embodiment of the present invention provides, but is not limited to, the following method.
The first method comprises the following steps: the second controller is respectively connected to the first pins of the at least one hard disk, and at this time, step S402 includes: and controlling the electric potential of the first pin of the first hard disk to be a preset value within a second preset time, wherein when the electric potential of the first pin of the first hard disk is the preset value, the control unit of the first hard disk resets.
In an optional embodiment, the first pins corresponding to the at least one hard disk are reserved pins, and the first pins of the at least one hard disk are connected to their own reset pins.
And the second method comprises the following steps: the first indication information is used for controlling the first hard disk to change from a power-on state to a power-off state and then from the power-off state to the power-on state, and at the moment, the second controller is respectively connected with a power supply pin which is used for being connected with a power supply in the at least one hard disk. Step S402 specifically includes: controlling a power supply pin of the first hard disk to be at a low level, so that the first hard disk is changed from a power-on state to a power-off state; and controlling a power supply pin of the first hard disk to be at a high level, so that the first hard disk is changed from a power-off state to a power-on state.
Optionally, the method further includes: and storing second indication information for bearing the data transmission progress of the first hard disk and the first controller.
Optionally, the method further includes: and after the control unit of the first hard disk is reset, sending the second indication information to the first hard disk, so that the first hard disk performs data transmission with the first controller based on the data transmission progress.
As shown in fig. 5, which is a block diagram of an implementation manner of an electronic device provided in an embodiment of the present invention, the electronic device includes:
a generating module 51, configured to generate first indication information for controlling a control unit of a first hard disk to reset if the first hard disk in the at least one hard disk does not respond to a control instruction of the first controller within a first preset time;
and a control module 52, configured to control a control unit of the first hard disk to reset based on the first indication information.
An embodiment of the present invention further provides a readable storage medium, on which a computer program is stored, where the computer program is executed by a processor, and is configured to implement each step of the information processing method according to any one of the above.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use 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 (10)

1. An electronic device, comprising:
the hard disk comprises a control unit and a storage unit;
the first controller is used for controlling the at least one hard disk, and if a first hard disk in the at least one hard disk does not respond to a control instruction of the first controller within a first preset time, first indication information used for controlling the control unit of the first hard disk to reset is sent to the second controller;
the second controller is used for controlling the control unit in the first hard disk to reset based on the first indication information, if the control unit in the first hard disk breaks down, the control unit of the first hard disk is only required to be controlled to reset, and the first hard disk does not need to be powered off.
2. The electronic device of claim 1, wherein the second controllers are respectively connected to the first pins of the at least one hard disk;
when the second controller is executed to control the control unit of the first hard disk to reset based on the first indication information, the second controller is specifically configured to:
and controlling the electric potential of the first pin of the first hard disk to be a preset value within a second preset time, and resetting the control unit of the first hard disk when the electric potential of the first pin of the first hard disk is the preset value.
3. The electronic device according to claim 2, wherein the first pins corresponding to the at least one hard disk are reserved pins, and the first pins of the at least one hard disk are connected to their own reset pins.
4. The electronic device according to claim 1, wherein when the first controller executes that if a first hard disk of the at least one hard disk does not respond to the control instruction of the first controller within a first preset time, and sends first indication information for controlling a control unit of the first hard disk to reset to a second controller, the first controller is specifically configured to:
if the first hard disk in the at least one hard disk does not respond to the control instruction of the first controller within the first preset time, sending first indication information for controlling the first hard disk to change from the power-on state to the power-off state and then from the power-off state to the power-on state to the second controller.
5. The electronic device of claim 4, wherein the second controller is respectively connected to power pins of the at least one hard disk for connecting to a power supply;
when the second controller executes the control of resetting the control unit in the first hard disk based on the first indication information, the second controller is specifically configured to:
controlling a power supply pin of the first hard disk to be at a low level, so that the first hard disk is changed from a power-on state to a power-off state;
and controlling a power supply pin of the first hard disk to be at a high level, so that the first hard disk is changed from a power-off state to a power-on state.
6. The electronic device of any of claims 1-5, wherein the first controller is further configured to:
and storing second indication information for bearing the data transmission progress of the first hard disk and the first controller.
7. The electronic device of claim 6, wherein the first controller is further configured to:
and after the control unit of the first hard disk is reset, sending the second indication information to the first hard disk, so that the first hard disk performs data transmission with the first controller based on the data transmission progress.
8. An information processing method is applied to electronic equipment, the electronic equipment comprises at least one hard disk, the hard disk comprises a control unit and a storage unit, and the information processing method comprises the following steps:
if a first hard disk in the at least one hard disk does not respond to a control instruction of a first controller within a first preset time, generating first indication information for controlling the control unit of the first hard disk to reset;
and controlling the control unit of the first hard disk to reset based on the first indication information, and if the control unit in the first hard disk fails, only controlling the control unit of the first hard disk to reset, wherein the first hard disk does not need to be powered off.
9. An electronic device, comprising:
the device comprises a generating module, a storage unit and a control unit, wherein the generating module is used for generating first indication information for controlling the reset of a control unit of a first hard disk if the first hard disk in at least one hard disk does not respond to a control instruction of a first controller within a first preset time, and the hard disk comprises the control unit and the storage unit;
and the control module is used for controlling the control unit of the first hard disk to reset based on the first indication information, if the control unit in the first hard disk fails, the control unit of the first hard disk is only required to be controlled to reset, and the first hard disk does not need to be powered off.
10. A readable storage medium on which a computer program is stored, which, when being executed by a processor, carries out the steps of the information processing method according to any one of claims 8 to 9.
CN201810171646.4A 2018-03-01 2018-03-01 Electronic device, information processing method, and readable storage medium Active CN108287770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810171646.4A CN108287770B (en) 2018-03-01 2018-03-01 Electronic device, information processing method, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810171646.4A CN108287770B (en) 2018-03-01 2018-03-01 Electronic device, information processing method, and readable storage medium

Publications (2)

Publication Number Publication Date
CN108287770A CN108287770A (en) 2018-07-17
CN108287770B true CN108287770B (en) 2020-12-18

Family

ID=62833317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810171646.4A Active CN108287770B (en) 2018-03-01 2018-03-01 Electronic device, information processing method, and readable storage medium

Country Status (1)

Country Link
CN (1) CN108287770B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032276A (en) * 2018-07-27 2018-12-18 郑州云海信息技术有限公司 A kind of hot plug device and method
CN109710323A (en) * 2018-12-28 2019-05-03 联想(北京)有限公司 A kind of control method and electronic equipment
CN112650376A (en) * 2020-11-25 2021-04-13 超越科技股份有限公司 System and method for controlling hard disk soft switch

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201302812Y (en) * 2008-11-07 2009-09-02 深圳易拓科技有限公司 Control chip of mobile hard disk
CN105760247A (en) * 2016-02-05 2016-07-13 浪潮(北京)电子信息产业有限公司 System and method for processing hard disk faults
CN106708646A (en) * 2016-12-22 2017-05-24 郑州云海信息技术有限公司 Hard disk abnormal condition automatic resetting method and device thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6851070B1 (en) * 2001-08-13 2005-02-01 Network Appliance, Inc. System and method for managing time-limited long-running operations in a data storage system
CN103034511B (en) * 2012-11-23 2016-02-24 华为技术有限公司 Changing method between a kind of Basic Input or Output System (BIOS) and device
CN103473018B (en) * 2013-09-10 2016-09-14 华为技术有限公司 hard disk and management method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201302812Y (en) * 2008-11-07 2009-09-02 深圳易拓科技有限公司 Control chip of mobile hard disk
CN105760247A (en) * 2016-02-05 2016-07-13 浪潮(北京)电子信息产业有限公司 System and method for processing hard disk faults
CN106708646A (en) * 2016-12-22 2017-05-24 郑州云海信息技术有限公司 Hard disk abnormal condition automatic resetting method and device thereof

Also Published As

Publication number Publication date
CN108287770A (en) 2018-07-17

Similar Documents

Publication Publication Date Title
CN108287770B (en) Electronic device, information processing method, and readable storage medium
EP3002677A1 (en) System and method for managing multiple bios default configurations
US20190204887A1 (en) Backup power supply method and apparatus
CN114003538B (en) Identification method of intelligent network card and intelligent network card
US10387260B2 (en) Reboot system and reboot method
CN102395980A (en) Smart card reader
KR20180086129A (en) Information processing apparatus, control method of the same, and storage medium
US20160092201A1 (en) Method and Device for Updating Program Data
US20140195697A1 (en) Apparatus and method for detecting functions of video card
CN106648016B (en) Power supply circuit, power supply equipment and power supply method
CN104850421A (en) Computer system and detection method of universal sequence bus device thereof
CN103929676A (en) Method for remotely testing functions of intelligent television board card and intelligent television board card
CN114138527A (en) Method, device and medium for improving performance of server
US9454438B2 (en) Recovery circuit for basic input-output system
CN104281459A (en) BIOS upgrading device
CN113204456A (en) Test method, tool, device and equipment for VPP interface of server
CN103853638A (en) Method for refreshing firmware and electronic equipment
CN112783721A (en) Method, device and system for monitoring I2C bus and storage medium
CN105975382B (en) A kind of alarm method that hardware configuration changes
US20180157301A1 (en) Multiport energy supply for a nonvolatile memory module
WO2019227769A1 (en) Method and apparatus for controlling storage device, and electronic device
CN112732498B (en) Test method, device, equipment and storage medium for simulating single-point power-on and power-off of equipment
CN203930839U (en) A kind of safeguard protection card for forcing hard disc of computer to start the operating system
CN107273167B (en) Control mainboard, and device and method for burning codes into control mainboard
CN114155888B (en) Hard disk power supply control device and method, computer equipment and 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