CN117784643A - Equipment management method and device, storage medium and electronic device - Google Patents

Equipment management method and device, storage medium and electronic device Download PDF

Info

Publication number
CN117784643A
CN117784643A CN202311800074.9A CN202311800074A CN117784643A CN 117784643 A CN117784643 A CN 117784643A CN 202311800074 A CN202311800074 A CN 202311800074A CN 117784643 A CN117784643 A CN 117784643A
Authority
CN
China
Prior art keywords
power supply
input power
target device
group
light
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
CN202311800074.9A
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202311800074.9A priority Critical patent/CN117784643A/en
Publication of CN117784643A publication Critical patent/CN117784643A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the application provides a device management method and device, a storage medium and electronic equipment, wherein the method comprises the following steps: the method comprises the steps of obtaining a first power-off request, responding to the first power-off request, executing first interaction operation, controlling first target equipment to cut off a first input power supply, controlling first group of light equipment to execute lighting operation under the condition that the first target equipment cuts off the first input power supply, enabling the first group of light equipment to emit light with the same color, and controlling the first target equipment to cut on the first input power supply under the condition that the first target equipment cuts off the first input power supply. Through the method and the device, the technical problem that the management efficiency of the device is low due to the fact that the power state of the device needs to be confirmed manually and misjudgment is easy to occur.

Description

Equipment management method and device, storage medium and electronic device
Technical Field
The embodiment of the application relates to the field of computers, in particular to a device management method, a device, a storage medium and an electronic device.
Background
At present, in the related art, management of equipment power is mainly realized through manpower, a power line connected with equipment is required to be labeled, so that equipment to which the equipment power line belongs is marked, when the equipment is required to be powered off, the equipment which needs to be powered off can only be determined according to the power line label, the label is easy to fall off, and after relevant information is changed, the equipment cannot be updated in time.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the application provides a device management method, a device, a storage medium and an electronic device, which are used for at least solving the technical problems that the device power supply state is easy to misjudge and the management efficiency of the device is low because the device power supply state needs to be confirmed manually.
According to one aspect of the present application, there is provided a device management method including: acquiring a first power-off request, wherein the first power-off request is used for requesting to disconnect a first input power supply of first target equipment; in response to the first power-off request, executing a first interactive operation, and controlling the first target device to disconnect the first input power supply, wherein when the first target device disconnects the first input power supply, a first group of light devices are controlled to execute a lighting operation, the first group of light devices are light devices arranged at two ends of a power line of the first input power supply, and the first group of light devices allow lights with the same color to be emitted; and executing a second interaction operation under the condition that the first target device is disconnected from the first input power supply, and controlling the first target device to be connected with the first input power supply, wherein under the condition that the first target device is connected with the first input power supply, the first group of light devices are controlled to execute the extinction operation.
According to another aspect of the present application, there is provided an apparatus management device including: the device comprises an acquisition module, a first power-off module and a second power-off module, wherein the acquisition module is used for acquiring a first power-off request, wherein the first power-off request is used for requesting to disconnect a first input power supply of first target equipment; the first execution module is used for responding to the first power-off request, executing a first interaction operation, and controlling the first target device to disconnect the first input power supply, wherein when the first target device disconnects the first input power supply, the first execution module controls a first group of light devices to execute a lighting operation, the first group of light devices are light devices arranged at two ends of a power line of the first input power supply, and the first group of light devices allow lights with the same color to be emitted; and the second execution module is used for executing a second interactive operation when the first target device is disconnected from the first input power supply, controlling the first target device to be connected with the first input power supply, and controlling the first group of light devices to execute the extinguishing operation when the first target device is connected with the first input power supply.
Optionally, the device is further configured to: acquiring a second power-off request, wherein the second power-off request is used for requesting to disconnect a second input power supply of a second target device, and the first target device is different from the second target device; and responding to the second power-off request, executing a third interactive operation, and controlling the second target equipment to disconnect the second input power supply, wherein when the second target equipment disconnects the second input power supply, a second group of light equipment is controlled to execute a lighting operation, the second group of light equipment is arranged at two ends of a power line of the second input power supply, the second group of light equipment allows light with the same color to be emitted, and the color of the light allowed to be emitted by the second group of light equipment is different from that of the light allowed to be emitted by the first group of light equipment.
Optionally, the device is further configured to: acquiring a third power-off request, wherein the third power-off request is used for requesting to disconnect a third input power supply of the first target device, and the first target device is set to perform two-way power supply through the first input power supply and the third input power supply; in response to the third power-off request, executing a fourth interactive operation, and controlling the first target device to disconnect the third input power supply, wherein when the first target device disconnects the third input power supply, a third group of light devices are controlled to execute a lighting operation, the third group of light devices are light devices arranged at two ends of a power line of the third input power supply, and the third group of light devices are different from the light colors allowed to be emitted by the first group of light devices; in the event that both the first set of light devices and the third set of light devices have been lit, determining that the first target device has been powered off.
Optionally, the device is further configured to: responding to a lamplight color control request, and changing the lamplight color allowed to be emitted by the first group of lamplight equipment into a target lamplight color; and responding to the first power-off request, controlling the first target equipment to disconnect the first input power supply, wherein under the condition that the first target equipment disconnects the first input power supply, the first group of light equipment is controlled to execute the lighting operation, and the light color emitted by the first group of light equipment is the target light color.
Optionally, the device is further configured to: performing a charging operation on a target storage battery for supplying electric power required to emit light to the first group of light devices in response to controlling the first target device to turn on the first input power supply; and in response to controlling the first target device to disconnect the first input power supply, supplying power to the first group of light devices through the target storage battery so as to control the first group of light devices to execute the lighting operation.
Optionally, the device is configured to obtain the first power-off request by: obtaining, on a first device, the first power-off request from a second device; in response to the first power-off request, performing a first interactive operation, and controlling the first target device to disconnect the first input power supply: in response to the first power-off request, performing the first interactive operation on the first device, controlling the first target device to disconnect the first input power source through the first device; and sending, by the first target device, a target audit message to the second device, where the target audit message is used to indicate to the second device that the second interaction is allowed to be performed with respect to the first target device, if the first input power source has been disconnected by the first target device.
Optionally, the apparatus is configured to control the first target device to disconnect the first input power by: determining whether the operation data of the first target device is allowed to be backed up or not in response to the first interactive operation; and under the condition that the operation data is allowed to be backed up, the operation data is backed up, and under the condition that the operation data backup is completed, the first target equipment is controlled to disconnect the first input power supply.
According to a further embodiment of the present application, there is also provided a computer readable storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the present application, there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In the embodiment of the application, a first power-off request is acquired, wherein the first power-off request is used for requesting to disconnect a first input power supply of a first target device; in response to a first power-off request, executing a first interactive operation, and controlling a first target device to disconnect a first input power supply, wherein under the condition that the first target device disconnects the first input power supply, a first group of light devices are controlled to execute a lighting operation, the first group of light devices are light devices arranged at two ends of a power line of the first input power supply, and the first group of light devices allow light with the same color to be emitted; under the condition that the first input power supply is disconnected by the first target equipment, executing a second interaction operation, controlling the first target equipment to be connected with the first input power supply, wherein under the condition that the first input power supply is connected by the first target equipment, controlling the first group of light equipment to execute the extinction operation, achieving the purpose of simplifying the acquisition flow of the equipment power supply state, determining the matching relation between a power line and equipment through setting different light colors for the indicator lights, determining the equipment power supply state according to the light colors of the indicator lights, achieving the technical effects of quickly and accurately confirming the equipment power supply state and optimizing the equipment management reliability, and further solving the technical problems that the equipment power supply state is easy to misjudge and the management efficiency of the equipment is low due to the fact that the equipment power supply state needs to be confirmed manually.
Drawings
Fig. 1 is a hardware configuration block diagram of a mobile terminal according to a device management method according to an embodiment of the present application;
FIG. 2 is a flow chart of a device management method according to an embodiment of the present application;
FIG. 3 is a flow chart of a device management method according to an embodiment of the present application;
FIG. 4 is a flow chart of yet another device management method according to an embodiment of the present application;
fig. 5 is a block diagram of a device management apparatus according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be performed in a mobile terminal, a computer terminal or similar computing device. Taking the mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of the mobile terminal of a device management method according to an embodiment of the present application. As shown in fig. 1, a mobile terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 for communication functions and a terminal device 108. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative and not limiting of the structure of the mobile terminal described above. For example, the mobile terminal may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
The memory 104 may be used to store computer programs, such as software programs and modules of application software, such as computer programs corresponding to the device management methods in the embodiments of the present application, and the processor 102 executes the computer programs stored in the memory 104 to perform various functional applications and data processing, that is, implement the methods described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 106 is arranged to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
Alternatively, in the present embodiment, the above-described device management method may also be implemented by a server, or by a terminal device and a server together.
The above is merely an example, and the present embodiment is not particularly limited.
Optionally, as an optional implementation manner, fig. 2 is a flowchart of a device management method according to an embodiment of the present application, and as shown in fig. 2, the device management method includes:
s202, acquiring a first power-off request, wherein the first power-off request is used for requesting to disconnect a first input power supply of first target equipment;
optionally, in this embodiment, the first target device may include, but is not limited to, a server, a router, a switch, a firewall, and the like, where multiple application systems may be deployed on the target device, a solution for deploying and managing the application systems is provided for the first target device by using cloud technology, so as to implement deployment and management of the application of the first target device, the first power-off request may include, but is not limited to, a first target device number, a first target device name, a power-off time, and the like, and the first input power source may include, but is not limited to, an uninterruptible power supply system, a battery, and the like.
Further, after receiving the first power-off request, the first input power supply of the first target device is disconnected, and the first input power supply can supply power to the first target device through a power line connected with the first target device, for example, the first target device is a server, and the first target device is powered by the uninterruptible power supply system in normal operation, and due to the fact that the first power-off request is received, the first input power supply indicates that the server needs to be powered off after one hour.
Cloud technology (Cloud technology) refers to a hosting technology that unifies serial resources such as hardware, software, networks and the like in a wide area network or a local area network to realize calculation, storage, processing and sharing of data.
Cloud computing (closed computing) refers to the delivery and usage mode of an IT infrastructure, meaning that required resources are obtained in an on-demand, easily scalable manner through a network; generalized cloud computing refers to the delivery and usage patterns of services, meaning that the required services are obtained in an on-demand, easily scalable manner over a network. Such services may be IT, software, internet related, or other services. Cloud Computing is a product of fusion of traditional computer and network technology developments such as Grid Computing (Grid Computing), distributed Computing (distributed Computing), parallel Computing (Parallel Computing), utility Computing (Utility Computing), network storage (Network Storage Technologies), virtualization (Virtualization), load balancing (Load balancing), and the like.
With the development of the internet, real-time data flow and diversification of connected devices, and the promotion of demands of search services, social networks, mobile commerce, open collaboration and the like, cloud computing is rapidly developed. Unlike the previous parallel distributed computing, the generation of cloud computing will promote the revolutionary transformation of the whole internet mode and enterprise management mode in concept.
S204, a first interaction operation is performed in response to a first power-off request, and the first target device is controlled to disconnect a first input power supply, wherein under the condition that the first target device disconnects the first input power supply, the first group of light devices are controlled to perform a lighting operation, the first group of light devices are light devices arranged at two ends of a power line of the first input power supply, and the first group of light devices allow light with the same color to be emitted;
alternatively, in this embodiment, the first interactive operation may be remotely performed, for example, by using a remote control system to log in a KVM (Keyboard, video, mouse) of a device through a cloud desktop, where KVM is a technology for remotely managing a server or a device, and by using KVM to log in a device through a cloud desktop, a Keyboard, a Video, and a Mouse of a remote control device, remote management and operation of a device are implemented.
The first interaction operation includes, but is not limited to, a touch operation performed on a touch screen, or a touch operation performed by an input device such as a mouse, a keyboard, a stylus, etc., and may also be performed by voice, video, etc., the first group of light devices may include a plurality of light devices, the light devices may include, but are not limited to, LED indicator lights, intelligent bulbs, power line lights, etc., and the light devices in the first group of light devices may be disposed at different positions of a power line of the first input power, and the plurality of light devices in the first group of light devices may include, but are not limited to, lights emitting the same color.
Illustratively, fig. 3 is a schematic flow chart of a device management method according to an embodiment of the present application, as shown in fig. 3, for example, the first group of light devices 302 are disposed at two ends of a power line 304, one end of the power line is connected to the first target device, and the other end of the power line is connected to a power supply device that provides power for the first target device, where the power supply device may include, but is not limited to, the first input power source and the like.
Specifically, when the first target device obtains the electric power supplied from the first input power source through the power line, the first target device will not be able to obtain the electric power supplied from the first input power source, that is, the first target device is in the power-off state, at which time the first group of light devices will be turned on, and the light devices in the first group of light devices will emit the same color light, in other words, when the power of the first target device is turned off, the first group of light devices will be turned on, indicating that the first target device is in the power-off state.
S206, executing a second interaction operation under the condition that the first target device is disconnected with the first input power supply, and controlling the first target device to be connected with the first input power supply, wherein under the condition that the first target device is connected with the first input power supply, the first group of lamp light devices are controlled to execute the extinction operation;
alternatively, in this embodiment, the second interaction operation may be performed remotely, and the second interaction operation may include, but is not limited to, a touch operation performed on a touch screen, or a touch operation performed through an input device such as a mouse, a keyboard, a stylus, or the like, and may also be performed through voice, video, or the like.
For example, in the case where the first target device is powered off, at this time, the light devices of the first group of light devices are in the on state, and by performing the second interaction operation, the first target device will switch on the current input by the first input power source, that is, the first target device is in the power-on state, and may be normally started, the first group of light devices will be turned off, in other words, when the power of the first target device is turned on again, the first group of light devices will be turned off, indicating that the first target device is in the power-on state.
In an exemplary embodiment, fig. 4 is a schematic flow chart of yet another device management method according to an embodiment of the present application, where the device management method set forth in the present application may be applied to an application scenario of system maintenance, as shown in fig. 4:
s402, a system maintenance person creates a maintenance request sheet, wherein the maintenance request sheet is used for submitting a first power-off request, which indicates that the power of first target equipment needs to be disconnected, and the first target equipment is maintained;
s404, sending a maintenance request sheet to a background management system;
s406, acquiring a first power-off request in a background management system, examining and approving a maintenance request list, returning to the step S404 if the examination and approval are not passed, and modifying the maintenance request list by a system maintenance person, or submitting the first power-off request again after newly creating the maintenance request list, and entering the step S406 if the examination and approval are passed;
s408, executing a first interactive operation through the background management system, remotely switching off the power supply of the first target device, and lighting the first group of light devices, and remotely controlling the light colors of the first group of light devices;
s410, a system maintenance person receives a maintenance request sheet passing approval, determines that a first target device is disconnected from a power supply by checking a first group of light devices, maintains the first target device, and can record and feed back maintenance results to a background management system through the maintenance request sheet after maintenance is finished;
And S412, executing a second interactive operation in the background management system, remotely switching on the power supply of the first target equipment, extinguishing the first group of light equipment, detecting whether the first target equipment can normally operate, if so, indicating that maintenance is finished, closing a maintenance request sheet, or otherwise, indicating that the first target equipment cannot normally operate, indicating that maintenance is still required to be continued, executing S408, recording through the maintenance request sheet, feeding back a detection result to a system maintenance personnel, and maintaining again by the system maintenance personnel.
In the embodiment of the application, the first power-off request is acquired, wherein the first power-off request is used for requesting to disconnect a first input power supply of a first target device; in response to a first power-off request, executing a first interactive operation, and controlling a first target device to disconnect a first input power supply, wherein under the condition that the first target device disconnects the first input power supply, a first group of light devices are controlled to execute a lighting operation, the first group of light devices are light devices arranged at two ends of a power line of the first input power supply, and the first group of light devices allow light with the same color to be emitted; under the condition that the first input power supply is disconnected by the first target equipment, executing a second interaction operation, controlling the first target equipment to be connected with the first input power supply, wherein under the condition that the first input power supply is connected by the first target equipment, controlling the first group of light equipment to execute the extinction operation, achieving the purpose of simplifying the acquisition flow of the equipment power supply state, determining the matching relation between a power line and equipment through setting different light colors for the indicator lights, determining the equipment power supply state according to the light colors of the indicator lights, achieving the technical effects of quickly and accurately confirming the equipment power supply state and optimizing the equipment management reliability, and further solving the technical problems that the equipment power supply state is easy to misjudge and the management efficiency of the equipment is low due to the fact that the equipment power supply state needs to be confirmed manually.
As an alternative, the method further includes: acquiring a second power-off request, wherein the second power-off request is used for requesting to disconnect a second input power supply of a second target device, and the first target device is different from the second target device; and executing a third interactive operation in response to the second power-off request, and controlling the second target device to disconnect the second input power supply, wherein when the second target device disconnects the second input power supply, a second group of light devices are controlled to execute a lighting operation, the second group of light devices are light devices arranged at two ends of a power line of the second input power supply, the second group of light devices allow light with the same color to be emitted, and the second group of light devices are different from the first group of light devices in light color allowed to be emitted.
Optionally, in this embodiment, the second target device may include, but is not limited to, a cloud server, a router, a switch, a firewall, and the like, a plurality of application systems may be deployed on the target device, a solution for deploying and managing the application systems is provided for the second target device through cloud technology, and application deployment and management of the second target device is implemented, the second power-off request may include, but is not limited to, a second target device number, a second target device name, a power-off time, and the like, and the second input power source may include, but is not limited to, an uninterruptible power supply system, a battery, and the like.
Further, after the second power-off request is obtained, the second input power supply of the second target device is disconnected, where the second input power supply may supply power to the second target device, for example, the second target device is a server, and the second target device is powered by the uninterruptible power supply system in normal operation, where, due to receiving the second power-off request, it indicates that the server needs to be powered off after one hour, and the second input power supply may supply power to the second target device through a power line connected to the second target device.
Alternatively, in this embodiment, the third interaction may be performed remotely, the second set of light devices may include a plurality of light devices, the light devices may include, but are not limited to, LED indicator lights, intelligent light bulbs, power line lights, and the like, and the light devices in the second set of light devices may be disposed at different positions of the power line of the second input power source, and the plurality of light devices in the second set of light devices may include, but are not limited to, lights emitting the same color.
For example, when the second target device obtains the power supplied from the second input power source through the power line, the second target device will not be able to obtain the power supplied from the second input power source, that is, the second target device is in the power-off state, at which time the second group of light devices will be lit, the light devices in the second group of light devices will emit lights of the same color, in other words, when the power of the second target device is turned off, the second group of light devices will be lit, indicating that the second target device is in the power-off state.
It should be noted that, the first target device is different from the second target device, for example, the first target device is a server, the second target device is an exchange, and the first power-off request and the second power-off request can be obtained simultaneously, and the first target device and the second target device can be powered by the same power supply device, so that the first interaction operation and the second interaction operation are respectively performed on the first target device, the third interaction operation and the fourth interaction operation are performed on the second target device, that is, the respective power states of the multiple devices can be obtained asynchronously, and management of the multiple devices is further achieved.
As an alternative, the method further includes: acquiring a third power-off request, wherein the third power-off request is used for requesting to disconnect a third input power supply of the first target device, and the first target device is set to perform two-way power supply through the first input power supply and the third input power supply; in response to the third power-off request, executing a fourth interactive operation, and controlling the first target device to disconnect the third input power supply, wherein when the first target device disconnects the third input power supply, a third group of light devices are controlled to execute a lighting operation, the third group of light devices are light devices arranged at two ends of a power line of the third input power supply, and the third group of light devices are different from the light colors allowed to be emitted by the first group of light devices; and determining that the first target device has been powered off, if both the first set of light devices and the third set of light devices have been illuminated.
Optionally, in this embodiment of the present application, the fourth interaction may be performed remotely, where the fourth interaction may include, but is not limited to, a touch operation performed on a touch screen, or a touch operation performed by an input device such as a mouse, a keyboard, a stylus, or the like, and may also be performed by voice, video, or the like, where the third input power may supply power to the first target device, and where the third input power may include, but is not limited to, an uninterruptible power supply system, a battery, or the like.
Illustratively, the dual-path power supply to the first target device may be implemented by the following steps, including but not limited to: two power adapters are selected for adapting to a first target device, one for connecting to a first input power source and one for connecting to a second power adapter, then the two power adapters are respectively connected to two power input ports of the first target device, the two power adapters are respectively connected to power sockets, and power is supplied to the first target device.
Further, the fourth interaction may be performed such that the third input power supply no longer provides power to the first target device, at this time, the third group of light devices will be turned on, and the light devices in the third group of light devices will emit lights of the same color, in other words, when the third input power supply of the first target device is turned off, the third group of light devices will be turned on, at this time, the first input power supply may continue to supply power to the first target device, that is, the first group of light devices is turned off, and the third group of light devices is turned on, and, if the light color of the first group of light devices is different from the light color of the third group of light devices related to the first target device that is currently being two-way powered, the third group of light devices is turned on, or, when the first group of light devices is turned on, the first target device may continue to operate, only when the first group of light devices and the third group of light devices are both turned on, that is not turned off, that is, and the first input power supply cannot be turned off.
As an alternative, the method further includes: responding to a lamplight color control request, and changing the lamplight color allowed to be emitted by the first group of lamplight equipment into a target lamplight color; and responding to the first power-off request, controlling the first target equipment to disconnect the first input power supply, wherein when the first target equipment disconnects the first input power supply, the first group of light equipment is controlled to execute the lighting operation, and the light color emitted by the first group of light equipment is the target light color.
Illustratively, in the embodiment of the present application, the light color control request may include, but is not limited to, a request for controlling a light color temperature, a light illuminance, a light color, and the like, and the target light color may be flexibly set.
In an exemplary embodiment, by parsing the light color control request, it is determined that the light color of the first group of light devices needs to be set to be red, that is, the target light color is red, where the first power-off request is obtained, a first interaction operation may be performed, but not limited to, so that the first target device turns off the first input power, where the first group of light devices is to be turned on, the light devices in the first group of light devices will emit red light, and before the next obtaining of the first power-off request, if the light color control request is not received again, the target light color may not be changed, that is, the light devices in the first group of light devices may also emit red light.
As an alternative, the method further includes: in response to controlling the first target device to switch on the first input power supply, performing a charging operation on a target storage battery for supplying electric power required for emitting light to the first group of light devices; and in response to controlling the first target device to turn off the first input power, supplying power to the first group of light devices through the target storage battery to control the first group of light devices to perform the lighting operation.
Optionally, in an embodiment of the present application, the target battery may include, but is not limited to, a lead-acid battery, a lithium ion battery, a nickel-hydrogen battery, a nickel-cadmium battery, a lithium polymer battery, and the like, and the first group of light devices may emit light through electric energy provided by the target battery, where the target battery may directly perform a charging operation with a power line of the first target power supply, and obtain electric energy from the first target power supply, and further provide electric energy for the first group of light devices.
Illustratively, in the event that the first target device disconnects the first input power, current is delivered by the target battery to the first group of light devices, thereby igniting the first group of light devices.
As an optional solution, the acquiring the first power-off request includes: acquiring the first power-off request from the second device on the first device; in response to the first power-off request, performing a first interactive operation, controlling the first target device to disconnect the first input power, including: responding to the first power-off request, executing the first interactive operation on the first device, and controlling the first target device to disconnect the first input power supply through the first device; and under the condition that the first input power supply is disconnected by the first target device, sending a target audit message to the second device through the first device, wherein the target audit message is used for indicating permission to execute the second interactive operation on the first target device to the second device.
Optionally, in this embodiment of the present application, the first device and the second device may include, but are not limited to, a server, a router, a switch, a firewall, and the like, where the second device may send a first power-off request to the first device, for example, log in a remote desktop of the first device through the second device, implement control of the first target device using KVM, send an instruction to the first target device by the first device, control the first target device to end normal operation, disconnect the first target device from the first target power source, and correspondingly, the first light device emits light to indicate that the first target power source no longer supplies power to the first target device.
Further, after the connection between the first target device and the first target power supply is disconnected, the second device may receive a target audit message sent by the first device, where the target audit message may include, but is not limited to, whether the first target device ends normal operation, a current state of the first target device, for example, the target audit message received by the second device indicates that the power supply of the first target device has been disconnected, and the first target device may operate normally, at this time, the second device may continue to send the second interaction operation to the first device, so that the first target device turns on the first target power supply, turns off the first group of light devices, and the first target device starts to enter a normal working state.
As an alternative, the controlling the first target device to disconnect the first input power includes: determining whether the operation data of the first target device is allowed to be backed up or not in response to the first interactive operation; and under the condition that the operation data is allowed to be backed up, the operation data is backed up, and under the condition that the operation data backup is completed, the first target equipment is controlled to disconnect the first input power supply.
For example, when the first interactive operation is performed on the first target device, determining whether the operation data of the first target device needs to be backed up or not through the configuration file of the first target device may include, but is not limited to, an operation log, an abnormal operation file, a data transmission record, and the like, where the operation data on the first target device may be optionally backed up by using a data backup tool or application software, and may also be backed up to an external hard disk, cloud storage, or other devices.
Further, after the successful backup of the operation data is determined, the first input power supply is disconnected to determine that the operation data generated before can still be obtained after the first target device is restarted, so that the integrity of the operation data of the first target device is ensured.
The foregoing is merely an example, and the present application is not limited in any way.
It will be apparent that the embodiments described above are only some, but not all, of the embodiments of the present application.
The present application is specifically described below with reference to specific examples:
the device management method provided by the application can be applied to an application scene of equipment maintenance, and can comprise, but is not limited to, a remote control system, flow management and a power line automatic marking indicator lamp. The equipment can be remotely subjected to physical operations such as on-off operation, the indicator lamps are additionally arranged at the two ends of the power line of the equipment in the machine room, the control module of the indicator lamps is integrated into the remote management end, and when the equipment is required to be maintained or taken off, the indicator lamps at the two ends of the power line can be remotely lightened, so that an operator is helped to quickly confirm the power line of the fault equipment, the equipment is easy to realize and low in cost, the work efficiency is improved while the work flow is simplified, and the operation and maintenance of the equipment are also convenient. In order to avoid the problem that the device administrator forgets to confirm the backup or isolate the data, an online maintenance process may be implemented as shown in fig. 4 by:
S1, firstly, a maintenance person creates a maintenance request sheet and submits a power-off requirement;
s2, next, the equipment manager performs approval, approves the rationality of the power-off requirement and the feasibility of the scheme, and judges whether the power-off equipment needs to be subjected to data backup or isolation;
s3, if the approval is not passed, returning to a requirement submitting stage, submitting the maintenance request form again, if the approval is passed, remotely shutting down the equipment, and simultaneously, enabling the control module of the indicator lamp to light two ends of two power lines connected with the equipment, and remotely controlling the color of the indicator lamp;
s4, the maintenance request sheet flows to a maintenance personnel, the maintenance personnel enters a machine room for operation according to a maintenance scheme submitted in advance or modified, and the maintenance request sheet is fed back to an equipment manager after the operation is finished;
s5, the equipment manager remotely starts the equipment, meanwhile, the indicator lamp control module extinguishes the power line marking lamp, the equipment manager verifies the maintenance equipment, and the maintenance request sheet is closed after verification is correct.
Further, the remote control system may include, but is not limited to, logging in a KVM of a device through a cloud desktop, performing physical operations on the device, including operations of shutdown, startup, restarting, and the like, where an indicator light is automatically marked on a power line, as shown in fig. 3, in the present application, an indicator light may be additionally installed at two ends of a power line of the device, where the indicator light may display multiple colors, where two indicator lights share a control module, the control module is disposed at one end of the connection device, where the indicator light may display a specific color according to a setting of a remote end, and when the indicator light control module recognizes that the device has been shutdown, the two ends of the power line may display indicator lights with the same color to help an operator quickly recognize a faulty device power line, and a small battery device may be disposed inside the power line to supply power to the indicator light, where the reference numeral (1) is one end of the power line connection device, and the port is a female end; reference numeral (2) is one end of a power line connection PDU (power distribution unit ), which is a male end; the reference number (3) is an indicator light arranged at two ends of the power line, the indicator light can be provided with a plurality of colors, the color displayed by the indicator light can be changed according to remote setting, and different types of servers can be provided with different indicator light colors; the reference numeral (4) is an indicator lamp control module which can control the on-off state of the indicator lamp, the control module can automatically identify whether the equipment is powered off or not so as to achieve the purpose of controlling the state of the indicator lamp, when the control module identifies that the equipment is powered off, the power line indicator lamp is lightened, and when the control module identifies that the equipment is powered on, the power line indicator lamp is extinguished; the reference numeral (5) is a storage battery which is used for supplying power to the indicator lamp and can finish self-charging from the PDU end; the reference number (6) is a wire for connecting the storage battery, the switch and the indicator lamp, and the connection mode can be series connection.
It should be noted that, the method can solve the problems of complicated process, time and labor waste of the power-off method of the equipment in the related technology, and simultaneously, the method effectively solves the problems of poor reliability, difficult operation and maintenance and the like of the power line identification of the equipment, and achieves the purposes of simplifying the working flow and improving the working efficiency. Because the equipment in the related art is more complicated in preparation work in the early period of outage, a machine room operator and an equipment manager are required to communicate first, an outage scheme and a time window are confirmed, the equipment manager backs up data on the equipment and then shuts down, the machine room operator is informed of the fact that the equipment is shut down, or after the data is backed up well, the machine room operator is manually shut down on site, the whole outage process is more complicated, the equipment manager forgets to backup the data easily, the machine room operator is powered down manually, and serious production events are caused.
On the other hand, the equipment management method has higher reliability, communication of equipment outage processes in the related technology mainly depends on mail or telephone communication, unified assessment and management are difficult to perform, the method brings outage into unified process management, standardization and automation of processes are realized, manual operation and intervention are reduced, effective control on working efficiency can be realized, in addition, links of manual operation can be effectively reduced, operators can distinguish different power lines according to the colors of indicator lamps at two ends of the power lines, and the reliability of power line marking is greatly improved; the operation and maintenance are simple, convenient and efficient, the purpose of standard outage is realized to the flow on the outage line that this application provided, can clearly examine the work load of operation and maintenance personnel through online maintenance request list quantity, clear each post responsibility, the accurate accuse of flow is realized through the processing ageing of online maintenance request list, operation and maintenance efficiency and convenience have been greatly improved, and the power cord mark relies on in the correlation technique is that the label of printing is pasted at the power cord both ends, and the power cord generally produces the overlength and can appear the phenomenon that the label drops at the air outlet of equipment, the live time produces the overlength, and then can't distinguish the power cord of different equipment, in addition, the label content in different periods may be different, it is very troublesome to update the replacement, the equipment management method that this application provided is the pilot lamp colour that relies on the power cord both ends distinguishes the power cord of different equipment, the condition such as drop can not appear, convenient later operation and maintenance work.
Further, the power line indicator lamp with various colors can be suitable for scenes of different equipment needing to be marked on the power line at the same time, the state of the indicator lamp can be related to whether the equipment is started or not through the power line indicator lamp control module, when the equipment is powered off, the indicator lamp is turned on, when the equipment is powered on, the indicator lamp is turned off, the equipment is prevented from being powered off and forgetting to turn on the power line indicator lamp, errors of manual operation are reduced, defects of low equipment power management efficiency, poor reliability, difficulty in operation and maintenance and the like are avoided, working efficiency can be effectively improved, working error rate is reduced, and the aim of guaranteeing safe and stable operation of the equipment is fulfilled.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a front-end device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the embodiments of the present application.
According to another aspect of the embodiments of the present application, a device for accessing a system is further provided, where the device is used to implement the foregoing embodiments and preferred implementations, and the description is omitted herein. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 5 is a block diagram of a device management apparatus according to an embodiment of the present application, as shown in fig. 5, including:
an obtaining module 502, configured to obtain a first power-off request, where the first power-off request is used to request to disconnect a first input power source of a first target device;
a first execution module 504, configured to execute a first interaction operation in response to a first power-off request, and control a first target device to disconnect a first input power source, where, when the first target device disconnects the first input power source, control a first group of light devices to execute a lighting operation, where the first group of light devices are light devices disposed at two ends of a power line of the first input power source, and the first group of light devices allow light of a same color to be emitted;
The second executing module 506 is configured to execute a second interaction operation when the first target device has turned off the first input power, and control the first target device to turn on the first input power, where the first target device controls the first group of light devices to execute the turning-off operation when the first target device turns on the first input power.
As an alternative, the above device is further configured to: acquiring a second power-off request, wherein the second power-off request is used for requesting to disconnect a second input power supply of a second target device, and the first target device is different from the second target device; and executing a third interactive operation in response to the second power-off request, and controlling the second target device to disconnect the second input power supply, wherein when the second target device disconnects the second input power supply, a second group of light devices are controlled to execute a lighting operation, the second group of light devices are light devices arranged at two ends of a power line of the second input power supply, the second group of light devices allow light with the same color to be emitted, and the second group of light devices are different from the first group of light devices in light color allowed to be emitted.
As an alternative, the above device is further configured to: acquiring a third power-off request, wherein the third power-off request is used for requesting to disconnect a third input power supply of the first target device, and the first target device is set to perform two-way power supply through the first input power supply and the third input power supply; in response to the third power-off request, executing a fourth interactive operation, and controlling the first target device to disconnect the third input power supply, wherein when the first target device disconnects the third input power supply, a third group of light devices are controlled to execute a lighting operation, the third group of light devices are light devices arranged at two ends of a power line of the third input power supply, and the third group of light devices are different from the light colors allowed to be emitted by the first group of light devices; and determining that the first target device has been powered off, if both the first set of light devices and the third set of light devices have been illuminated.
As an alternative, the above device is further configured to: responding to a lamplight color control request, and changing the lamplight color allowed to be emitted by the first group of lamplight equipment into a target lamplight color; and responding to the first power-off request, controlling the first target equipment to disconnect the first input power supply, wherein when the first target equipment disconnects the first input power supply, the first group of light equipment is controlled to execute the lighting operation, and the light color emitted by the first group of light equipment is the target light color.
As an alternative, the above device is further configured to: in response to controlling the first target device to switch on the first input power supply, performing a charging operation on a target storage battery for supplying electric power required for emitting light to the first group of light devices; and in response to controlling the first target device to turn off the first input power, supplying power to the first group of light devices through the target storage battery to control the first group of light devices to perform the lighting operation.
As an alternative, the above device is configured to obtain the first power-off request by: acquiring the first power-off request from the second device on the first device; in response to the first power-off request, performing a first interactive operation, and controlling the first target device to disconnect the first input power supply: responding to the first power-off request, executing the first interactive operation on the first device, and controlling the first target device to disconnect the first input power supply through the first device; and under the condition that the first input power supply is disconnected by the first target device, sending a target audit message to the second device through the first device, wherein the target audit message is used for indicating permission to execute the second interactive operation on the first target device to the second device.
As an alternative, the apparatus is configured to control the first target device to disconnect the first input power by: determining whether the operation data of the first target device is allowed to be backed up or not in response to the first interactive operation; and under the condition that the operation data is allowed to be backed up, the operation data is backed up, and under the condition that the operation data backup is completed, the first target equipment is controlled to disconnect the first input power supply.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Embodiments of the present application also provide a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
In one exemplary embodiment, the computer readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
Embodiments of the present application also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In an exemplary embodiment, the electronic apparatus may further include a transmission device connected to the processor, and an input/output device connected to the processor.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
The foregoing is merely a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and variations may be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application should be included in the protection scope of the present application.

Claims (10)

1. A device management method, comprising:
acquiring a first power-off request, wherein the first power-off request is used for requesting to disconnect a first input power supply of first target equipment;
in response to the first power-off request, executing a first interactive operation, and controlling the first target device to disconnect the first input power supply, wherein when the first target device disconnects the first input power supply, a first group of light devices are controlled to execute a lighting operation, the first group of light devices are light devices arranged at two ends of a power line of the first input power supply, and the first group of light devices allow lights with the same color to be emitted;
and executing a second interaction operation under the condition that the first target device is disconnected from the first input power supply, and controlling the first target device to be connected with the first input power supply, wherein under the condition that the first target device is connected with the first input power supply, the first group of light devices are controlled to execute the extinction operation.
2. The method according to claim 1, wherein the method further comprises:
acquiring a second power-off request, wherein the second power-off request is used for requesting to disconnect a second input power supply of a second target device, and the first target device is different from the second target device;
and responding to the second power-off request, executing a third interactive operation, and controlling the second target equipment to disconnect the second input power supply, wherein when the second target equipment disconnects the second input power supply, a second group of light equipment is controlled to execute a lighting operation, the second group of light equipment is arranged at two ends of a power line of the second input power supply, the second group of light equipment allows light with the same color to be emitted, and the color of the light allowed to be emitted by the second group of light equipment is different from that of the light allowed to be emitted by the first group of light equipment.
3. The method according to claim 1, wherein the method further comprises:
acquiring a third power-off request, wherein the third power-off request is used for requesting to disconnect a third input power supply of the first target device, and the first target device is set to perform two-way power supply through the first input power supply and the third input power supply;
In response to the third power-off request, executing a fourth interactive operation, and controlling the first target device to disconnect the third input power supply, wherein when the first target device disconnects the third input power supply, a third group of light devices are controlled to execute a lighting operation, the third group of light devices are light devices arranged at two ends of a power line of the third input power supply, and the third group of light devices are different from the light colors allowed to be emitted by the first group of light devices;
in the event that both the first set of light devices and the third set of light devices have been lit, determining that the first target device has been powered off.
4. The method according to claim 1, wherein the method further comprises:
responding to a lamplight color control request, and changing the lamplight color allowed to be emitted by the first group of lamplight equipment into a target lamplight color;
and responding to the first power-off request, controlling the first target equipment to disconnect the first input power supply, wherein under the condition that the first target equipment disconnects the first input power supply, the first group of light equipment is controlled to execute the lighting operation, and the light color emitted by the first group of light equipment is the target light color.
5. The method according to claim 1, wherein the method further comprises:
performing a charging operation on a target storage battery for supplying electric power required to emit light to the first group of light devices in response to controlling the first target device to turn on the first input power supply;
and in response to controlling the first target device to disconnect the first input power supply, supplying power to the first group of light devices through the target storage battery so as to control the first group of light devices to execute the lighting operation.
6. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the obtaining the first power-off request includes: obtaining, on a first device, the first power-off request from a second device;
the responding to the first power-off request, executing a first interactive operation, controlling the first target device to disconnect the first input power supply, and comprising: in response to the first power-off request, performing the first interactive operation on the first device, controlling the first target device to disconnect the first input power source through the first device; and sending, by the first target device, a target audit message to the second device, where the target audit message is used to indicate to the second device that the second interaction is allowed to be performed with respect to the first target device, if the first input power source has been disconnected by the first target device.
7. The method of claim 1, wherein the controlling the first target device to disconnect the first input power source comprises:
determining whether the operation data of the first target device is allowed to be backed up or not in response to the first interactive operation;
and under the condition that the operation data is allowed to be backed up, the operation data is backed up, and under the condition that the operation data backup is completed, the first target equipment is controlled to disconnect the first input power supply.
8. A device management apparatus, comprising:
the device comprises an acquisition module, a first power-off module and a second power-off module, wherein the acquisition module is used for acquiring a first power-off request, wherein the first power-off request is used for requesting to disconnect a first input power supply of first target equipment;
the first execution module is used for responding to the first power-off request, executing a first interaction operation, and controlling the first target device to disconnect the first input power supply, wherein when the first target device disconnects the first input power supply, the first execution module controls a first group of light devices to execute a lighting operation, the first group of light devices are light devices arranged at two ends of a power line of the first input power supply, and the first group of light devices allow lights with the same color to be emitted;
And the second execution module is used for executing a second interactive operation when the first target device is disconnected from the first input power supply, controlling the first target device to be connected with the first input power supply, and controlling the first group of light devices to execute the extinguishing operation when the first target device is connected with the first input power supply.
9. A computer readable storage medium, characterized in that a computer program is stored in the computer readable storage medium, wherein the computer program, when being executed by a processor, implements the steps of the method according to any of the claims 1 to 7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any one of claims 1 to 7 when the computer program is executed.
CN202311800074.9A 2023-12-25 2023-12-25 Equipment management method and device, storage medium and electronic device Pending CN117784643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311800074.9A CN117784643A (en) 2023-12-25 2023-12-25 Equipment management method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311800074.9A CN117784643A (en) 2023-12-25 2023-12-25 Equipment management method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN117784643A true CN117784643A (en) 2024-03-29

Family

ID=90380970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311800074.9A Pending CN117784643A (en) 2023-12-25 2023-12-25 Equipment management method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN117784643A (en)

Similar Documents

Publication Publication Date Title
US20120079139A1 (en) Computer system, apparatus, and method for checking for cable misconnections
CN109587005B (en) Connection detection method and device, computer equipment and readable storage medium
CN106055373A (en) Automatic batch upgrading device and method for unmanned aerial vehicle firmware
WO2023098375A1 (en) Operation sheet processing method and device, storage medium, and electronic device
CN110192321B (en) Electronic device
CN103279407B (en) A kind of off-line test system of ATCA veneer and subtest board
CN102055597A (en) Stability test platform and method
CN107239385B (en) Server and indicator light control method
CN101609407A (en) Detection method based on the full station model file coupling of publisher/subscriber's pattern
CN108994840A (en) Failed machines people rescue skills and device
CN103186392B (en) Computer system
CN102354261A (en) Remote control system for power supply switches of machine room servers
CN108390763A (en) PoE interchangers, internet protocol camera system and its automatic testing method
CN111427602B (en) Method for upgrading firmware on line of intelligent platform management controller of VPX case
CN111193968A (en) Verification method, debugging verification host, monitoring host and system of remote signaling information
CN104678337A (en) Automatic detection method for performance indicators of optical digital relay protection testers
CN103279702A (en) Method for monitoring full-substation model file version during debugging of intelligent substation
CN117784643A (en) Equipment management method and device, storage medium and electronic device
CN109982284B (en) Communication system and method for line inspection
CN113722211B (en) BMC debugging method, device, system and embedded equipment
CN102854816A (en) Integrated circuit programming system with wireless communication capability and realization method of integrated circuit programming system
CN113543185B (en) Automatic-opening-assistance-based 5G high-density base station rapid operation method and system
CN207884645U (en) PoE interchangers and internet protocol camera system
CN109992277B (en) Circuit board programming system, method and device
CN114095343A (en) Disaster recovery method, device, equipment and storage medium based on double-active system

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