CN112486751A - Storage equipment positioning lamp control method, system, terminal and storage medium - Google Patents

Storage equipment positioning lamp control method, system, terminal and storage medium Download PDF

Info

Publication number
CN112486751A
CN112486751A CN202011416902.5A CN202011416902A CN112486751A CN 112486751 A CN112486751 A CN 112486751A CN 202011416902 A CN202011416902 A CN 202011416902A CN 112486751 A CN112486751 A CN 112486751A
Authority
CN
China
Prior art keywords
control instruction
storage device
interface
user terminal
control
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.)
Pending
Application number
CN202011416902.5A
Other languages
Chinese (zh)
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202011416902.5A priority Critical patent/CN112486751A/en
Publication of CN112486751A publication Critical patent/CN112486751A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention provides a storage equipment positioning lamp control method, a system, a terminal and a storage medium, wherein the method comprises the following steps: opening an external wireless network interface on the storage device; receiving a position light control instruction from the interface; verifying the validity of the control instruction; and calling the BMC through an intelligent platform management interface according to the control instruction to control the state of the positioning lamp. The invention can conveniently control the state of the positioning lamp of the storage node through equipment such as a notebook computer, a mobile phone and the like in a connection mode of the wireless hotspot. The positioning efficiency of the storage device can be effectively improved.

Description

Storage equipment positioning lamp control method, system, terminal and storage medium
Technical Field
The invention relates to the technical field of storage equipment, in particular to a storage equipment positioning lamp control method, a storage equipment positioning lamp control system, a terminal and a storage medium.
Background
With the development of the era, the size of the storage cluster is larger and larger. An enterprise-level data center may have hundreds or even thousands of storage devices. When an FRU module such as a power supply, a fan and a hard disk of a certain storage node fails, the storage node needs to be located so as to replace the failed FRU module.
Currently, a mode for locating a certain storage node is to remotely log in a BMC Web page of a device, turn on a device locating lamp, then enter a storage device room, and find a device with the locating lamp turned on. When a plurality of equipment positioning lamps are on in the machine room, the control center and the equipment machine room need to be reciprocated for many times, and then the fault equipment can be finally confirmed.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, the present invention provides a method, a system, a terminal and a storage medium for controlling a positioning lamp of a storage device, so as to solve the above-mentioned technical problems.
In a first aspect, the present invention provides a storage device positioning lamp control method, including:
opening an external wireless network interface on the storage device;
receiving a position light control instruction from the interface;
verifying the validity of the control instruction;
and calling the BMC through an intelligent platform management interface according to the control instruction to control the state of the positioning lamp.
Further, the opening an external wireless network interface on the storage device includes:
identifying a wireless communication module of a storage device;
and constructing a wireless network interface which is open to the outside on the basis of the wireless communication module.
Further, the receiving a position light control instruction from the interface includes:
and receiving a control instruction sent by the user terminal, wherein the control instruction comprises a target state of the positioning lamp and target state duration.
Further, the verifying the validity of the control instruction includes:
judging whether the user terminal is in a login state by checking whether the user terminal login information for sending the control instruction exists locally in the storage device:
and if not, sending an error prompt to the user terminal.
In a second aspect, the present invention provides a storage device position light control system, comprising:
the interface development unit is configured to open an external wireless network interface on the storage device;
the instruction receiving unit is configured to receive a positioning lamp control instruction from the interface;
the instruction verification unit is configured to verify the validity of the control instruction;
and the state control unit is configured to call the BMC to control the state of the positioning lamp through an intelligent platform management interface according to the control instruction.
Further, the interface development unit includes:
a communication identification module configured to identify a wireless communication module of the storage device;
and the interface construction module is configured to construct a wireless network interface which is open to the outside on the basis of the wireless communication module.
Further, the instruction receiving unit includes:
and the instruction receiving module is configured to receive a control instruction sent by the user terminal, wherein the control instruction comprises a target state of the positioning lamp and a target state duration.
Further, the instruction verification unit includes:
the login judging module is configured to judge whether the user terminal is in a login state by checking whether the user terminal login information for sending the control instruction exists locally in the storage device;
and the error sending module is configured to send an error prompt to the user terminal if the user terminal is not in the login state.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program which,
the processor is used for calling and running the computer program from the memory so as to make the terminal execute the method of the terminal.
In a fourth aspect, a computer storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
The beneficial effect of the invention is that,
according to the storage device positioning lamp control method, the storage device positioning lamp control system, the storage device positioning lamp terminal and the storage medium, the storage device is enabled to provide a wireless connection hot spot to the outside, and after the handheld device is connected with the wireless hot spot, the state of the positioning lamp of the storage device is controlled, so that the device needing positioning is searched and confirmed. The invention can conveniently control the state of the positioning lamp of the storage node through equipment such as a notebook computer, a mobile phone and the like in a connection mode of the wireless hotspot. The positioning efficiency of the storage device can be effectively improved.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention.
FIG. 2 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all 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.
The following explains key terms appearing in the present invention.
BMC: basebard Manager Controller substrate management Controller
FRU: field Replace Unit Field replaceable Unit
Intelligent Platform Management Interface for IPMI (Intelligent Platform Management Interface)
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention. Wherein, the executive body of fig. 1 can be a storage device positioning lamp control system.
As shown in fig. 1, the method includes:
step 110, opening an external wireless network interface on a storage device;
step 120, receiving a positioning lamp control instruction from the interface;
step 130, verifying the validity of the control instruction;
and step 140, calling the BMC through the intelligent platform management interface according to the control instruction to control the state of the positioning lamp.
Specifically, the storage device positioning lamp control method includes:
and S1, opening an external wireless network interface on the storage device.
And a wireless communication module of the storage device is utilized to provide a hot spot access service. Namely, a network interface which is open to the outside is constructed on the basis of the wireless communication module.
And S2, receiving a positioning lamp control instruction from the interface. And verifying the validity of the control instruction.
After other handheld devices are connected with the hot spot, a storage device positioning lamp control interface is provided for a user through authentication login, the positioning lamp can be set to be in a normally-on state, a flickering state, a closing state and the like, the lighting or flickering duration of the positioning lamp can be set, and the value range is 10-100 seconds.
And receiving a control instruction sent by a user through the positioning lamp control interface through the network interface.
And S3, calling a BMC through the intelligent platform management interface according to the control instruction to control the state of the positioning lamp.
And sending a configuration scheme of the state of the positioning lamp in the control command to a BMC module of the storage device through the IPMI interface.
As shown in fig. 2, the system 200 includes:
an interface development unit 210 configured to open an external wireless network interface on a storage device;
an instruction receiving unit 220 configured to receive a position light control instruction from the interface;
an instruction verification unit 230 configured to verify validity of the control instruction;
and the state control unit 240 is configured to call the BMC to control the state of the positioning lamp through the intelligent platform management interface according to the control instruction.
Optionally, as an embodiment of the present invention, the interface development unit includes:
a communication identification module configured to identify a wireless communication module of the storage device;
and the interface construction module is configured to construct a wireless network interface which is open to the outside on the basis of the wireless communication module.
Optionally, as an embodiment of the present invention, the instruction receiving unit includes:
and the instruction receiving module is configured to receive a control instruction sent by the user terminal, wherein the control instruction comprises a target state of the positioning lamp and a target state duration.
Optionally, as an embodiment of the present invention, the instruction verification unit includes:
the login judging module is configured to judge whether the user terminal is in a login state by checking whether the user terminal login information for sending the control instruction exists locally in the storage device;
and the error sending module is configured to send an error prompt to the user terminal if the user terminal is not in the login state.
Fig. 3 is a schematic structural diagram of a terminal 300 according to an embodiment of the present invention, where the terminal 300 may be used to execute a storage device positioning light control method according to the embodiment of the present invention.
Among them, the terminal 300 may include: a processor 310, a memory 320, and a communication unit 330. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 320 may be used for storing instructions executed by the processor 310, and the memory 320 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 320, when executed by processor 310, enable terminal 300 to perform some or all of the steps in the method embodiments described below.
The processor 310 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 310 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 330, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Therefore, the storage device is enabled to provide a wireless connection hotspot to the outside, and the handheld device controls the state of the positioning lamp of the storage device after being connected with the wireless hotspot, so as to find and confirm the device to be positioned. The invention can conveniently control the state of the positioning lamp of the storage node through equipment such as a notebook computer, a mobile phone and the like in a connection mode of the wireless hotspot. The positioning efficiency of the storage device can be effectively improved, and the technical effect achieved by the embodiment can be referred to the description above, which is not described herein again.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A storage device locator lamp control method, comprising:
opening an external wireless network interface on the storage device;
receiving a position light control instruction from the interface;
verifying the validity of the control instruction;
and calling the BMC through an intelligent platform management interface according to the control instruction to control the state of the positioning lamp.
2. The method of claim 1, wherein opening an external wireless network interface on the storage device comprises:
identifying a wireless communication module of a storage device;
and constructing a wireless network interface which is open to the outside on the basis of the wireless communication module.
3. The method of claim 1, wherein receiving a position light control instruction from an interface comprises:
and receiving a control instruction sent by the user terminal, wherein the control instruction comprises a target state of the positioning lamp and target state duration.
4. The method of claim 1, wherein verifying the validity of the control instruction comprises:
judging whether the user terminal is in a login state by checking whether the user terminal login information for sending the control instruction exists locally in the storage device:
and if not, sending an error prompt to the user terminal.
5. A storage device locator lamp control system, comprising:
the interface development unit is configured to open an external wireless network interface on the storage device;
the instruction receiving unit is configured to receive a positioning lamp control instruction from the interface;
the instruction verification unit is configured to verify the validity of the control instruction;
and the state control unit is configured to call the BMC to control the state of the positioning lamp through an intelligent platform management interface according to the control instruction.
6. The system of claim 5, wherein the interface development unit comprises:
a communication identification module configured to identify a wireless communication module of the storage device;
and the interface construction module is configured to construct a wireless network interface which is open to the outside on the basis of the wireless communication module.
7. The system according to claim 5, wherein the instruction receiving unit comprises:
and the instruction receiving module is configured to receive a control instruction sent by the user terminal, wherein the control instruction comprises a target state of the positioning lamp and a target state duration.
8. The system of claim 5, wherein the instruction validation unit comprises:
the login judging module is configured to judge whether the user terminal is in a login state by checking whether the user terminal login information for sending the control instruction exists locally in the storage device;
and the error sending module is configured to send an error prompt to the user terminal if the user terminal is not in the login state.
9. A terminal, comprising:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the method of any one of claims 1-4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN202011416902.5A 2020-12-07 2020-12-07 Storage equipment positioning lamp control method, system, terminal and storage medium Pending CN112486751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011416902.5A CN112486751A (en) 2020-12-07 2020-12-07 Storage equipment positioning lamp control method, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011416902.5A CN112486751A (en) 2020-12-07 2020-12-07 Storage equipment positioning lamp control method, system, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112486751A true CN112486751A (en) 2021-03-12

Family

ID=74940457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011416902.5A Pending CN112486751A (en) 2020-12-07 2020-12-07 Storage equipment positioning lamp control method, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112486751A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104470152A (en) * 2014-12-26 2015-03-25 深圳万润科技股份有限公司 LED locating lamp, intelligent lighting system based on LED locating lamps and control method
CN110618918A (en) * 2019-09-06 2019-12-27 苏州浪潮智能科技有限公司 Control method, control device and control equipment for hard disk status lamp in PCH

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104470152A (en) * 2014-12-26 2015-03-25 深圳万润科技股份有限公司 LED locating lamp, intelligent lighting system based on LED locating lamps and control method
CN110618918A (en) * 2019-09-06 2019-12-27 苏州浪潮智能科技有限公司 Control method, control device and control equipment for hard disk status lamp in PCH

Similar Documents

Publication Publication Date Title
CN109510742B (en) Server network card remote test method, device, terminal and storage medium
CN111698283B (en) Management and control method, device, equipment and storage medium of distributed cluster host
CN110995825B (en) Intelligent contract issuing method, intelligent node equipment and storage medium
CN102144235B (en) IC chip, signal conditioning package, software module control method, information handling system, information processing method and program
CN107070747A (en) A kind of method of the automatic test network interface card network connection stability under network card binding pattern
CN109240847A (en) EMS memory error report method, device, terminal and storage medium during a kind of POST
CN109582324B (en) IC burning method and board card
CN109815070A (en) A kind of HOST-BOX server stability test method, apparatus, terminal and storage medium
CN109491491A (en) A kind of server timing control and signal monitoring board
CN111352662B (en) Server starting sequence control method, system, terminal and storage medium
CN112565348A (en) Intelligent equipment testing method and system, computer equipment and storage medium
CN112486751A (en) Storage equipment positioning lamp control method, system, terminal and storage medium
CN113111378B (en) Terminal, storage medium, annotation method and system, and pre-verification method and system
CN113612659B (en) Device networking test method and device, electronic device and storage medium
CN115421750A (en) Method, device, terminal and storage medium for noninductive upgrading of server firmware
CN114170700A (en) Attendance checking method and device
CN103561355B (en) A kind of system method to set up and electronic equipment
CN110399263A (en) Verification method, device, electronic equipment and the medium of BMC feature release number
CN112003727A (en) Multi-node server power supply testing method, system, terminal and storage medium
CN113835762B (en) Method and system for updating default configuration of hard disk backboard
CN111163459B (en) IMSI configuration method, device, storage medium and control terminal of network equipment
CN114253375B (en) Server heat dissipation mode control method, system, terminal and storage medium
CN109324935A (en) A kind of system cold start-up test method, device, terminal and storage medium
CN113626821B (en) Method, system, terminal and storage medium for wireless refreshing of server MAC address
CN116880896B (en) Recovery method, system, terminal and storage medium of crystal growth furnace control machine

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210312