CN108989057A - A kind of AI intelligent power supply method of POE interchanger - Google Patents
A kind of AI intelligent power supply method of POE interchanger Download PDFInfo
- Publication number
- CN108989057A CN108989057A CN201810882663.9A CN201810882663A CN108989057A CN 108989057 A CN108989057 A CN 108989057A CN 201810882663 A CN201810882663 A CN 201810882663A CN 108989057 A CN108989057 A CN 108989057A
- Authority
- CN
- China
- Prior art keywords
- electrical equipment
- power supply
- poe interchanger
- type
- poe
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 230000005611 electricity Effects 0.000 claims description 34
- 230000003068 static effect Effects 0.000 claims description 32
- 238000001514 detection method Methods 0.000 claims description 20
- 230000005055 memory storage Effects 0.000 claims description 8
- 230000007812 deficiency Effects 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005538 encapsulation Methods 0.000 description 2
- 230000008571 general function Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000004888 barrier function Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/10—Current supply arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses AI intelligent power supply method, POE interchanger, system and the storage mediums of a kind of POE interchanger.POE interchanger of the invention determines the type for the electrical equipment connecting with each port of POE interchanger by way of tabling look-up, priority of the POE interchanger to the power supply for electrical equipment is determined according to the type of the electrical equipment, target power supply strategy is determined to the priority of the power supply for electrical equipment based on the POE interchanger, the electrical equipment connecting with each port of POE interchanger is powered according to target power supply strategy, the type of identification terminal equipment can be passed through, and different intelligent power supply strategies is neatly executed according to the different type of terminal device, improve the deficiency that present POE interchanger only provides the basic function of supplying power of 802.3AF/AT standard, improve user experience.
Description
Technical field
The present invention relates to a kind of AI intelligent power supply method of switch technology field more particularly to POE interchanger, POE to hand over
It changes planes, system and storage medium.
Background technique
In safety monitoring engineer application, POE interchanger has obtained more and more common application, it have wiring it is simple,
The advantages that low in cost and highly-safe.POE interchanger currently on the market only provides the basic confession of 802.3AF/AT standard
Electricity Functional, and the quality of terminal device is irregular, terminal device often occurs because a variety of causes crashes.Engineering construction is completed
Later, it if terminal device breaks down, can cause damages to user, increase maintenance cost.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill
Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of AI intelligent power supply methods of POE interchanger, POE interchanger, system
And storage medium, it is intended to which basic function of supplying power can only be provided and event occur in terminal device by solving POE interchanger in the prior art
The technical issues of cannot being found in time when barrier.
To achieve the above object, the present invention provides a kind of AI intelligent power supply method of POE interchanger, the method includes with
Lower step:
The type for the electrical equipment connecting with each port of POE interchanger is determined by way of tabling look-up;
Priority of the POE interchanger to the power supply for electrical equipment is determined according to the type of the electrical equipment;
Target power supply strategy is determined to the priority of the power supply for electrical equipment based on the POE interchanger;
The electrical equipment connecting with each port of POE interchanger is powered according to target power supply strategy.
Preferably, the type of the electrical equipment that each port connection of POE interchanger is determined by way of tabling look-up, specifically
Include:
Based in static table, LLDP agreement, two-layer retransmitting table and the ARP table stored in POE interchanger any one or
Several ways determine the type of the electrical equipment of each port connection of the POE interchanger.
Preferably, described based in the static table stored in POE interchanger, LLDP agreement, two-layer retransmitting table and ARP table
Any one or a few mode determines the type of the electrical equipment of each port connection of the POE interchanger, specifically includes:
The electricity consumption connecting with each port of POE interchanger is searched in the static table of POE switch memory storage to set
Standby type;
Exist can not the first electrical equipment certain type of by the static table when, based on the LLDP agreement determination
The type of first electrical equipment;
In the first electrical equipment exist can not the second electrical equipment certain type of by LLDP agreement when, by searching for
The two-layer retransmitting table of the POE interchanger is with the type of determination second electrical equipment;
There is the target electrical equipment that device type can not be determined by the two-layer retransmitting table in the second electrical equipment
When, ARP request is sent to the target electrical equipment, determines that the target is used according to the message that the target electrical equipment returns
The type of electric equipment.
Preferably, described when the first electrical equipment of device type can not be determined by the static table by existing, it is based on
The LLDP agreement determines the type of first electrical equipment, specifically includes:
When the first electrical equipment of device type can not be determined by the static table by existing, set to first electricity consumption
Preparation send LLDP link detection packet;
According to the message that first electrical equipment is returned based on the LLDP link detection packet, first electricity consumption is determined
The type of equipment.
Preferably, described tactful to the electrical equipment being connect with each port of POE interchanger according to target power supply
It is powered, specifically includes:
It is more than the POE interchanger in the electricity consumption general power for the electrical equipment being connect with each port of POE interchanger
When maximum allowable power, the electrical equipment connecting with each port of POE interchanger is carried out based on target power supply strategy
Power supply.
Preferably, described tactful to the electrical equipment being connect with each port of POE interchanger according to target power supply
After being powered, the method also includes:
Every the number for the received data packet in port that preset time detection is connect with the electrical equipment;
The port for being less than preset threshold to the number restarts.
Preferably, the port for being less than preset threshold to the number restarts, and specifically includes:
When the number is less than preset threshold, obtains the electricity consumption connecting with the port that the number is less than threshold value and set
Standby type;
Type based on the electrical equipment determines whether to be restarted.
In addition, to achieve the above object, the present invention also provides a kind of POE interchanger, the POE interchanger includes: storage
Device, processor and the AI intelligent power supply journey for being stored in the POE interchanger that can be run on the memory and on the processor
Sequence, the AI intelligent power supply program of the POE interchanger are arranged for carrying out the AI intelligent power supply of POE interchanger as described above
The step of method.
In addition, to achieve the above object, the present invention also provides a kind of AI intelligent power supply system of POE interchanger, the POE
The AI intelligent power supply system of interchanger includes:
Determination type module, for determining the electrical equipment connecting with each port of POE interchanger by way of tabling look-up
Type;
Priority Determination module, for determining the POE interchanger to the electricity consumption according to the type of the electrical equipment
The priority of equipment power supply;
The tactful determining module of power supply, for being determined based on the POE interchanger to the priority of the power supply for electrical equipment
Target power supply strategy;
Power supply module, for being set according to target power supply strategy to the electricity consumption being connect with each port of POE interchanger
It is standby to be powered.
In addition, to achieve the above object, the present invention also provides a kind of storage medium, being stored with POE on the storage medium
The AI intelligent power supply program of interchanger is realized when the AI intelligent power supply program of the POE interchanger is executed by processor as above
The step of AI intelligent power supply method of the POE interchanger.
In the present invention, POE interchanger determines the electrical equipment connecting with each port of POE interchanger by way of tabling look-up
Type, determine that the POE interchanger to the priority of the power supply for electrical equipment, is based on according to the type of the electrical equipment
The POE interchanger determines target power supply strategy to the priority of the power supply for electrical equipment, is powered according to the target tactful
The electrical equipment connecting with each port of POE interchanger is powered, can be by the type of identification terminal equipment, and root
Different intelligent power supply strategies is executed according to the different type of terminal device, is improved present POE interchanger and is only provided
The deficiency of the basic function of supplying power of 802.3AF/AT standard improves user experience.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of the POE interchanger for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the AI intelligent power supply method first embodiment of POE interchanger of the present invention;
Fig. 3 is the flow diagram of the AI intelligent power supply method second embodiment of POE interchanger of the present invention;
Fig. 4 is the functional block diagram of the AI intelligent power supply system first embodiment of POE interchanger of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is the structural representation of the POE interchanger for the hardware running environment that the embodiment of the present invention is related to
Figure.
As shown in Figure 1, the POE interchanger may include: processor 1001, such as CPU, communication bus 1002, Yong Hujie
Mouth 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is logical for realizing the connection between these components
Letter.User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), and optional user connects
Mouth 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include the wired of standard
Interface, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
It, can be with it will be understood by those skilled in the art that structure shown in Fig. 1 does not constitute the restriction to POE interchanger
Including perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include operating system, network communication mould in a kind of memory 1005 of storage medium
The AI intelligent power supply program of block, Subscriber Interface Module SIM and POE interchanger.
In POE interchanger shown in FIG. 1, network interface 1004 is mainly used for carrying out data communication with external network;User
Interface 1003 is mainly used for receiving the input instruction of user;The POE interchanger calls memory 1005 by processor 1001
The POE power supply for exchange program of middle storage, and execute following operation:
The type for the electrical equipment connecting with each port of POE interchanger is determined by way of tabling look-up;
Priority of the POE interchanger to the power supply for electrical equipment is determined according to the type of the electrical equipment;
Target power supply strategy is determined to the priority of the power supply for electrical equipment based on the POE interchanger;
The electrical equipment connecting with each port of POE interchanger is powered according to target power supply strategy.
Further, processor 1001 can call the AI intelligent power supply journey of the POE interchanger stored in memory 1005
Sequence also executes following operation:
Based in static table, LLDP agreement, two-layer retransmitting table and the ARP table stored in POE interchanger any one or
Several ways determine the type of the electrical equipment of each port connection of the POE interchanger.
Further, processor 1001 can call the AI intelligent power supply journey of the POE interchanger stored in memory 1005
Sequence also executes following operation:
The electricity consumption connecting with each port of POE interchanger is searched in the static table of POE switch memory storage to set
Standby type;
Exist can not the first electrical equipment certain type of by the static table when, based on the LLDP agreement determination
The type of first electrical equipment;
In the first electrical equipment exist can not the second electrical equipment certain type of by LLDP agreement when, by searching for
The two-layer retransmitting table of the POE interchanger is with the type of determination second electrical equipment;
There is the target electrical equipment that device type can not be determined by the two-layer retransmitting table in the second electrical equipment
When, ARP request is sent to the target electrical equipment, determines that the target is used according to the message that the target electrical equipment returns
The type of electric equipment.
Further, processor 1001 can call the AI intelligent power supply journey of the POE interchanger stored in memory 1005
Sequence also executes following operation:
When the first electrical equipment of device type can not be determined by the static table by existing, set to first electricity consumption
Preparation send LLDP link detection packet;
According to the message that first electrical equipment is returned based on the LLDP link detection packet, first electricity consumption is determined
The type of equipment.
Further, processor 1001 can call the AI intelligent power supply journey of the POE interchanger stored in memory 1005
Sequence also executes following operation:
It is more than the POE interchanger in the electricity consumption general power for the electrical equipment being connect with each port of POE interchanger
When maximum allowable power, the electrical equipment connecting with each port of POE interchanger is carried out based on target power supply strategy
Power supply.
Further, processor 1001 can call the AI intelligent power supply journey of the POE interchanger stored in memory 1005
Sequence also executes following operation:
Every the number for the received data packet in port that preset time detection is connect with the electrical equipment;
The port for being less than preset threshold to the number restarts.
Further, processor 1001 can call the AI intelligent power supply journey of the POE interchanger stored in memory 1005
Sequence also executes following operation:
When the number is less than preset threshold, obtains the electricity consumption connecting with the port that the number is less than threshold value and set
Standby type;
Type based on the electrical equipment determines whether to be restarted.
Through the above scheme, the determination by way of tabling look-up of POE interchanger is connect the present embodiment with each port of POE interchanger
Electrical equipment type, determine the POE interchanger to the power supply for electrical equipment according to the type of the electrical equipment
Priority determines target power supply strategy to the priority of the power supply for electrical equipment based on the POE interchanger, according to the mesh
Mark power supply strategy is powered the electrical equipment connecting with each port of POE interchanger, can pass through identification terminal equipment
Type, and execute different intelligent power supply strategies according to the different type of terminal device, improve present POE interchanger only
The deficiency of the basic function of supplying power of 802.3AF/AT standard is provided, user experience is improved.
Based on above-mentioned hardware configuration, the AI intelligent power supply method embodiment of POE interchanger of the present invention is proposed.
It is the flow diagram of the AI intelligent power supply method first embodiment of POE interchanger of the present invention referring to Fig. 2, Fig. 2.
In the first embodiment, the POE interchanger AI intelligent power supply method the following steps are included:
S10: the type for the electrical equipment connecting with each port of POE interchanger is determined by way of tabling look-up.
It is understood that POE (Power Over Ethernet) interchanger refers to being routed base in existing Ethernet
In the case that plinth framework does not make any changes, passed for some terminals based on wireless network, such as telephone set, web camera etc.
While transmission of data signal, moreover it is possible to provide the equipment of direct current for such equipment, that is, support the interchanger of Power over Ethernet.
Each port POE can connect a variety of IP-based terminal devices simultaneously, and the type of the equipment specifically connected can lead to
It crosses the modes such as static table, two-layer retransmitting table and the ARP table searched and stored in POE interchanger to obtain, can lead in the concrete realization
Cross it is one such or in conjunction with several ways come determine the connection of each port POE terminal device type, as long as can obtain and POE
The type of the terminal device of each port connection, the present embodiment are without restriction to specific lookup mode.Certainly, specifically real
It can be combined with LLDP agreement in existing to determine the type of terminal device.
It is understood that currently, the type of the network equipment it is increasingly various and it is respective configuration it is intricate, in order to make not
Equipment with manufacturer can mutually find in a network and interact respective system and configuration information, need the letter of a standard
Intercommunion platform is ceased, LLDP (Link Layer Discovery Protocol, Link Layer Discovery Protocol) is exactly in such background
Lower generation, it provides a kind of link layer discovery mode of standard, can by the unique ability of local device, management address,
The Information encapsulations such as device identification and interface identifier are in Link Layer Discovery Protocol data cell (Link Layer Discovery
Protocol Data Unit, LLDPDU) in be distributed to oneself direct-connected neighbour.
Address resolution protocol (ARP, Address Resolution Protocol) is obtained physically according to IP address
One ICP/IP protocol of location.Host sends information and the ARP request comprising target ip address is broadcast to the target master on network
Machine, and return message is received, the physical address of target is determined with this;It receives and returns to message for the IP address and physics of destination host
Address is stored in the machine arp cache and retains certain time, and directly inquiry arp cache is when next time requests to economize on resources.
In the concrete realization, it can search in the static table of POE switch memory storage and be exchanged with the POE first
The type of the electrical equipment of each port of machine connection, if there is certain type of first electrical equipment of the static table can not be passed through
When, the type of first electrical equipment is determined based on the LLDP agreement, presence can not pass through in the first electrical equipment
When certain type of second electrical equipment of LLDP agreement, by searching for the two-layer retransmitting table described in determination of the POE interchanger
There is the mesh that device type can not be determined by the two-layer retransmitting table in the second electrical equipment in the type of the second electrical equipment
When marking electrical equipment, ARP request is sent to the target electrical equipment, is determined according to the message that the target electrical equipment returns
The type of the target electrical equipment.
It is understood that the static table in POE interchanger not necessarily stores all electricity consumptions connecting with POE interchanger
The type of equipment is used when the first electrical equipment of device type can not be determined by the static table by existing to described first
Electric equipment sends LLDP link detection packet, is disappeared according to first electrical equipment based on what the LLDP link detection packet returned
Breath, determines the type of first electrical equipment.In addition, not every equipment is all supported therefore, can also deposit in LLDP agreement
Being not based on the LLDP link detection in some equipment includes returning to corresponding message, then needs by searching for POE friendship
The two-layer retransmitting table changed planes is with the type of the corresponding electrical equipment of determination.
It should be noted that if the electricity consumption connecting with POE all of the port can be directly acquired by simplest mode
Equipment, such as the static table of inquiry POE switch memory storage can obtain the type of each terminal device, then do not need to execute again
Other the step of, the electrical equipment that method provided by the invention is connect only for acquisition with POE all of the port, not to specific
Acquisition modes are limited.
S20: determine the POE interchanger to the preferential of the power supply for electrical equipment according to the type of the electrical equipment
Grade.
It is understood that can be judged based on the type of each equipment after the type for obtaining all electrical equipments
Significance level or electric power of each equipment in corresponding network, so that it is determined that the POE interchanger is to the electrical equipment
The priority of power supply, i.e., the case where the output power of POE is more than the electric power for the electrical equipment connecting with POE interchanger
Under, it is preferentially powered to equipment component according to determining priority.
S30: target power supply strategy is determined to the priority of the power supply for electrical equipment based on the POE interchanger.
S40: the electrical equipment connecting with each port of POE interchanger is supplied according to target power supply strategy
Electricity.
It in the concrete realization, is more than institute in the electricity consumption general function for the electrical equipment being connect with each port of POE interchanger
Electricity consumption when stating the maximum power of POE interchanger, based on target power supply strategy to being connect with each port of POE interchanger
Equipment is powered.
In the present embodiment, POE interchanger determines that the electricity consumption connecting with each port of POE interchanger is set by way of tabling look-up
Standby type determines priority of the POE interchanger to the power supply for electrical equipment, base according to the type of the electrical equipment
Target power supply strategy is determined to the priority of the power supply for electrical equipment in the POE interchanger, according to target power supply plan
Slightly the electrical equipment connecting with each port of POE interchanger is powered, can by the type of identification terminal equipment, and
Different intelligent power supply strategies is neatly executed according to the different type of terminal device, is improved present POE interchanger and is only mentioned
For the deficiency of the basic function of supplying power of 802.3AF/AT standard, user experience is improved.
Further, as shown in figure 3, proposing the AI intelligent power supply method of POE interchanger of the present invention based on first embodiment
Second embodiment, in the present embodiment, after step S40, the method also includes:
S50: every the number for the received data packet in port that preset time detection is connect with the electrical equipment.
It is understood that there is no variations for the packet receiving quantity of some port, or at certain within certain time
In the period of one detection, some port is not received by data packet, illustrates that the data link of port is in an inactive state.
S60: the port for being less than preset threshold to the number restarts.
Determining that some port is not received by the number of data packet or received data packet within the regular hour
It is not above preset threshold, then it is assumed that the terminal device of port connection is in abnormality, can be by POE switch port certainly
It is dynamic that power on reset operation is carried out to equipment.
In the concrete realization, when finding that the data link of some port is in an inactive state, it can star counter,
The number of the received data packet in accurate geo-statistic port, to further determine that the operation for the terminal device connecting with the port
State.
Certainly, some equipment may natively be in an inactive state within some period, connect with the equipment
The received number of data packets in port is also seldom, is not that equipment the problems such as failure occurs, therefore, in the concrete realization, is examining
When the number of data packets of survey is less than preset threshold, the type of the electrical equipment of available corresponding port connection, according to electricity consumption
The concrete type of equipment determines the operating status of equipment, to decide whether to be restarted.
In the present embodiment, periodically the working condition of terminal device can be detected, in the work of discovery terminal device
When abnormal state, power-off restoration is carried out to faulty equipment automatically, guarantees the reliability and self-healing property of network, greatly reduces
The maintenance cost in later period.
It is the functional block diagram of the AI intelligent power supply system first embodiment of POE interchanger of the present invention, base referring to Fig. 4, Fig. 4
In the AI intelligent power supply method of POE interchanger, the first embodiment of the AI intelligent power supply system of POE interchanger of the present invention is proposed.
In the present embodiment, the AI intelligent power supply system of the POE interchanger includes:
Determination type module 10, for determining the electrical equipment connecting with each port of POE interchanger by way of tabling look-up
Type.
It is understood that POE (Power Over Ethernet) interchanger refers to being routed base in existing Ethernet
In the case that plinth framework does not make any changes, passed for some terminals based on wireless network, such as telephone set, web camera etc.
While transmission of data signal, moreover it is possible to provide the equipment of direct current for such equipment, that is, support the interchanger of Power over Ethernet.
Each port POE can connect a variety of IP-based terminal devices simultaneously, and the type of the equipment specifically connected can lead to
It crosses the modes such as static table, two-layer retransmitting table and the ARP table searched and stored in POE interchanger to obtain, can lead in the concrete realization
Cross it is one such or in conjunction with several ways come determine the connection of each port POE terminal device type, as long as can obtain and POE
The type of the terminal device of each port connection, the present embodiment are without restriction to specific lookup mode.Certainly, specifically real
It can be combined with LLDP agreement in existing to determine the type of terminal device.
It is understood that currently, the type of the network equipment it is increasingly various and it is respective configuration it is intricate, in order to make not
Equipment with manufacturer can mutually find in a network and interact respective system and configuration information, need the letter of a standard
Intercommunion platform is ceased, LLDP (Link Layer Discovery Protocol, Link Layer Discovery Protocol) is exactly in such background
Lower generation, it provides a kind of link layer discovery mode of standard, can by the unique ability of local device, management address,
The Information encapsulations such as device identification and interface identifier are in Link Layer Discovery Protocol data cell (Link Layer Discovery
Protocol Data Unit, LLDPDU) in be distributed to oneself direct-connected neighbour.
Address resolution protocol (ARP, Address Resolution Protocol) is obtained physically according to IP address
One ICP/IP protocol of location.Host sends information and the ARP request comprising target ip address is broadcast to the target master on network
Machine, and return message is received, the physical address of target is determined with this;It receives and returns to message for the IP address and physics of destination host
Address is stored in the machine arp cache and retains certain time, and directly inquiry arp cache is when next time requests to economize on resources.
In the concrete realization, it can search in the static table of POE switch memory storage and be exchanged with the POE first
The type of the electrical equipment of each port of machine connection, if there is certain type of first electrical equipment of the static table can not be passed through
When, the type of first electrical equipment is determined based on the LLDP agreement, presence can not pass through in the first electrical equipment
When certain type of second electrical equipment of LLDP agreement, by searching for the two-layer retransmitting table described in determination of the POE interchanger
There is the mesh that device type can not be determined by the two-layer retransmitting table in the second electrical equipment in the type of the second electrical equipment
When marking electrical equipment, ARP request is sent to the target electrical equipment, is determined according to the message that the target electrical equipment returns
The type of the target electrical equipment.
It is understood that the static table in POE interchanger not necessarily stores all electricity consumptions connecting with POE interchanger
The type of equipment is used when the first electrical equipment of device type can not be determined by the static table by existing to described first
Electric equipment sends LLDP link detection packet, is disappeared according to first electrical equipment based on what the LLDP link detection packet returned
Breath, determines the type of first electrical equipment.In addition, not every equipment is all supported therefore, can also deposit in LLDP agreement
Being not based on the LLDP link detection in some equipment includes returning to corresponding message, then needs by searching for POE friendship
The two-layer retransmitting table changed planes is with the type of the corresponding electrical equipment of determination.
It should be noted that if the electricity consumption connecting with POE all of the port can be directly acquired by simplest mode
Equipment, such as the static table of inquiry POE switch memory storage can obtain the type of each terminal device, then do not need to execute again
Other the step of.
Priority Determination module 20, for determining the POE interchanger to the use according to the type of the electrical equipment
The priority of electric equipment power supply.
It is understood that can be judged based on the type of each equipment after the type for obtaining all electrical equipments
Significance level of each equipment in corresponding network, so that it is determined that priority of the POE interchanger to the power supply for electrical equipment,
I.e. in the case where the output power of POE is more than the electric power for the electrical equipment connecting with POE interchanger, according to determining excellent
First grade is preferentially powered to equipment component.
The tactful determining module 30 of power supply, it is true for the priority based on POE interchanger to the power supply for electrical equipment
Set the goal strategy of powering.
Power supply module 40, for the electricity consumption according to target power supply strategy to being connect with each port of POE interchanger
Equipment is powered.
It in the concrete realization, is more than institute in the electricity consumption general function for the electrical equipment being connect with each port of POE interchanger
Electricity consumption when stating the maximum power of POE interchanger, based on target power supply strategy to being connect with each port of POE interchanger
Equipment is powered.
In the present embodiment, POE interchanger determines that the electricity consumption connecting with each port of POE interchanger is set by way of tabling look-up
Standby type determines priority of the POE interchanger to the power supply for electrical equipment, base according to the type of the electrical equipment
Target power supply strategy is determined to the priority of the power supply for electrical equipment in the POE interchanger, according to target power supply plan
Slightly the electrical equipment connecting with each port of POE interchanger is powered, can by the type of identification terminal equipment, and
It executes different intelligent power supply strategies more flexiblely according to the different type of terminal device, improves present POE interchanger
The deficiency of the basic function of supplying power of 802.3AF/AT standard is only provided, user experience is improved.
In addition, the embodiment of the present invention also proposes a kind of storage medium, the AI of POE interchanger is stored on the storage medium
Intelligent power supply program realizes following operation when the AI intelligent power supply program of the POE interchanger is executed by processor:
The type for the electrical equipment connecting with each port of POE interchanger is determined by way of tabling look-up;
Priority of the POE interchanger to the power supply for electrical equipment is determined according to the type of the electrical equipment;
Target power supply strategy is determined to the priority of the power supply for electrical equipment based on the POE interchanger;
The electrical equipment connecting with each port of POE interchanger is powered according to target power supply strategy.
Further, following operation is also realized when the AI intelligent power supply program of the POE interchanger is executed by processor:
Based in static table, LLDP agreement, two-layer retransmitting table and the ARP table stored in POE interchanger any one or
Several ways determine the type of the electrical equipment of each port connection of the POE interchanger.
Further, following operation is also realized when the AI intelligent power supply program of the POE interchanger is executed by processor:
The electricity consumption connecting with each port of POE interchanger is searched in the static table of POE switch memory storage to set
Standby type;
Exist can not the first electrical equipment certain type of by the static table when, based on the LLDP agreement determination
The type of first electrical equipment;
In the first electrical equipment exist can not the second electrical equipment certain type of by LLDP agreement when, by searching for
The two-layer retransmitting table of the POE interchanger is with the type of determination second electrical equipment;
There is the target electrical equipment that device type can not be determined by the two-layer retransmitting table in the second electrical equipment
When, APR request is sent to the target electrical equipment, determines that the target is used according to the message that the target electrical equipment returns
The type of electric equipment.
Further, following operation is also realized when the AI intelligent power supply program of the POE interchanger is executed by processor:
When the first electrical equipment of device type can not be determined by the static table by existing, set to first electricity consumption
Preparation send LLDP link detection packet;
According to the message that first electrical equipment is returned based on the LLDP link detection packet, first electricity consumption is determined
The type of equipment.
Further, following operation is also realized when the AI intelligent power supply program of the POE interchanger is executed by processor:
It is more than the POE interchanger in the electricity consumption general power for the electrical equipment being connect with each port of POE interchanger
When maximum allowable power, the electrical equipment connecting with each port of POE interchanger is carried out based on target power supply strategy
Power supply.
Further, following operation is also realized when the AI intelligent power supply program of the POE interchanger is executed by processor:
Every the number for the received data packet in port that preset time detection is connect with the electrical equipment;
The port for being less than preset threshold to the number restarts.
Further, following operation is also realized when the AI intelligent power supply program of the POE interchanger is executed by processor:
When the number is less than preset threshold, obtains the electricity consumption connecting with the port that the number is less than threshold value and set
Standby type;
Type based on the electrical equipment determines whether to be restarted.
Through the above scheme, the determination by way of tabling look-up of POE interchanger is connect the present embodiment with each port of POE interchanger
Electrical equipment type, determine the POE interchanger to the power supply for electrical equipment according to the type of the electrical equipment
Priority determines target power supply strategy to the priority of the power supply for electrical equipment based on the POE interchanger, according to the mesh
Mark power supply strategy is powered the electrical equipment connecting with each port of POE interchanger, can pass through identification terminal equipment
Type, and execute different intelligent power supply strategies according to the different type of terminal device, improve present POE interchanger only
The deficiency of the basic function of supplying power of 802.3AF/AT standard is provided, user experience is improved.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of AI intelligent power supply method of POE interchanger, which is characterized in that the described method comprises the following steps:
The type for the electrical equipment connecting with each port of POE interchanger is determined by way of tabling look-up;
Priority of the POE interchanger to the power supply for electrical equipment is determined according to the type of the electrical equipment;
Target power supply strategy is determined to the priority of the power supply for electrical equipment based on the POE interchanger;
The electrical equipment connecting with each port of POE interchanger is powered according to target power supply strategy.
2. the method as described in claim 1, which is characterized in that described to determine each port of POE interchanger by way of tabling look-up
The type of the electrical equipment of connection, specifically includes:
Based on any one or a few in static table, LLDP agreement, two-layer retransmitting table and the ARP table stored in POE interchanger
Mode determines the type of the electrical equipment of each port connection of the POE interchanger.
3. method according to claim 2, which is characterized in that described to be assisted based on the static table stored in POE interchanger, LLDP
Any one or a few mode in view, two-layer retransmitting table and ARP table determines that the electricity consumption of each port connection of the POE interchanger is set
Standby type, specifically includes:
The electrical equipment connecting with each port of POE interchanger is searched in the static table of POE switch memory storage
Type;
Exist can not the first electrical equipment certain type of by the static table when, based on the LLDP agreement determination described in
The type of first electrical equipment;
In the first electrical equipment exist can not the second electrical equipment certain type of by LLDP agreement when, by searching for described
The two-layer retransmitting table of POE interchanger is with the type of determination second electrical equipment;
When there is the target electrical equipment that can not determine device type by the two-layer retransmitting table in the second electrical equipment, to
The target electrical equipment sends ARP request, determines that the target electricity consumption is set according to the message that the target electrical equipment returns
Standby type.
4. method as claimed in claim 3, which is characterized in that described to exist and determine equipment class by the static table
When the first electrical equipment of type, the type of first electrical equipment is determined based on the LLDP agreement, is specifically included:
When the first electrical equipment of device type can not be determined by the static table by existing, sent out to first electrical equipment
Send LLDP link detection packet;
According to the message that first electrical equipment is returned based on the LLDP link detection packet, first electrical equipment is determined
Type.
5. such as method of any of claims 1-4, which is characterized in that it is described according to target power supply strategy to
The electrical equipment of each port connection of POE interchanger is powered, and is specifically included:
In the maximum that the electricity consumption general power for the electrical equipment connecting with each port of POE interchanger is more than the POE interchanger
When allowing power, the electrical equipment connecting with each port of POE interchanger is powered based on target power supply strategy.
6. method according to any of claims 1-4, which is characterized in that it is described according to the target power supply strategy to institute
State the connection of each port of POE interchanger electrical equipment be powered after, the method also includes:
Every the number for the received data packet in port that preset time detection is connect with the electrical equipment;
The port for being less than preset threshold to the number restarts.
7. method as claimed in claim 6, which is characterized in that the port for being less than preset threshold to the number carries out
Restarting, specifically includes:
When the number is less than preset threshold, the electrical equipment connecting with the port that the number is less than threshold value is obtained
Type;
Type based on the electrical equipment determines whether to be restarted.
8. a kind of POE interchanger, which is characterized in that enterprise's POE interchanger includes: memory, processor and is stored in described
On memory and the AI intelligent power supply program of POE interchanger that can run on the processor, the AI intelligence of the POE interchanger
The program that can power is arranged for carrying out the step of the AI intelligent power supply method of the POE interchanger as described in any one of claims 1 to 7
Suddenly.
9. a kind of AI intelligent power supply system of POE interchanger, which is characterized in that the AI intelligent power supply system of the POE interchanger
Include:
Determination type module, for determining the type for the electrical equipment connecting with each port of POE interchanger by way of tabling look-up;
Priority Determination module, for determining the POE interchanger to the electrical equipment according to the type of the electrical equipment
The priority of power supply;
The tactful determining module of power supply, for determining target to the priority of the power supply for electrical equipment based on the POE interchanger
Power supply strategy;
Power supply module, for according to the target power supply strategy to the electrical equipment being connect with each port of POE interchanger into
Row power supply.
10. a kind of storage medium, which is characterized in that the AI intelligent power supply program of POE interchanger is stored on the storage medium,
It is realized as described in any one of claims 1 to 7 when the AI intelligent power supply program of the POE interchanger is executed by processor
The step of AI intelligent power supply method of POE interchanger.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810882663.9A CN108989057A (en) | 2018-08-02 | 2018-08-02 | A kind of AI intelligent power supply method of POE interchanger |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810882663.9A CN108989057A (en) | 2018-08-02 | 2018-08-02 | A kind of AI intelligent power supply method of POE interchanger |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108989057A true CN108989057A (en) | 2018-12-11 |
Family
ID=64555701
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810882663.9A Pending CN108989057A (en) | 2018-08-02 | 2018-08-02 | A kind of AI intelligent power supply method of POE interchanger |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108989057A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113328866A (en) * | 2021-05-25 | 2021-08-31 | 浙江大华技术股份有限公司 | Fault identification method, device, system, equipment and medium of powered equipment |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1794636A (en) * | 2004-12-21 | 2006-06-28 | 阿尔卡特公司 | Power prioritization in power source equipment |
| CN101707380A (en) * | 2008-07-21 | 2010-05-12 | 北京星网锐捷网络技术有限公司 | Method, device and system for configuring power supply system |
| CN101826970A (en) * | 2009-01-05 | 2010-09-08 | 3柯姆公司 | Intelligent power management of an intermediate network device switching circuitry and poe delivery |
| US20140245031A1 (en) * | 2012-11-07 | 2014-08-28 | Dell Products L.P. | Optimized power over ethernet power distribution system |
| CN105812147A (en) * | 2016-04-28 | 2016-07-27 | 博为科技有限公司 | POE (Power Over Ethernet) power supply control method for communication equipment |
| CN106060859A (en) * | 2016-06-30 | 2016-10-26 | 杭州华三通信技术有限公司 | AP (Access Point) fault detection and restoration method and device |
| CN107994999A (en) * | 2017-11-29 | 2018-05-04 | 新华三技术有限公司 | A kind of PoE power management methods and device |
-
2018
- 2018-08-02 CN CN201810882663.9A patent/CN108989057A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1794636A (en) * | 2004-12-21 | 2006-06-28 | 阿尔卡特公司 | Power prioritization in power source equipment |
| CN101707380A (en) * | 2008-07-21 | 2010-05-12 | 北京星网锐捷网络技术有限公司 | Method, device and system for configuring power supply system |
| CN101826970A (en) * | 2009-01-05 | 2010-09-08 | 3柯姆公司 | Intelligent power management of an intermediate network device switching circuitry and poe delivery |
| US20140245031A1 (en) * | 2012-11-07 | 2014-08-28 | Dell Products L.P. | Optimized power over ethernet power distribution system |
| CN105812147A (en) * | 2016-04-28 | 2016-07-27 | 博为科技有限公司 | POE (Power Over Ethernet) power supply control method for communication equipment |
| CN106060859A (en) * | 2016-06-30 | 2016-10-26 | 杭州华三通信技术有限公司 | AP (Access Point) fault detection and restoration method and device |
| CN107994999A (en) * | 2017-11-29 | 2018-05-04 | 新华三技术有限公司 | A kind of PoE power management methods and device |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113328866A (en) * | 2021-05-25 | 2021-08-31 | 浙江大华技术股份有限公司 | Fault identification method, device, system, equipment and medium of powered equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110401568B (en) | Network topology discovery method and equipment | |
| CN101483540A (en) | Master-slave switching method in high class data communication equipment | |
| CN102137007B (en) | Network topology generation method, system and coordinator | |
| CN101102288A (en) | A method and system for realizing large-scale instant message | |
| CN112015544A (en) | Load balancing method, device and equipment of k8s cluster and storage medium | |
| CN110659109A (en) | Openstack cluster virtual machine monitoring system and method | |
| WO2022127504A1 (en) | Network element management method and apparatus, and storage medium | |
| CN110661641B (en) | A kind of virtual network function VNF deployment method and device | |
| CN110830324A (en) | Method and device for detecting network connectivity of data center and electronic equipment | |
| CN103135732A (en) | Server cabinet system | |
| CN106982244A (en) | The method and apparatus that the message mirror of dynamic flow is realized under cloud network environment | |
| CN111092942B (en) | Message processing method and device, electronic equipment and storage medium | |
| CN100508468C (en) | Adaptive exchange method of distributed node dynamic management data | |
| CN108989057A (en) | A kind of AI intelligent power supply method of POE interchanger | |
| CN104639379A (en) | Proxy testing method and device | |
| CN103457777B (en) | Power distribution unit disaster recovery method, manager and system | |
| CN111901395B (en) | Multi-cluster switching method and device | |
| CN109462522A (en) | A kind of state monitoring method of external terminal device, terminal and its system | |
| CN109347743A (en) | A kind of special line communication method, computer readable storage medium and terminal device | |
| CN106034037A (en) | Disaster recovery switching method and device based on virtual machine | |
| CN113489598B (en) | Emergency networking method and device | |
| WO2020238057A1 (en) | Redis-based mqtt cluster monitoring method, apparatus, and storage medium | |
| CN108429644A (en) | network device management method, device and server | |
| CN114513792A (en) | Remote network control method and device based on eSIM card | |
| CN109361781B (en) | Message forwarding method, device, server, system and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181211 |