CN104662849A - Method and apparatus for controlling power supply of network device, and network device - Google Patents

Method and apparatus for controlling power supply of network device, and network device Download PDF

Info

Publication number
CN104662849A
CN104662849A CN201380000045.2A CN201380000045A CN104662849A CN 104662849 A CN104662849 A CN 104662849A CN 201380000045 A CN201380000045 A CN 201380000045A CN 104662849 A CN104662849 A CN 104662849A
Authority
CN
China
Prior art keywords
com1
network equipment
equipment
energy
conservation
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
CN201380000045.2A
Other languages
Chinese (zh)
Other versions
CN104662849B (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
Publication of CN104662849A publication Critical patent/CN104662849A/en
Application granted granted Critical
Publication of CN104662849B publication Critical patent/CN104662849B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

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

Abstract

Embodiments of the present invention provide a method and an apparatus for controlling power supply of a network device, and a network device. The method comprises: sending, through a communication port, a power-saving negotiation message to a device connected with the communication port; receiving, through the communication port, a power-saving negotiation response returned by the device, wherein the power-saving negotiation response carries a power-saving mode permitted by the device; and switching the communication port to the power-saving mode according to the power-saving negotiation response. The method and apparatus for controlling power supply of a network device, and the network device provided by the embodiments of the present invention can solve the technical problem in the prior art that the network device does not save power; therefore, refined power-saving can be achieved by using the communication port as a unit.

Description

METHOD AND APPARATUS FOR CONTROLLING POWER SUPPLY OF NETWORK DEVICE, AND NETWORK DEVICE
Network equipment method for controlling power supply, device and the network equipment
The present invention relates to the communication technology, more particularly to a kind of network equipment method for controlling power supply, device and the network equipment for technical field.Background technology
As global energy is nervous and attention to environmental protection, reduce the power consumption of the network equipment, make network equipment working in energy saver mode into the network equipment development trend.
The network equipment generally has multiple COM1s, and the situation that the multiple COM1s of generally existing are connected with other equipment simultaneously.At present, the network equipment only could enter energy saver mode in the case where all COM1s are all in closing, still power consumption is more, the effect of energy-conservation is limited, especially after the external power source power-off that the network equipment is connected, if the network equipment can not be run in the power save mode, the electricity of battery will soon be exhausted.The content of the invention
The present invention provides a kind of network equipment method for controlling power supply, device and the network equipment, the problem of network equipment power consumption to solve prior art is more.
In a first aspect, the embodiment of the present invention provides a kind of network equipment method for controlling power supply, including:The equipment connected by COM1 to the COM1 sends energy-conservation negotiation message;The energy-conservation negotiation response that the equipment is returned is received by the COM1, the energy-conservation consults response and carries the energy saver mode that the equipment allows;Response is consulted according to the energy-conservation, the COM1 is switched to energy saver mode.
First aspect the first possibly in implementation, described to consult response according to the energy-conservation, the COM1 is switched into energy saver mode includes:When the energy-conservation, which consults response, allows to close the communication interface, the COM1 is closed, or when the energy-conservation negotiation response allows the communication interface being switched to Ethernet power-saving technology EEE patterns, the COM1 is switched to EEE patterns, the COM1 is switched to EEE patterns.
According to the first possible implementation of first aspect or first aspect, in second of possible implementation, send energy-conservation in the equipment connected by COM1 to the COM1 and consult Before message, in addition to:The equipment connected by the COM1 to the COM1 sends agreement and inquires message, and the agreement inquiry message is used to inquire whether the equipment that the COM1 is connected supports energy saver mode;The agreement response for the equipment return that the COM1 is connected is received, the agreement response is used to indicate whether the equipment supports energy saver mode.
Any one in the first or second of possible implementation of first aspect, first aspect, in the third possible implementation, before described other network equipments connected by COM1 to the COM1 send energy-conservation negotiation message, methods described also includes:When monitoring the external power source power-off of the network equipment, starting storage battery mode of operation is powered by the battery to the network equipment.
According to the third possible implementation of first aspect, in the 4th kind of possible implementation, after the external power source for monitoring the network equipment is powered off, in addition to:The first alarm information is sent to network management server, to notify the external power source of the network equipment to power off to the network management server.
According to the third or the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation, after starting storage battery mode of operation, in addition to:When the electricity of the battery of the network equipment is less than the first preset value, according to the COM1 of the network equipment described in priority positive closing.
According to the 5th of first aspect the kind of possible implementation, in the 6th kind of possible implementation, the priority is set by user, or, determined according to the data volume of communication port transfers.
According to the third any one into the 6th kind of possible implementation of first aspect, in the 7th kind of possible implementation, in addition to:When the electricity of the battery of the network equipment is less than the second preset value, by all COM1s of the network equipment or the alarm information of COM1 broadcast transmission second not yet closed, the network equipment is notified to power off with all devices connected to the network equipment.
Second aspect, the embodiment of the present invention provides a kind of network equipment power supply control apparatus, including:Negotiation message sending module is saved, the equipment for being connected by COM1 to the COM1 sends energy-conservation negotiation message;Energy-conservation consults response receiving module, and for receiving the energy-conservation negotiation response that the equipment is returned by the COM1, the energy-conservation consults response and carries the energy saver mode that the equipment allows;Control module, for consulting response according to the energy-conservation, energy saver mode is switched to by the COM1.
In the first possible implementation of second aspect, the control module includes:Closing unit, for when the energy-conservation negotiation response allows to close the communication interface, the COM1 to be closed, or power saving unit, allow the communication interface being switched to Ethernet section for consulting response when the energy-conservation During energy technology EEE patterns, the COM1 is switched to EEE patterns.
According to the first possible implementation of second aspect or second aspect, in second of possible implementation, in addition to:Agreement inquires message transmission module, and the equipment for being connected by COM1 to the COM1 sends agreement and inquires message, and the agreement inquiry message is used to inquire whether the equipment that the communication interface is connected supports energy saver mode;Agreement response receiving module, for receiving the agreement response that the equipment that the COM1 is connected is returned, the agreement response is used to indicate whether the equipment supports energy saver mode.
Any one in the first or second of possible implementation of second aspect, second aspect, in the third possible implementation, in addition to:Processing module, during for monitoring that the external power source of the network equipment is powered off, starting storage battery mode of operation is powered by the battery to the network equipment.
According to the third possible implementation of second aspect, in the 4th kind of possible implementation, in addition to:External power source alarm for power-off module, after monitoring that the external power source of the network equipment is powered off in the processing module, the first alarm information is sent to network management server, to notify the external power source of the network equipment to power off to the network management server.
According to the third or the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation, in addition to:Positive closing module, when the electricity for the battery when the network equipment is less than the first preset value, according to the COM1 of the network equipment described in priority positive closing.
According to the 5th of second aspect the kind of possible implementation, in the 6th kind of possible implementation, the priority is set by user, or, determined according to the data volume of communication port transfers.
According to the third any one into the 6th kind of possible implementation of second aspect, in the 7th kind of possible implementation, in addition to:Power off broadcast alarms module, when electricity for the battery when the network equipment is less than the second preset value, by all COM1s of the network equipment or the alarm information of COM1 broadcast transmission second not yet closed, the network equipment is notified to power off with all devices connected to the network equipment.
The third aspect, the embodiment of the present invention provides a kind of network equipment, including:Processor, memory and at least one COM1, the communication interface is used to be communicated with external equipment, the memory is used to store computer program instructions, the processor is used for the computer program instructions for calling the memory storage, to perform the network equipment method for controlling power supply described in any embodiment of the present invention.
Network equipment method for controlling power supply provided in an embodiment of the present invention, device and the network equipment, by logical The equipment that letter port is connected with the COM1 carries out energy-conservation negotiation, and the COM1 is switched into energy saver mode according to negotiation result, can realize the energy-conservation become more meticulous in units of COM1.Brief description of the drawings
Fig. 1 is the flow chart of inventive network equipment method for controlling power supply embodiment one;
Fig. 2 is the flow chart of inventive network equipment method for controlling power supply embodiment two;
Fig. 3 is the flow chart of inventive network equipment method for controlling power supply embodiment three;
Fig. 4 is the flow chart of inventive network equipment method for controlling power supply example IV;
Fig. 5 is the structural representation of inventive network equipment power supply control apparatus embodiment one;
Fig. 6 is the structural representation of inventive network equipment power supply control apparatus embodiment two;
Fig. 7 is the structural representation of inventive network equipment power supply control apparatus embodiment three;
Fig. 8 is the structural representation of inventive network equipment power supply control apparatus example IV;
Fig. 9 is the structural representation of inventive network apparatus embodiments one.Embodiment is to make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made belongs to the scope of protection of the invention.
The network equipment being related in various embodiments of the present invention can be interchanger, access point(Access Point, referred to as:) and couple in router AP(Access Router, referred to as:AR) etc..
Fig. 1 is the flow chart of inventive network equipment method for controlling power supply embodiment one, this method can be realized by network equipment power supply control apparatus, the device can realize that network equipment power supply control apparatus can be integrated in any one network equipment by way of hardware and/or software.As shown in figure 1, the method for the present embodiment can include:
Step 101, the equipment connected by the COM1 of the network equipment to the COM1 send energy-conservation negotiation message.
Specifically, energy-conservation negotiation message can be sent by a kind of special message, the energy-conservation negotiation message is used to inquire that can the equipment that the COM1 is connected be set to the COM1 energy saver mode, example Such as, Ethernet power-saving technology(Energy Efficient Ethernet, referred to as:EEE) pattern, or the COM1 can be closed, COM1 closing is also one kind of energy saver mode.
The equipment that the COM1 is connected, it may be possible to the network equipment, it is also possible to terminal device.Step 102, the energy-conservation for receiving the equipment return by the COM1 consult response, and the energy-conservation consults response and carries the energy saver mode that the equipment allows.
Specifically, the equipment that the COM1 is connected can be according to the situation of itself, for example whether there is data by the communication port transfers, whether the COM1 is set to after EEE patterns can have an impact to the business of itself, determine whether the COM1 being switched to energy saver mode, and energy-conservation negotiation response is returned to the COM1 of the network equipment according to judged result.Determine whether the COM1 being switched to energy saver mode, may include whether that the COM1 can be set to EEE patterns, or the COM1 can be closed.
It should be noted that, if the COM1 of the network equipment is closed, in the equipment that the COM1 is connected to should the second COM1 of COM1 can not close, the equipment and the second COM1 of the equipment that i.e. described COM1 is connected can be worked with normal pattern, but second COM1 does not receive data;When the COM1 on the network equipment is reopened, second COM1 can immediately receive the data that the network equipment is sent.
Step 103, according to it is described energy-conservation consult response, the COM1 is switched to energy saver mode.Specifically, the COM1 being switched into energy saver mode can include:When the energy-conservation, which consults response, allows to close the communication interface, the COM1 is closed;When the energy-conservation, which consults response, to be allowed the communication interface being switched to EEE patterns, the COM1 is switched to EEE patterns.
The equipment connected in view of each COM1 of the network equipment is not necessarily the network equipment, or the equipment connected not necessarily supports energy saver mode, or not necessarily being capable of normal response, when implementing, it can be mass-sended by all COM1s to the equipment connected and save negotiation message, then the threshold value of one waiting time is set, if it exceeds the energy-conservation that the threshold value of the waiting time does not also receive return by some COM1 consults response, energy saver mode can not be supported by being then considered as the equipment of COM1 connection, then abandon any operation to the COM1, handled using routine techniques.
The method of the present embodiment, can apply to, when the external power supply power-off of the network equipment, now, the power consumption of the network equipment can be reduced by the above method, extend the working time of battery;In addition, when the above method can also be applied to external power supply normal work, now, by the above method, the power consumption of the network equipment can be reduced, the energy is saved. The present embodiment, the equipment being connected by COM1 with the COM1 carries out energy-conservation negotiation, and the COM1 is switched into energy saver mode according to negotiation result, can realize the energy-conservation become more meticulous in units of COM1.
Fig. 2 is the flow chart of inventive network equipment method for controlling power supply embodiment two, this method can be realized by network equipment power supply control apparatus, this method can be realized by way of hardware and/or software, can be integrated in any one network equipment.The present embodiment further increases the process of protocol negotiation on the basis of above-described embodiment.As shown in Fig. 2 the method for the present embodiment can include:Step 201, the equipment connected by the COM1 of the network equipment to the COM1 send agreement and inquire message, and the agreement inquiry message is used to inquire whether the equipment that the COM1 is connected supports energy saver mode.
Step 201 could be arranged to pocket transmission news, you can send agreement inquiry message with the equipment connected to all COM1s.
Specifically, can be with energy saving in running agreement between equipment, the energy-efficient protocol can be proprietary protocol, the energy-efficient protocol i.e. representative is supported to support energy saver mode, therefore, the agreement inquiry message can be to inquire whether the equipment that the COM1 is connected supports the energy-efficient protocol, and the data volume required for such inquiry message is smaller, even if as pocket transmission news, not resulting in larger power consumption yet.
Step 202, the agreement response for receiving the equipment return that the COM1 is connected, the agreement response are used to indicate whether the equipment supports energy saver mode.
When actually realizing, the agreement response could be arranged to, for indicating whether the equipment supports energy saver mode, identify whether to support energy saver mode for example with specific fields;It can also be provided that, only agreement response is just returned to when the equipment that the COM1 is connected supports energy saver mode, correspondingly, the network equipment can set a preset time, if not receiving agreement response in preset time, then it is assumed that the equipment that the COM1 is connected not supported protocol response.
When the agreement response that the network equipment is received shows that the equipment that the COM1 is connected does not support energy saver mode, or when the network equipment thinks that the equipment that the COM1 is connected does not support energy saver mode, the operation to the port can then be abandoned, the port is maintained the original state, no longer perform step 203;When the agreement response that the network equipment is received shows that the equipment that the COM1 is connected supports energy saver mode, then step 203 can be performed.
Step 203, the equipment connected by the COM1 to the COM1 send energy-conservation negotiation message. Step 204, the energy-conservation negotiation response for receiving the equipment return that the COM1 is connected, the energy-conservation consult response and carry the energy saver mode that the equipment allows.
Step 205, according to it is described energy-conservation consult response, the COM1 is switched to energy saver mode.In the present embodiment, before consulting that energy saver mode can be entered, the network equipment first passes through whether each COM1 supports energy saver mode, and the equipment progress energy-conservation negotiation only with support energy saver mode to the environment inquiry being connected with the COM1, it is possible to increase the efficiency of negotiation.
Fig. 3 is the flow chart of inventive network equipment method for controlling power supply embodiment three, as shown in figure 3, the method for the present embodiment is on the basis of above-mentioned any embodiment, can also be included:
Step 301, monitor the network equipment external power source power-off when, starting storage battery mode of operation is powered by battery to the network equipment.
Specifically, battery can be external on the network equipment by cable in advance, or the internal battery of the network equipment.
Step 302, to network management server send the first alarm information, to notify the external power source of the network equipment to power off to the network management server.
When implementing, the equipment pop-up dialogue box that can also be connected by the operation interface of the network equipment or the network equipment, or other modes send alarm information.
Step 303, when the network equipment battery electricity be less than the first preset value when, according to the COM1 of the network equipment described in priority positive closing.
Generally, the network equipment has multiple COM1s, when implementing, the priority of the COM1 can be set by user, or, determined according to the data volume of communication port transfers, for example, the data volume that each COM1 is transmitted in preset time can be detected, the priority of the low COM1 of data volume the high COM1 of transmitted data amount can be set below.According to the orderly close-down COM1 of priority from low to high, herein, a port can be closed or multiple COM1s are simultaneously closed off, multiple COM1s can also be closed several times.
First preset value for example could be arranged to the 50% of battery total electricity, and the numerical value allows users to adjust the size of the first preset value according to actual conditions it can also be provided that revisable.
Step 304, when the network equipment battery electricity be less than the second preset value when, by all COM1s of the network equipment or the alarm information of COM1 broadcast transmission second not yet closed, the network equipment is notified to power off with the equipment connected to the network equipment.
When implementing, the second preset value for example could be arranged to the 5% of battery total electricity, also, Can be when judging that the electricity of battery of the network equipment is consistently less than the second preset value, the ability broadcast transmission alarm information, one scheduled time can be set, such as 2 minutes, the electricity of battery is consistently less than the second preset value in the given time, and external power supply does not also restore electricity, at this moment broadcast transmission alarm information again, to avoid electric power detection failure or other abnormal caused fairly large transmission alarm informations.It should be noted that, above-mentioned steps are triggered according to the condition of setting, therefore, do not have strict time sequencing between the step of with network equipment method for controlling power supply embodiment one or network equipment method for controlling power supply embodiment two, generally, can be by embodiment illustrated in fig. 2 the step of, such as step 201, it is set to perform after step 301, i.e. operation and the step 302 304 of step 201 205 in Fig. 2 are performed in parallel.
The present embodiment, during by monitoring that the external power source of the network equipment is powered off, starting storage battery mode of operation, it is to avoid the inconvenience that interim connection battery is caused during power-off;And by sending alarm information to network management server, allow users to handle the problem of power-off causes or timely process circuit in time to restore electricity as early as possible;Pass through the judgement of the electricity of the battery to the network equipment, and corresponding operation is performed according to judged result, extend the use time of battery as far as possible, pass through all COM1 broadcast transmission alarm informations of the network equipment before power down, to notify the network equipment to power off, the other equipment being connected with the network equipment is set to preserve data, it is to avoid Shuo Ju Lost lose.
Above-described embodiment, it is further preferred that the battery of the network equipment is internal battery.Due to the network equipment of prior art, the wiring of battery is complicated, and the network equipment of the embodiment of the present invention uses internal battery, and the user that is more convenient for is more preferable and uses.
Fig. 4 is the flow chart of inventive network equipment method for controlling power supply example IV, as shown in figure 4, the method for the present embodiment is on the basis of embodiment illustrated in fig. 3, can also be included:
Step 401, according to setting detection cycle detect the network equipment battery whether need change.It when implementing, can detect whether the electricity of the battery of the network equipment is less than the 3rd preset value according to the detection cycle of setting, can determine that the battery needs replacing when the electricity for detecting battery is less than three preset values;Or, it can detect that the battery of the network equipment whether there is failure according to the detection cycle of setting, can determine that the battery needs replacing when detecting the presence failure of battery.
If step 402, detect the network equipment battery need change, then the 3rd alarm information is sent to network management server, to notify the battery to need replacing, or battery described in operation interface by the network equipment or indicator lamp prompting user to need to change to the network management server.
It should be noted that above-mentioned steps are triggered according to the condition of setting, therefore, with it is above-mentioned each Without strict time sequencing between the step of embodiment.
The present embodiment, whether need to change by the battery of the cycle detection network equipment, and send the 3rd alarm information to network management server when needing to change, realize the maintenance to the battery of the network equipment, the temporary power that the machine is ensured in the external power source power-off that the network equipment is connected is realized, the user that is more convenient for uses.
In each above-mentioned embodiment, it is further preferred that the alarm information, including the first alarm information, the second alarm information and the 3rd alarm information, network device identity, alarm level and alarm type can be included.Wherein, alarm level can according to circumstances be set, for example, the alarm level of the first alarm information sent in step 302 to network management server can be set into severity level;The alarm Producing reason can be included in alarm type.
Fig. 5 is the structural representation of inventive network equipment power supply control apparatus embodiment one, as shown in figure 5, the device 500 of the present embodiment includes:Save negotiation message sending module 1, energy-conservation and consult response receiving module 2 and control module 3, wherein, energy-conservation negotiation message sending module 1, the equipment for being connected by COM1 to the COM1 sends energy-conservation negotiation message;Energy-conservation consults response receiving module 2, and for receiving the energy-conservation negotiation response that the equipment is returned by the COM1, the energy-conservation consults response and carries the energy saver mode that the equipment allows;Control module 3, is used for, and the energy-conservation consults response and carries the energy saver mode that the equipment allows, and the COM1 is switched into energy saver mode.
The device of the present embodiment, when implementing, it is further preferred that control module 3 can include:Closing unit 31, for consulting response according to the energy-conservation, specifically, when the energy-conservation, which consults response, shows to allow to close the COM1, the COM1 is closed;Or, power saving unit 32 can be included, for when the energy-conservation negotiation response shows to allow the COM1 being switched to EEE patterns, the COM1 to be switched into EEE patterns.
The device of the present embodiment, can be used for the technical scheme for performing any means embodiment of the present invention, possesses corresponding functional module, its realization principle is similar, and here is omitted.The device of the present embodiment, energy-conservation negotiation is carried out by each COM1 to the equipment being connected with the COM1, and corresponding COM1 is set into energy saver mode according to negotiation result, can realize the energy-conservation become more meticulous in units of COM1.
Fig. 6 is the structural representation of inventive network equipment power supply control apparatus embodiment two, as shown in fig. 6, the device 600 of the present embodiment can also include on the basis of said apparatus embodiment:Agreement inquires message transmission module 4 and agreement response receiving module 5, wherein, agreement inquiry message transmission module 4 The equipment that can be used for being connected to the COM1 by COM1 sends agreement inquiry message, and the agreement inquiry message is used to inquire whether the equipment that the COM1 is connected supports energy saver mode;Agreement response receiving module 5 can be used for the agreement response for receiving the equipment return that the COM1 is connected, and the agreement response is used to indicate whether the equipment supports energy saver mode.
The device of the present embodiment, can be used for the technical scheme for performing any means embodiment of the present invention, possesses corresponding functional module, its implementing principle and technical effect is similar, and here is omitted.
Fig. 7 is the structural representation of inventive network equipment power supply control apparatus embodiment three, as shown in fig. 7, the device 700 of the present embodiment can also include on the basis of said apparatus embodiment:Processing module 6, when the processing module 6 is used for the external power source power-off for monitoring the network equipment, starting storage battery mode of operation is powered by the battery to the network equipment.
When implementing, in order to extend the working time of battery in outside power cut-off, when the external power source for monitoring the network equipment is powered off, the processing module 6 can also inquire that message transmission module 4 notifies the message of external power source power-off to agreement, so that triggered protocol inquiry message transmission module 4 starts.
Further, it can also include:External power source alarm for power-off module 7, the external power source alarm for power-off module 7 can be used for after the processing module monitors the external power source power-off of the network equipment, the first alarm information is sent to network management server, to notify the external power source of the network equipment to power off to network management server.
Further, it can also include:Positive closing module 8, the positive closing module 8 can be used for when the electricity of the battery of the network equipment is less than the first preset value, according to the COM1 of the network equipment described in priority positive closing.
Further, the priority can be set by user, or, determined according to the data volume of communication port transfers.
Further, it can also include:Power off broadcast alarms module 9, the power-off broadcast alarms module 9 can be used for when the electricity of the battery of the network equipment is less than the second preset value, by all COM1s of the network equipment or the alarm information of COM1 broadcast transmission second not yet closed, the network equipment is notified to power off with all devices connected to the network equipment.
The device of the present embodiment, can be used for the technical scheme for performing any means embodiment of the present invention, possesses corresponding functional module, its implementing principle and technical effect is similar, and here is omitted.
Fig. 8 is the structural representation of inventive network equipment power supply control apparatus example IV, as shown in fig. 7, the device 800 of the present embodiment can also include on the basis of said apparatus embodiment:Detect mould Block 10 and battery change alarm module 11, wherein, detection module 10 can be used for detecting whether the battery of the network equipment needs to change according to the detection cycle of setting;Battery is changed alarm module 11 and can be used for, if the processing module detects to need to change, then the 3rd alarm information is sent to network management server, to notify the battery to need replacing, or battery described in operation interface by the network equipment or indicator lamp prompting user to need to change to the network management server.
When implementing, the alarm information can include network device identity, alarm level and alarm type.
Further, detection module 10 specifically can be used for:Detection cycle according to setting detects whether the electricity of the battery of the network equipment is less than the 3rd preset value;Or, the battery for detecting the network equipment according to the detection cycle of setting whether there is failure.
Preferably, the battery of the network equipment can be internal battery.
The device of the present embodiment, can be used for the technical scheme for performing any means embodiment of the present invention, possesses corresponding functional module, its implementing principle and technical effect is similar, and here is omitted.
Fig. 9 is the structural representation of inventive network apparatus embodiments one, as shown in figure 9, the network equipment 900 of the present embodiment, can include:Pass through communication bus(Not shown in figure)Processor 901, memory 902 and at least one COM1 903 of connection, the memory 902, for storing computer program instructions.The COM1 is used to connect the network equipment and external equipment, realizes the communication between the network equipment and external equipment.Memory 902 may include high-speed RAM memory, it is also possible to also including nonvolatile memory(Non-volatile memory), for example, at least one magnetic disk storage;At least one described COM1 903 is used to be communicated with other equipment;The processor 901 is coupled with the memory 902, and the processor 901 is configured as performing the computer program instructions being stored in the memory, to perform the network equipment method for controlling power supply described in any means embodiment of the present invention.
The network equipment of the present embodiment, can be used for the technical scheme for performing any means embodiment of the present invention, and its realization principle embodiment of the method corresponding with the present invention is similar, and with the corresponding technique effect of corresponding embodiment, here is omitted.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can be completed by the related hardware of programmed instruction, foregoing program can be stored in a computer read/write memory medium, the program upon execution, performs the step of including above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or CD etc. are various can be with Jie of store program codes Matter.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although the present invention is described in detail with reference to foregoing embodiments, it will be understood by those within the art that:It can still modify to the technical scheme described in foregoing embodiments, or carry out equivalent substitution to which part or all technical characteristic;And these modifications or replacement, the essence of appropriate technical solution is departed from the scope of various embodiments of the present invention technical scheme.

Claims (1)

  1. Claims
    1st, a kind of network equipment method for controlling power supply, it is characterised in that including:
    The equipment connected by COM1 to the COM1 sends energy-conservation negotiation message;The energy-conservation negotiation response that the equipment is returned is received by the COM1, the energy-conservation consults response and carries the energy saver mode that the equipment allows;
    Response is consulted according to the energy-conservation, the COM1 is switched to energy saver mode.
    2nd, according to the method described in claim 1, it is characterised in that described to consult response according to the energy-conservation, the COM1 is switched into energy saver mode includes:
    When the energy-conservation, which consults response, allows to close the communication interface, the COM1 is closed;Or
    When the energy-conservation, which consults response, to be allowed the communication interface being switched to Ethernet power-saving technology EEE patterns, the COM1 is switched to EEE patterns.
    3rd, method according to claim 1 or 2, it is characterised in that before the equipment connected by COM1 to the COM1 sends energy-conservation negotiation message, in addition to:
    The equipment connected by the COM1 to the COM1 sends agreement and inquires message, and the agreement inquiry message is used to inquire whether the equipment that the COM1 is connected supports energy saver mode;The agreement response for the equipment return that the COM1 is connected is received, the agreement response is used to indicate whether the equipment supports energy saver mode.
    4th, according to any described method of claim 13, it is characterised in that before the equipment connected by COM1 to the COM1 sends energy-conservation negotiation message, methods described also includes:When monitoring the external power source power-off of the network equipment, starting storage battery mode of operation is powered by the battery to the network equipment.
    5th, method according to claim 4, it is characterised in that after the external power source for monitoring the network equipment is powered off, in addition to:
    The first alarm information is sent to network management server, to notify the external power source of the network equipment to power off to the network management server.
    6th, the method according to claim 4 or 5, it is characterised in that after starting storage battery mode of operation, in addition to:
    When the electricity of the battery of the network equipment is less than the first preset value, according to the COM1 of the network equipment described in priority positive closing. 7th, method according to claim 6, it is characterised in that the priority is set by user, or, determined according to the data volume of communication port transfers.
    8th, according to any described method of claim 47, it is characterised in that also include:When the electricity of the battery of the network equipment is less than the second preset value, by all COM1s of the network equipment or the alarm information of COM1 broadcast transmission second not yet closed, the network equipment is notified to power off with all devices connected to the network equipment.
    9th, a kind of network equipment power supply control apparatus, it is characterised in that including:
    Negotiation message sending module is saved, the equipment for being connected by COM1 to the COM1 sends energy-conservation negotiation message;
    Energy-conservation consults response receiving module, and for receiving the energy-conservation negotiation response that the equipment is returned by the COM1, the energy-conservation consults response and carries the energy saver mode that the equipment allows;
    Control module, for consulting response according to the energy-conservation, energy saver mode is switched to by the COM1.
    10th, device according to claim 9, it is characterised in that the control module includes:Closing unit, for when the energy-conservation negotiation response allows to close the communication interface, the COM1 to be closed;Or power saving unit, for when the energy-conservation negotiation response allows the communication interface being switched to Ethernet power-saving technology EEE patterns, the COM1 to be switched into EEE patterns.
    11st, the device according to claim 9 or 10, it is characterised in that also include:Agreement inquires message transmission module, and the equipment for being connected by COM1 to the COM1 sends agreement and inquires message, and the agreement inquiry message is used to inquire whether the equipment that the COM1 is connected supports energy saver mode;
    Agreement response receiving module, for receiving the agreement response that the equipment that the COM1 is connected is returned, the agreement response is used to indicate whether the equipment supports energy saver mode.
    12nd, according to any described device of claim 9 12, it is characterised in that also include:Processing module, during for monitoring that the external power source of the network equipment is powered off, starting storage battery mode of operation is powered by the battery to the network equipment.
    13rd, device according to claim 12, it is characterised in that also include:
    External power source alarm for power-off module, after monitoring that the external power source of the network equipment is powered off in the processing module, the first alarm information is sent to network management server, to notify the external power source of the network equipment to power off to the network management server. 14th, the device according to claim 12 or 13, it is characterised in that also include:Positive closing module, when the electricity for the battery when the network equipment is less than the first preset value, according to the COM1 of the network equipment described in priority positive closing.
    15th, device according to claim 14, it is characterised in that the priority is set by user, or, determined according to the data volume of communication port transfers.
    16th, according to any described device of claim 12 15, it is characterised in that also include:Power off broadcast alarms module, when electricity for the battery when the network equipment is less than the second preset value, by all COM1s of the network equipment or the alarm information of COM1 broadcast transmission second not yet closed, the network equipment is notified to power off with all devices connected to the network equipment.
    17th, a kind of network equipment, it is characterised in that including:Processor, memory and at least one COM1, the communication interface is used to be communicated with external equipment, the memory is used to store computer program instructions, the processor is used for the computer program instructions for calling the memory storage, to perform the network equipment method for controlling power supply as described in claim 18 is any.
CN201380000045.2A 2013-02-25 2013-02-25 Network equipment method for controlling power supply, device and the network equipment Active CN104662849B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/071842 WO2014127544A1 (en) 2013-02-25 2013-02-25 Method and apparatus for controlling power supply of network device, and network device

Publications (2)

Publication Number Publication Date
CN104662849A true CN104662849A (en) 2015-05-27
CN104662849B CN104662849B (en) 2017-12-22

Family

ID=51390500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380000045.2A Active CN104662849B (en) 2013-02-25 2013-02-25 Network equipment method for controlling power supply, device and the network equipment

Country Status (2)

Country Link
CN (1) CN104662849B (en)
WO (1) WO2014127544A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337096A (en) * 2018-03-28 2018-07-27 湖南电灯泡信息技术服务有限公司 A kind of network equipment that application network equipment method for controlling power supply is controlled
CN108418694A (en) * 2018-03-28 2018-08-17 湖南电灯泡信息技术服务有限公司 A kind of network equipment method for controlling power supply

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291076A (en) * 2008-04-11 2008-10-22 浙江省能源研究所 Solar and commercial power complementary uninterruptable power system
CN101562760A (en) * 2008-04-17 2009-10-21 Pmc-斯尔若以色列有限公司 Methods and devices for reducing power consumption in a passive optical network while maintaining service continuity
US20100169689A1 (en) * 2008-12-29 2010-07-01 Moxa Inc. Method for auto power restoration
CN102546391A (en) * 2010-11-19 2012-07-04 马维尔以色列(M.I.S.L.)有限公司 Energy efficient networking

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340440A (en) * 2010-07-16 2012-02-01 弘真科技股份有限公司 Network device unit with routing function and power management method thereof
CN102215128A (en) * 2011-06-10 2011-10-12 中兴通讯股份有限公司 Energy saving method for Ethernet equipment and Ethernet equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291076A (en) * 2008-04-11 2008-10-22 浙江省能源研究所 Solar and commercial power complementary uninterruptable power system
CN101562760A (en) * 2008-04-17 2009-10-21 Pmc-斯尔若以色列有限公司 Methods and devices for reducing power consumption in a passive optical network while maintaining service continuity
US20100169689A1 (en) * 2008-12-29 2010-07-01 Moxa Inc. Method for auto power restoration
CN102546391A (en) * 2010-11-19 2012-07-04 马维尔以色列(M.I.S.L.)有限公司 Energy efficient networking

Also Published As

Publication number Publication date
WO2014127544A1 (en) 2014-08-28
CN104662849B (en) 2017-12-22

Similar Documents

Publication Publication Date Title
EP2621127A1 (en) Method for achieving low power consumption of data exchange equipment and apparatus thereof, and data exchange equipment
CN103092319A (en) Method and device for processing data
CN111148052A (en) State determination method, system, medium, and electronic device
CN104267796A (en) Design method of intelligent redundant architecture of server power supply
CN102905351A (en) Base station and energy saving method thereof
CN103051793B (en) Method and device for controlling data transmission mode of mobile terminal
CN101504568B (en) Method, apparatus and electronic equipment for operating hard disk
CN104662849A (en) Method and apparatus for controlling power supply of network device, and network device
CN202042898U (en) Program controlled bypass protection circuit of network equipment
CN103685050A (en) Router and standby method thereof
CN115225685B (en) Method and device for controlling equipment power consumption
CN102929752A (en) Method for detecting memory information of server before start-up
CN203232270U (en) Automatic restart system of electrical energy collection terminal of transformer station
CN104125595B (en) Fault location and the method and detection device of isolation
CN105320246A (en) Information processing method and electronic device
CN203133817U (en) Multifunctional safe mobile hard disk
CN206302182U (en) A kind of back-up source controls charge and discharge device using metal-oxide-semiconductor
CN101719964B (en) Mobile terminal and Power management method thereof
CN112796075B (en) Power failure processing method and device
CN101739115A (en) Simplified type host computer and method for wakening same
CN104345854A (en) Power source supply system
CN102546719B (en) A kind of network remote control system, method and Node station
CN202523798U (en) Application structure of CAN (Controller Area Network) bus-based human-computer interface to fuel cell system
CN206077261U (en) Low voltage motor restarting control device
CN111042198A (en) Low-power consumption simple and easy general type cable well lid monitoring devices

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