CN115412380B - POE power supply monitoring method, equipment and storage medium of POE switch - Google Patents

POE power supply monitoring method, equipment and storage medium of POE switch Download PDF

Info

Publication number
CN115412380B
CN115412380B CN202211015948.5A CN202211015948A CN115412380B CN 115412380 B CN115412380 B CN 115412380B CN 202211015948 A CN202211015948 A CN 202211015948A CN 115412380 B CN115412380 B CN 115412380B
Authority
CN
China
Prior art keywords
power supply
poe
port
power
management unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211015948.5A
Other languages
Chinese (zh)
Other versions
CN115412380A (en
Inventor
曾程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Cisco Networking Technology Co Ltd
Original Assignee
Inspur Cisco Networking 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 Inspur Cisco Networking Technology Co Ltd filed Critical Inspur Cisco Networking Technology Co Ltd
Priority to CN202211015948.5A priority Critical patent/CN115412380B/en
Publication of CN115412380A publication Critical patent/CN115412380A/en
Application granted granted Critical
Publication of CN115412380B publication Critical patent/CN115412380B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q1/00Details of selecting apparatus or arrangements
    • H04Q1/02Constructional details
    • H04Q1/10Exchange station construction

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The application discloses a POE power supply monitoring method, equipment and a storage medium of a POE switch, which are used for solving the following technical problems: in the conventional POE power supply management, the power supply management is not uniform and the operation and maintenance are difficult. The method comprises the following steps: constructing a POE management unit according to a preset POE power supply monitoring requirement; wherein, POE management unit includes: a power supply information acquisition task and a power supply information uploading task; performing containerization treatment on the POE management unit to obtain a POE management container corresponding to the POE management unit; under the condition that the POE exchanger operates, the POE management container calls the southbound interface through the power supply information acquisition task to acquire the power supply information of the POE exchanger uploaded by the MCU, and calls the northbound interface through the power supply information uploading task to send the power supply information to the display unit for display. The application realizes the unification of power supply management and reduces the operation and maintenance difficulty through the method.

Description

POE power supply monitoring method, equipment and storage medium of POE switch
Technical Field
The application relates to the technical field of POE power supply, in particular to a POE power supply monitoring method, equipment and storage medium of a POE switch.
Background
PoE (Power over Ethernet), referred to as power over ethernet, which can provide both power and data transfer over a network cable to a Powered Device (PD) that supports PoE. Among the switches, a switch having POE function is generally called a POE power supply switch. The powered devices include wireless Access Points (APs), cameras, and other powered devices.
In the existing POE power supply management, the MCU in the POE power supply module realizes priority management based on the power supply port priority configured by the controller; the Controller (CPU) of the switch needs to interact with the MCU, acquires the state of the power supply port such as the switch state and the port temperature through the MCU, and sends an instruction to enable or close the power supply of the port according to a preset task, and configures the power of the port power supply and the like. Under the framework, part of power supply management comes from the MCU, and part of power supply management comes from the controller of the switch, so that the power supply management cannot be unified, and the task of power supply management is fixed and the operation and maintenance are difficult.
Disclosure of Invention
The embodiment of the application provides a POE power supply monitoring method, equipment and a storage medium of a POE switch, which are used for solving the following technical problems: in the conventional POE power supply management, the power supply management is not uniform and the operation and maintenance are difficult.
In a first aspect, an embodiment of the present application provides a POE power supply monitoring method for a POE switch, which is characterized in that the method includes: constructing a POE management unit according to a preset POE power supply monitoring requirement; wherein, POE management unit includes: a power supply information acquisition task and a power supply information uploading task; performing containerization treatment on the POE management unit to obtain a POE management container corresponding to the POE management unit; under the condition that the POE exchanger operates, the POE management container calls the southbound interface through the power supply information acquisition task to acquire the power supply information of the POE exchanger uploaded by the MCU, and calls the northbound interface through the power supply information uploading task to send the power supply information to the display unit for display.
In one implementation manner of the present application, according to a preset POE power supply monitoring requirement, a POE management unit is constructed, which specifically includes: setting a power supply information acquisition task based on interface information of a southbound interface and the type of power supply information of the POE switch to be acquired, so that the POE management unit can acquire the power supply information of the POE switch based on the power supply information acquisition task; based on the interface information and the interface transmission protocol of the northbound interface, a power supply information uploading task is set, so that the POE management unit can process and upload power supply information to the display unit based on the power supply information uploading task.
In one implementation of the present application, the types of power supply information include: the power supply state of each power supply port of the POE switch, the power supply power of each power supply port of the POE switch, the overall power supply power of the POE switch, the power supply priority sequence of the power supply ports of the POE switch and the Class classification of PD loads connected with each power supply port of the POE switch.
In one implementation of the present application, the method further comprises: under the condition that the POE switch operates, if a port to be powered off of the POE switch is required to be powered off, the display unit generates a power-off instruction corresponding to the port to be powered off based on power-off triggering operation of the port to be powered off by a user, and sends the power-off instruction to the POE management container through a northbound interface of the POE switch; the POE management container analyzes the power-off instruction based on an interface transmission protocol to generate a first MCU operation instruction corresponding to a port to be powered off, and sends the first MCU operation instruction to the MCU through a southbound interface of the POE switch; and the MCU executes the first MCU operation instruction to realize the power-off operation of the port to be powered off.
In one implementation of the present application, the POE management unit further includes: port power priority tasks, power monitoring tasks.
In one implementation manner of the present application, according to a preset POE power supply monitoring requirement, a POE management unit is constructed, and further including: determining MCU switch instructions corresponding to each power supply port according to port numbers of each power supply port of the POE switch, and setting a port power supply priority task based on a default port power supply priority, so that the POE management unit can trigger the MCU switch instructions corresponding to each power supply port based on the port power supply priority task, thereby realizing control of the power supply priority of each power supply port; setting a power monitoring task according to a preset residual output power allowance calculation rule, so that the POE management unit can issue a second MCU operation instruction according to the port power supply priority under the condition that the residual output power allowance is smaller than a power preset threshold, perform disconnection operation on a power supply port corresponding to the last priority in power supply, generate alarm information and send the alarm information to the display unit; wherein, the remaining output power margin calculation rule is: remaining output power margin = maximum output power-current power supply power for all power supply ports; the alarm information comprises: and opening the port number of the power supply port based on the second MCU operation instruction.
In one implementation of the present application, the method further comprises: setting a mapping model corresponding to the port power supply priority task in the display unit so that the port power supply priority set in the POE management container can be adjusted based on triggering of the display module; and setting a mapping model corresponding to the power monitoring task in the display unit so that the power preset threshold and the maximum output power set in the POE management container can be adjusted based on triggering of the display module.
In one implementation of the application, the southbound interface comprises: UAET interfaces; the north interface comprises: http interface, https interface, snmp interface, restconf interface.
In a second aspect, an embodiment of the present application further provides a POE power supply monitoring device of a POE switch, where the device includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to: constructing a POE management unit according to a preset POE power supply monitoring requirement; wherein, POE management unit includes: a power supply information acquisition task and a power supply information uploading task; performing containerization treatment on the POE management unit to obtain a POE management container corresponding to the POE management unit; under the condition that the POE exchanger operates, the POE management container calls the southbound interface through the power supply information acquisition task to acquire the power supply information of the POE exchanger uploaded by the MCU, and calls the northbound interface through the power supply information uploading task to send the power supply information to the display unit for display.
In a third aspect, an embodiment of the present application further provides a non-volatile computer storage medium for POE power supply monitoring of a POE switch, storing computer executable instructions, where the computer executable instructions are configured to: constructing a POE management unit according to a preset POE power supply monitoring requirement; wherein, POE management unit includes: a power supply information acquisition task and a power supply information uploading task; performing containerization treatment on the POE management unit to obtain a POE management container corresponding to the POE management unit; under the condition that the POE exchanger operates, the POE management container calls the southbound interface through the power supply information acquisition task to acquire the power supply information of the POE exchanger uploaded by the MCU, and calls the northbound interface through the power supply information uploading task to send the power supply information to the display unit for display.
According to the POE power supply monitoring method, the POE power supply monitoring equipment and the storage medium for the POE switch, the unified power supply management is realized through the constructed POE management unit, so that the load of the MCU connected with the POE management unit is reduced, the MCU only needs to execute the power supply or disconnection instruction on each power supply port on the basis of completing basic power supply information acquisition, and the power supply stability is improved. Deployment is facilitated by the containerized POE management unit, and operational costs are reduced. The power supply management can be adjusted through the display unit, and the power supply management mode is enhanced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
fig. 1 is a flowchart of a POE power supply monitoring method of a POE switch according to an embodiment of the present application;
fig. 2 is a schematic diagram of an internal structure of POE power supply monitoring equipment of a POE switch according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The container is a virtualized application, a lightweight sandbox (sandbox). Each container runs an application, the different containers are isolated from each other, and the containers can also communicate with each other through a network. The creation and stopping of the container are very fast, almost consistent with the creation and stopping of the native application; in addition, the additional demands placed on system resources by the container itself are very limited, far below that of conventional virtual machines. Many times, there is no problem even when the container is directly treated as the application itself.
The embodiment of the application provides a POE power supply monitoring method, equipment and a storage medium of a POE switch, which are used for solving the following technical problems: in the conventional POE power supply management, the power supply management is not uniform and the operation and maintenance are difficult.
The following describes the technical scheme provided by the embodiment of the application in detail through the attached drawings.
Fig. 1 is a flowchart of a POE power supply monitoring method of a POE switch according to an embodiment of the present application. As shown in fig. 1, the POE power supply monitoring method of the POE switch provided by the embodiment of the present application specifically includes the following steps:
Step 101, constructing a POE management unit according to a preset POE power supply monitoring requirement.
In one embodiment of the present application, in order to implement POE power management, according to a preset POE power monitoring requirement, a POE management unit constructed in the present application includes: the power supply information acquisition task, the power supply information uploading task, the port power supply priority task and the power monitoring task.
Specifically, based on the interface information of the south interface and the type of the power supply information of the POE switch to be acquired, a power supply information acquisition task is set, so that the POE management unit can acquire the power supply information of the POE switch based on the power supply information acquisition task. It should be noted that, the southbound interface adopted in the embodiment of the present application may include: UAET interfaces, etc.
In one embodiment of the application, the types of power supply information include: the power supply state of each power supply port of the POE switch, the power supply power of each power supply port of the POE switch, the overall power supply power of the POE switch, the power supply priority sequence of the power supply ports of the POE switch, class classification of PD loads connected with each power supply port of the POE switch and the like.
Further, based on the interface information and the interface transmission protocol of the northbound interface, a power supply information uploading task is set, so that the POE management unit can process and upload power supply information to the display unit based on the power supply information uploading task. It should be noted that, the north interface adopted in the embodiment of the present application may include: http interface, https interface, snmp interface, restconf interface, etc.
Further, according to the port numbers of the power supply ports of the POE switch, MCU switch instructions corresponding to the power supply ports are determined, and based on the default port power supply priority, a port power supply priority task is set, so that the POE management unit can trigger the MCU switch instructions corresponding to the power supply ports based on the port power supply priority task, and control of the power supply priority of the power supply ports is achieved.
Further, according to a preset remaining output power allowance calculation rule, a power monitoring task is set, so that the POE management unit can issue a second MCU operation instruction according to the port power supply priority under the condition that the remaining output power allowance is smaller than a power preset threshold, perform disconnection operation on a power supply port corresponding to the last priority in power supply, generate alarm information and send the alarm information to the display unit. The remaining output power margin calculation rule is as follows: remaining output power margin = maximum output power-current power supply power for all power supply ports; the alarm information comprises: and opening the port number of the power supply port based on the second MCU operation instruction.
It can be understood that the built POE management unit may further include other tasks, for example, an operation temperature monitoring task, and the like, which may be set automatically according to actual requirements. It can be further understood that the unified power supply management is realized through the method, so that the load of the MCU connected with the POE management unit is reduced, the MCU only needs to execute the power supply or disconnection instruction on each power supply port on the basis of completing the basic power supply information acquisition, and the power supply stability is improved.
And 102, carrying out containerization processing on the POE management unit to obtain a POE management container corresponding to the POE management unit.
In one embodiment of the present application, after constructing the POE management unit according to a preset POE power supply monitoring requirement, the POE management unit is subjected to a containerization process. It will be appreciated that the process of performing the containerization process is to package together the code files of the POE management unit and the components (e.g. libraries, frames and other dependencies etc.) required to run the code files, keeping them isolated in their own "containers". The method can be used for immediately deploying the containerized POE management unit more easily, and reducing the operation and maintenance cost.
Step 103, under the condition that the POE switch operates, the POE management container calls the southbound interface through the power supply information acquisition task to acquire the power supply information of the POE switch uploaded by the MCU, and calls the northbound interface through the power supply information uploading task to send the power supply information to the display unit for display.
In one embodiment of the application, under the condition that the POE switch operates, the POE management container calls the southbound interface through the power supply information acquisition task to acquire the power supply information of the POE switch uploaded by the MCU, and calls the northbound interface through the power supply information uploading task to send the power supply information to the display unit for display.
Further, under the condition that the POE switch operates, if a port to be powered off of the POE switch needs to be powered off, the display unit generates a power-off instruction corresponding to the port to be powered off based on power-off triggering operation of the port to be powered off by a user, and sends the power-off instruction to the POE management container through a northbound interface of the POE switch; the POE management container analyzes the power-off instruction based on an interface transmission protocol to generate a first MCU operation instruction corresponding to a port to be powered off, and sends the first MCU operation instruction to the MCU through a southbound interface of the POE switch; and the MCU executes the first MCU operation instruction to realize the power-off operation of the port to be powered off.
In one embodiment of the present application, a mapping model corresponding to the port power supply priority task is set in the display unit, so that the port power supply priority set in the POE management container can be adjusted based on triggering the display module
In one embodiment of the present application, a mapping model corresponding to the power monitoring task may also be set in the display unit, so that the power preset threshold and the maximum output power set in the POE management container may be adjusted based on triggering the display module.
In one embodiment of the present application, a power supply port power adjustment model may be further set in the display unit, so that the power supply port power adjustment model generates a corresponding power supply port power adjustment instruction under the triggering condition, and sends the power supply port power adjustment instruction to the POE management container. And after analyzing the instruction, the POE management container sends the instruction to the MCU so as to enable the MCU to carry out power adjustment on the corresponding power supply port.
The above is a method embodiment of the present application. Based on the same inventive concept, the embodiment of the application also provides POE power supply monitoring equipment of the POE switch, and the structure of the POE power supply monitoring equipment is shown in fig. 2.
Fig. 2 is a schematic diagram of an internal structure of POE power supply monitoring equipment of a POE switch according to an embodiment of the present application. As shown in fig. 2, the apparatus includes:
At least one processor 201;
And a memory 202 communicatively coupled to the at least one processor;
Wherein the memory 202 stores instructions executable by the at least one processor, the instructions being executable by the at least one processor 201 to enable the at least one processor 201 to:
constructing a POE management unit according to a preset POE power supply monitoring requirement; wherein, POE management unit includes: a power supply information acquisition task and a power supply information uploading task;
performing containerization treatment on the POE management unit to obtain a POE management container corresponding to the POE management unit;
Under the condition that the POE exchanger operates, the POE management container calls the southbound interface through the power supply information acquisition task to acquire the power supply information of the POE exchanger uploaded by the MCU, and calls the northbound interface through the power supply information uploading task to send the power supply information to the display unit for display.
Some embodiments of the application provide a non-volatile computer storage medium corresponding to one of fig. 1, storing computer-executable instructions configured to:
constructing a POE management unit according to a preset POE power supply monitoring requirement; wherein, POE management unit includes: a power supply information acquisition task and a power supply information uploading task;
performing containerization treatment on the POE management unit to obtain a POE management container corresponding to the POE management unit;
Under the condition that the POE exchanger operates, the POE management container calls the southbound interface through the power supply information acquisition task to acquire the power supply information of the POE exchanger uploaded by the MCU, and calls the northbound interface through the power supply information uploading task to send the power supply information to the display unit for display.
The embodiments of the present application are described in a progressive manner, and the same and similar parts of the embodiments are all referred to each other, and each embodiment is mainly described in the differences from the other embodiments. In particular, for the internet of things device and the medium embodiment, since they are substantially similar to the method embodiment, the description is relatively simple, and the relevant points are referred to in the description of the method embodiment.
The system, the medium and the method provided by the embodiment of the application are in one-to-one correspondence, so that the system and the medium also have similar beneficial technical effects to the corresponding method, and the beneficial technical effects of the method are explained in detail above, so that the beneficial technical effects of the system and the medium are not repeated here.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (7)

1. A POE power supply monitoring method for a POE switch, the method comprising:
Constructing a POE management unit according to a preset POE power supply monitoring requirement; wherein, POE management unit includes: a power supply information acquisition task and a power supply information uploading task;
Performing containerization treatment on the POE management unit to obtain a POE management container corresponding to the POE management unit;
Under the condition that a POE switch operates, the POE management container calls a southbound interface through the power supply information acquisition task to acquire power supply information of the POE switch uploaded by an MCU, and calls a northbound interface through the power supply information uploading task to send the power supply information to a display unit for display;
according to the POE power supply monitoring requirement that presets, construct POE management unit, specifically include:
Setting a power supply information acquisition task based on interface information of the south interface and the type of power supply information of the POE switch to be acquired, so that the POE management unit can acquire the power supply information of the POE switch based on the power supply information acquisition task;
Setting a power supply information uploading task based on interface information and an interface transmission protocol of the northbound interface, so that the POE management unit can process and upload the power supply information to the display unit based on the power supply information uploading task;
The POE management unit further includes: a port power supply priority task and a power monitoring task;
according to POE power supply monitoring demand that presets, construct POE management unit still includes:
determining MCU switch instructions corresponding to each power supply port according to port numbers of each power supply port of a POE switch, and setting a port power supply priority task based on a default port power supply priority, so that the POE management unit can trigger the MCU switch instructions corresponding to each power supply port based on the port power supply priority task, thereby realizing control of the power supply priority of each power supply port;
setting a power monitoring task according to a preset residual output power allowance calculation rule, so that the POE management unit can issue a second MCU operation instruction according to the port power supply priority under the condition that the residual output power allowance is smaller than a power preset threshold, perform disconnection operation on a power supply port corresponding to the last priority in power supply, generate alarm information and send the alarm information to the display unit; wherein, the remaining output power margin calculation rule is: remaining output power margin = maximum output power-current power supply power for all power supply ports; the alarm information comprises: and opening the port number of the power supply port based on the second MCU operation instruction.
2. The POE power supply monitoring method of a POE switch as recited in claim 1 wherein the type of power supply information comprises: the power supply state of each power supply port of the POE switch, the power supply power of each power supply port of the POE switch, the overall power supply power of the POE switch, the power supply priority sequence of the power supply ports of the POE switch and the Class classification of PD loads connected with each power supply port of the POE switch.
3. The POE power supply monitoring method of a POE switch as recited in claim 1, further comprising:
Under the condition that a POE switch operates, if a port to be powered off of the POE switch needs to be powered off, the display unit generates a power-off instruction corresponding to the port to be powered off based on a power-off trigger operation of a user on the port to be powered off, and sends the power-off instruction to the POE management container through a northbound interface of the POE switch;
The POE management container analyzes the power-off instruction based on an interface transmission protocol to generate a first MCU operation instruction corresponding to the port to be powered off, and sends the first MCU operation instruction to the MCU through a southbound interface of the POE switch;
and the MCU executes the first MCU operation instruction to realize the power-off operation of the port to be powered off.
4. The POE power supply monitoring method of a POE switch as recited in claim 1, further comprising:
setting a mapping model corresponding to a port power supply priority task in the display unit, so that the port power supply priority set in the POE management container can be adjusted based on triggering the display module;
and setting a mapping model corresponding to the power monitoring task in the display unit so that the power preset threshold and the maximum output power set in the POE management container can be adjusted based on triggering the display module.
5. The POE power supply monitoring method of a POE switch as recited in claim 1 wherein said southbound interface comprises: UAET interfaces; the north interface includes: http interface, https interface, snmp interface, restconf interface.
6. POE power supply monitoring equipment of POE switch, characterized in that said equipment comprises:
At least one processor;
And a memory communicatively coupled to the at least one processor;
Wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to:
Constructing a POE management unit according to a preset POE power supply monitoring requirement; wherein, POE management unit includes: a power supply information acquisition task and a power supply information uploading task;
Performing containerization treatment on the POE management unit to obtain a POE management container corresponding to the POE management unit;
Under the condition that a POE switch operates, the POE management container calls a southbound interface through the power supply information acquisition task to acquire power supply information of the POE switch uploaded by an MCU, and calls a northbound interface through the power supply information uploading task to send the power supply information to a display unit for display;
according to the POE power supply monitoring requirement that presets, construct POE management unit, specifically include:
Setting a power supply information acquisition task based on interface information of the south interface and the type of power supply information of the POE switch to be acquired, so that the POE management unit can acquire the power supply information of the POE switch based on the power supply information acquisition task;
Setting a power supply information uploading task based on interface information and an interface transmission protocol of the northbound interface, so that the POE management unit can process and upload the power supply information to the display unit based on the power supply information uploading task;
The POE management unit further includes: a port power supply priority task and a power monitoring task;
according to POE power supply monitoring demand that presets, construct POE management unit still includes:
determining MCU switch instructions corresponding to each power supply port according to port numbers of each power supply port of a POE switch, and setting a port power supply priority task based on a default port power supply priority, so that the POE management unit can trigger the MCU switch instructions corresponding to each power supply port based on the port power supply priority task, thereby realizing control of the power supply priority of each power supply port;
setting a power monitoring task according to a preset residual output power allowance calculation rule, so that the POE management unit can issue a second MCU operation instruction according to the port power supply priority under the condition that the residual output power allowance is smaller than a power preset threshold, perform disconnection operation on a power supply port corresponding to the last priority in power supply, generate alarm information and send the alarm information to the display unit; wherein, the remaining output power margin calculation rule is: remaining output power margin = maximum output power-current power supply power for all power supply ports; the alarm information comprises: and opening the port number of the power supply port based on the second MCU operation instruction.
7. A non-volatile computer storage medium for POE power monitoring of a POE switch, storing computer executable instructions, the computer executable instructions being configured to:
Constructing a POE management unit according to a preset POE power supply monitoring requirement; wherein, POE management unit includes: a power supply information acquisition task and a power supply information uploading task;
Performing containerization treatment on the POE management unit to obtain a POE management container corresponding to the POE management unit;
Under the condition that a POE switch operates, the POE management container calls a southbound interface through the power supply information acquisition task to acquire power supply information of the POE switch uploaded by an MCU, and calls a northbound interface through the power supply information uploading task to send the power supply information to a display unit for display;
according to the POE power supply monitoring requirement that presets, construct POE management unit, specifically include:
Setting a power supply information acquisition task based on interface information of the south interface and the type of power supply information of the POE switch to be acquired, so that the POE management unit can acquire the power supply information of the POE switch based on the power supply information acquisition task;
Setting a power supply information uploading task based on interface information and an interface transmission protocol of the northbound interface, so that the POE management unit can process and upload the power supply information to the display unit based on the power supply information uploading task;
The POE management unit further includes: a port power supply priority task and a power monitoring task;
according to POE power supply monitoring demand that presets, construct POE management unit still includes:
determining MCU switch instructions corresponding to each power supply port according to port numbers of each power supply port of a POE switch, and setting a port power supply priority task based on a default port power supply priority, so that the POE management unit can trigger the MCU switch instructions corresponding to each power supply port based on the port power supply priority task, thereby realizing control of the power supply priority of each power supply port;
setting a power monitoring task according to a preset residual output power allowance calculation rule, so that the POE management unit can issue a second MCU operation instruction according to the port power supply priority under the condition that the residual output power allowance is smaller than a power preset threshold, perform disconnection operation on a power supply port corresponding to the last priority in power supply, generate alarm information and send the alarm information to the display unit; wherein, the remaining output power margin calculation rule is: remaining output power margin = maximum output power-current power supply power for all power supply ports; the alarm information comprises: and opening the port number of the power supply port based on the second MCU operation instruction.
CN202211015948.5A 2022-08-24 2022-08-24 POE power supply monitoring method, equipment and storage medium of POE switch Active CN115412380B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211015948.5A CN115412380B (en) 2022-08-24 2022-08-24 POE power supply monitoring method, equipment and storage medium of POE switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211015948.5A CN115412380B (en) 2022-08-24 2022-08-24 POE power supply monitoring method, equipment and storage medium of POE switch

Publications (2)

Publication Number Publication Date
CN115412380A CN115412380A (en) 2022-11-29
CN115412380B true CN115412380B (en) 2024-04-16

Family

ID=84161340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211015948.5A Active CN115412380B (en) 2022-08-24 2022-08-24 POE power supply monitoring method, equipment and storage medium of POE switch

Country Status (1)

Country Link
CN (1) CN115412380B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209140A (en) * 2013-05-06 2013-07-17 醴陵恒茂电子科技有限公司 Intelligent PoE (Power over Ethernet) switch and implementation method thereof
CN103944739A (en) * 2014-03-26 2014-07-23 深圳市迈腾电子有限公司 Intelligent POE power source supplying system and efficient POE power source managing method thereof
CN104813709A (en) * 2012-10-02 2015-07-29 瑞典爱立信有限公司 Control of power consumption modes of communications apparatus
CN106790365A (en) * 2016-11-18 2017-05-31 宁波锐德建筑设计咨询有限公司 A kind of intelligent energy saving building management system
CN113874811A (en) * 2019-05-30 2021-12-31 思科技术公司 Cloud management allocation of power usage to a network to control backup battery runtime
CN114253197A (en) * 2021-12-23 2022-03-29 浪潮思科网络科技有限公司 SDN network-based power supply equipment management system, method, equipment and medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI474666B (en) * 2012-05-23 2015-02-21 Accton Technology Corp A method for power source management and an apparatus for power source management
CN107659517B (en) * 2017-06-06 2024-05-07 广东优力普物联科技有限公司 PoE switch and management system based on local management
US11509491B2 (en) * 2020-06-14 2022-11-22 Dell Products L.P. Power-over-ethernet (POE) breakout module

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104813709A (en) * 2012-10-02 2015-07-29 瑞典爱立信有限公司 Control of power consumption modes of communications apparatus
CN103209140A (en) * 2013-05-06 2013-07-17 醴陵恒茂电子科技有限公司 Intelligent PoE (Power over Ethernet) switch and implementation method thereof
CN103944739A (en) * 2014-03-26 2014-07-23 深圳市迈腾电子有限公司 Intelligent POE power source supplying system and efficient POE power source managing method thereof
CN106790365A (en) * 2016-11-18 2017-05-31 宁波锐德建筑设计咨询有限公司 A kind of intelligent energy saving building management system
CN113874811A (en) * 2019-05-30 2021-12-31 思科技术公司 Cloud management allocation of power usage to a network to control backup battery runtime
CN114253197A (en) * 2021-12-23 2022-03-29 浪潮思科网络科技有限公司 SDN network-based power supply equipment management system, method, equipment and medium

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
PoE交换机设计与配置管理;刘嘉滨;;实验室研究与探索(06);全文 *
The electrical ethernet monitoring system based on embedded Web server;Jian-ming Jiang等;《2010 The 2nd International Conference on Computer and Automation Engineering (ICCAE)》;全文 *
城市快速扩张下的城郊供电管理;滕修法;;中国电力企业管理;20130315(06);全文 *
基于GPON承载的WLAN建设模式分析;王先枝;赵小强;;光通信研究;20120810(04);全文 *
基于SI3400的嵌入式以太网供电设计;冯先成;司擎华;韵湘;;电源技术(03);全文 *

Also Published As

Publication number Publication date
CN115412380A (en) 2022-11-29

Similar Documents

Publication Publication Date Title
EP3971682A1 (en) Elastic power scaling
EP4020204A1 (en) Adaptive power management for edge device
CN106886434B (en) Distributed application installation method and device
EP4020198A1 (en) Neutral host edge services
DE112018005879T5 (en) Distributed software-defined industrial systems
US20150019191A1 (en) Industrial simulation using redirected i/o module configurations
EP3002649B1 (en) Industrial simulation using redirected i/o module configurations
CN110880952A (en) Switch interface rate self-adaptive tuning system, method, equipment and medium
EP4203564A1 (en) Adaptive cloud autoscaling
US10877803B2 (en) Control apparatus, control method and non-transitory storage medium
EP4109387A1 (en) Morphing computer vision pipeline
US20210328933A1 (en) Network flow-based hardware allocation
CN109412875B (en) zookeeper cluster automatic maintenance method and device
US20210117134A1 (en) Technologies for storage and processing for distributed file systems
CN107391408A (en) The creation method and equipment of EtherCAT main websites
CN113204353A (en) Big data platform assembly deployment method and device
CN117075930A (en) Computing framework management system
CN108806679A (en) voice awakening method and device
US20190042936A1 (en) Techniques to manage training or trained models for deep learning applications
CN113448690B (en) Monitoring method and device
CN114691153A (en) Kubernetes cluster deployment method and device
CN115412380B (en) POE power supply monitoring method, equipment and storage medium of POE switch
US10705981B2 (en) Method and apparatus for data storage service
CN116909678A (en) Implementation method and system of containerized PLC and management server
KR20220091363A (en) Technologies for memory-efficient video encoding and decoding

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant