CN109660365A - A kind of method for controlling power supply and device - Google Patents

A kind of method for controlling power supply and device Download PDF

Info

Publication number
CN109660365A
CN109660365A CN201910143183.5A CN201910143183A CN109660365A CN 109660365 A CN109660365 A CN 109660365A CN 201910143183 A CN201910143183 A CN 201910143183A CN 109660365 A CN109660365 A CN 109660365A
Authority
CN
China
Prior art keywords
receiving equipment
power
power supply
power receiving
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910143183.5A
Other languages
Chinese (zh)
Inventor
单丽娜
刘宜平
张海涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201910143183.5A priority Critical patent/CN109660365A/en
Publication of CN109660365A publication Critical patent/CN109660365A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements

Abstract

The embodiment of the present application provides a kind of method for controlling power supply and device, is related to network technique field, is applied to Power over Ethernet PoE equipment PSE, wherein, the above method includes: the message for receiving power receiving equipment and sending, wherein the facility information of the power receiving equipment is carried in the message;Determine the PoE interface for receiving the message;Establish the incidence relation between the facility information and the PoE interface;In power supply process, is controlled according to the incidence relation to the power receiving equipment and powered.Using scheme provided by the embodiments of the present application, PSE can be improved to the power supply control efficiency of power receiving equipment.

Description

A kind of method for controlling power supply and device
Technical field
This application involves network technique fields, more particularly to a kind of method for controlling power supply and device.
Background technique
The appearance of wireless network provides great convenience to people's lives, and therefore, wireless network is in hotel, market, School, hospital, corporate facility etc. place widespread deployment.When disposing wireless network in various places, need to dispose in place AP (Access Point, access point) quantity is related to the area in place, and therefore, the area in place is bigger, the AP for needing to dispose Quantity is more.Again due to whether being powered to each AP, usually manually controlled by staff, in view of this situation, in nothing In the case that AP included in gauze network is again more, the larger workload of staff, and control efficiency is low.
Summary of the invention
The embodiment of the present application is designed to provide a kind of method for controlling power supply and device, to improve power supply control efficiency. Specific technical solution is as follows:
In a first aspect, the embodiment of the present application provides a kind of method for controlling power supply, it is applied to Power over Ethernet PoE equipment PSE, which comprises
Receive the message that power receiving equipment is sent, wherein the facility information of the power receiving equipment is carried in the message;
Determine the PoE interface for receiving the message;
Establish the incidence relation between the facility information and the PoE interface;
In power supply process, is controlled according to the incidence relation to the power receiving equipment and powered.
Second aspect, the embodiment of the present application provide a kind of power supply control apparatus, are applied to Power over Ethernet PoE equipment PSE, described device include:
Message receiving module, for receiving the message of power receiving equipment transmission, wherein set described in being carried in the message by electricity Standby facility information;
Interface determining module, for determining the PoE interface for receiving the message;
Relationship establishes module, the incidence relation for establishing between the facility information and the PoE interface;
Power control module, for being controlled according to the incidence relation to the power receiving equipment and being powered in power supply process.
The third aspect, the embodiment of the present application provides a kind of PSE, including processor and machine readable storage medium, described Machine readable storage medium is stored with the machine-executable instruction that can be executed by the processor, and the processor is by the machine Device executable instruction promotes: realizing method for controlling power supply step described in the embodiment of the present application.
Fourth aspect, the embodiment of the present application provide a kind of machine readable storage medium, are stored with machine-executable instruction, When being called and being executed by processor, the machine-executable instruction promotes the processor: realizing described in the embodiment of the present application Method for controlling power supply step.
As seen from the above, when being powered control using scheme provided by the embodiments of the present application, PSE receives power receiving equipment hair After the message sent, the pass between the facility information of the power receiving equipment carried in message and the PoE interface of the above-mentioned message of reception is established Connection relationship is controlled to power receiving equipment according to above-mentioned incidence relation and is powered in power supply process.Since PSE is knowing its each PoE In the case which power receiving equipment what interface was connected is, it can accurately just control and be set to what each PoE interface was connected by electricity Available electricity, and the corresponding relationship exactly between PoE interface and power receiving equipment that above-mentioned incidence relation is reflected, therefore, using this Apply for the scheme that embodiment provides, can be realized PSE to the power supply control of power receiving equipment.Again due to being not required to compared with the existing technology It wants staff to manually control the power supply to power receiving equipment, therefore, using scheme provided by the embodiments of the present application, can be improved confession Electric control efficiency.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of method for controlling power supply provided by the embodiments of the present application;
Fig. 2 a is a kind of message encapsulation format;
Fig. 2 b is a kind of signal cover schematic diagram provided by the embodiments of the present application;
Fig. 2 c is a kind of networking structure schematic diagram provided by the embodiments of the present application;
Fig. 3 is a kind of structural schematic diagram of power supply control apparatus provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of PSE provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
AP, monitoring camera it is first-class based on the equipment of network communication other than the power supply power supply being separately configured can be used, also It can be powered using PoE (Power over Ethernet, Power over Ethernet) power supply mode.
Wherein, PoE power supply is also known as remote power feeding, refers to power supply unit by Ethernet power port, using twisted pair to external Power receiving equipment (Powered Device, PD) carries out remote power feeding.The above-mentioned power supply unit that PoE power supply refers to is referred to as PSE (Power Sourcing Equipment), it is, PoE power supply unit.
It uses PoE power supply mode for power receiving equipment power supply, can remove from and power supply is separately configured for each power receiving equipment, thus Cost is saved, provides convenience for networking.
In view of the foregoing, the embodiment of the present application provides a kind of method for controlling power supply and device for PSE, to realize Power supply control of the PSE to power receiving equipment.
In one embodiment of the application, a kind of method for controlling power supply is provided, is applied to PSE, this method comprises:
Receive the message that power receiving equipment is sent, wherein the facility information of power receiving equipment is carried in above-mentioned message;
Determine the PoE interface for receiving above-mentioned message;
Establish the incidence relation between above equipment information and above-mentioned PoE interface;
In power supply process, is controlled according to above-mentioned incidence relation to power receiving equipment and powered.
Since PSE is in the case where which power receiving equipment know that its each PoE interface connected is, can accurately just control The power receiving equipment power supply connected to each PoE interface is made, and the exactly PoE interface that above-mentioned incidence relation is reflected is set with by electricity Therefore corresponding relationship between standby using scheme provided in this embodiment, can be realized PSE to the power supply control of power receiving equipment. Power supply to power receiving equipment is manually controlled due to not needing staff compared with the existing technology again, using the present embodiment The scheme of offer can be improved power supply control efficiency
Method for controlling power supply provided by the embodiments of the present application is described in detail below by specific embodiment.
Fig. 1 is a kind of flow diagram of method for controlling power supply provided by the embodiments of the present application, and this method is applied to PSE, The above method includes:
S101: the message that power receiving equipment is sent is received.
Wherein, the facility information of power receiving equipment is carried in above-mentioned message.
Specifically, above-mentioned power receiving equipment, which can be AP, monitor camera etc., supports the equipment powered with PoE power supply mode. Power receiving equipment is communicated to connect by the PoE interface and PSE of PSE.
In one embodiment of the application, the facility information of above-mentioned power receiving equipment may include: device name, equipment class Type, company-information etc..
In another embodiment of the application, the above-mentioned message that power receiving equipment is sent to PSE can be LLDP (Link Layer Discovery Protocol, Link Layer Discovery Protocol) message.
LLDP provides a kind of link layer discovery mode of standard, and the equipment of different vendor is enable mutually to send out in a network Now and interact respective system and configuration information.LLDP is by the Information encapsulation of local device in LLDPDU (Link Layer Discovery Protocol Data Unit, Link Layer Discovery Protocol data cell) in be distributed to the neighbours direct-connected with oneself, Neighbours receive it after these information in the form of standard mib (Management Information Base, management information bank) It saves, for subsequent query and judges the communication conditions of link.
LLDPDU is packaged in the data cell of LLDP message data part.Before forming LLDPDU, equipment first incite somebody to action this Ground Information encapsulation at TLV format data, then by the data of several TLV formats be combined into a LLDPDU be encapsulated in LLDP report The data portion of text is transmitted.Wherein, the data of TLV format refer to by Tag (label), Length (subfield lengths), Value The data of (subdomain value) composition.
Such as Fig. 2 a, show a kind of encapsulation format of LLDPDU, wherein Chassis ID TLV, Port ID TLV, Time To Live TLV is that each LLDPDU must be carried, remaining TLV is then optional carrying.Each LLDPDU is most 32 kinds of TLV can be carried.In consideration of it, the facility information of above-mentioned power receiving equipment can carry in the TLV entrained by LLDPDU.Specifically , when the defined TLV for LLDPDU can satisfy the transmitting of above equipment information, defined TLV can be used and take With above-mentioned TLV, when the defined TLV for LLDPDU is unsatisfactory for the transmitting of above equipment information, can with customized TLV, and Above equipment information is carried using customized TLV.
Above-mentioned Chassis ID TLV is bridge MAC (Media Access Control, medium access control) address TLV, Indicate the bridge MAC Address of sending device.Port ID TLV is port-mark TLV, identifies the port of LLDPDU transmitting terminal, specifically , if carrying LLDP-MED TLV in LLDPDU, the content of Port ID TLV is the MAC Address of port, otherwise, Port The content of ID TLV is the title of port.Time To Live TLV is time-to-live TLV, indicates the information of this equipment in neighbours Time-to-live in equipment.
In addition to this, the Optional TLV in Fig. 2 a is optional TLV, indicates the TLV of above-mentioned optional carrying, it is, Optional TLV.End of LLDPDU TLV is end of identification TLV, indicates the end of identification of LLDPDU, is last of LLDPDU A TLV.
Specifically, above-mentioned power receiving equipment sends above-mentioned message to PSE, the above-mentioned message of periodicity sending can be, it can also be with It is to send above-mentioned message after the facility information of power receiving equipment changes.
S102: the PoE interface for receiving above-mentioned message is determined.
Since power receiving equipment is to be connect by the PoE interface of PSE with PSE, so power receiving equipment sends message to PSE Afterwards, PSE can be by the above-mentioned message of PoE interface that connect with above-mentioned power receiving equipment.In consideration of it, determined in this step PoE interface is the PoE interface that PSE is connected with power receiving equipment.
S103: the incidence relation between above equipment information and above-mentioned PoE interface is established.
Since above equipment information is the facility information for sending the power receiving equipment of above-mentioned message to PSE, above-mentioned association Relationship has also indicated that the corresponding relationship for the PoE interface that power receiving equipment is connect with it.Based on this, come from as PSE is received The message of its each PoE interface, PSE can know that every PoE interface is connect with which power receiving equipment, and can know every The facility information for the power receiving equipment that one PoE interface is connected.
S104: it in power supply process, is controlled according to above-mentioned incidence relation to power receiving equipment and is powered.
Specifically, the power supply configuration information of PSE can be obtained.Each time is can recorde in above-mentioned power supply configuration information The power-on time section etc. of power receiving equipment or each power receiving equipment that section needs to power.
In view of the foregoing, in power supply process, according to above-mentioned power supply configuration information, it is determined whether stop being set to one by electricity Available electricity needs the facility information according to above-mentioned incidence relation and power receiving equipment, really if stopping powering to a power receiving equipment Determine the PoE interface that power receiving equipment is connected, then controls determined PoE interface and be in close state, and then realize and stop to this Power receiving equipment power supply.
In addition, in power supply process, it can also be according to above-mentioned power supply configuration information, it is determined whether start to a power receiving equipment If desired power supply starts to power to a power receiving equipment, then needs the facility information according to above-mentioned incidence relation and power receiving equipment, Determine the PoE interface that power receiving equipment is connected, then PoE interface determined by control is in the open state, exports power receiving equipment Required power is embodied as power receiving equipment power supply.
Above-mentioned power supply configuration information can be staff's manual configuration, is also possible to PSE and is generated according to specific requirements 's.
Scheme provided by the embodiments of the present application is illustrated from the angle of application scenarios again below.
Situation 1: during executing above-mentioned steps S101-S103, PSE does not have started to power receiving equipment and powers, in PSE After obtaining above-mentioned incidence relation, starts control and power to power receiving equipment.
Situation 2: during executing above-mentioned steps S101-S103, PSE has begun to power receiving equipment and powers, in PSE After obtaining above-mentioned incidence relation, controls according to above-mentioned incidence relation to power receiving equipment and power.
As seen from the above, when being powered control using scheme provided in this embodiment, PSE receives what power receiving equipment was sent After message, establishes between the facility information of the power receiving equipment carried in message and the PoE interface for receiving above-mentioned message and be associated with pass System controls to power receiving equipment according to above-mentioned incidence relation and powers in power supply process.Since PSE is knowing its each PoE interface In the case which power receiving equipment what is connected is, it can accurately just control the power receiving equipment connected to each PoE interface and supply Electricity, and the corresponding relationship exactly between PoE interface and power receiving equipment that above-mentioned incidence relation is reflected, therefore, using this implementation The scheme that example provides, can be realized PSE to the power supply control of power receiving equipment.Again due to not needing work people compared with the existing technology Therefore the power supply that member manually controls to power receiving equipment using scheme provided in this embodiment, can be improved power supply control efficiency
In addition to this, when controlling power supply using scheme provided in this embodiment, obtain and record manually PSE's without user The facility information for the power receiving equipment that each PoE interface is connected, thus avoid due to needing the excessive facility information of user record and Caused power supply configuration information mistake.
Furthermore when controlling power supply using scheme provided in this embodiment, user connects without each power receiving equipment is paid close attention to PoE interface, in this way networking structure change or to networking carry out dilatation after, PSE still may be implemented and set to by electricity Standby power supply control executes the extra works such as the PoE interface for determining that each power receiving equipment is connected without staff.
In one embodiment of the application, after receiving the message that power receiving equipment is sent, it can also be sent to management platform Above equipment information, so that management platform is powered information analysis for power receiving equipment.
Wherein, above-mentioned management platform refers to the platform for being managed, safeguarding to network.For example, webmastering software, cloud management are flat Platform or the WEB administration page of equipment etc..
In one embodiment of the application, above-mentioned PSE can also obtain the output power of above-mentioned PoE interface, and to management Platform sends above-mentioned output power, so that management platform is powered analysis according to above-mentioned output power.
Specifically, above-mentioned PSE can be sent according to the preset time interval or at the time of default to management platform State output power.For example, above-mentioned preset time interval can be 30 minutes, 60 minutes etc., 0 can be at the time of above-mentioned default Point, 12 points etc..
In one embodiment of the application, management platform is powered information analysis, according to above-mentioned defeated for power receiving equipment Power, which is powered analysis, out to respectively include at least one of following situations:
Count output general power, the output general power of entire networking of each power receiving equipment in networking;
According to the above-mentioned output general power counted on, electricity consumption, the electricity charge in preset duration in the past are counted, wherein above-mentioned pre- If duration may is that one day, one week, January, 1 year etc.;
According to the electricity consumption in history electricity consumption, the following preset duration of electricity charge estimation, the electricity charge;
Count the electricity consumption trend of each power receiving equipment, entire networking;
The electricity for counting each power receiving equipment saves situation;
The electricity for counting entire networking or subnet saves situation etc..
The case where user can know power receiving equipment in whole network on managing platform in this way is subsequent progress network dimension Shield provides greatly help and convenience.
For example, it may include economize on electricity time, economize on electricity wattage, economize on electricity expense etc. that above-mentioned electricity, which saves situation,.
Other than counting above-mentioned various information, above-mentioned management platform can also show the above-mentioned various information counted on, this Sample can enable a user to the electricity consumption situation for being intuitively apparent from entire networking or each power receiving equipment.In addition, may be used also To generate report messages for above-mentioned statistical information, in order to which user checks.
In one embodiment of the application, in power supply process, is controlled according to above-mentioned incidence relation to power receiving equipment and powered When, it specifically can be in conjunction at least one of following information, and controlled according to above-mentioned incidence relation to power receiving equipment and powered.
The first: the corresponding working time of networking application scene where above-mentioned PSE
The different application scenarios corresponding working time is different.For example, when above-mentioned application scenarios are market, quotient The corresponding working time is generally 8 a.m. to 10 points at night, does not have market in the time market other than the above-mentioned working time Staff or customer exist, it is possible to which the time other than between at work stops powering to each power receiving equipment.
Second: the power supply control instruction that management platform is sent
User is generally familiar with the deployment scenario of each power receiving equipment in the networking that it is responsible for, in order to save electricity, User can send power supply control instruction to PSE by management platform according to specific requirements, control and power to which power receiving equipment, Or control stops powering to which power receiving equipment.
Specifically, user can be sent by management platform to PSE according to signal cover of following power receiving equipments etc. Power supply control instruction.
The third: the signal cover of power receiving equipment
The signal cover that may have multiple power receiving equipments in networking overlaps, in this case, Ke Yigen It according to the overlapping cases between the signal cover of each power receiving equipment, determines and continues to power to which power receiving equipment, and stop Which power to power receiving equipment.
For example, shown in Fig. 2 b, the corresponding signal cover of power receiving equipment 1,2,3 are as follows: range 1, range 2 and range 3.Wherein, 3 a part of range overlaps with range 1, and a part overlaps with range 2, service provided by such power receiving equipment 3 It can assist to complete by power receiving equipment 1 and power receiving equipment 2, therefore, PSE can determine continuation to power receiving equipment 1 and power receiving equipment 2 Power supply, and stop powering to power receiving equipment 3, and then save electricity.
Method for controlling power supply provided by the embodiments of the present application is illustrated in conjunction with Fig. 2 c, by specific example below.
Include: in networking shown in Fig. 2 c management equipment, AC (Access Controller, wireless controller), L2switch, AP, PC (PersonalComputer, personal computer) and monitoring camera.
Wherein, above-mentioned management equipment is the equipment for being equipped with the webmastering software as management platform.L2switch is to support The interchanger of PoE power supply mode power supply.The PoE interface 1 of AP and L2switch connects, the PoE of monitoring camera and L2switch Interface 2 connects.
AP is powered using PoE power supply mode, can be closed other than the application scenarios corresponding working time;
PC powers without using PoE power supply mode;
Monitoring camera is powered using PoE power supply mode, cannot be closed other than the application scenarios corresponding working time.
Then staff can configure the power supply configuration information of L2switch by above-mentioned webmastering software: other than the working time Stop powering to AP power supply, whole day to monitoring camera.
Above-mentioned power supply configuration information is supplied to L2switch by webmastering software.
In the course of work, to L2switch transmission LLDP message, L2switch is connect by PoE for above-mentioned AP and monitoring camera Mouth 1 receives the LLDP message that AP is sent, and passes through PoE interface 2 and receives the LLDP message that monitoring camera is sent.L2switch passes through The above-mentioned message received obtains the facility information of AP and monitoring camera, and respectively builds the facility information of AP and PoE interface 1 The facility information of monitoring camera and PoE interface 2 are established incidence relation by vertical incidence relation.
L2switch detects after the above-mentioned working time, determines that connect with AP is PoE according to above-mentioned incidence relation Interface 1, control PoE interface 1 is in the open state, and power needed for exporting AP is realized and powered to AP.L2switch is detected everywhere After other than the above-mentioned working time, according to above-mentioned incidence relation, what determination was connect with AP is PoE interface 1, is controlled at PoE interface 1 In closed state, stop powering to AP.
Due to needing whole day to power to monitoring camera, so, L2switch is determined and is monitored according to above-mentioned incidence relation Camera connection be PoE interface 2 after, control PoE interface 2 is continuously in open state, function needed for output monitoring camera Rate is realized and is powered to monitoring camera.
In addition, can periodically or be pressed after L2switch obtains the facility information of AP and the facility information of monitoring camera Facility information obtained is sent to webmastering software according to fixed time interval.Certainly, webmastering software can also periodically or be pressed Facility information is read from above-mentioned L2switch according to fixed time interval.
Furthermore L2switch can also obtain the output power of PoE interface 1 and PoE interface 2, and periodically or according to solid Fixed time interval sends output power obtained to webmastering software.Certainly, webmastering software can also be periodically or according to solid Fixed time interval reads output power from above-mentioned L2switch.
Webmastering software can be based on above equipment information and output power for AP, the electric quantity consumption of monitoring camera in this way Etc. being analyzed.
Corresponding with above-mentioned method for controlling power supply, the embodiment of the present application also provides a kind of power supply control apparatus.
Fig. 3 is a kind of structural schematic diagram of power supply control apparatus provided by the embodiments of the present application, and described device is applied to PSE, described device include:
Message receiving module 301, for receiving the message of power receiving equipment transmission, wherein carried in the message it is described by The facility information of electric equipment;
Interface determining module 302, for determining the PoE interface for receiving the message;
Relationship establishes module 303, the incidence relation for establishing between the facility information and the PoE interface;
Power control module 304, for being controlled according to the incidence relation to the power receiving equipment and being supplied in power supply process Electricity.
In one embodiment of the application, above-mentioned power supply control apparatus can also include:
Information sending module, for after the message receiving module 301 receives the message, Xiang Guanli platform to be sent The facility information, so that the management platform is powered information analysis for the power receiving equipment.
In one embodiment of the application, above-mentioned power supply control apparatus can also include:
Power obtaining module sends the output work for obtaining the output power of the PoE interface, and to management platform Rate, so that the management platform is powered analysis according to the output power.
In one embodiment of the application, the power control module 304 can be specifically used in power supply process, knot At least one of following information is closed, and is controlled according to the incidence relation to the power receiving equipment and is powered:
The corresponding working time of networking application scene where the PSE;
Manage the power supply control instruction that platform is sent;
The signal cover of power receiving equipment.
As seen from the above, when being powered control using the scheme that above-mentioned each embodiment provides, PSE receives power receiving equipment After the message of transmission, establish between the facility information of the power receiving equipment carried in message and the PoE interface of the above-mentioned message of reception Incidence relation is controlled to power receiving equipment according to above-mentioned incidence relation and is powered in power supply process.Since PSE is knowing that its is each In the case which power receiving equipment what PoE interface was connected is, can accurately just control connected to each PoE interface by electricity Equipment power supply, and the corresponding relationship exactly between PoE interface and power receiving equipment that above-mentioned incidence relation is reflected, therefore, application The scheme that above-mentioned each embodiment provides, can be realized PSE to the power supply control of power receiving equipment.Again due to compared with the existing technology It does not need staff and manually controls power supply to power receiving equipment, it therefore, can using the scheme that above-mentioned each embodiment provides Improve power supply control efficiency
Corresponding with above-mentioned method for controlling power supply, the embodiment of the present application also provides a kind of PSE.
Fig. 4 is a kind of structural schematic diagram of PSE provided by the embodiments of the present application, which includes: processor 401 and machine Readable storage medium storing program for executing 402, the machine readable storage medium 402 is stored with the machine that can be executed by the processor 401 can It executes instruction, the processor 401 is promoted by the machine-executable instruction: realizing power supply control provided by the embodiments of the present application Scheme.
In one embodiment of the application, a kind of method for controlling power supply is provided, is applied to PSE, which comprises
Receive the message that power receiving equipment is sent, wherein the facility information of the power receiving equipment is carried in the message;
Determine the PoE interface for receiving the message;
Establish the incidence relation between the facility information and the PoE interface;
According to the incidence relation, control as power receiving equipment power supply.
It should be noted that its for the method for controlling power supply that above-mentioned processor 401 is promoted to realize by machine-executable instruction His embodiment, identical as the embodiment that preceding method embodiment part refers to, which is not described herein again.
As seen from the above, when being powered control using PSE provided in this embodiment, since PSE is knowing its each PoE In the case which power receiving equipment what interface was connected is, it can accurately just control and be set to what each PoE interface was connected by electricity Available electricity, and the corresponding relationship exactly between PoE interface and power receiving equipment that above-mentioned incidence relation is reflected, therefore, using this The scheme that embodiment provides, can be realized PSE to the power supply control of power receiving equipment.Again due to not needing work compared with the existing technology The power supply to power receiving equipment is manually controlled as personnel, therefore, using scheme provided in this embodiment, can be improved power supply control effect Rate
Corresponding with above-mentioned method for controlling power supply, the embodiment of the present application also provides a kind of machine readable storage mediums, deposit Machine-executable instruction is contained, when being called and being executed by processor, the machine-executable instruction promotes the processor: real Existing power supply control scheme provided by the embodiments of the present application.
In one embodiment of the application, a kind of method for controlling power supply is provided, is applied to PSE, which comprises
Receive the message that power receiving equipment is sent, wherein the facility information of the power receiving equipment is carried in the message;
Determine the PoE interface for receiving the message;
Establish the incidence relation between the facility information and the PoE interface;
According to the incidence relation, control as power receiving equipment power supply.
It should be noted that other implementations for the method for controlling power supply that above-mentioned machine-executable instruction promotes processor to realize Example, identical as the embodiment that preceding method embodiment part refers to, which is not described herein again.
As seen from the above, when executing machine readable storage medium provided in this embodiment and being powered control, since PSE exists In the case which power receiving equipment know that its each PoE interface connected is, can accurately just it control to each PoE interface institute The power receiving equipment of connection is powered, and the corresponding relationship exactly between PoE interface and power receiving equipment that above-mentioned incidence relation is reflected, Therefore, using scheme provided in this embodiment, it can be realized PSE to the power supply control of power receiving equipment.Again due to relative to existing Technology does not need staff and manually controls power supply to power receiving equipment, therefore, using scheme provided in this embodiment, Neng Gouti High power supply control efficiency
Above-mentioned machine readable storage medium may include random access memory (Random Access Memory, RAM), It also may include nonvolatile memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.It is optional , above-mentioned machine readable storage medium can also be that at least one is located remotely from the storage device of aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device, For PSE and machine readable storage medium embodiment, since it is substantially similar to the method embodiment, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.The foregoing is merely the preferred embodiments of the application, and The non-protection scope for being used to limit the application.Within the spirit and principles of this application made by any modification, equivalent replacement, Improve etc., it is all contained in the protection scope of the application.

Claims (10)

1. a kind of method for controlling power supply, which is characterized in that be applied to Power over Ethernet PoE equipment PSE, which comprises
Receive the message that power receiving equipment is sent, wherein the facility information of the power receiving equipment is carried in the message;
Determine the PoE interface for receiving the message;
Establish the incidence relation between the facility information and the PoE interface;
In power supply process, is controlled according to the incidence relation to the power receiving equipment and powered.
2. the method according to claim 1, wherein also being wrapped after the message that the reception power receiving equipment is sent It includes:
The facility information is sent to management platform, so that the management platform is powered information for the power receiving equipment Analysis.
3. the method according to claim 1, wherein the method also includes:
The output power of the PoE interface is obtained, and sends the output power to management platform, so that the management platform Analysis is powered according to the output power.
4. method according to any one of claim 1-3, which is characterized in that it is described in power supply process, according to described Incidence relation control is that the power receiving equipment is powered, comprising:
In power supply process, control in conjunction at least one of following information, and according to the incidence relation to the power receiving equipment Power supply:
The corresponding working time of networking application scene where the PSE;
Manage the power supply control instruction that platform is sent;
The signal cover of power receiving equipment.
5. a kind of power supply control apparatus, which is characterized in that be applied to Power over Ethernet PoE equipment PSE, described device includes:
Message receiving module, for receiving the message of power receiving equipment transmission, wherein carry the power receiving equipment in the message Facility information;
Interface determining module, for determining the PoE interface for receiving the message;
Relationship establishes module, the incidence relation for establishing between the facility information and the PoE interface;
Power control module, for being controlled according to the incidence relation to the power receiving equipment and being powered in power supply process.
6. device according to claim 5, which is characterized in that described device further include:
Information sending module, for being set described in the transmission of Xiang Guanli platform after the message receiving module receives the message Standby information, so that the management platform is powered information analysis for the power receiving equipment.
7. device according to claim 5, which is characterized in that described device further include:
Power obtaining module sends the output power for obtaining the output power of the PoE interface, and to management platform, So that the management platform is powered analysis according to the output power.
8. the device according to any one of claim 5-7, which is characterized in that
The power control module is specifically used in power supply process, in conjunction at least one of following information, and according to the pass Connection relationship is controlled powers to the power receiving equipment:
The corresponding working time of networking application scene where the PSE;
Manage the power supply control instruction that platform is sent;
The signal cover of power receiving equipment.
9. a kind of PSE, which is characterized in that including processor and machine readable storage medium, the machine readable storage medium is deposited The machine-executable instruction that can be executed by the processor is contained, the processor is promoted by the machine-executable instruction: Realize any method and step of claim 1-4.
10. a kind of machine readable storage medium, which is characterized in that be stored with machine-executable instruction, by processor call and When execution, the machine-executable instruction promotes the processor: realizing any method and step of claim 1-4.
CN201910143183.5A 2019-02-26 2019-02-26 A kind of method for controlling power supply and device Pending CN109660365A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910143183.5A CN109660365A (en) 2019-02-26 2019-02-26 A kind of method for controlling power supply and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910143183.5A CN109660365A (en) 2019-02-26 2019-02-26 A kind of method for controlling power supply and device

Publications (1)

Publication Number Publication Date
CN109660365A true CN109660365A (en) 2019-04-19

Family

ID=66123834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910143183.5A Pending CN109660365A (en) 2019-02-26 2019-02-26 A kind of method for controlling power supply and device

Country Status (1)

Country Link
CN (1) CN109660365A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113810202A (en) * 2020-06-17 2021-12-17 华为技术有限公司 Method and apparatus for managing power supply, power supply device, and computer readable medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103354501A (en) * 2013-07-11 2013-10-16 杭州华三通信技术有限公司 Method controlling power-on/off of access point (AP) and access controller (AC)
CN103873263A (en) * 2014-03-27 2014-06-18 浙江宇视科技有限公司 Method and device for supplying electricity based on POE
US20150358485A1 (en) * 2013-01-07 2015-12-10 Zte Corporation Method and Device for Supplying Power to Access Device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150358485A1 (en) * 2013-01-07 2015-12-10 Zte Corporation Method and Device for Supplying Power to Access Device
CN103354501A (en) * 2013-07-11 2013-10-16 杭州华三通信技术有限公司 Method controlling power-on/off of access point (AP) and access controller (AC)
CN103873263A (en) * 2014-03-27 2014-06-18 浙江宇视科技有限公司 Method and device for supplying electricity based on POE

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113810202A (en) * 2020-06-17 2021-12-17 华为技术有限公司 Method and apparatus for managing power supply, power supply device, and computer readable medium
WO2021254351A1 (en) * 2020-06-17 2021-12-23 华为技术有限公司 Method and apparatus for power sourcing management, power sourcing equipment, and computer readable medium

Similar Documents

Publication Publication Date Title
EP2965571B1 (en) Systems and methods for managing a distributed wireless power transfer network for electrical devices
CN101163154B (en) Apparatus for advertising a user interface for configuring, controlling and/or monitoring a service
CN100454817C (en) Computer remote wakeup method and device based on network
US20230247388A1 (en) Communication system, method and device for miniature intelligent sensor
CN1852328B (en) Diskless workstation start system and method
TW201203773A (en) Local power management unit and power management system employing the same
CN102298601B (en) Conversion method of monitoring data of storage device oriented to radio and TV industry and converter
CN101371500A (en) Method and system for managing internet connection and informing user of connectivity
US8649270B2 (en) Dynamic network configuration
WO2014106382A1 (en) Power supply method and apparatus for access device
CN104079596A (en) Remote wakeup method and device
CN103595566A (en) Method and device for detecting idle IP addresses
CN109064230A (en) A kind of method, terminal device and server that advertisement redirects
US20100290380A1 (en) Wireless Communication Device, Power Saving Method Thereof, and Packet Filtering Method Therefor
CN109660365A (en) A kind of method for controlling power supply and device
CN102073306A (en) Network control method for massage chair
US20080016197A1 (en) Systems, methods, and computer products for an event-driven network service switching utility
US7852773B2 (en) Network management method applied to a user apparatus using IEEE 802.3ah
CN113965904A (en) Device registration method, device and storage medium
CA2527080A1 (en) Element management system for managing line-powered network elements
CN109450921A (en) Network status monitoring method, apparatus, storage medium and server
CN104468133B (en) POE control method, power supply unit and system
EP4035313A1 (en) Intermediary device for daisy chain and tree configuration in hybrid data/power connection
CN102281334B (en) A kind of management control method of catv terminal and system and access server
CN109962978A (en) Charging pile log deriving method, charging pile and control equipment

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

Application publication date: 20190419

RJ01 Rejection of invention patent application after publication