CN104468133A - Power over Ethernet (PoE) control method, power sourcing equipment (PSE) and system - Google Patents

Power over Ethernet (PoE) control method, power sourcing equipment (PSE) and system Download PDF

Info

Publication number
CN104468133A
CN104468133A CN201310423205.6A CN201310423205A CN104468133A CN 104468133 A CN104468133 A CN 104468133A CN 201310423205 A CN201310423205 A CN 201310423205A CN 104468133 A CN104468133 A CN 104468133A
Authority
CN
China
Prior art keywords
power supply
mac address
power
supply unit
over ethernet
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.)
Granted
Application number
CN201310423205.6A
Other languages
Chinese (zh)
Other versions
CN104468133B (en
Inventor
于斌
王勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310423205.6A priority Critical patent/CN104468133B/en
Publication of CN104468133A publication Critical patent/CN104468133A/en
Application granted granted Critical
Publication of CN104468133B publication Critical patent/CN104468133B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a power over Ethernet (PoE) control method, power sourcing equipment (PSE) and a system. The PoE control method comprises the following steps: in a time period when power supply is stopped, acquiring a medium access control (MAC) address of an access point (AP) of a wireless local area network (WLAN) which is connected through a PoE port by using the power sourcing equipment; determining whether a user is online on the AP or not according to the MAC address; and stopping supplying power to the AP on which no user is online. According to the PoE control method provided by the embodiment of the invention, the PSE automatically identifies the working state of the AP according to the MAC address of the AP which is connected with the PSE in the time period when power supply is stopped; if the user is online, the PSE can continually supply power to the AP through the PoE port of a PoE system; and if no user is online, the PSE stops supplying power to the AP, so that the flexibility of the PoE control method is enhanced.

Description

Power over Ethernet control method, power supply unit and system
Technical field
The present invention relates to power supply technique field, particularly relate to a kind of Power over Ethernet control method, power supply unit and system.
Background technology
Power over Ethernet (English: Power over Ethernet, abbreviation: PoE) on the basis not changing existing Ethernet architecture, for direct current supply can also be provided for these equipment while equipment transmission data signal.
Electric power is saved during not using network user, common, the power supply plan of configuration network switch and router can be carried out by order line, power-on time section can be comprised in the works in this power supply, stop power supply the time period etc., make the network switch and router stop PoE powering in the time period of stopping power supply.
Such as, at the network switch as power supply unit (power sourcing equipment, be called for short PSE), the access point of WLAN (wireless local area network) is (English: access point, abbreviation: AP) (English: powered device as power receiving equipment, abbreviation: time PD), in order to energy-conservation, can by the power supply plan of the order line configuration PoE port couple AP be connected with this PoE port on the network switch.The AP that this PoE port connects not is all the time in running order, and in the idle time period of AP, the network switch can stop powering to this PD, saves efficiency.Such as: it is power-on time section that user is configured with PoE port 8 a.m. at 18 in afternoon, and all the other times are for stopping power supply the time period.Like this, at 8 o'clock to 18 o'clock, the network switch was powered to AP.18 to the next morning 8 point in the afternoon, and the network switch is not powered to AP.If but user's temporary needs used AP accesses network after 18 o'clock, then need to reconfigure the power supply plan of PoE port to connected AP by changing the order line of the network switch, just can make the network switch in the afternoon 18 backward AP power.
In sum, the method for the existing configuration PoE port plan of powering, can not meet the demand of user's electricity consumption at any time, the method whether control PSE powers to the PD be connected with PoE port, very flexible.
Summary of the invention
technical problem
In view of this, the technical problem to be solved in the present invention is, how to meet the demand of Power over Ethernet system user electricity consumption at any time, improves the flexibility of Power over Ethernet control method.
solution
In order to solve the problems of the technologies described above, in first aspect, the invention provides a kind of Power over Ethernet control method, comprising:
Be in stop power supply the time period time, power supply unit obtains the Media Access Control address of the access point of the WLAN (wireless local area network) that Power over Ethernet port connects;
Described power supply unit, according to described MAC Address, determines whether described AP has online user;
Described power supply unit stops not having the described AP of online user to power.
In conjunction with first aspect, in the first possible implementation of first aspect, described be in stop power supply the time period time, power supply unit obtains the Media Access Control address of the access point of the WLAN (wireless local area network) that Power over Ethernet port connects, and comprising:
Described power supply unit is determined to stop power supply the time period described in current whether being in;
If so, then described power supply unit reads the MAC Address of described AP from the mac address table of described AP.
In conjunction with the first possible implementation of first aspect, in the implementation that the second of first aspect is possible, when described power supply unit is the network switch, described Power over Ethernet control method, also comprises:
The described network switch finds message to the access controller transmission wireless access point control of WLAN (wireless local area network) and the AC of configuration protocol form, resolve to make described AC the MAC Address that described AC finds AP described in Receive message, described AC discovery message comprises the MAC Address that the described network switch reads from the mac address table of described AP;
The AC that the described network switch receives described CAPWAP form from described AC finds response message, and described AC finds that response message comprises the information whether described AP has online user.
In conjunction with any one in implementation that the first and the second of first aspect and first aspect are possible, in the third possible implementation of first aspect, described according to described MAC Address, determine whether described AP has online user, comprising:
Described AC, according to described MAC Address, inquires about user's list item of described AP;
Described AC, according to described user's list item, determines whether described AP has online user.
In second aspect, the invention provides a kind of power supply unit, comprising:
Acquiring unit, for be in stop power supply the time period time, obtain the Media Access Control address of the access point of the WLAN (wireless local area network) that Power over Ethernet port connects;
Determining unit, is connected with described acquiring unit, for according to described MAC Address, determines whether described AP has online user;
Processing unit, is connected with described determining unit, for stopping not having the described AP of online user to power.
In conjunction with second aspect, in the first possible implementation of second aspect, described acquiring unit also for:
Determine to stop power supply the time period described in current whether being in, if so, from the mac address table of described AP, read the MAC Address of described AP.
In conjunction with the first possible implementation of second aspect, in the implementation that the second of second aspect is possible, described determining unit also for:
According to described MAC Address, inquire about user's list item of described AP, determine whether described AP has online user.
In conjunction with second aspect, in the third possible implementation of second aspect, described acquiring unit also for:
Determine to stop power supply the time period described in current whether being in, if so, the AC that the access controller to WLAN (wireless local area network) sends CAPWAP protocol format finds message, and described AC finds that message comprises the MAC Address read from the mac address table of described AP.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, described determining unit also for:
The AC receiving CAPWAP protocol format from described AC finds response message, and described AC finds that response message comprises the information whether described AP has online user.
In the third aspect, the invention provides a kind of Ethernet system, comprising:
AP, described AP are connected with described Power over Ethernet port;
Power supply unit, described power supply unit comprises AC or the network switch;
Described AC, adopts the power supply unit described in any one in the first implementation possible with the second of above-mentioned second aspect and second aspect;
The described network switch, adopts the power supply unit described in any one in the third and the 4th kind of possible implementation of above-mentioned second aspect and second aspect.
In fourth aspect, the invention provides a kind of power over Ethernet device, comprising:
Processor, for executive program;
Power supply circuits, are connected with described processor, for providing electric energy;
Power over Ethernet port, is connected with power receiving equipment and described power supply circuits, for the power delivery that provided by described power supply circuits to power receiving equipment, is embodied as the power supply of power receiving equipment.
Memory, for depositing power supply plan etc.;
Bus, for the communication between described processor, power supply circuits, Power over Ethernet port, memory.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, when power over Ethernet device is the network switch, can also comprise:
Communication interface, communicates with AC for the described network switch.
beneficial effect
Power over Ethernet control method of the present invention, be in stop power supply the time period time, the MAC Address of the AP that PSE connects according to it identifies the operating state of AP automatically, if there is user online, the PoE port that then PSE can continue through Power over Ethernet system is powered to AP, if do not have user online, PSE just stops powering to AP, improves the flexibility of Power over Ethernet control method.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, further feature of the present invention and aspect will become clear.
Accompanying drawing explanation
Comprise in the description and form the accompanying drawing of a part for specification and specification together illustrates exemplary embodiment of the present invention, characteristic sum aspect, and for explaining principle of the present invention.
Fig. 1 illustrates the flow chart of the Power over Ethernet control method according to the embodiment of the present invention one;
Fig. 2 illustrates the flow chart of the Power over Ethernet control method according to the embodiment of the present invention two;
Fig. 3 a illustrates the flow chart of the Power over Ethernet control method according to the embodiment of the present invention three;
Fig. 3 b illustrates the schematic diagram of the CAPWAP protocol massages form according to the embodiment of the present invention three;
Fig. 3 c illustrates the schematic diagram of the TLV message structure according to the embodiment of the present invention three;
Fig. 3 d illustrates the schematic diagram of the AC discovery message structure according to the embodiment of the present invention three;
Fig. 3 e illustrates the schematic diagram of the AC discovery response message structure according to the embodiment of the present invention three;
Fig. 4 illustrates the structured flowchart of the power supply unit according to the embodiment of the present invention four;
Fig. 5 illustrates the structured flowchart of the Ethernet system according to the embodiment of the present invention five;
Fig. 6 illustrates the structured flowchart of the power over Ethernet device according to the embodiment of the present invention six.
Embodiment
Various exemplary embodiment of the present invention, characteristic sum aspect is described in detail below with reference to accompanying drawing.The same or analogous element of Reference numeral presentation function identical in accompanying drawing.Although the various aspects of embodiment shown in the drawings, unless otherwise indicated, accompanying drawing need not be drawn in proportion.
Word " exemplary " special here means " as example, embodiment or illustrative ".Here need not be interpreted as being better than or being better than other embodiment as any embodiment illustrated by " exemplary ".
In addition, in order to better the present invention is described, in embodiment hereafter, give numerous details.It will be appreciated by those skilled in the art that do not have some detail, the present invention can implement equally.In some instances, the method known for those skilled in the art, means, element and circuit are not described in detail, so that highlight purport of the present invention.
In Power over Ethernet system, mainly comprise power supply unit and power receiving equipment, power receiving equipment can be the equipment such as WAP (wireless access point), safety system, IP phone of WLAN (wireless local area network), and power supply unit can be the equipment such as access controller, the network switch, router, hub of WLAN (wireless local area network).In the embodiment of the present invention, power supply unit can be that the access controller of WLAN (wireless local area network) is (English: access controller, abbreviation: AC), also can be the network switch, power receiving equipment can be based on wireless access point control and configuration (English: Control And Provisioning of Wireless Access Points, abbreviation: CAPWAP) agreement controls the WAP (wireless access point) with the WLAN (wireless local area network) of configuration by the access controller of WLAN (wireless local area network).
embodiment 1
Fig. 1 illustrates the flow chart of the Power over Ethernet control method according to the embodiment of the present invention one.As shown in Figure 1, this Power over Ethernet control method comprises:
Step S100, be in stop power supply the time period time, power supply unit obtains the Media Access Control address of the access point of the WLAN (wireless local area network) that Power over Ethernet port connects.
Particularly, in Power over Ethernet system, PSE is connected with PD by PoE port, PSE can monitor the message of Power over Ethernet system, determine the message format of the message listened to, message format be wireless access point control and configuration protocol form time, can determine that PD is the access point in WLAN.PSE can be configured the power supply plan of Ethernet electric power system, power-on time section can be only included in the works in this power supply, such as: power-on time section is 8:00 ~ 18:00, in power supply control process, PSE can calculate 0:01 ~ 7:59 and 18:01 ~ 24:00 for stopping power supply the time period according to power-on time section.Interchangeable, power supply also can only include the time period of stopping power supply in the works, and in power supply control process, PSE calculates power-on time section.Interchangeable, power supply also can comprise power-on time section in the works and stop power supply the time period.Stopping power supply the time period, PSE can first according to the PoE interface querying medium access control connecting this AP, (English: media access control, abbreviation: MAC) address table, to determine the MAC Address of this AP.Above-mentioned mac address table comprises the corresponding relation between MAC Address and port.Common, the corresponding relation in mac address table is (English: MAC learning) to obtain by mac learning.PSE can determine current whether stopping power supply the time period according to system time and power supply plan.
Step S120, described power supply unit, according to described MAC Address, determine whether described AP has online user;
Step S140, described power supply unit stop not having the described AP of online user to power.
Particularly, in Power over Ethernet system, when AP has user to reach the standard grade namely to have user to need by this AP access network, access controller in WLAN can be verified user, the information such as user name, password of such as authentication of users, and will by checking and the user of not rolling off the production line is defined as online user, the subscriber's meter in AC is upgraded, wherein, correspond in subscriber's meter in user's list item of this AP and can preserve the information such as online user's state of AP, the MAC Address of this AP.Like this, the MAC Address of the AP connected by PoE port in the Power over Ethernet system that got, subscriber's meter in inquiry AC, online user's quantity of this AP can be determined, when this AP does not have online user, by arranging in power supply unit the state of the register of the PoE port controlling this AP for closing, can stop not having the AP of online user to power to this.Online user's state of this AP can include the mark without online user, and this is masked as the first value and then represents that this AP has online user, and this is masked as the second value and then represents that this AP does not have online user; Online user's state of this AP also can comprise the quantity of online user; Online user's state of this AP also can include the quantity of mark without online user and online user.Such as, user 1 is by AP1 access network and have passed the checking of AC, when user 1 is not rolled off the production line, user 1 becomes the online user of AP1, now can upgrade user's list item of AP1 in subscriber's meter, it is the first value that renewal rewards theory can comprise online user's traffic sign placement of AP1, also can comprise and online user's quantity of AP1 is added 1, also can comprise above-mentioned two kinds of operations simultaneously.
It should be noted that the Power over Ethernet control method of the present embodiment, when AC is as power supply unit, can also have interchangeable implementation.Such as, when AP does not have online user, first can inquire about the subscriber's meter of AC, in user's list item of this AP, determine the MAC Address of AP and online user's state of AP.AC according to this MAC Address inquiry mac address table, determines the Power over Ethernet port connecting this AP again, stops powering to this AP for follow-up determining whether.
In a kind of possible implementation, be in stop power supply the time period time, power supply unit can temporally such as 10 minutes cycle detects the state of an AP.For example, power supply unit being configured 8 a.m. at 18 in afternoon is power-on time section, all the other times are for stopping power supply the time period, when the time period of stopping power supply starts, power supply unit can according to the MAC Address obtained, and determine whether the AP be connected with PoE port has online user, if AP has online user, power supply unit can continue as AP and power, and can at interval of a period of time as 10 minutes, then detect once this AP and whether have online user.If AP does not have online user, then power supply unit can arrange the state of the register of the PoE port controlling this AP in power supply unit for cutting out, and stops powering to AP.
The Power over Ethernet control method of the present embodiment, PSE can identify the operating state of this AP automatically according to the MAC Address of AP, if there is user online, the PoE port that then PSE can continue through Power over Ethernet system is powered to this AP, if do not have user online, PSE just stops powering to this AP, improves the flexibility of Power over Ethernet control method.
embodiment 2
Fig. 2 illustrates the flow chart of the Power over Ethernet control method according to the embodiment of the present invention two.As shown in Figure 2, compared with the Power over Ethernet control method shown in Fig. 1, the step S100 of this Power over Ethernet control method specifically can comprise:
Step S200, described power supply unit determine currently whether be in the time period of stopping power supply; If so, then step S210 is performed.
Wherein, in the Power over Ethernet system of the embodiment of the present invention two, power receiving equipment can be the AP of WLAN, and power supply unit can be the AC of WLAN.On AC, be preconfigured the power supply plan to AP, arrive stop power supply the time period time, AC performs step S210.
Step S210, described power supply unit read the MAC Address of described AP from the mac address table of described AP.
Particularly, after the clock indication mechanism time in AC that determines has arrived the time period of stopping power supply, AC can first according to having connected the PoE interface querying mac address table of this AP, to determine the MAC Address of this AP.
After AC reads the MAC Address of AP, the step S120 that can perform the Power over Ethernet control method shown in Fig. 1 determines whether AP has online user, and step S120 specifically can comprise:
Step S220, described AC, according to described MAC Address, inquire about user's list item of described AP;
Step S230, described AC, according to described user's list item, determine whether described AP has online user.
Particularly, in Power over Ethernet system, when AP has user to reach the standard grade namely to have user to need by this AP access network, access controller in WLAN can be verified user, the information such as user name, password of such as authentication of users, and will by checking and the user of not rolling off the production line is defined as online user, and by the information of this online user stored in the subscriber's meter in AC.Wherein, correspond in above-mentioned subscriber's meter in user's list item of this AP and can preserve the information such as online user's state of AP, the MAC Address of this AP.Like this, the MAC Address of the AP connected by PoE port in the Power over Ethernet system that got, by online user's quantity of this AP, the subscriber's meter in inquiry AC, can determine whether this AP has online user.
Determine after whether AP have online user at AC, the step S140 of the Power over Ethernet control method shown in Fig. 1 can be performed, when this AP does not have online user and online user's quantity is zero, by arranging in AC the state of the register of the PoE port controlling this AP for closing, can stop not having the AP of online user to power to this.
In a kind of possible implementation, be in stop power supply the time period time, AC can temporally such as 10 minutes cycle detects the state of an AP.For example, AC being configured 8 a.m. at 18 in afternoon is power-on time section, all the other times are for stopping power supply the time period, when the time period of stopping power supply starts, AC can postpone the operation stopping powering to AP, and AC can according to the MAC Address obtained, determine whether the AP be connected with PoE port has online user, if AP has online user, AC can continue as this AP and power, and can at interval of a period of time as 10 minutes, then detects once this AP and whether have online user.If AP does not have online user, then AC can arrange the state of the register of the PoE port controlling this AP for closing, and stops powering to AP.
The Power over Ethernet control method of the present embodiment, be in stop power supply the time period time, AC can identify the operating state of this AP automatically according to the MAC Address of AP, if there is user online, the PoE port that then AC can continue through Power over Ethernet system is powered to this AP, if do not have user online, AC just stops powering to this AP, improves the flexibility of Power over Ethernet control method.
embodiment 3
Fig. 3 a illustrates the flow chart of the Power over Ethernet control method according to the embodiment of the present invention three.As shown in Figure 3 a, compared with the Power over Ethernet control method shown in Fig. 1, in this Power over Ethernet system, power receiving equipment can be the AP of WLAN, and power supply unit can be the network switch.On the network switch, be preconfigured the power supply plan to AP, arrive stop power supply the time period time, step S200 and the step S210 of the Power over Ethernet control method shown in Fig. 2 can be performed.
Particularly, after the clock indication mechanism time in the network switch that determines has arrived the time period of stopping power supply, the network switch can obtain the mac address table of connected AP, reads the MAC Address of this AP from mac address table according to the corresponding relation of PoE port and MAC Address.
Further, the Power over Ethernet control method of the present embodiment, after the network switch reads the MAC Address of AP, can perform:
The AC that step S300, the described network switch send wireless access point control and configuration protocol form to described AC finds message, can resolve to make described AC the MAC Address that described AC finds AP described in Receive message, described AC discovery message comprises the MAC Address that the described network switch reads from the mac address table of described AP.
Particularly, the network switch can obtain the mac address table of this AP and from mac address table, read the MAC Address of this AP according to the corresponding relation of PoE port and MAC Address, but directly can not inquire about user's list item of AP according to MAC Address, stop powering to AP for follow-up determining whether.The network switch can send wireless access point control to AC and configuration is (English: Control AndProvisioning of Wireless Access Points, abbreviation: CAPWAP) AC of protocol format finds message, this AC can be resolved by AC like this and find message, the MAC Address that can obtain AP the payload (payload) of message is found from AC, further, user's list item of this AP in the subscriber's meter of AC can be inquired about by MAC Address, determine whether AP has online user.
The reciprocal process of AC, AP is defined in the CAPWAP agreement of existing standard.As shown in Figure 3 b, wherein, CAPWAP anticipation code (CAPWAP Preamble) is 8 to the message format of CAPWAP agreement; Header length (Head Length is called for short HLEN) is 5, indicates the length of CAPWAP stem; Radio frequency identifiers (Radio Identity is called for short RID) is 5, indicates the source RF of message; Radio frames identifier (Wireless Binding Identity is called for short WBID) is 5, indicates radio frames type; T represents 1 bit data frames identifier, and when value is 1, Frame is the type indicated by radio frames identifier; F identifies 1 grouping mark, and when value is 1, message is a CAPWAP message grouping, needs to become complete message with other packet recombinings; L represents 1 grouping end mark, and when value is 1, message is last grouping; W represents 1 option flag, there is wireless customizing messages (Wireless SpecificInformation) option when value is 1; M represents 1 option flag, there is media MAC Address (RadioMAC Address) option when value is 1; K represents 1 survival mark, indicates message and connects survival for keeping, can not carry user data; Reserved mark (Flags) is 3; Packet identifier (Fragment ID) is 16, identifies different packet; Grouping displacement (Frag Offset) is 13, indicates the position be respectively grouped in message; Reserved code (Reserved is called for short Rsvd) is 3; Radio frequency MAC Address (Radio MAC Address) is 32, uses 0 completion, indicate the MAC Address of message source RF less than 32; Special wireless messages (Wireless Specific Information) is 32, uses 0 completion, comprise specific information less than 32; In payload (payload), data message carries user data, controls to carry control message in message.
But concerning the application emerged in an endless stream, the CAPWAP agreement of existing standard cannot meet the demand of application far away, therefore in CAPWAP protocol massages form, reserved the interface of expansion interface " option 37 " as enterprise's extensible element voluntarily, " option 37 " is encapsulated in payload (payload) part of existing standard CAPWAP protocol massages form, this segment message is TLV(Type-Length-Value, type lengths values) option information of structure.As shown in Figure 3 c, the message format of TLV structure comprises type (Type), length (Length), value (Value) three category information.As shown in Figure 3 d, in one embodiment of the invention, above-mentioned AC finds that the application of electronic report CAPWAP agreement of " option 37 " expansion interface to existing standard is expanded, and this message comprises the MAC Address (AP_MAC1) of AP.
The AC that step S310, the described network switch receive described CAPWAP form from described AC finds response message, and described AC finds that response message comprises the information whether described AP has online user.
Particularly, after AC parsing obtains the MAC Address of AP, step 220 and the step 230 of the Power over Ethernet control method shown in Fig. 2 can be performed, according to MAC Address, user's list item of inquiry AP, obtain whether AP has online user, send AC find response message to the network switch, this AC finds that response message comprises the information whether AP has online user.As shown in Figure 3 e, above-mentioned AC finds that response message also can be applied the CAPWAP agreement of " option 37 " expansion interface to existing standard and expand, whether MAC Address (AP_MAC1) the corresponding A P that this message comprises AP has the information of online user, such as, carry by retaining position.
Determine after whether AP have online user at the network switch, the step S140 of the Power over Ethernet control method shown in Fig. 1 can be performed, when this AP does not have online user and online user's quantity is zero, by arranging in the network switch state of the register of the PoE port controlling this AP for closing, can stop not having the AP of online user to power to this.
In a kind of possible implementation, be in stop power supply the time period time, the network switch can temporally such as 10 minutes cycle detects the state of an AP.For example, the network switch being configured 8 a.m. at 18 in afternoon is power-on time section, all the other times are for stopping power supply the time period, when the time period of stopping power supply starts, the network switch can postpone the operation stopping powering to AP, the network switch can obtain the MAC Address of AP and send AC discovery message to AC, this AC finds that message comprises the MAC Address of AP, resolve by AC the user's list item can inquiring about the AP that AC preserves and determine whether AP has online user, the network switch receives AC and finds response message, this AC finds that response message comprises the information whether AP has online user, the network switch determines whether AP has online user, if AP has online user, the network switch can continue as this AP and power, and can at interval of a period of time as 10 minutes, detect once this AP again and whether have online user.If AP does not have online user, then the network switch can arrange the state of the register of the PoE port controlling this AP for cutting out, and stops powering to AP.
The Power over Ethernet control method of the present embodiment, be in stop power supply the time period time, the network switch can construct the message of CAPWAP protocol format and AC carries out alternately, automatically the operating state of this AP is identified, if there is user online, then the PoE port that the network switch can continue through Power over Ethernet system is powered to this AP, if do not have user online, the network switch just stops powering to this AP, improves the flexibility of Power over Ethernet control method.
embodiment 4
Fig. 4 illustrates the structured flowchart of the power supply unit according to the embodiment of the present invention four.As shown in Figure 4, this power supply unit 400 comprises:
Acquiring unit 420, for be in stop power supply the time period time, obtain the Media Access Control address of the access point of the WLAN (wireless local area network) that Power over Ethernet port connects.
Particularly, in Power over Ethernet system, power supply unit 400 can be connected with PD by PoE port, power supply unit 400 can monitor the message of Power over Ethernet system, determine the message format of the message listened to, message format be wireless access point control and configuration protocol form time, can determine that PD is the access point in WLAN.On power supply unit 400, can be preconfigured the power supply plan of Power over Ethernet system, wherein, power supply plan can see the associated description in Power over Ethernet control method in embodiment one.In power supply unit 400 configuration the clock indication mechanism time arrived this Power over Ethernet system stop power supply the time period time, power supply unit 400 can not stop the AP to this PoE port connects to power, but the MAC Address of AP is obtained by acquiring unit 420, stop powering to this AP for follow-up judging whether.
Further, acquiring unit 420 specifically can also be used for:
Determine to stop power supply the time period described in current whether being in, if so, from the mac address table of described AP, read the MAC Address of described AP.
Particularly, power supply unit 400 has been configured the power supply plan to AP, the clock indication mechanism time of power supply unit 400 reached stop power supply the time period time, power supply unit 400 can not immediately by stopping powering to AP, but obtain the mac address table of connected AP, from mac address table, the MAC Address of AP is read according to the corresponding relation of PoE port and MAC Address.
Determining unit 440, is connected with described acquiring unit 420, for according to described MAC Address, determines whether described AP has online user.
Determining unit 440 specifically can also be used for:
According to described MAC Address, inquire about user's list item of described AP, determine whether described AP has online user.
Particularly, in Power over Ethernet system, when AP has user to reach the standard grade namely to have user to need by this AP access network, AC can verify user, the information such as user name, password of such as authentication of users, and will by checking and the user of not rolling off the production line is defined as online user, and by the information of this online user stored in the subscriber's meter in AC.Wherein, correspond in above-mentioned subscriber's meter in user's list item of this AP and can preserve the information such as online user's state of AP, the MAC Address of this AP.Like this, the MAC Address of the AP connected by PoE port in the Power over Ethernet system that got, the subscriber's meter in inquiry AC, can determine whether this AP has online user.
Processing unit 460, is connected with described determining unit 440, for stopping not having the described AP of online user to power.
Particularly, when this AP does not have online user and online user's quantity is zero, processing unit 460 by arranging in power supply unit the state of the register of the PoE port controlling this AP for closing, can stop not having the AP of online user to power to this.
In a kind of possible implementation, be in stop power supply the time period time, power supply unit 400 can temporally such as 10 minutes cycle detects the state of an AP.For example, power supply unit 400 being configured 8 a.m. at 18 in afternoon is power-on time section, all the other times are for stopping power supply the time period, when the time period of stopping power supply starts, power supply unit 400 can postpone the operation stopping powering to AP, the MAC Address that determining unit 440 can obtain according to acquiring unit 420, determine whether the AP be connected with PoE port has online user, if AP has online user, power supply unit 400 can continue as this AP and power, and can at interval of a period of time as 10 minutes, then detect once this AP and whether have online user.If AP does not have online user, then processing unit 460 can arrange the state of the register of the PoE port controlling this AP in power supply unit for closing, and stops powering to AP.
In a kind of possible implementation, the power supply unit 400 of the present embodiment can be AC, also can be the network switch.When power supply unit 400 is network switchs, acquiring unit 420 can also be used for:
Determine to stop power supply the time period described in current whether being in, if so, the AC that the access controller to WLAN (wireless local area network) sends CAPWAP protocol format finds message, and described AC finds that message comprises the MAC Address read from the mac address table of described AP.
Determining unit 440 can also be used for:
The AC receiving CAPWAP protocol format from described AC finds response message, and described AC finds that response message comprises the information whether described AP has online user.
Particularly, the network switch can obtain the mac address table of this AP and from mac address table, read the MAC Address of this AP according to the corresponding relation of PoE port and MAC Address, but directly can not inquire about user's list item of AP according to MAC Address, stop powering to AP for follow-up determining whether.The network switch can send AC to AC and find message, can resolve this AC like this and find message, find the MAC Address that can obtain AP the payload (payload) of message from AC by AC.
After AC parsing obtains the MAC Address of AP, can according to MAC Address, user's list item of inquiry AP, obtains whether AP has online user, sends AC find response message to the network switch, and this AC finds that response message comprises the information whether AP has online user.Concrete example can see the associated description of Power over Ethernet control method in embodiment three.
The power supply unit of the present embodiment, the MAC Address of the AP that can obtain according to acquiring unit identifies the operating state of this AP automatically, if there is user online, the PoE port that then power supply unit can continue through Power over Ethernet system is powered to this AP, if do not have user online, power supply unit just stops powering to this AP by processing unit, improves the flexibility of Power over Ethernet control method.
embodiment 5
Fig. 5 illustrates the structured flowchart of the Ethernet system according to the embodiment of the present invention five.As shown in Figure 5, this Ethernet system 500 comprises:
AP520, described AP are connected with described Power over Ethernet port;
Power supply unit 540, described power supply unit comprises AC or the network switch.
Particularly, in Power over Ethernet system, mainly comprise PSE and PD, PD can be the equipment such as AP, safety system, IP phone of WLAN, and PSE can be the equipment such as AC, the network switch, router, hub of WLAN.In embodiments of the invention, in this Ethernet system 500, power receiving equipment can be AP520, and power supply unit 540 can be AC or the network switch.
In this Ethernet system 500, when power supply unit 540 is AC, the upper power supply plan that can be preconfigured Power over Ethernet system of AC, be in stop power supply the time period time, AC by reading the MAC Address of AP520, can identify the operating state of AP520 automatically, if there is user online, the PoE port that AC can continue through Power over Ethernet system is powered to this AP520, if do not have user online, AC just stops powering to AP.
Further, in this Ethernet system 500, when power supply unit 540 is the network switch, the network switch can be preconfigured the power supply plan of Power over Ethernet system, be in stop power supply the time period time, the network switch can read the MAC Address of AP520, sends AC and finds message, can be resolved the MAC Address obtaining AP by AC to AC.Further, can inquire about on AP whether have online user by AC, the network switch receives the AC discovery response message that AC sends, and this AC finds to include the information whether AP520 has online user in response message.If do not have online user, the network switch by arranging in the network switch state of the register of the PoE port controlling this AP for cutting out, can stop not having the AP of online user to power to this.AC finds that message and AC find that the concrete example of response message can see the associated description in the Power over Ethernet control method in embodiment three.
The Ethernet system of the present embodiment, power supply unit can identify the operating state of this AP automatically according to the MAC Address of the AP obtained, if there is user online, then power supply unit can continue through Power over Ethernet port and powers to this AP, if do not have user online, power supply unit just stops powering to this AP, improves the flexibility of Power over Ethernet control method.
embodiment 6
Fig. 6 illustrates the structured flowchart of the power over Ethernet device according to the embodiment of the present invention six.It is (English: processor) 610, Power over Ethernet port 620, power supply circuits 630, memory 640 that described power over Ethernet device 600 comprises processor.Wherein, processor 610 is connected with power supply circuits 630, and Power over Ethernet port 620 is connected with power supply circuits 630.This power over Ethernet device 600 can be AC or the network switch, constitutes Power over Ethernet system with Ethernet power receiving equipment.Thick line shown in Fig. 6 is that bus is (English: bus) 650.
Processor 610 is for executive program.Processor 610 may be a central processor CPU, also may be made up of a central processor CPU and hardware chip, wherein hardware chip can be one or more combination following: field programmable gate array is (English: field-programmable gate array, abbreviation: FPGA), CPLD (English: complex programmable logicdevice, abbreviation: CPLD).
Power over Ethernet port 620 can connect power receiving equipment, for the power delivery that provided by power supply circuits 630 to power receiving equipment, is embodied as the power supply of power receiving equipment.
Memory 640 is for depositing the power supply plan etc. of configuration.Memory can be that volatile memory is (English: volatile memory), such as random access memory is (English: random-access memory, abbreviation: RAM), or nonvolatile memory is (English: non-volatile memory), such as read-only memory is (English: read-only memory, abbreviation: ROM), flash memory is (English: flashmemory), hard disk is (English: hard disk drive, abbreviation: HDD) or solid state hard disc (English: solid-state drive, abbreviation: SSD).Memory 630 is connected with processor 610.
When power over Ethernet device 600 is the network switch, communication interface 660 can also be comprised, for communicating with AC.
In a kind of possible execution mode, said procedure can be the program code comprising computer-managed instruction.This program specifically can be used for:
Be in stop power supply the time period time, power supply unit obtains the Media Access Control address of the access point of the WLAN (wireless local area network) that Power over Ethernet port connects;
Described power supply unit, according to described MAC Address, determines whether described AP has online user;
Described power supply unit stops not having the described AP of online user to power.
In a kind of possible implementation, described be in stop power supply the time period time, power supply unit obtains the media access address of the access point of the WLAN (wireless local area network) that Power over Ethernet port connects, and comprising:
Described power supply unit is determined to stop power supply the time period described in current whether being in;
If so, then described power supply unit reads the MAC Address of described AP from the mac address table of described AP.
In a kind of possible implementation, when described power supply unit is the network switch, this program specifically can also be used for:
The described network switch finds message to the access controller transmission wireless access point control of WLAN (wireless local area network) and the AC of configuration protocol form, resolve to make described AC the MAC Address that described AC finds AP described in Receive message, described AC discovery message comprises the MAC Address that the described network switch reads from the mac address table of described AP;
The AC that the described network switch receives described CAPWAP form from described AC finds response message, and described AC finds that response message comprises the information whether described AP has online user.
In a kind of possible implementation, described according to described MAC Address, determine whether described AP has online user, comprising:
Described AC, according to described MAC Address, inquires about user's list item of described AP;
Described AC, according to described user's list item, determines whether described AP has online user.
Those of ordinary skill in the art can recognize, each exemplary cell in embodiment described herein and algorithm steps, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions realize with hardware or software form actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can realize described function for specific application choice diverse ways, but this realization should not thought and exceeds scope of the present invention.
If using the form of computer software realize described function and as independently production marketing or use time, then can think that all or part of (such as to the part that prior art contributes) of technical scheme of the present invention embodies in form of a computer software product to a certain extent.This computer software product is stored in the storage medium of embodied on computer readable usually, comprises all or part of step of some instructions in order to make computer equipment (can be personal computer, server or the network equipment etc.) perform various embodiments of the present invention method.And aforesaid storage medium comprise USB flash disk, portable hard drive, read-only memory, random access memory, magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (10)

1. a Power over Ethernet control method, is characterized in that, comprising:
Be in stop power supply the time period time, power supply unit obtains the medium access control MAC Address of the access point AP of the WLAN (wireless local area network) WLAN that power over Ethernet PoE port connects;
Described power supply unit, according to described MAC Address, determines whether described AP has online user;
Described power supply unit stops not having the described AP of online user to power.
2. Power over Ethernet control method according to claim 1, it is characterized in that, described be in stop power supply the time period time, power supply unit obtains the medium access control MAC Address of the access point AP of the WLAN (wireless local area network) WLAN that power over Ethernet PoE port connects, and comprising:
Described power supply unit is determined to stop power supply the time period described in current whether being in;
If so, described power supply unit reads the MAC Address of described AP from the mac address table of described AP.
3. Power over Ethernet control method according to claim 2, is characterized in that, when described power supply unit is the network switch, described Power over Ethernet control method, also comprises:
The described network switch finds message to the access controller AC transmission wireless access point control of WLAN (wireless local area network) WLAN and the AC of configuration protocol CAPWAP form, resolve to make described AC the MAC Address that described AC finds AP described in Receive message, described AC discovery message comprises the MAC Address that the described network switch reads from the mac address table of described AP;
The AC that the described network switch receives described CAPWAP form from described AC finds response message, and described AC finds that response message comprises the information whether described AP has online user.
4. the Power over Ethernet control method according to any one of claim 1-3, is characterized in that, described according to described MAC Address, determines whether described AP has online user, comprising:
Described AC, according to described MAC Address, inquires about user's list item of described AP;
Described AC, according to described user's list item, determines whether described AP has online user.
5. a power supply unit, is characterized in that, comprising:
Acquiring unit, for be in stop power supply the time period time, obtain the medium access control MAC Address of the access point AP of the WLAN (wireless local area network) WLAN that power over Ethernet PoE port connects;
Determining unit, is connected with described acquiring unit, for according to described MAC Address, determines whether described AP has online user;
Processing unit, is connected with described determining unit, for stopping not having the described AP of online user to power.
6. power supply unit according to claim 5, is characterized in that, described acquiring unit also for:
Determine to stop power supply the time period described in current whether being in, if so, from the mac address table of described AP, read the MAC Address of described AP.
7. power supply unit according to claim 6, is characterized in that, described determining unit also for:
According to described MAC Address, inquire about user's list item of described AP, determine whether described AP has online user.
8. power supply unit according to claim 5, is characterized in that, described acquiring unit also for:
Determine to stop power supply the time period described in current whether being in, if so, the AC that the access controller AC to WLAN (wireless local area network) WLAN sends CAPWAP protocol format finds message, and described AC finds that message comprises the MAC Address read from the mac address table of described AP.
9. power supply unit according to claim 8, is characterized in that, described determining unit also for:
The AC receiving CAPWAP protocol format from described AC finds response message, and described AC finds that response message comprises the information whether described AP has online user.
10. an Ethernet system, is characterized in that, comprising:
AP, described AP are connected with described power over Ethernet PoE port;
Power supply unit, described power supply unit comprises AC or the network switch;
Described AC, adopts the power supply unit according to any one of the claims 5 to 7;
The described network switch, adopts the claims 5 or the power supply unit according to any one of 8 or 9.
CN201310423205.6A 2013-09-16 2013-09-16 POE control method, power supply unit and system Active CN104468133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310423205.6A CN104468133B (en) 2013-09-16 2013-09-16 POE control method, power supply unit and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310423205.6A CN104468133B (en) 2013-09-16 2013-09-16 POE control method, power supply unit and system

Publications (2)

Publication Number Publication Date
CN104468133A true CN104468133A (en) 2015-03-25
CN104468133B CN104468133B (en) 2018-03-09

Family

ID=52913563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310423205.6A Active CN104468133B (en) 2013-09-16 2013-09-16 POE control method, power supply unit and system

Country Status (1)

Country Link
CN (1) CN104468133B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450422A (en) * 2015-12-02 2016-03-30 杭州敦崇科技股份有限公司 Wireless access point fault remote automatic recovery system based on access controller and POE switch
CN109151798A (en) * 2018-08-29 2019-01-04 迈普通信技术股份有限公司 Power control system and method
CN109976204A (en) * 2017-12-28 2019-07-05 华为技术有限公司 Automatic illuminating method and apparatus
CN115396243A (en) * 2022-10-27 2022-11-25 武汉思创易控科技有限公司 PoE power supply control method, storage medium and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1450756A (en) * 2002-04-08 2003-10-22 华为技术有限公司 Method for real time detecting ethernet connected computer on-line state through insertion equipment
CN101252448A (en) * 2008-03-31 2008-08-27 杭州华三通信技术有限公司 Method and system for detecting current failure of power receiving equipment as well as power supply equipment
US20100002610A1 (en) * 2008-07-03 2010-01-07 Robert Bowser Power savings for wireless local area networks
CN101867468A (en) * 2010-06-03 2010-10-20 中兴通讯股份有限公司 Hot reboot processing method for power over Ethernet switch and power over Ethernet switch
CN103095505A (en) * 2013-02-05 2013-05-08 北京傲天动联技术股份有限公司 Method and system for controlling power supply of power over Ethernet (POE) exchanger port

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1450756A (en) * 2002-04-08 2003-10-22 华为技术有限公司 Method for real time detecting ethernet connected computer on-line state through insertion equipment
CN101252448A (en) * 2008-03-31 2008-08-27 杭州华三通信技术有限公司 Method and system for detecting current failure of power receiving equipment as well as power supply equipment
US20100002610A1 (en) * 2008-07-03 2010-01-07 Robert Bowser Power savings for wireless local area networks
CN101867468A (en) * 2010-06-03 2010-10-20 中兴通讯股份有限公司 Hot reboot processing method for power over Ethernet switch and power over Ethernet switch
CN103095505A (en) * 2013-02-05 2013-05-08 北京傲天动联技术股份有限公司 Method and system for controlling power supply of power over Ethernet (POE) exchanger port

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450422A (en) * 2015-12-02 2016-03-30 杭州敦崇科技股份有限公司 Wireless access point fault remote automatic recovery system based on access controller and POE switch
CN109976204A (en) * 2017-12-28 2019-07-05 华为技术有限公司 Automatic illuminating method and apparatus
CN109976204B (en) * 2017-12-28 2022-06-10 华为技术有限公司 Automatic lighting method and equipment
CN109151798A (en) * 2018-08-29 2019-01-04 迈普通信技术股份有限公司 Power control system and method
CN115396243A (en) * 2022-10-27 2022-11-25 武汉思创易控科技有限公司 PoE power supply control method, storage medium and terminal

Also Published As

Publication number Publication date
CN104468133B (en) 2018-03-09

Similar Documents

Publication Publication Date Title
CN110557777B (en) Network connection control method, terminal and storage medium
CN101809939B (en) Power saving operation of always-connected wireless roaming
CN101541068B (en) WLAN network control method and device thereof
US9442555B2 (en) Method of control of an access point of a home gateway of a home network
CN101959295B (en) Energy-saving management method, system and remote management server of wireless sensor network
US20100011231A1 (en) Access point rotation for sharing power load
US20140018002A1 (en) Network, master, hub and method for providing a bluetooth infrastructure
CN105049502B (en) The method and apparatus that device software updates in a kind of cloud network management system
CN104137473B (en) POE method, device, equipment and system
US7882255B2 (en) Method and apparatus for maintaining local area network (“LAN”) and wireless LAN (“WLAN”) security associations
CN103379595B (en) In WLAN (wireless local area network), STA obtains method, the Apparatus and system of data
CN108933671A (en) Power supply management method, equipment and system
CN104468133A (en) Power over Ethernet (PoE) control method, power sourcing equipment (PSE) and system
CN106304417B (en) Household electrical appliance group network system and method based on ZigBee-network
CN104869609A (en) Information providing method and device
CN102333335A (en) Service recovery method, equipment and system for wireless local area network (WLAN)
CN105450422A (en) Wireless access point fault remote automatic recovery system based on access controller and POE switch
WO2019080719A1 (en) Data processing method and device, storage medium, processor, and system
WO2014114021A1 (en) Wireless sd card and method for realizing operating mode switch thereof
WO2015180251A1 (en) Wake-on-lan method, server, and client
CN102573022A (en) Method and device for saving power for mobile terminal
WO2019015051A1 (en) Method and apparatus for switching operating modes
WO2018112745A1 (en) Method, entity and system for obtaining network slice instance information
WO2012079544A1 (en) Method and device for managing multi-mode base station
CN105101274A (en) Configuration method and device of message forwarding mode

Legal Events

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