CN107220205B - Information prompting method and electronic equipment - Google Patents

Information prompting method and electronic equipment Download PDF

Info

Publication number
CN107220205B
CN107220205B CN201710355249.8A CN201710355249A CN107220205B CN 107220205 B CN107220205 B CN 107220205B CN 201710355249 A CN201710355249 A CN 201710355249A CN 107220205 B CN107220205 B CN 107220205B
Authority
CN
China
Prior art keywords
electronic device
state
electronic
pci
electronic equipment
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
CN201710355249.8A
Other languages
Chinese (zh)
Other versions
CN107220205A (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 CN201710355249.8A priority Critical patent/CN107220205B/en
Publication of CN107220205A publication Critical patent/CN107220205A/en
Application granted granted Critical
Publication of CN107220205B publication Critical patent/CN107220205B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4081Live connection to bus, e.g. hot-plugging

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure provides an information prompting method for prompting heat removal of first electronic equipment from second electronic equipment, wherein the first electronic equipment can be connected with the second electronic equipment and performs data interaction, when the second electronic equipment obtains a heat removal instruction for the first electronic equipment, connection with the second electronic equipment is stopped based on the heat removal instruction, the method comprises the steps of detecting whether the connection is in a stopped state or not, and sending a control instruction for controlling the second electronic equipment to send a prompting signal under the condition that the connection is in the stopped state, wherein the prompting signal is used for prompting that the first electronic equipment is in a removable state. The present disclosure also provides an electronic device.

Description

Information prompting method and electronic equipment
Technical Field
The disclosure relates to an information prompting method and electronic equipment.
Background
In the existing server platform, some components, such as hard disks, are not allowed to be subjected to hot removal operation, so that inconvenience is brought to the use of people. Intel introduced a new platform purley that allowed for some new heat removal operations for the components. However, the inventor finds that in the process of implementing the present invention, at least the following problem exists in the prior art, when the heat removal operation is performed under the operating system, the heat removal state cannot be prompted, so that in the case of a plurality of heat-removable devices, it is difficult for a worker to determine which device should be removed.
Disclosure of Invention
One aspect of the present disclosure provides an information prompting method for prompting heat removal of a first electronic device from a second electronic device, where the first electronic device is capable of connecting with the second electronic device and performing data interaction, and when the second electronic device obtains a heat removal instruction for the first electronic device, a connection with the second electronic device is disabled based on the heat removal instruction, where the method includes detecting whether the connection is in a disabled state, and sending a control instruction for controlling the second electronic device to send a prompt signal if the connection is in the disabled state, where the prompt signal is used to prompt the first electronic device to be in a removable state.
Optionally, the sending the control instruction for controlling the second electronic device to send the prompt signal includes sending a control instruction for controlling an indicator light associated with the first electronic device on the second electronic device to change from a normally on or blinking state to an off state.
Optionally, the connecting comprises connecting through a PCI-E channel, the connecting in the deactivated state comprising the PCI-E channel in the deactivated state.
Another aspect of the present disclosure provides an information prompting method for prompting heat removal of a first electronic device from a second electronic device, where the first electronic device is capable of connecting with the second electronic device and performing data interaction, the method includes acquiring a heat removal instruction for the first electronic device, disabling a connection between the first electronic device and the second electronic device based on the heat removal instruction, receiving a control instruction, where the control instruction is issued by the first electronic device when the first electronic device detects that the connection is in a disabled state, and issuing a prompt signal for prompting that the first electronic device is in a removable state based on the control instruction.
Optionally, the sending of the prompt signal includes controlling an indicator light associated with the first electronic device on the second electronic device to change from a normally on or blinking state to an off state.
Another aspect of the present disclosure provides an electronic device that is capable of connecting with another electronic device and performing data interaction, and when the other electronic device obtains a heat removal instruction for the electronic device, based on the heat removal instruction, disables connection with the other electronic device, the electronic device including: a memory for storing data for interacting with the other electronic devices; and the controller is used for detecting whether the connection is in a deactivated state or not, and sending out a control instruction for controlling the other electronic equipment to send out a prompt signal under the condition that the connection is in the deactivated state, wherein the prompt signal is used for prompting that the electronic equipment is in a removable state.
Optionally, the controller sends out a control instruction for controlling the other electronic devices to send out the prompt signal includes sending out a control instruction for controlling indicator lights associated with the electronic devices on the other electronic devices to change from a normally on or blinking state to an off state.
Optionally, the connecting comprises connecting through a PCI-E channel, the connecting in the deactivated state comprising the PCI-E channel in the deactivated state.
Another aspect of the present disclosure provides an electronic device capable of connecting with other electronic devices and performing data interaction, the electronic device including a processor and a memory, where the instructions stored on the memory cause the processor to obtain a heat removal instruction for the other electronic devices, disable a connection between the other electronic devices and the electronic device based on the heat removal instruction, receive a control instruction, where the control instruction is issued by the other electronic devices when the other electronic devices detect that the connection is in a disabled state, and issue a prompt signal for prompting that the other electronic devices are in a removable state based on the control instruction.
Optionally, the sending of the prompt signal by the electronic device includes controlling an indicator light associated with the other electronic device on the electronic device to change from a normally on or blinking state to an off state.
Another aspect of the disclosure provides a non-volatile storage medium storing computer-executable instructions for implementing the method as described above when executed.
Drawings
For a more complete understanding of the present disclosure and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
fig. 1 schematically illustrates an application scenario of an information prompting method according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of an information prompting method according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates an interface schematic according to an embodiment of the disclosure;
FIG. 4A schematically illustrates a partial schematic view of a second electronic device, in accordance with an embodiment of the present disclosure;
FIG. 4B schematically illustrates a partial schematic view of a second electronic device in another state according to an embodiment of the disclosure;
fig. 4C schematically illustrates a partial schematic view of a second electronic device in a third state according to an embodiment of the disclosure;
FIG. 5 schematically illustrates a flow diagram of an information prompting method according to another embodiment of the present disclosure;
FIG. 6 schematically shows a flow diagram of a first electronic device interacting with a second electronic device, in accordance with an embodiment of the present disclosure;
FIG. 7 schematically shows a block diagram of an electronic device according to an embodiment of the present disclosure; and
fig. 8 schematically shows a block diagram of an electronic device according to another embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The words "a", "an" and "the" and the like as used herein are also intended to include the meanings of "a plurality" and "the" unless the context clearly dictates otherwise. Furthermore, the terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable medium having instructions stored thereon for use by or in connection with an instruction execution system. In the context of this disclosure, a computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the instructions. For example, the computer readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. Specific examples of the computer readable medium include: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and/or wired/wireless communication links.
The embodiment of the disclosure provides an information prompting method and electronic equipment capable of applying the method. The method comprises the steps of detecting whether the connection is in a deactivated state, and sending out a control instruction for controlling the second electronic device to send out a prompt signal to prompt the first electronic device to be in a removable state to facilitate selection of a device which is removed by heat if the connection is in the deactivated state.
Fig. 1 schematically illustrates an application scenario of an information prompting method according to an embodiment of the present disclosure.
As shown in fig. 1, the scenario includes one or more first electronic devices 100 and second electronic devices 200, where the first electronic device 100 may be connected to the second electronic device 200 and perform data exchange, for example, 100A, 100B, and 100C shown in the figure are connected to the second electronic device 200.
According to the embodiment of the present disclosure, the second electronic device 200 supports the hot plug function of the first electronic device 100, that is, the second electronic device 200 allows the first electronic device 100 to be connected to the second electronic device 200 or removed from the second electronic device 200 in a charged state. Wherein, under the condition of electrification, the process of removing the first electronic device 100 from the second electronic device 200 is heat removal.
According to an embodiment of the present disclosure, the second electronic device 200 may be a server, such as a file server, an application server, a database server, or the like. One or more interfaces may be included on the second electronic device 200 for connecting to the first electronic device 100.
According to the embodiment of the present disclosure, the first electronic device 100 may be a hard disk or other hot-pluggable device, such as a solid state disk u.2nvme SSD, whose interface is U.2 interface, and uses PCI-E bus standard and NVMe protocol to connect with the second electronic device 200 and perform data interaction. Of course, the above description should not be taken as limiting the present invention, and persons skilled in the art will understand, upon reading the present specification, that other electronic devices may be used with the method.
An information presentation method according to an embodiment of the present disclosure is described below with reference to fig. 2.
Fig. 2 schematically shows a flow chart of an information prompting method according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes operations S201 and S202.
In operation S201, it is detected whether the connection is in a deactivated state.
In operation S202, if the connection is in a deactivated state, a control instruction is issued for controlling the second electronic device 200 to issue a prompt signal, where the prompt signal is used for prompting that the first electronic device 100 is in a removable state.
The method is applied to the first electronic equipment, and can prompt the first electronic equipment which can be thermally removed when heat is removed by utilizing the existing prompt function of the second electronic equipment under the condition that the second electronic equipment is not improved.
In operation S201, the first electronic device may detect a connection state with the second electronic device. The operation S201 will be described below by taking a PCI-E channel as an example.
According to an embodiment of the present disclosure, the connecting may include connecting through a PCI-E channel, the connecting in a deactivated state including the PCI-E channel being in a deactivated state.
For example, PCI-E may include two states, the L0 state and the L1 state. In the L0 state, the PCI-E channel is open, allowing data exchange between the first electronic device 100 and the second electronic device 200. In the L1 state, the PCI-E channel is closed, and data exchange between the first electronic device 100 and the second electronic device 200 is prohibited.
When the second electronic device 200 receives the hot removal instruction to the first electronic device 100, the PCI-E channel is transitioned from the L0 state to the L1 state. At this time, the first electronic device 100 may detect the state change, i.e., detect whether the connection is in a deactivated state.
According to the embodiment of the present disclosure, in operation S202, according to the detection result of S201, in the case that the connection is in the deactivated state, a control instruction is issued, where the control instruction is used to control the second electronic device 200 to issue a prompt signal to prompt that the first electronic device 100 is in the removable state.
Operation S202 is further described below with reference to fig. 3 to 4C.
Fig. 3 schematically shows a schematic diagram of an interface according to an embodiment of the present disclosure.
As shown in FIG. 3, the interface 310 includes a plurality of pins 310-1 ~ 310-n, through which the first electronic device 100 interacts information when connected to the second electronic device 200.
According to the embodiment of the disclosure, after the PCI-E channel changes to the L1 state, the control command may still be sent to the second electronic device 200 through the pin 310 on the interface, for example, the 11 th pin 310-11.
Fig. 4A schematically illustrates a partial schematic view of a second electronic device according to an embodiment of the disclosure.
As shown in fig. 4A, the second electronic device 200 includes one or more interfaces, such as 410, 420, and 430 shown, for plugging the first electronic device 100. The second electronic device 200 further comprises signal prompting means associated with the interfaces, such as the indicator lights 440, 450 and 460 shown in the figure, associated with the interfaces 410, 420 and 430, respectively.
Fig. 4B schematically shows a partial schematic view of the second electronic device in another state according to an embodiment of the disclosure.
As shown in fig. 4B, multiple interfaces on the second electronic device 200 can be connected to multiple first electronic devices 100 simultaneously, for example, interface 410 is connected to first electronic device 100A, interface 420 is connected to first electronic device 100B, and interface 430 is connected to first electronic device 100C. In the above case, the indicator lights 440, 450, and 460 corresponding to the interfaces 410, 420, and 430 are all in a bright state, for example, may be in a normally bright state or a blinking state.
Optionally, the sending the control instruction for controlling the second electronic device to send the prompt signal includes sending a control instruction for controlling an indicator light associated with the first electronic device on the second electronic device to change from a normally on or blinking state to an off state.
Fig. 4C schematically shows a partial schematic view of the second electronic device in a third state according to an embodiment of the disclosure.
As shown in fig. 4C, when the first electronic device 100A detects that the PCI-E channel is switched from L0 to L1, and determines that the connection is in the disabled state, the first electronic device 100A sends a control command to the second electronic device 200 through a certain pin, for example, the pin 310-11, and the control indicator lamp 440 changes from the normally on or flashing state to the off state. At this time, although the first electronic device 100 is connected to the interfaces 410, 420 and 430, the indicator lights 450 and 460 are in a normally on or flashing state, and the indicator light 440 is in an off state, that is, a prompt signal is sent to the user to prompt that the first electronic device 100A is in a removable state, and the other first electronic devices 100B and 100C cannot be removed.
Of course, the signal prompting device is not limited to the indicator light. According to the embodiment of the present disclosure, different sound signals may be used to distinguish different first electronic devices 100. Specifically, for example, a plurality of pulse signals may be used, and the prompt corresponding to the first electronic device may be removed according to the number of pulse signals in one cycle, or different voice prompts may be set for different first electronic devices, or different ring information may be set.
According to the embodiment of the disclosure, the display may be further used to prompt the user, for example, characters, symbols or patterns may be displayed on the display to prompt the removable state of the different first electronic device.
One skilled in the art may also use other ways to indicate the need, which is not limited in this application.
By adopting the method, the technical problem that it is difficult to determine which first electronic equipment should be removed when other interfaces are connected with other first electronic equipment is solved.
Fig. 5 schematically illustrates a flow chart of an information prompting method according to another embodiment of the present disclosure.
As shown in fig. 5, the method includes operations S501 to S504.
In operation S501, a heat removal instruction for the first electronic device is acquired.
In operation S502, a connection between the first electronic device and the second electronic device is disabled based on the heat removal instruction.
In operation S503, a control instruction is received, where the control instruction is issued by the first electronic device when the first electronic device detects that the connection is in a deactivated state.
In operation S504, a prompt signal is issued based on the control instruction to prompt that the first electronic device is in a removable state.
The method is applied to the second electronic device 200, and when receiving the heat removal instruction, the first electronic device 100 capable of being removed by heat can be prompted.
According to the embodiment of the present disclosure, in operation S501, the second electronic device 200 may acquire a heat removal instruction for the first electronic device 100. The heat removal instruction may be user input or programmed to be preset, and may be set by one skilled in the art as desired.
In operation S502, upon obtaining the heat removal instruction, the connection between the first electronic device 100 and the second electronic device 200 may be deactivated based on the heat removal instruction. According to the embodiment of the disclosure, when the second electronic device 200 receives the hot removal instruction for the first electronic device 100, the PCI-E channel may be converted from the L0 state to the L1 state, that is, the PCI-E channel is turned from the on state to the off state, that is, the connection between the first electronic device 100 and the second electronic device 200 is disabled, based on the hot removal instruction.
In operation S503, at another time, a control instruction is received, where the control instruction is issued by the first electronic device 100 when the first electronic device 100 detects that the connection is in the deactivated state. According to the embodiment of the disclosure, after the PCI-E channel changes to the L1 state, the control command may still be received from the first electronic device 100 through a pin on the interface, for example, the 11 th pin.
In operation S504, a prompt signal is issued to prompt that the first electronic device 100 is in a removable state based on the control instruction. After receiving the control instruction, the second electronic device 200 may control a prompting device on the second electronic device 200 to send a prompting signal for prompting that the first electronic device 100 is in the removable state based on the control instruction.
Optionally, the sending of the prompt signal includes controlling an indicator light associated with the first electronic device on the second electronic device to change from a normally on or blinking state to an off state. The description of the above-mentioned steps can be referred to in fig. 3 to 4C, and the description thereof is omitted.
According to the method provided by the embodiment of the disclosure, the existing indicator lamp on the second electronic device can be utilized to realize the prompt of heat removal of the first electronic device, so that a user can accurately select the first electronic device to remove the first electronic device.
FIG. 6 schematically shows a flow diagram of a first electronic device interacting with a second electronic device, in accordance with an embodiment of the present disclosure;
as shown in fig. 6, the flow involves the first electronic device 100 and the second electronic device 200.
The flow starts in operation S501, and in operation S501, the second electronic device 200 may obtain a heat removal instruction for the first electronic device 100 according to the embodiment of the disclosure.
After obtaining the heat removal instruction, in operation S502, the second electronic device 200 may disable the connection between the first electronic device 100 and the second electronic device 200 based on the heat removal instruction.
Then, in operation S201 of the first electronic device, the first electronic device 100 detects whether the connection is in a deactivated state.
When detecting that the connection is in the deactivated state, operation S202 is entered, and the first electronic device issues a control instruction for controlling the second electronic device 200 to issue a prompt signal to prompt that the first electronic device 100 is in the removable state.
The second electronic device then performs operation S503 to receive the control instruction.
After the second electronic device 200 receives the control instruction, operation S504 is performed, and based on the control instruction, a prompt signal is sent to prompt that the first electronic device 100 is in a removable state.
This flow ends by this point. Specific contents of the embodiments of the present disclosure may refer to the contents described in fig. 2 and 5, and are not described herein again.
Fig. 7 schematically shows a block diagram of an electronic device according to an embodiment of the disclosure.
As shown in fig. 7, the electronic device 700 includes a controller 710 and a memory 720. The electronic device 700 may be similar to the first electronic device 100 described above, and may perform the method described above with reference to fig. 2 to implement the prompting of the electronic device that may be heat-removed when heat is removed.
In particular, the controller 710 is configured to perform the method described above with reference to fig. 2. According to embodiments of the invention, the controller 710 may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or in a suitable combination of three implementations, software, hardware, and firmware. Or the controller 710 may be implemented at least in part as computer program modules that, when executed, perform corresponding functions. Controller 710 may be a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure described with reference to fig. 2.
The memory 720 is used for storing data for interacting with other electronic devices. For example, may be any medium that can contain, store, communicate, propagate, or transport the instructions. For example, a readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. Specific examples of the readable storage medium include: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and/or wired/wireless communication links. In an example embodiment, data 721 may include one or more data units, including 721A, 721B, … …, for example. It should be noted that the division manner and the number of the data units are not fixed.
It is understood that the controller 710 and the memory 720 may be combined in one module, or any one of them may be split into a plurality of modules. Alternatively, at least some of the functionality of one or more of the modules may be combined with at least some of the functionality of other modules and implemented in a single module.
Fig. 8 schematically shows a schematic view of an electronic device according to another embodiment of the present disclosure.
As shown in fig. 8, electronic device 800 includes a processor 810, a memory 820. The electronic device 800 may be similar to the second electronic device 200 described above, and may perform the method described above with reference to fig. 5 to implement the prompt to the user when heat is removed.
In particular, processor 810 may include, for example, a general purpose microprocessor, an instruction set processor and/or related chip set and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), and/or the like. The processor 810 may also include on-board memory for caching purposes. Processor 810 may be a single processing unit or a plurality of processing units for performing the different actions of the method flows described with reference to fig. 5 in accordance with embodiments of the present disclosure.
The memory 820 may be, for example, any medium that can contain, store, communicate, propagate, or transport the instructions. For example, a readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. Specific examples of the readable storage medium include: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and/or wired/wireless communication links.
The memory 820 may include a computer program 821, which computer program 821 may include code/computer-executable instructions that, when executed by the processor 810, cause the processor 810 to perform a method flow, such as described above in connection with fig. 4, and any variations thereof.
The computer program 821 may be configured with, for example, computer program code comprising computer program modules. For example, in an example embodiment, code in computer program 821 may include one or more program modules, including for example 821A, modules 821B, … …. It should be noted that the division and number of modules are not fixed, and those skilled in the art may use suitable program modules or program module combinations according to actual situations, which when executed by the processor 810, enable the processor 810 to perform the method flow described above in connection with fig. 5 and any variations thereof, for example.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
While the disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.

Claims (8)

1. An information prompting method is applied to first electronic equipment and used for prompting that the first electronic equipment is removed from second electronic equipment, the second electronic equipment can be connected with a plurality of first electronic equipment and performs data interaction, the first electronic equipment is a hard disk, and the second electronic equipment is a server; the second electronic equipment is connected with the first electronic equipment through a PCI-E channel of the first electronic equipment; wherein the PCI-E channel comprises an L0 state and an L1 state, in the L0 state, the PCI-E channel is open to allow data exchange between the first electronic device and the second electronic device, in the L1 state, the PCI-E channel is closed to prohibit data exchange between the first electronic device and the second electronic device, the method comprising:
When the second electronic device obtains a hot removal instruction for the first electronic device, the PCI-E channel of the second electronic device is converted from the L0 state to the L1 state;
when the first electronic device detects that the PCI-E channel is converted from the L0 state to the L1 state, the first electronic device sends a control instruction to the second electronic device, so as to control a signal prompting device associated with the first electronic device on the second electronic device to send a prompting signal, wherein the prompting signal is used for prompting that the first electronic device is in a removable state.
2. The method of claim 1, wherein the issuing a control instruction for controlling a signal prompting device associated with the first electronic device on the second electronic device to issue a prompting signal comprises:
and sending a control instruction for controlling an indicator lamp on the second electronic equipment and associated with the first electronic equipment to change the indicator lamp from a normally-on or flickering state to an off state.
3. An information prompting method is applied to a second electronic device and used for prompting heat removal of a first electronic device from the second electronic device, the second electronic device can be connected with a plurality of first electronic devices and performs data interaction, the first electronic device is a hard disk, the second electronic device is a server, and the method comprises the following steps:
Acquiring a heat removal instruction for the first electronic equipment;
based on the hot removal instruction, the PCI-E channel of the second electronic device is converted from an L0 state to an L1 state, wherein the connection comprises connection through the PCI-E channel, the state of the PCI-E channel comprises the L0 state and the L1 state, in the L0 state, the PCI-E channel is opened to allow data exchange between the first electronic device and the second electronic device, and in the L1 state, the PCI-E channel is closed to prohibit data exchange between the first electronic device and the second electronic device;
receiving a control instruction issued by the first electronic device when the first electronic device detects that the PCI-E channel is converted from the L0 state to the L1 state; and
and based on the control instruction, controlling a signal prompting device associated with the first electronic equipment on the second electronic equipment to send a prompting signal for prompting that the first electronic equipment is in a removable state.
4. The method of claim 3, wherein the controlling a signal prompting device associated with the first electronic device on the second electronic device to issue a prompting signal comprises:
And controlling an indicator lamp on the second electronic equipment and associated with the first electronic equipment to change the indicator lamp from a normally-on or flickering state to an off state.
5. An electronic device is used as a first electronic device, a second electronic device can be connected with a plurality of first electronic devices and performs data interaction, the first electronic device is a hard disk, and the second electronic device is a server; the second electronic equipment is connected with the first electronic equipment through a PCI-E channel of the first electronic equipment; wherein the PCI-E channel comprises an L0 state and an L1 state, in the L0 state, the PCI-E channel is open to allow data exchange between the first electronic device and the second electronic device, in the L1 state, the PCI-E channel is closed to prohibit data exchange between the first electronic device and the second electronic device, and the first electronic device comprises:
a memory for storing data for interacting with the second electronic device; and
a controller for performing:
the first electronic device detecting whether the PCI-E channel is converted from the L0 state to the L1 state; and
when the first electronic device detects that the PCI-E channel is converted from the L0 state to the L1 state, a control instruction is sent to the second electronic device, the control instruction is used for controlling a signal prompting device which is associated with the first electronic device on the second electronic device to send a prompting signal,
Wherein the prompt signal is used for prompting that the first electronic equipment is in a removable state.
6. The electronic device of claim 5, wherein the controller issues a control instruction to the second electronic device for controlling a signal prompting device associated with the first electronic device on the second electronic device to issue a prompting signal comprises:
and sending a control instruction to the second electronic equipment, wherein the control instruction is used for controlling an indicator lamp on the second electronic equipment and associated with the electronic equipment to change the indicator lamp from a normally-on or flickering state to an off state.
7. An electronic device is used as a second electronic device, the second electronic device can be connected with a plurality of first electronic devices and performs data interaction, the first electronic devices are hard disks, the second electronic device is a server, and the second electronic device comprises:
a processor; and
a memory having executable instructions stored thereon that, when executed by the processor, cause the processor to perform:
acquiring a heat removal instruction for the first electronic equipment;
based on the hot removal instruction, the PCI-E channel of the second electronic device is converted from an L0 state to an L1 state, wherein the connection comprises connection through the PCI-E channel, the state of the PCI-E channel comprises the L0 state and the L1 state, in the L0 state, the PCI-E channel is opened to allow data exchange between the first electronic device and the second electronic device, and in the L1 state, the PCI-E channel is closed to prohibit data exchange between the first electronic device and the second electronic device;
Receiving a control instruction issued by the first electronic device when the first electronic device detects that the PCI-E channel is converted from the L0 state to the L1 state; and
and based on the control instruction, controlling a signal prompting device associated with the first electronic equipment on the second electronic equipment to send a prompting signal for prompting that the first electronic equipment is in a removable state.
8. The electronic device of claim 7, wherein the controlling a signal prompting device associated with the first electronic device on the second electronic device to issue a prompting signal comprises:
and controlling indicator lights which are associated with other electronic equipment on the electronic equipment to change from a normally-on or flickering state to an off state.
CN201710355249.8A 2017-05-18 2017-05-18 Information prompting method and electronic equipment Active CN107220205B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710355249.8A CN107220205B (en) 2017-05-18 2017-05-18 Information prompting method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710355249.8A CN107220205B (en) 2017-05-18 2017-05-18 Information prompting method and electronic equipment

Publications (2)

Publication Number Publication Date
CN107220205A CN107220205A (en) 2017-09-29
CN107220205B true CN107220205B (en) 2022-01-18

Family

ID=59945063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710355249.8A Active CN107220205B (en) 2017-05-18 2017-05-18 Information prompting method and electronic equipment

Country Status (1)

Country Link
CN (1) CN107220205B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108415867B (en) * 2018-03-13 2021-10-22 联想(北京)有限公司 Signal processing method and processing system of electronic equipment
CN110995069A (en) * 2019-12-13 2020-04-10 深圳市飞盈佳乐电子有限公司 Voice electric regulation control method, terminal equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257867A (en) * 2012-02-17 2013-08-21 联想(北京)有限公司 Control method, electronic device and electronic apparatus
CN103677782A (en) * 2012-09-21 2014-03-26 联想(北京)有限公司 Method for achieving hot plugging and hot drawing and electronic device
CN105808460A (en) * 2014-12-31 2016-07-27 联想(上海)信息技术有限公司 External equipment identification method and device, and electronic equipment
CN106155664A (en) * 2015-04-16 2016-11-23 联想(北京)有限公司 A kind of method removing video card and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7798840B2 (en) * 2007-01-05 2010-09-21 Sandisk Corporation Expandable and collapsible peripheral device
US7853759B2 (en) * 2007-04-23 2010-12-14 Microsoft Corporation Hints model for optimization of storage devices connected to host and write optimization schema for storage devices
CN104267896B (en) * 2014-09-28 2019-01-15 联想(北京)有限公司 Electronic equipment, input unit and control method
CN106033234A (en) * 2015-03-20 2016-10-19 联想(北京)有限公司 Information processing method and server
CN105306306B (en) * 2015-11-12 2018-08-24 姚焕根 Link connectivity detection system and method
CN106126126B (en) * 2016-06-30 2021-01-15 联想(北京)有限公司 Memory device, electronic device and data processing method
CN106201963A (en) * 2016-07-11 2016-12-07 浪潮(北京)电子信息产业有限公司 A kind of system of PCI E card hot plug in server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257867A (en) * 2012-02-17 2013-08-21 联想(北京)有限公司 Control method, electronic device and electronic apparatus
CN103677782A (en) * 2012-09-21 2014-03-26 联想(北京)有限公司 Method for achieving hot plugging and hot drawing and electronic device
CN105808460A (en) * 2014-12-31 2016-07-27 联想(上海)信息技术有限公司 External equipment identification method and device, and electronic equipment
CN106155664A (en) * 2015-04-16 2016-11-23 联想(北京)有限公司 A kind of method removing video card and electronic equipment

Also Published As

Publication number Publication date
CN107220205A (en) 2017-09-29

Similar Documents

Publication Publication Date Title
WO2016101411A1 (en) Server display method and device
US20130326278A1 (en) Server and method of manipulation in relation to server serial ports
EP3109762A1 (en) Electronic device having external memory and method for operating the same
CN106055508A (en) Electronic device and method for performing hybrid communication with external electronic device
KR102325888B1 (en) Electronic device and method for detecting water in electronic device
EP3167377B1 (en) Methods, systems, and media for controlling a bi-directional hdmi port
US20130219194A1 (en) Test apparatus and method for testing pcie slot
CN107220205B (en) Information prompting method and electronic equipment
CN108574322A (en) The charge control method and electronic equipment of voltage based on battery
EP3783499A2 (en) Method for determining role of electronic device and electronic device thereof
CN106649098B (en) The method and apparatus of released version software debugging are realized on the terminal device
US10545908B2 (en) Methods and apparatus to enable status change detection in a low power mode of a microcontroller unit
CN106355393A (en) Payment operation method and electronic device for supporting the same
US9634517B2 (en) Battery charging mode selection
US20130283028A1 (en) Adapter identification system and method for computer
US20150234768A1 (en) Hot removing an i/o module with multiple hot plug slots
US20210313839A1 (en) Near field communication integrated circuit and wireless communication device including the same
TW201443661A (en) Coexisting standard and proprietary connection usage
CN106598637A (en) Selective loading of components within a node to accelerate maintenance actions
US10069962B1 (en) Near field communication (NFC) enhanced computing systems
CN106503065A (en) The method and system of data transfer
US20150268801A1 (en) Method for providing information to head unit of vehicle by using template-based ui, and head unit and computer-readable recoding media using the same
CN108804897A (en) Screen control method, device, computer equipment and storage medium
US20170090708A1 (en) Portable terminal apparatus and control method thereof
CN109542805A (en) USB storage device control method, device, electronic 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