WO2011144116A2 - Method and main device for controlling backup device, and backup device - Google Patents

Method and main device for controlling backup device, and backup device Download PDF

Info

Publication number
WO2011144116A2
WO2011144116A2 PCT/CN2011/074809 CN2011074809W WO2011144116A2 WO 2011144116 A2 WO2011144116 A2 WO 2011144116A2 CN 2011074809 W CN2011074809 W CN 2011074809W WO 2011144116 A2 WO2011144116 A2 WO 2011144116A2
Authority
WO
WIPO (PCT)
Prior art keywords
standby
working mode
threshold
mode
primary
Prior art date
Application number
PCT/CN2011/074809
Other languages
French (fr)
Chinese (zh)
Other versions
WO2011144116A3 (en
Inventor
李本钰
巫伟科
周安全
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN2011800005847A priority Critical patent/CN102204165A/en
Priority to PCT/CN2011/074809 priority patent/WO2011144116A2/en
Publication of WO2011144116A2 publication Critical patent/WO2011144116A2/en
Publication of WO2011144116A3 publication Critical patent/WO2011144116A3/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • 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
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, a primary device, and a backup device for controlling a backup device in the communication field. Background technique
  • the primary backup mechanism is a relatively critical and common design method in device reliability design.
  • the primary backup mechanism can usually include a 1+1 backup scheme, an n+1 backup scheme, and the like.
  • a 1+1 backup scheme the more common application in the industry is the 1+1 backup scheme, and the scheme will exist for a long time.
  • the active/standby mode of the active/standby switch mechanism in order to improve the reliability of the system, some key devices are configured in the active/standby mode. That is, the active device is used for service processing and the standby device is used. Backup processing of the service. When the primary device fails or is abnormal, the standby device can be upgraded to the primary device and take over the corresponding service processing, thus ensuring non-destructive operation of the system.
  • the active/standby solution can provide high reliability to the system.
  • the probability of failure of the primary device is actually very small, that is, the probability of occurrence of the active/standby switchover is very low, so the standby device is almost always powered.
  • the backup device wastes more power resources.
  • the embodiments of the present invention provide a method for controlling a backup device, a primary device, and a backup device, which can reduce the energy consumption of the backup device on the basis of satisfying the system reliability requirement.
  • an embodiment of the present invention provides a method for controlling a backup device, where the method includes: acquiring a load quantity of the primary device and an operation mode of the standby device, where the working mode of the standby device includes a standby working mode and an active working mode. At least one of the modes and the standby mode of operation; when the amount of load is less than the first threshold and the standby device is not in the standby mode of operation, transmitting power-off information to the standby device to cause the standby device to enter the standby mode of operation .
  • an embodiment of the present invention provides a method for controlling a backup device, the method comprising: receiving an active device when the load is less than a first threshold and the standby device is not in a standby mode The off power information sent; the power of the standby device is turned off according to the power off information, so that the standby device enters the standby working mode.
  • an embodiment of the present invention provides a primary device for controlling a backup device, where the primary device includes: a first processor, configured to acquire a load of the primary device and an operating mode of the standby device, where The working mode of the standby device includes at least one of a standby working mode and an active working mode and a standby working mode; and a second processor, configured to: when the load is less than the first threshold and the standby device is not in the standby working mode Sending a power off message to the standby device to cause the standby device to enter the standby mode of operation.
  • the embodiment of the present invention provides a backup device, where the backup device includes: a third processor, configured to receive, when the primary device is less than the first threshold, and the standby device is not in the standby working mode, Turning off the power information; the fourth processor is configured to turn off the power of the standby device according to the power-off information, so that the standby device enters the standby working mode.
  • the method for controlling a backup device, the primary device, and the standby device in the embodiment of the present invention sends a shutdown to the standby device when the load of the primary device is less than the first threshold and the standby device is not in the standby mode.
  • the power information enables the standby device to enter the standby mode of operation, thereby reducing the energy consumption of the backup device based on the system reliability requirements.
  • FIG. 1 is a schematic flowchart of a method of controlling a backup device according to an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of a method of controlling a backup device according to another embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method of controlling a backup device according to still another embodiment of the present invention.
  • 4 is a schematic flow chart of a method of controlling a backup device according to still another embodiment of the present invention.
  • FIG. 5 is a schematic block diagram of a primary device that controls a backup device according to an embodiment of the present invention.
  • 6 is a schematic block diagram of a backup device in accordance with an embodiment of the present invention.
  • FIG. 7 is a schematic block diagram of a backup device according to another embodiment of the present invention.
  • FIG. 8 is a schematic block diagram of a backup device according to still another embodiment of the present invention. detailed description
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • General Packet Radio Service General Packet Radio Service
  • LTE Long Term Evolution
  • LTE frequency division duplex Frequency Division Duplex
  • TDD Time Division Duplex
  • UMTS Universal Mobile Telecommunication System
  • the embodiment of the present invention can be applied to a device that adopts an active/standby solution in various communication systems, for example, a network device configured with an active/standby configuration, the network device includes an active device mainly used for service operation processing, and mainly used.
  • a backup device for business backup processing for business backup processing.
  • the following embodiments will be described by taking the primary device and the backup device as an example, but the embodiment of the present invention is not limited thereto, and any device adopting the active/standby solution or the device supporting the primary backup mechanism may adopt the present invention.
  • Technical solution for the convenience of the description, the following embodiments will be described by taking the primary device and the backup device as an example, but the embodiment of the present invention is not limited thereto, and any device adopting the active/standby solution or the device supporting the primary backup mechanism may adopt the present invention.
  • FIG. 1 shows a schematic flow diagram of a method 100 of controlling a backup device in accordance with an embodiment of the present invention. As shown in FIG. 1, the method 100 includes:
  • the load of the primary device may include the load of the central processing unit (the central processing unit, referred to as "CPU") of the primary device and/or the amount of traffic processed by the primary device.
  • the load of the primary device may also include any CPU that reflects the primary device. Additional information on the load. For example, the traffic of the primary device, the non-core busy period, and the like.
  • the power-off information may also be sent by the active device to the standby device, so that the standby device is in the standby working mode, thereby saving power resource consumption. For example, between midnight and 7 am, the primary device has relatively little traffic, which allows the standby to be in standby mode.
  • the working mode of the standby device may include at least one of a standby working mode and an active working mode, and a standby working mode, for example, the working mode of the standby device includes only the standby working mode and the standby working mode, or It includes standby mode and main working mode, or includes standby mode, standby mode and main mode.
  • the standby mode is that the standby device is in the standby state, that is, the operation processing of the service is not performed, and the backup processing of the service is not performed; the standby working mode is that the standby device is mainly used for performing backup processing of the service; Perform operational processing of the business.
  • the operation processing performed by the standby device in the active working mode refers to the standby device performing processing corresponding to the service.
  • the standby device mainly performs the short message service related in the active working mode. Processing, such as receiving or sending a short message.
  • the call service will be mainly taken as an example.
  • the main device can obtain the load of the main device in multiple manners.
  • the main device can obtain the load by estimating the busyness of the device, or obtain the load by querying or the like.
  • Load capacity For example, if the primary device is 100% busy for a certain period of time, then the load of the primary device can be considered to be 100%. For example, if the primary device is idle for half of the time and busy for the other half of the time. , then you can think that the load of the main equipment is 50%. Further, it should be understood that the change in the amount of load is related to the processing of the service, and therefore the load amount of the master device can be estimated by evaluating the business process.
  • the active device can also obtain the working mode of the standby device in multiple manners.
  • the standby device can report the working mode to the active device in real time, or the primary device periodically queries the standby device for its work. mode.
  • the primary device sends the power-off information to the standby device, so that the standby device enters the standby working mode from the standby working mode or the active working mode.
  • the method for controlling the standby device in the embodiment of the present invention sends a power off to the standby device when the load of the primary device is less than the first threshold and the standby device is not in the standby mode.
  • the information enables the standby device to enter the standby mode of operation, thereby reducing the energy consumption of the backup device while satisfying the system reliability requirements.
  • the information between the primary device and the backup device may be transmitted in a wired manner or in a wireless manner.
  • information may be transmitted between the primary device and the backup device.
  • a pulse signal for example, a wireless communication technology can also be used between the primary device and the backup device to transmit related information.
  • FIG. 2 shows a schematic flow diagram of a method 200 of controlling a backup device in accordance with another embodiment of the present invention.
  • two thresholds that is, a first threshold and a second threshold, which are smaller than the second threshold, may be set for the load amount of the primary device.
  • the first threshold is 50% and the second threshold is 70%.
  • the values of the first threshold and the second threshold may be set according to specific requirements.
  • the first threshold may be set to 40%, 45%, 55%, 60%, etc.
  • the second threshold may be set to 60%, 65%, 75%, 80%, etc.
  • the embodiment of the present invention is described by taking the first threshold and the second threshold as 50% and 70%, respectively, but the present invention is not limited thereto.
  • the active device acquires the load of the primary device and the working mode of the standby device, and the working mode of the standby device includes at least one of the standby working mode and the active working mode, and the standby working mode, as shown in S210 in FIG. 2
  • the primary device sends the power-off information to the standby device, such as S220, so that the standby device turns off the backup device power according to the power-off information, so the standby device enters the standby working mode from the standby working mode or the active working mode.
  • the primary device can send a signal to turn off the power to the standby device, so that the standby device enters the standby working mode. Therefore, the method of the embodiment of the invention can reduce the energy consumption of the standby device on the basis of satisfying the system reliability requirement.
  • the primary device When the load of the primary device is greater than or equal to the first threshold, and the standby device is in the standby working mode, the primary device sends the restart power information to the standby device, as shown in S230 in FIG. 2, so that the backup device is The standby mode enters the standby mode, thereby ensuring the stability and reliability of the system during peak busy hours. It should be understood that when the load of the primary device is greater than or equal to the second threshold, and the standby device is in the standby working mode, the primary device may also send restart power information to the standby device, so that the standby device enters the standby working mode. . For example, when the load of the primary device is 60% or 80%, and the standby device is in the standby working mode, the primary device can send a restart power command to the standby device, so that the standby device restarts and enters the standby working mode.
  • the active device When the load of the active device is greater than or equal to the second threshold, and the standby device is not in the active working mode, the active device sends the service request information to the standby device, as shown in S240 in FIG. 2, so that the standby device is used. Enter the main working mode, and perform corresponding business operation processing according to the service request information, thereby enabling the standby device to have some or all functions of the main device while ensuring the stability and reliability of the system, thereby being able to increase
  • the service processing capability of the system reduces the probability of occurrence of traffic flow control.
  • the primary device when the load of the primary device is greater than or equal to the second threshold, and the standby device is in the standby working mode, the primary device sends service request information to the standby device, where the service request information is used to request the backup device to perform corresponding The service operation process, so that the standby device enters the active working mode from the standby working mode; when the load of the primary device is greater than or equal to the second threshold, and the standby device is in the standby working mode, the primary device sends a service to the standby device.
  • the request information is used to trigger the standby device to restart the power information, and is used to request the standby device to perform corresponding service operation processing, so that the standby device enters the active working mode from the standby working mode.
  • the primary device can forward the service to the backup device.
  • the standby device works in the active working mode; otherwise, the external device also needs to obtain the working mode information of the standby device that is switched to the active working mode, that is, the standby device needs to be completely visible to the outside, so as to facilitate the external device.
  • the service processing can be requested from the standby device actively.
  • the primary device stops sending the service request information to the standby device, as shown in S250 in FIG. 2, so that the backup device is The main working mode enters the standby working mode or the standby working mode. It should be understood that when the load of the primary device is less than the first threshold, and the standby device is in the active working mode, the primary device also stops sending the service request information to the standby device.
  • the active device usually does not immediately send the power off information to the standby device, but must wait for the backup device to process After the service request received before, the main working mode enters the standby working mode, the power-off information is sent to the standby device, so that the standby device turns off the power and enters the standby working mode.
  • the primary device may also directly send the poweroff information to the standby device, so that the standby device immediately enters the standby working mode.
  • the standby device when the standby device is in the active working mode, the standby device may be mainly used for the operation processing of the service, or may be used for the operation processing of the service on the one hand, and the backup processing of the service at the same time, and the embodiment of the present invention. Not limited to this.
  • the primary device starts prohibiting the new call from accessing the standby device until the call of the backup device is completed, and then the standby device In standby mode.
  • the external device always has a method to obtain the working mode information of the standby device, so that the external device can not actively apply for the processing service to the standby device, and the working mode information can be actively broadcast by the standby device, or can be The external device obtains it by actively querying. It should be understood that, at this time, if the standby device does not perform the operation processing of the service, but only performs the backup processing of the service, the standby device may be considered to be in the standby working mode.
  • the method for controlling the standby device in the embodiment of the present invention when the load of the active device is less than the first threshold and the standby device is not in the standby working mode, sending the power-off information to the standby device, so that the standby device enters the standby working mode, thereby
  • the energy consumption of the standby device can be reduced, and the service processing capability of the system can be increased, and the probability of occurrence of traffic flow control can be reduced.
  • FIG. 3 shows a schematic flow diagram of a method 300 of controlling a backup device in accordance with an embodiment of the present invention. As shown in FIG. 3, the method 300 includes:
  • S310 Receive power-off information sent by the primary device when the load is less than the first threshold and the standby device is not in the standby mode.
  • the standby device After the standby device receives the power-off information sent by the primary device, the standby device turns off the power according to the power-off information, so that the standby device enters the standby working mode by using the standby working mode or the active working mode, where the power-off information is the primary device.
  • the device is sent when it is determined that the load of the primary device is less than the first threshold and the standby device is not in the standby mode of operation.
  • the method for controlling the standby device in the embodiment of the present invention sends the power-off information to the standby device when the load of the primary device is less than the first threshold and the standby device is not in the standby mode, so that the standby device enters the standby mode. Therefore, the energy consumption of the standby device can be reduced on the basis of satisfying the system reliability requirement.
  • FIG. 4 shows a schematic flow diagram of a method 400 of controlling a backup device in accordance with an embodiment of the present invention.
  • the standby device receives the primary device.
  • the powered off information is sent, and the standby device turns off the power of the standby device according to the power off information, so that the standby device enters the standby working mode from the standby working mode or the active working mode, as shown in S420, thereby being able to satisfy the system reliability.
  • the standby device turns off the power of the standby device according to the power off information, so that the standby device enters the standby working mode from the standby working mode or the active working mode, as shown in S420, thereby being able to satisfy the system reliability.
  • the standby device On the basis of sexual demand, reduce the energy consumption of spare equipment.
  • the standby device When the load of the active device is greater than or equal to the first threshold, and the standby device is in the standby working mode, the standby device receives the restart power information sent by the active device, and as shown in S430, the standby device restarts according to the restart power information.
  • the power of the standby device causes the standby device to enter the standby mode of operation from the standby mode of operation, thereby ensuring stability and reliability of the system during peak busy hours.
  • the standby device When the load of the active device is greater than or equal to the second threshold, and the standby device is not in the active working mode, the standby device receives the service request information sent by the active device, where the second threshold is greater than the first threshold, such as S450. As shown in the figure, the standby device performs a service operation process according to the service request information, as shown in S460, thereby enabling the backup device to have some or all functions of the active device while ensuring the stability and reliability of the system. Increase the service processing capability of the system and reduce the probability of traffic flow control.
  • the standby device when the standby device is in the standby working mode, if the standby device receives the service request information, the service request information is used to trigger the standby device to restart the power supply, and the standby device is configured to perform the corresponding information according to the service request information.
  • the business operation processing so that the standby device enters the active working mode from the standby working mode; and when the standby device is in the standby working mode, such as If the standby device receives the service request information, the backup device directly performs corresponding service operation processing according to the service request information, so that the standby working mode enters the active working mode.
  • the standby device When the load of the primary device is greater than or equal to the second threshold, and the standby device is in the active working mode, the standby device performs a service operation process.
  • the standby device further performs service backup processing, as shown in S470. That is, the backup device is used for both the operation processing of the service and the backup processing of the service, thereby greatly improving the service processing capability of the system and ensuring the stability and reliability of the system.
  • the standby device When the load of the primary device is less than the second threshold, and the standby device is in the active working mode, after the primary device stops sending the service request information to the standby device, after the standby device receives the service request received before, The standby mode or standby mode is entered by the active mode. Further, when the load of the primary device is less than the first threshold and the standby device is not in the standby mode, the standby device turns off the power according to the power-off information sent by the primary device, thereby the standby device enters the standby mode of operation.
  • the primary device when the load of the primary device is less than the first threshold, and the standby device is in the active working mode, after the standby device processes the received service request, thereby entering the standby working mode by the active working mode, the primary device The device sends the power-off information to the standby device, causing the standby device to turn off the power and enter the standby mode.
  • the primary device may also generate poweroff information to the standby device before the standby device processes the received service request.
  • the standby device is brought into the standby mode of operation directly from the active mode of operation.
  • the method for controlling the standby device in the embodiment of the present invention sends the corresponding indication information to the standby device according to the load amount of the active device and the current working mode of the standby device, so that the standby device can be in the standby working mode and Between the standby mode of operation, between the standby mode and the active mode, and between the standby mode, the standby mode, and the active mode, thereby reducing the backup device based on the system reliability requirements. Energy consumption, and can also increase the system's business processing capabilities, reducing the probability of business flow control.
  • FIG. 8 describe in detail a master device for controlling a standby device, and a backup device according to an embodiment of the present invention.
  • FIG. 5 shows a schematic block diagram of a primary device 800 for controlling a backup device in accordance with an embodiment of the present invention.
  • the standby device 800 includes:
  • the first processor 810 is configured to acquire a load quantity of the primary device and an operation mode of the standby device, where the working mode of the standby device includes at least one of a standby working mode and an active working mode, and a standby working mode.
  • the second processor 820 is configured to send the power-off information to the standby device when the load is less than the first threshold and the standby device is not in the standby mode, so that the standby device enters the standby working mode.
  • the load of the primary device includes the load of the central processor of the primary device and/or the amount of traffic processed by the primary device.
  • the working mode of the standby device may include at least one of a standby working mode and an active working mode, and a standby working mode, for example, the working mode of the standby device includes only the standby working mode and the standby working mode, or It includes standby mode and main working mode, or includes standby mode, standby mode and main mode.
  • first processor 810 and the second processor 820 described above may also be integrated into one processor.
  • the primary device for controlling the standby device in the embodiment of the present invention sends the power-off information to the standby device when the load of the primary device is less than the first threshold and the standby device is not in the standby mode, so that the standby device enters standby.
  • the working mode enables the energy consumption of the standby device to be reduced on the basis of meeting the system reliability requirements.
  • the second processor 820 is further configured to: when the load amount is greater than or equal to the first threshold and the standby device is in the standby working mode, send restart power information to the standby device, so that the standby device enters This alternate mode of operation.
  • the second processor 820 is further configured to: when the load quantity is greater than or equal to the second threshold, and the standby device is not in the active working mode, send service request information to the standby device, so that the standby device Entering the primary working mode, wherein the second threshold is greater than the first threshold.
  • the second processor 820 is further configured to stop sending the service request information to the standby device when the load is less than the second threshold and the standby device is in the active working mode, so that the standby device enters The standby working mode or the standby working mode.
  • the primary device 800 for controlling the backup device according to an embodiment of the present invention may correspond to the primary device in the embodiment of the present invention, and the above-described and other operations and/or functions performed by the primary device 800 are respectively implemented in order to implement FIGS. 1 to 2 The corresponding processes of the respective methods 100 to 200 in the process are not described herein.
  • FIG. 6 shows a schematic block diagram of a spare device 900 in accordance with an embodiment of the present invention.
  • the backup device 900 includes:
  • the third processor 910 is configured to receive the power-off information sent by the active device when the load is less than the first threshold and the standby device is not in the standby working mode;
  • the fourth processor 920 is configured to turn off the power of the standby device according to the power-off information, so that the standby device enters the standby working mode.
  • the load amount of the primary device includes the load amount of the central processing unit of the primary device and/or the traffic volume processed by the primary device.
  • the working mode of the standby device may include at least one of a standby working mode and an active working mode, and a standby working mode, for example, the working mode of the standby device includes only the standby working mode and the standby working mode, or It includes standby mode and main working mode, or includes standby mode, standby mode and main mode.
  • the third processor 910 is further configured to receive, according to an embodiment of the present invention, that the primary device is greater than or equal to the first threshold, and the standby device is in the standby working mode. Restart power information sent at the time;
  • the backup device 900 can also include:
  • the fifth processor 930 is configured to restart the power of the standby device according to the restart power information, so that the standby device enters a standby working mode.
  • the third processor 910 is further configured to receive service request information that is sent by the primary device when the load is greater than or equal to a second threshold and the standby device is not in the active mode.
  • the second threshold is greater than the first threshold;
  • the backup device 900 also includes:
  • the sixth processor 940 is configured to perform a service operation process according to the service request information.
  • the standby device 900 further includes:
  • the memory 950 is configured to perform a service backup process when the load is greater than or equal to a second threshold and the standby device is in the active mode.
  • the backup device 900 may correspond to the standby device in the embodiment of the present invention.
  • the foregoing and other operations and/or functions performed by the backup device 900 are respectively implemented in order to implement the respective processes of the respective methods 300 to 400 in FIGS. 3 to 4, and are not described herein again.
  • the standby device of the embodiment of the present invention can send the power-off information to the standby device when the load of the primary device is less than the first threshold and the standby device is not in the standby working mode, so that the standby device enters the standby working mode, thereby being able to meet Based on the system reliability requirement, reducing the energy consumption of the standby device, and sending the service request information to the standby device when the load is greater than or equal to the second threshold and the standby device is not in the active working mode, where The second threshold is greater than the first threshold, so that the standby device enters the active working mode, which can increase the service processing capability of the system, and reduce the probability that the traffic flow control occurs.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. You can choose some of them according to actual needs or All units are used to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Power Sources (AREA)
  • Telephone Function (AREA)

Abstract

The present invention discloses a method and main device for controlling a backup device, and a backup device. The method includes: obtaining load quantity of the main device and work modes of the backup device; when the load quantity is less than a first threshold and the backup device is not in a stand-by work mode, sending power turnoff information to the backup device to make the backup device enter the stand-by work mode. The main device includes a first processor and a second processor. The backup device includes a third processor and a forth processor. When the load quantity is less than the first threshold and the backup device is not in a stand-by work mode, by sending the power turnoff information to the backup device to make the backup device enter the stand-by work mode, the method, main device and backup device of the embodiments of the invention can consequently reduce energy consumption of the backup device on the basis of satisfying requirements of system reliability.

Description

控制备用设备的方法、 主用设备和备用设备 技术领域  Method for controlling spare equipment, main equipment and backup equipment
本发明涉及通信领域, 尤其涉及通信领域中控制备用设备的方法、 主用 设备和备用设备。 背景技术  The present invention relates to the field of communications, and in particular, to a method, a primary device, and a backup device for controlling a backup device in the communication field. Background technique
主备份机制是设备可靠性设计中的一种比较关键和常见的设计方法。主 备份机制通常可以包括 1+1备份方案, n+1备份方案等多种形式, 目前业界 比较普遍的应用是 1+1备份方案,并且而且该方案还将在一段时间内长期存 在。  The primary backup mechanism is a relatively critical and common design method in device reliability design. The primary backup mechanism can usually include a 1+1 backup scheme, an n+1 backup scheme, and the like. Currently, the more common application in the industry is the 1+1 backup scheme, and the scheme will exist for a long time.
在该主备板机制采用的主备方案中, 为了提高***运行的可靠性, 一些 关键设备会配置主备工作模式, 即通常情况下, 主用设备用于业务的操作处 理, 备用设备用于业务的备份处理, 当主用设备出现故障或异常时, 备用设 备可以立即升级为主用设备,接管相应的业务处理,从而保障***无损运行。  In the active/standby mode of the active/standby switch mechanism, in order to improve the reliability of the system, some key devices are configured in the active/standby mode. That is, the active device is used for service processing and the standby device is used. Backup processing of the service. When the primary device fails or is abnormal, the standby device can be upgraded to the primary device and take over the corresponding service processing, thus ensuring non-destructive operation of the system.
主备方案能够给***提供比较高的可靠性,但是由于主用设备发生故障 的概率实际上非常小, 即主备倒换发生的几率很低, 因而备用设备几乎始终 处于上电状态, 在此情况下备用设备浪费了比较多的电力资源。  The active/standby solution can provide high reliability to the system. However, the probability of failure of the primary device is actually very small, that is, the probability of occurrence of the active/standby switchover is very low, so the standby device is almost always powered. The backup device wastes more power resources.
然而, 绿色节能需求正在被越来越多的运营商所关注, 因此如何在满足 ***可靠性需求的基础上, 降低设备的能耗是广大供应商所面临的问题。 发明内容  However, green energy-saving demand is being paid more and more attention by operators. Therefore, how to reduce the energy consumption of equipment is a problem faced by many suppliers on the basis of meeting the system reliability requirements. Summary of the invention
为此, 本发明实施例提供了一种控制备用设备的方法、 主用设备和备用 设备, 能够在满足***可靠性需求的基础上, 降低备用设备的能耗。  To this end, the embodiments of the present invention provide a method for controlling a backup device, a primary device, and a backup device, which can reduce the energy consumption of the backup device on the basis of satisfying the system reliability requirement.
一方面, 本发明实施例提供了一种控制备用设备的方法, 该方法包括: 获取主用设备的负荷量和该备用设备的工作模式,该备用设备的工作模式包 括备用工作模式和主用工作模式中的至少一种以及待机工作模式; 在该负荷 量小于第一阈值且该备用设备不处于该待机工作模式时, 向该备用设备发送 关闭电源信息, 以使得该备用设备进入该待机工作模式。  In one aspect, an embodiment of the present invention provides a method for controlling a backup device, where the method includes: acquiring a load quantity of the primary device and an operation mode of the standby device, where the working mode of the standby device includes a standby working mode and an active working mode. At least one of the modes and the standby mode of operation; when the amount of load is less than the first threshold and the standby device is not in the standby mode of operation, transmitting power-off information to the standby device to cause the standby device to enter the standby mode of operation .
另一方面,本发明实施例提供了一种控制备用设备的方法,该方法包括: 接收主用设备在负荷量小于第一阈值且该备用设备不处于待机工作模式时 发送的关闭电源信息; 根据该关闭电源信息关闭该备用设备的电源, 以使得 该备用设备进入该待机工作模式。 In another aspect, an embodiment of the present invention provides a method for controlling a backup device, the method comprising: receiving an active device when the load is less than a first threshold and the standby device is not in a standby mode The off power information sent; the power of the standby device is turned off according to the power off information, so that the standby device enters the standby working mode.
再一方面, 本发明实施例提供了一种控制备用设备的主用设备, 该主用 设备包括: 第一处理器, 用于获取该主用设备的负荷量和该备用设备的工作 模式, 该备用设备的工作模式包括备用工作模式和主用工作模式中的至少一 种以及待机工作模式; 第二处理器, 用于在该负荷量小于第一阈值且该备用 设备不处于该待机工作模式时, 向该备用设备发送关闭电源信息, 以使得该 备用设备进入该待机工作模式。  In another aspect, an embodiment of the present invention provides a primary device for controlling a backup device, where the primary device includes: a first processor, configured to acquire a load of the primary device and an operating mode of the standby device, where The working mode of the standby device includes at least one of a standby working mode and an active working mode and a standby working mode; and a second processor, configured to: when the load is less than the first threshold and the standby device is not in the standby working mode Sending a power off message to the standby device to cause the standby device to enter the standby mode of operation.
再一方面, 本发明实施例提供了一种备用设备, 该备用设备包括: 第三 处理器,用于接收主用设备在负荷量小于第一阈值且该备用设备不处于待机 工作模式时发送的关闭电源信息; 第四处理器, 用于根据该关闭电源信息关 闭该备用设备的电源, 以使得该备用设备进入该待机工作模式。  In a further aspect, the embodiment of the present invention provides a backup device, where the backup device includes: a third processor, configured to receive, when the primary device is less than the first threshold, and the standby device is not in the standby working mode, Turning off the power information; the fourth processor is configured to turn off the power of the standby device according to the power-off information, so that the standby device enters the standby working mode.
基于上述技术方案, 本发明实施例的控制备用设备的方法、 主用设备和 备用设备,通过在主用设备的负荷量小于第一阈值且备用设备不处于待机工 作模式时,向备用设备发送关闭电源信息,使得备用设备进入待机工作模式, 从而能够在满足***可靠性需求的基础上, 降低备用设备的能耗。 附图说明  Based on the foregoing technical solution, the method for controlling a backup device, the primary device, and the standby device in the embodiment of the present invention sends a shutdown to the standby device when the load of the primary device is less than the first threshold and the standby device is not in the standby mode. The power information enables the standby device to enter the standby mode of operation, thereby reducing the energy consumption of the backup device based on the system reliability requirements. DRAWINGS
为了更清楚地说明本发明实施例的技术方案, 下面将对本发明实施例中 所需要使用的附图作筒单地介绍, 显而易见地, 下面所描述的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments of the present invention will be briefly described below. Obviously, the drawings described below are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
图 1是根据本发明实施例的控制备用设备的方法的示意性流程图。  FIG. 1 is a schematic flowchart of a method of controlling a backup device according to an embodiment of the present invention.
图 2是根据本发明另一实施例的控制备用设备的方法的示意性流程图。 图 3是根据本发明再一实施例的控制备用设备的方法的示意性流程图。 图 4是根据本发明再一实施例的控制备用设备的方法的示意性流程图。 图 5是根据本发明实施例的控制备用设备的主用设备的示意性框图。 图 6是根据本发明实施例的备用设备的示意性框图。  2 is a schematic flow chart of a method of controlling a backup device according to another embodiment of the present invention. FIG. 3 is a schematic flowchart of a method of controlling a backup device according to still another embodiment of the present invention. 4 is a schematic flow chart of a method of controlling a backup device according to still another embodiment of the present invention. FIG. 5 is a schematic block diagram of a primary device that controls a backup device according to an embodiment of the present invention. 6 is a schematic block diagram of a backup device in accordance with an embodiment of the present invention.
图 7是根据本发明另一实施例的备用设备的示意性框图。  FIG. 7 is a schematic block diagram of a backup device according to another embodiment of the present invention.
图 8是根据本发明再一实施例的备用设备的示意性框图。 具体实施方式 FIG. 8 is a schematic block diagram of a backup device according to still another embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例是本发明的一部分实施例, 而不 是全部实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创 造性劳动的前提下所获得的所有其他实施例, 都应属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without making creative labor are within the scope of the present invention.
应理解, 本发明的技术方案可以应用于各种通信***中的设备, 例如: 全球移动通讯(Global System of Mobile communication, 筒称为 "GSM" )系 统、 码分多址(Code Division Multiple Access, 筒称为 "CDMA" ) ***、 宽 带码分多址( Wideband Code Division Multiple Access , 筒称为 "WCDMA" ) ***、 通用分组无线业务(General Packet Radio Service, 筒称为 "GPRS" )、 长期演进(Long Term Evolution , 筒称为 "LTE" ) ***、 LTE 频分双工 ( Frequency Division Duplex, 筒称为 "FDD" ) ***、 LTE时分双工 (Time Division Duplex, 筒称为 "TDD" )、 通用移动通信*** ( Universal Mobile Telecommunication System, 筒称为 "UMTS" )等。  It should be understood that the technical solution of the present invention can be applied to devices in various communication systems, such as: Global System of Mobile communication ("GSM") system, Code Division Multiple Access (Code Division Multiple Access, The tube is called "CDMA" system, Wideband Code Division Multiple Access ("WCDMA") system, General Packet Radio Service (General Packet Radio Service), Long Term Evolution (Long Term Evolution, the tube is called "LTE") system, LTE frequency division duplex (Frequency Division Duplex) system, LTE time division duplex (Time Division Duplex, tube called "TDD"), Universal Mobile Telecommunication System ("UMTS").
具体地, 本发明实施例可应用于各种通信***中采用主备方案的设备, 例如, 采用主备配置的网络设备, 该网络设备包括主要用于业务操作处理的 主用设备, 以及主要用于业务备份处理的备用设备。 为了描述方便, 下述实 施例将以主用设备和备用设备为例进行说明, 但本发明实施例并不限于此, 任何采用主备方案的设备或支持主备份机制的设备都可以采用本发明的技 术方案。  Specifically, the embodiment of the present invention can be applied to a device that adopts an active/standby solution in various communication systems, for example, a network device configured with an active/standby configuration, the network device includes an active device mainly used for service operation processing, and mainly used. A backup device for business backup processing. For the convenience of the description, the following embodiments will be described by taking the primary device and the backup device as an example, but the embodiment of the present invention is not limited thereto, and any device adopting the active/standby solution or the device supporting the primary backup mechanism may adopt the present invention. Technical solution.
图 1示出了根据本发明实施例的控制备用设备的方法 100的示意性流程 图。 如图 1所示, 该方法 100包括:  FIG. 1 shows a schematic flow diagram of a method 100 of controlling a backup device in accordance with an embodiment of the present invention. As shown in FIG. 1, the method 100 includes:
S110, 获取主用设备的负荷量和该备用设备的工作模式, 该备用设备的 工作模式包括备用工作模式和主用工作模式中的至少一种以及待机工作模 式;  S110. Acquire a load quantity of the primary device and an operation mode of the standby device, where the working mode of the standby device includes at least one of a standby working mode and a primary working mode, and a standby working mode.
S120 , 在该负荷量小于第一阈值且该备用设备不处于该待机工作模式 时, 向该备用设备发送关闭电源信息, 以使得该备用设备进入该待机工作模 式。  S120. When the load is less than the first threshold and the standby device is not in the standby working mode, send power-off information to the standby device, so that the standby device enters the standby working mode.
在本发明实施例中, 主用设备的负荷量可以包括该主用设备的中央处理 器(Central Processing Unit, 筒称为 "CPU" )的负荷量和 /或该主用设备处理 的业务量,该主用设备的负荷量还可以包括任何能够反映该主用设备的 CPU 的负荷量的其它信息。 例如主用设备的话务量、 非核心繁忙时段等。 In the embodiment of the present invention, the load of the primary device may include the load of the central processing unit (the central processing unit, referred to as "CPU") of the primary device and/or the amount of traffic processed by the primary device. The load of the primary device may also include any CPU that reflects the primary device. Additional information on the load. For example, the traffic of the primary device, the non-core busy period, and the like.
应理解, 在***的非核心繁忙时段, 也可以由主用设备向该备用设备发 送关闭电源信息, 以使得该备用设备处于待机工作模式, 从而节省电力资源 消耗。 例如, 在午夜 0点至早上 7点之间, 主用设备的业务量相对较少, 可 以使得备用设备处于待机工作模式。  It should be understood that during the non-core busy period of the system, the power-off information may also be sent by the active device to the standby device, so that the standby device is in the standby working mode, thereby saving power resource consumption. For example, between midnight and 7 am, the primary device has relatively little traffic, which allows the standby to be in standby mode.
在本发明实施例中,备用设备的工作模式可以包括备用工作模式和主用 工作模式中的至少一种以及待机工作模式, 例如, 备用设备的工作模式仅包 括待机工作模式和备用工作模式, 或包括待机工作模式和主用工作模式, 或 包括待机工作模式、 备用工作模式和主用工作模式。 其中待机工作模式指备 用设备处于待机状态,即不执行业务的操作处理,也不执行业务的备份处理; 备用工作模式指备用设备主要用于执行业务的备份处理; 主用工作模式指备 用设备主要执行业务的操作处理。 应理解, 备用设备在主用工作模式下执行 的操作处理,指备用设备执行与该业务相应的处理,例如,对于短消息业务, 备用设备在主用工作模式下主要执行与短消息业务相关的处理,如接收或发 送短消息。 下文中将主要以呼叫业务为例进行说明。  In the embodiment of the present invention, the working mode of the standby device may include at least one of a standby working mode and an active working mode, and a standby working mode, for example, the working mode of the standby device includes only the standby working mode and the standby working mode, or It includes standby mode and main working mode, or includes standby mode, standby mode and main mode. The standby mode is that the standby device is in the standby state, that is, the operation processing of the service is not performed, and the backup processing of the service is not performed; the standby working mode is that the standby device is mainly used for performing backup processing of the service; Perform operational processing of the business. It should be understood that the operation processing performed by the standby device in the active working mode refers to the standby device performing processing corresponding to the service. For example, for the short message service, the standby device mainly performs the short message service related in the active working mode. Processing, such as receiving or sending a short message. In the following, the call service will be mainly taken as an example.
在本发明实施例中, 主用设备可以采用多种方式获取主用设备的负荷 量, 例如主用设备可以通过对设备的繁忙程度进行估算而获取该负荷量, 也 可以通过查询等方式获取该负荷量。 例如, 一定时间内主用设备 100%繁忙, 那么可以认为该主用设备的负荷量就是 100% , 例如, 在该一定时间内, 如 果主用设备在一半的时间空闲, 在另一半的时间繁忙, 那么可以认为该主用 设备的负荷量就是 50%。此外,应理解, 负荷量的变化是与业务的处理相关, 因此也可以通过对业务处理进行评估而推测出主用设备的负荷量。  In the embodiment of the present invention, the main device can obtain the load of the main device in multiple manners. For example, the main device can obtain the load by estimating the busyness of the device, or obtain the load by querying or the like. Load capacity. For example, if the primary device is 100% busy for a certain period of time, then the load of the primary device can be considered to be 100%. For example, if the primary device is idle for half of the time and busy for the other half of the time. , then you can think that the load of the main equipment is 50%. Further, it should be understood that the change in the amount of load is related to the processing of the service, and therefore the load amount of the master device can be estimated by evaluating the business process.
在本发明实施例中, 主用设备也可以采用多种方式获取备用设备的工作 模式, 例如, 备用设备可以实时地将工作模式上报给主用设备, 或者主用设 备定期向备用设备查询其工作模式。  In the embodiment of the present invention, the active device can also obtain the working mode of the standby device in multiple manners. For example, the standby device can report the working mode to the active device in real time, or the primary device periodically queries the standby device for its work. mode.
为了降低能耗, 主用设备在获取主用设备的负荷量和备用设备的工作模 式之后, 如果该主用设备的负荷量小于第一阈值, 且该备用设备不处于待机 工作模式时, 那么主用设备向该备用设备发送关闭电源信息, 以使得该备用 设备由备用工作模式或主用工作模式进入待机工作模式。  In order to reduce the energy consumption, after the active device acquires the load of the primary device and the working mode of the standby device, if the load of the primary device is less than the first threshold, and the standby device is not in the standby working mode, then the primary device The device sends the power-off information to the standby device, so that the standby device enters the standby working mode from the standby working mode or the active working mode.
因而, 本发明实施例的控制备用设备的方法, 通过在主用设备的负荷量 小于第一阈值且备用设备不处于待机工作模式时, 向备用设备发送关闭电源 信息, 使得备用设备进入待机工作模式, 从而能够在满足***可靠性需求的 基础上, 降低备用设备的能耗。 Therefore, the method for controlling the standby device in the embodiment of the present invention sends a power off to the standby device when the load of the primary device is less than the first threshold and the standby device is not in the standby mode. The information enables the standby device to enter the standby mode of operation, thereby reducing the energy consumption of the backup device while satisfying the system reliability requirements.
应理解, 在本发明实施例中, 主用设备和备用设备之间的信息的传输可 以采用有线的方式, 也可以采用无线的方式, 例如, 主用设备和备用设备之 间可以通过信号传递信息, 如脉沖信号; 例如, 主用设备和备用设备之间也 可以采用无线通信技术, 进行相关信息的传输。  It should be understood that, in the embodiment of the present invention, the information between the primary device and the backup device may be transmitted in a wired manner or in a wireless manner. For example, information may be transmitted between the primary device and the backup device. For example, a pulse signal; for example, a wireless communication technology can also be used between the primary device and the backup device to transmit related information.
图 2示出了根据本发明另一实施例的控制备用设备的方法 200的示意性 流程图。 如图 2所示, 在该方法 200中, 可以对于主用设备的负荷量设置两 个阈值, 即第一阈值和第二阈值, 第一阈值小于第二阈值。 可选地, 该第一 阈值为 50%, 该第二阈值为 70%。  2 shows a schematic flow diagram of a method 200 of controlling a backup device in accordance with another embodiment of the present invention. As shown in FIG. 2, in the method 200, two thresholds, that is, a first threshold and a second threshold, which are smaller than the second threshold, may be set for the load amount of the primary device. Optionally, the first threshold is 50% and the second threshold is 70%.
应理解, 可以根据具体的需求情况对第一阈值和第二阈值的取值进行设 置, 例如, 第一阈值可以设置为 40%、 45%、 55%、 60%等, 第二阈值可以 设置为 60%、 65%、 75%、 80%等, 本发明实施例以第一阈值和第二阈值分 别为 50%和 70%为例进行说明, 但是本发明并不限于此。  It should be understood that the values of the first threshold and the second threshold may be set according to specific requirements. For example, the first threshold may be set to 40%, 45%, 55%, 60%, etc., and the second threshold may be set to 60%, 65%, 75%, 80%, etc., the embodiment of the present invention is described by taking the first threshold and the second threshold as 50% and 70%, respectively, but the present invention is not limited thereto.
首先, 主用设备获取主用设备的负荷量和备用设备的工作模式, 该备用 设备的工作模式包括备用工作模式和主用工作模式中的至少一种以及待机 工作模式, 如图 2中的 S210所示, 当主用设备的负荷量小于第一阈值, 并 且备用设备不处于待机工作模式时,例如备用设备处于备用工作模式或主用 工作模式时, 主用设备向备用设备发送关闭电源信息, 如 S220所示, 从而 使得备用设备根据该关闭电源信息, 关闭备用设备电源, 因而备用设备从备 用工作模式或主用工作模式进入待机工作模式。 例如, 当主用设备的 CPU 负荷量小于 50% , 且备用设备处于备用工作模式或主用工作模式时, 主用设 备可以向备用设备发送关闭电源的信号, 使得备用设备进入待机工作模式。 因此, 本发明实施例的方法能够在满足***可靠性需求的基础上, 降低备用 设备的能耗。  First, the active device acquires the load of the primary device and the working mode of the standby device, and the working mode of the standby device includes at least one of the standby working mode and the active working mode, and the standby working mode, as shown in S210 in FIG. 2 As shown, when the load of the primary device is less than the first threshold, and the standby device is not in the standby working mode, for example, when the standby device is in the standby working mode or the active working mode, the primary device sends the power-off information to the standby device, such as S220, so that the standby device turns off the backup device power according to the power-off information, so the standby device enters the standby working mode from the standby working mode or the active working mode. For example, when the CPU load of the active device is less than 50% and the standby device is in the standby working mode or the active working mode, the primary device can send a signal to turn off the power to the standby device, so that the standby device enters the standby working mode. Therefore, the method of the embodiment of the invention can reduce the energy consumption of the standby device on the basis of satisfying the system reliability requirement.
当主用设备的负荷量大于或等于该第一阈值,且该备用设备处于待机工 作模式时, 主用设备向该备用设备发送重启电源信息, 如图 2中的 S230所 示, 以使得备用设备从待机工作模式进入备用工作模式, 由此能够保证*** 在核心繁忙时间内的稳定性和可靠性。 应理解, 当主用设备的负荷量大于或 等于该第二阈值, 且该备用设备处于待机工作模式时, 主用设备也可以向该 备用设备发送重启电源信息, 以使得该备用设备进入备用工作模式。 例如, 当主用设备的负荷量为 60%或 80%, 并且备用设备处于待机工作 模式时, 主用设备可以向该备用设备发送重启电源指令, 使得备用设备重新 启动, 进入备用工作模式。 When the load of the primary device is greater than or equal to the first threshold, and the standby device is in the standby working mode, the primary device sends the restart power information to the standby device, as shown in S230 in FIG. 2, so that the backup device is The standby mode enters the standby mode, thereby ensuring the stability and reliability of the system during peak busy hours. It should be understood that when the load of the primary device is greater than or equal to the second threshold, and the standby device is in the standby working mode, the primary device may also send restart power information to the standby device, so that the standby device enters the standby working mode. . For example, when the load of the primary device is 60% or 80%, and the standby device is in the standby working mode, the primary device can send a restart power command to the standby device, so that the standby device restarts and enters the standby working mode.
当主用设备的负荷量大于或等于第二阈值,且该备用设备不处于主用工 作模式时, 主用设备向该备用设备发送业务请求信息, 如图 2中的 S240所 示, 以使得备用设备进入主用工作模式, 并根据业务请求信息进行相应的业 务操作处理, 由此能够在保证***的稳定性和可靠性的同时, 使得备用设备 具有主用设备的部分或全部功能, 从而能够增大***的业务处理能力, 减小 业务流控发生的概率。  When the load of the active device is greater than or equal to the second threshold, and the standby device is not in the active working mode, the active device sends the service request information to the standby device, as shown in S240 in FIG. 2, so that the standby device is used. Enter the main working mode, and perform corresponding business operation processing according to the service request information, thereby enabling the standby device to have some or all functions of the main device while ensuring the stability and reliability of the system, thereby being able to increase The service processing capability of the system reduces the probability of occurrence of traffic flow control.
具体地, 当主用设备的负荷量大于或等于第二阈值, 且该备用设备处于 备用工作模式时, 主用设备向该备用设备发送业务请求信息, 该业务请求信 息用于请求备用设备进行相应的业务操作处理,从而使得备用设备从备用工 作模式进入主用工作模式; 当主用设备的负荷量大于或等于第二阈值, 且该 备用设备处于待机工作模式时, 主用设备向该备用设备发送业务请求信息, 此时该业务请求信息还用于触发备用设备重启电源信息, 并用于请求备用设 备进行相应的业务操作处理,从而使得备用设备从待机工作模式进入主用工 作模式。  Specifically, when the load of the primary device is greater than or equal to the second threshold, and the standby device is in the standby working mode, the primary device sends service request information to the standby device, where the service request information is used to request the backup device to perform corresponding The service operation process, so that the standby device enters the active working mode from the standby working mode; when the load of the primary device is greater than or equal to the second threshold, and the standby device is in the standby working mode, the primary device sends a service to the standby device. The request information is used to trigger the standby device to restart the power information, and is used to request the standby device to perform corresponding service operation processing, so that the standby device enters the active working mode from the standby working mode.
例如, 当主用设备的负荷量 >90 %时, 即在突发性大话务量的情况下, 为了保证***接入更多的呼叫, 不再进行传统的流控, 而是在线对备用设备 进行升级, 使得备用设备处于主用工作模式。 通常意义上的备用设备只是处 理备份, 并不会主动处理业务, 主备配置的设备一般对外只呈现一个 IP地 址, 为了降低架构变化的影响, 可以采用主用设备将业务转发给备用设备的 方式, 来实现备用设备在主用工作模式下工作; 否则, 外部设备也需要获取 这个切换到主用工作模式的备用设备的工作模式信息, 即该备用设备需要对 外做到完全可见, 以便于外部设备可以主动向该备用设备请求业务处理。  For example, when the load of the primary device is >90%, that is, in the case of sudden large traffic, in order to ensure that the system accesses more calls, the traditional flow control is not performed, but the backup device is online. Upgrade to keep the standby device in active mode. In the normal sense, the backup device only processes the backup and does not actively process the service. The device configured for the active and standby devices generally only presents one IP address. To reduce the impact of the architecture change, the primary device can forward the service to the backup device. To realize that the standby device works in the active working mode; otherwise, the external device also needs to obtain the working mode information of the standby device that is switched to the active working mode, that is, the standby device needs to be completely visible to the outside, so as to facilitate the external device. The service processing can be requested from the standby device actively.
当主用设备的负荷量小于该第二阈值,且该备用设备处于主用工作模式 时, 主用设备停止向该备用设备发送该业务请求信息, 如图 2中的 S250所 示, 使得备用设备从主用工作模式进入备用工作模式或待机工作模式。 应理 解, 当主用设备的负荷量小于该第一阈值, 且该备用设备处于主用工作模式 时, 主用设备也会停止向该备用设备发送该业务请求信息。 但此时, 主用设 备通常不会立即向备用设备发送关闭电源信息, 而是必须等待备用设备处理 完之前接收的业务请求, 从而由主用工作模式进入备用工作模式之后, 向备 用设备发送关闭电源信息, 使得备用设备关闭电源从而进入待机工作模式。 当然, 当主用设备的负荷量小于该第一阈值, 且该备用设备处于主用工作模 式时, 主用设备也可以直接向备用设备发送关闭电源信息, 使得备用设备立 即进入待机工作模式。 When the load of the primary device is less than the second threshold, and the standby device is in the active working mode, the primary device stops sending the service request information to the standby device, as shown in S250 in FIG. 2, so that the backup device is The main working mode enters the standby working mode or the standby working mode. It should be understood that when the load of the primary device is less than the first threshold, and the standby device is in the active working mode, the primary device also stops sending the service request information to the standby device. However, at this time, the active device usually does not immediately send the power off information to the standby device, but must wait for the backup device to process After the service request received before, the main working mode enters the standby working mode, the power-off information is sent to the standby device, so that the standby device turns off the power and enters the standby working mode. Certainly, when the load of the primary device is less than the first threshold, and the standby device is in the active working mode, the primary device may also directly send the poweroff information to the standby device, so that the standby device immediately enters the standby working mode.
应理解, 当备用设备处于主用工作模式时, 该备用设备可以主要用于业 务的操作处理, 也可以一方面用于业务的操作处理, 另一方面同时兼顾业务 的备份处理, 本发明实施例并不以此为限。  It should be understood that, when the standby device is in the active working mode, the standby device may be mainly used for the operation processing of the service, or may be used for the operation processing of the service on the one hand, and the backup processing of the service at the same time, and the embodiment of the present invention. Not limited to this.
例如, 当主用设备的负荷量降到 70 %以下,并且备用设备仍处于主用工 作模式时, 主用设备开始禁止新呼叫接入备用设备, 直到该备用设备的通话 全部结束, 随后该备用设备处于备用工作模式。 应理解, 外部设备总是有方 法获取该备用设备的工作模式信息,这样外部设备就可以做到不主动向此备 用设备申请处理业务, 该工作模式信息可以由该备用设备主动广播, 也可以 由外部设备主动查询而获取。 还应理解, 此时如果该备用设备不执行业务的 操作处理, 而只是进行业务的备份处理, 那么可以认为该备用设备处于备板 工作模式。  For example, when the load of the primary device falls below 70% and the standby device is still in the active working mode, the primary device starts prohibiting the new call from accessing the standby device until the call of the backup device is completed, and then the standby device In standby mode. It should be understood that the external device always has a method to obtain the working mode information of the standby device, so that the external device can not actively apply for the processing service to the standby device, and the working mode information can be actively broadcast by the standby device, or can be The external device obtains it by actively querying. It should be understood that, at this time, if the standby device does not perform the operation processing of the service, but only performs the backup processing of the service, the standby device may be considered to be in the standby working mode.
应理解, 上述各过程的序号的大小并不意味着执行顺序的先后, 各过程 的执行顺序应以其功能和内在逻辑确定, 而不应对本发明实施例的实施过程 构成任何限定。  It should be understood that the size of the sequence numbers of the above processes does not imply a sequence of executions, and the order of execution of the processes should be determined by its function and internal logic, and should not be construed as limiting the implementation process of the embodiments of the present invention.
本发明实施例的控制备用设备的方法,通过在主用设备的负荷量小于第 一阈值且备用设备不处于待机工作模式时, 向备用设备发送关闭电源信息, 使得备用设备进入待机工作模式, 从而能够在满足***可靠性需求的基础 上, 降低备用设备的能耗, 并且还能够增大***的业务处理能力, 减小业务 流控发生的概率。  The method for controlling the standby device in the embodiment of the present invention, when the load of the active device is less than the first threshold and the standby device is not in the standby working mode, sending the power-off information to the standby device, so that the standby device enters the standby working mode, thereby On the basis of meeting the system reliability requirements, the energy consumption of the standby device can be reduced, and the service processing capability of the system can be increased, and the probability of occurrence of traffic flow control can be reduced.
上文中从主用设备的角度描述了根据本发明实施例的方法, 下面将从备 用设备的角度对根据本发明实施例的方法进行说明。  The method according to an embodiment of the present invention has been described above from the perspective of a primary device, and a method according to an embodiment of the present invention will be described below from the perspective of a standby device.
图 3示出了根据本发明实施例的控制备用设备的方法 300的示意性流程 图。 如图 3所示, 该方法 300包括:  FIG. 3 shows a schematic flow diagram of a method 300 of controlling a backup device in accordance with an embodiment of the present invention. As shown in FIG. 3, the method 300 includes:
S310,接收主用设备在负荷量小于第一阈值且备用设备不处于待机工作 模式时发送的关闭电源信息;  S310. Receive power-off information sent by the primary device when the load is less than the first threshold and the standby device is not in the standby mode.
S320, 根据该关闭电源信息关闭该备用设备的电源, 以使得该备用设备 进入该待机工作模式。 S320. Turn off the power of the standby device according to the power-off information, so that the standby device Enter this standby mode of operation.
在备用设备接收到主用设备发送的关闭电源信息后,备用设备根据该关 闭电源信息关闭电源,使得该备用设备由备用工作模式或主用工作模式进入 待机工作模式,其中该关闭电源信息是主用设备在确定主用设备的负荷量小 于第一阈值, 且备用设备不处于待机工作模式时发送的。  After the standby device receives the power-off information sent by the primary device, the standby device turns off the power according to the power-off information, so that the standby device enters the standby working mode by using the standby working mode or the active working mode, where the power-off information is the primary device. The device is sent when it is determined that the load of the primary device is less than the first threshold and the standby device is not in the standby mode of operation.
因而, 本发明实施例的控制备用设备的方法, 通过在主用设备的负荷量 小于第一阈值且备用设备不处于待机工作模式时, 向备用设备发送关闭电源 信息, 使得备用设备进入待机工作模式, 从而能够在满足***可靠性需求的 基础上, 降低备用设备的能耗。  Therefore, the method for controlling the standby device in the embodiment of the present invention sends the power-off information to the standby device when the load of the primary device is less than the first threshold and the standby device is not in the standby mode, so that the standby device enters the standby mode. Therefore, the energy consumption of the standby device can be reduced on the basis of satisfying the system reliability requirement.
图 4示出了根据本发明实施例的控制备用设备的方法 400的示意性流程 图。 如图 4中的 S410所示, 当主用设备的负荷量小于第一阈值, 并且备用 设备不处于待机工作模式时, 例如备用设备处于备用工作模式或主用工作模 式时, 备用设备接收主用设备发送的关闭电源信息, 备用设备根据该关闭电 源信息关闭该备用设备的电源,使得该备用设备由备用工作模式或主用工作 模式进入待机工作模式, 如 S420所示, 由此能够在满足***可靠性需求的 基础上, 降低备用设备的能耗。  FIG. 4 shows a schematic flow diagram of a method 400 of controlling a backup device in accordance with an embodiment of the present invention. As shown in S410 of FIG. 4, when the load of the primary device is less than the first threshold, and the standby device is not in the standby working mode, for example, when the standby device is in the standby working mode or the active working mode, the standby device receives the primary device. The powered off information is sent, and the standby device turns off the power of the standby device according to the power off information, so that the standby device enters the standby working mode from the standby working mode or the active working mode, as shown in S420, thereby being able to satisfy the system reliability. On the basis of sexual demand, reduce the energy consumption of spare equipment.
当主用设备的负荷量大于或等于该第一阈值,且该备用设备处于待机工 作模式时, 备用设备接收该主用设备发送的重启电源信息, 如 S430所示, 备用设备根据该重启电源信息重启该备用设备的电源, 如 S440所示, 使得 备用设备从待机工作模式进入备用工作模式, 由此能够保证***在核心繁忙 时间内的稳定性和可靠性。  When the load of the active device is greater than or equal to the first threshold, and the standby device is in the standby working mode, the standby device receives the restart power information sent by the active device, and as shown in S430, the standby device restarts according to the restart power information. The power of the standby device, as shown in S440, causes the standby device to enter the standby mode of operation from the standby mode of operation, thereby ensuring stability and reliability of the system during peak busy hours.
当主用设备的负荷量大于或等于第二阈值,且该备用设备不处于主用工 作模式时, 备用设备接收该主用设备发送的业务请求信息, 该第二阈值大于 该第一阈值, 如 S450所示, 备用设备根据该业务请求信息进行业务操作处 理, 如 S460所示, 由此能够在保证***的稳定性和可靠性的同时, 使得备 用设备具有主用设备的部分或全部功能, 从而能够增大***的业务处理能 力, 减小业务流控发生的概率。  When the load of the active device is greater than or equal to the second threshold, and the standby device is not in the active working mode, the standby device receives the service request information sent by the active device, where the second threshold is greater than the first threshold, such as S450. As shown in the figure, the standby device performs a service operation process according to the service request information, as shown in S460, thereby enabling the backup device to have some or all functions of the active device while ensuring the stability and reliability of the system. Increase the service processing capability of the system and reduce the probability of traffic flow control.
应理解, 当备用设备处于待机工作模式时, 如果备用设备接收到业务请 求信息, 那么该业务请求信息一方面用于触发备用设备重启电源, 另一方面 用于备用设备根据该业务请求信息进行相应的业务操作处理,从而备用设备 由待机工作模式进入主用工作模式; 而当备用设备处于备用工作模式时, 如 果备用设备接收到业务请求信息, 那么备用设备直接根据该业务请求信息进 行相应的业务操作处理, 从而由备用工作模式进入主用工作模式。 It should be understood that, when the standby device is in the standby working mode, if the standby device receives the service request information, the service request information is used to trigger the standby device to restart the power supply, and the standby device is configured to perform the corresponding information according to the service request information. The business operation processing, so that the standby device enters the active working mode from the standby working mode; and when the standby device is in the standby working mode, such as If the standby device receives the service request information, the backup device directly performs corresponding service operation processing according to the service request information, so that the standby working mode enters the active working mode.
当主用设备的负荷量大于或等于第二阈值,且该备用设备处于主用工作 模式时, 备用设备执行业务操作处理。 可选地, 在主用设备的负荷量大于或 等于第二阈值且该备用设备处于主用工作模式时,备用设备还执行业务备份 处理, 如 S470所示。 即此时, 备用设备既用于业务的操作处理, 又用于业 务的备份处理, 由此能够大幅提升***的业务处理能力, 并保证***的稳定 性和可靠性。  When the load of the primary device is greater than or equal to the second threshold, and the standby device is in the active working mode, the standby device performs a service operation process. Optionally, when the load of the active device is greater than or equal to the second threshold and the standby device is in the active working mode, the standby device further performs service backup processing, as shown in S470. That is, the backup device is used for both the operation processing of the service and the backup processing of the service, thereby greatly improving the service processing capability of the system and ensuring the stability and reliability of the system.
当主用设备的负荷量小于该第二阈值,且该备用设备处于主用工作模式 时, 由于主用设备停止向该备用设备发送该业务请求信息, 备用设备在处理 完之前接收的业务请求后, 由主用工作模式进入备用工作模式或待机模式。 进一步地, 当主用设备的负荷量小于第一阈值, 且备用设备不处于待机工作 模式时, 备用设备根据主用设备发送的关闭电源信息而关闭电源, 由此该备 用设备进入待机工作模式。  When the load of the primary device is less than the second threshold, and the standby device is in the active working mode, after the primary device stops sending the service request information to the standby device, after the standby device receives the service request received before, The standby mode or standby mode is entered by the active mode. Further, when the load of the primary device is less than the first threshold and the standby device is not in the standby mode, the standby device turns off the power according to the power-off information sent by the primary device, thereby the standby device enters the standby mode of operation.
优选地, 当主用设备的负荷量小于该第一阈值, 且该备用设备处于主用 工作模式时, 在备用设备处理完之前接收的业务请求, 从而由主用工作模式 进入备用工作模式之后, 主用设备才向备用设备发送关闭电源信息, 使得备 用设备关闭电源从而进入待机工作模式。 应理解, 当主用设备的负荷量小于 该第一阈值, 且该备用设备处于主用工作模式时, 主用设备也可以在备用设 备处理完接收的业务请求之前, 向备用设备发生关闭电源信息, 使得备用设 备直接从主用工作模式进入待机工作模式。  Preferably, when the load of the primary device is less than the first threshold, and the standby device is in the active working mode, after the standby device processes the received service request, thereby entering the standby working mode by the active working mode, the primary device The device sends the power-off information to the standby device, causing the standby device to turn off the power and enter the standby mode. It should be understood that, when the load of the primary device is less than the first threshold, and the standby device is in the active working mode, the primary device may also generate poweroff information to the standby device before the standby device processes the received service request. The standby device is brought into the standby mode of operation directly from the active mode of operation.
应理解, 上述各过程的序号的大小并不意味着执行顺序的先后, 各过程 的执行顺序应以其功能和内在逻辑确定, 而不应对本发明实施例的实施过程 构成任何限定。  It should be understood that the size of the sequence numbers of the above processes does not imply a sequence of executions, and the order of execution of the processes should be determined by its function and internal logic, and should not be construed as limiting the implementation process of the embodiments of the present invention.
因而, 本发明实施例的控制备用设备的方法, 通过主用设备根据主用设 备的负荷量以及备用设备当前的工作模式, 向备用设备发送相应的指示信 息, 使得备用设备能够在待机工作模式和备用工作模式之间, 待机工作模式 和主用工作模式之间, 以及待机工作模式、 备用工作模式和主用工作模式之 间改变, 从而能够在满足***可靠性需求的基础上, 降低备用设备的能耗, 并且还能够增大***的业务处理能力, 减小业务流控发生的概率。  Therefore, the method for controlling the standby device in the embodiment of the present invention sends the corresponding indication information to the standby device according to the load amount of the active device and the current working mode of the standby device, so that the standby device can be in the standby working mode and Between the standby mode of operation, between the standby mode and the active mode, and between the standby mode, the standby mode, and the active mode, thereby reducing the backup device based on the system reliability requirements. Energy consumption, and can also increase the system's business processing capabilities, reducing the probability of business flow control.
上文中结合图 1至图 4描述了根据本发明实施例的方法, 下面将结合图 5至图 8详细描述根据本发明实施例的控制备用设备的主用设备, 以及备用 设备。 A method according to an embodiment of the present invention is described above with reference to FIGS. 1 through 4, which will be described below. 5 to FIG. 8 describe in detail a master device for controlling a standby device, and a backup device according to an embodiment of the present invention.
图 5示出了根据本发明实施例的控制备用设备的主用设备 800的示意性 框图。 如图 5所示, 该备用设备 800包括:  FIG. 5 shows a schematic block diagram of a primary device 800 for controlling a backup device in accordance with an embodiment of the present invention. As shown in FIG. 5, the standby device 800 includes:
第一处理器 810, 用于获取主用设备的负荷量和备用设备的工作模式, 该备用设备的工作模式包括备用工作模式和主用工作模式中的至少一种以 及待机工作模式;  The first processor 810 is configured to acquire a load quantity of the primary device and an operation mode of the standby device, where the working mode of the standby device includes at least one of a standby working mode and an active working mode, and a standby working mode.
第二处理器 820, 用于在该负荷量小于第一阈值且该备用设备不处于待 机工作模式时, 向该备用设备发送关闭电源信息, 以使得该备用设备进入该 待机工作模式。  The second processor 820 is configured to send the power-off information to the standby device when the load is less than the first threshold and the standby device is not in the standby mode, so that the standby device enters the standby working mode.
在本发明实施例中, 该主用设备的负荷量包括该主用设备的中央处理器 的负荷量和 /或该主用设备处理的业务量。  In the embodiment of the present invention, the load of the primary device includes the load of the central processor of the primary device and/or the amount of traffic processed by the primary device.
在本发明实施例中,备用设备的工作模式可以包括备用工作模式和主用 工作模式中的至少一种以及待机工作模式, 例如, 备用设备的工作模式仅包 括待机工作模式和备用工作模式, 或包括待机工作模式和主用工作模式, 或 包括待机工作模式、 备用工作模式和主用工作模式。  In the embodiment of the present invention, the working mode of the standby device may include at least one of a standby working mode and an active working mode, and a standby working mode, for example, the working mode of the standby device includes only the standby working mode and the standby working mode, or It includes standby mode and main working mode, or includes standby mode, standby mode and main mode.
需要说明的是, 上述第一处理器 810和第二处理器 820的功能也可以集 成在一个处理器中。  It should be noted that the functions of the first processor 810 and the second processor 820 described above may also be integrated into one processor.
因此, 本发明实施例的控制备用设备的主用设备, 通过在主用设备的负 荷量小于第一阈值且备用设备不处于待机工作模式时, 向备用设备发送关闭 电源信息, 使得备用设备进入待机工作模式, 从而能够在满足***可靠性需 求的基础上, 降低备用设备的能耗。  Therefore, the primary device for controlling the standby device in the embodiment of the present invention sends the power-off information to the standby device when the load of the primary device is less than the first threshold and the standby device is not in the standby mode, so that the standby device enters standby. The working mode enables the energy consumption of the standby device to be reduced on the basis of meeting the system reliability requirements.
可选地, 该第二处理器 820还用于在该负荷量大于或等于该第一阈值且 该备用设备处于该待机工作模式时, 向该备用设备发送重启电源信息, 以使 得该备用设备进入该备用工作模式。  Optionally, the second processor 820 is further configured to: when the load amount is greater than or equal to the first threshold and the standby device is in the standby working mode, send restart power information to the standby device, so that the standby device enters This alternate mode of operation.
可选地, 该第二处理器 820还用于在该负荷量大于或等于第二阈值且该 备用设备不处于该主用工作模式时, 向该备用设备发送业务请求信息, 以使 得该备用设备进入该主用工作模式, 其中该第二阈值大于该第一阈值。  Optionally, the second processor 820 is further configured to: when the load quantity is greater than or equal to the second threshold, and the standby device is not in the active working mode, send service request information to the standby device, so that the standby device Entering the primary working mode, wherein the second threshold is greater than the first threshold.
可选地, 该第二处理器 820还用于在该负荷量小于该第二阈值且该备用 设备处于主用工作模式时, 停止向该备用设备发送该业务请求信息, 以使得 该备用设备进入该备用工作模式或该待机工作模式。 根据本发明实施例的控制备用设备的主用设备 800可对应于本发明实施 例中的主用设备,并且主用设备 800执行的上述和其它操作和 /或功能分别为 了实现图 1至图 2中的各个方法 100至 200的相应流程, 为了筒洁, 在此不 再赘述。 Optionally, the second processor 820 is further configured to stop sending the service request information to the standby device when the load is less than the second threshold and the standby device is in the active working mode, so that the standby device enters The standby working mode or the standby working mode. The primary device 800 for controlling the backup device according to an embodiment of the present invention may correspond to the primary device in the embodiment of the present invention, and the above-described and other operations and/or functions performed by the primary device 800 are respectively implemented in order to implement FIGS. 1 to 2 The corresponding processes of the respective methods 100 to 200 in the process are not described herein.
图 6示出了根据本发明实施例的备用设备 900的示意性框图。如图 6所 示, 该备用设备 900包括:  FIG. 6 shows a schematic block diagram of a spare device 900 in accordance with an embodiment of the present invention. As shown in Figure 6, the backup device 900 includes:
第三处理器 910, 用于接收主用设备在负荷量小于第一阈值且该备用设 备不处于待机工作模式时发送的关闭电源信息;  The third processor 910 is configured to receive the power-off information sent by the active device when the load is less than the first threshold and the standby device is not in the standby working mode;
第四处理器 920, 用于根据该关闭电源信息关闭该备用设备的电源, 以 使得该备用设备进入该待机工作模式。  The fourth processor 920 is configured to turn off the power of the standby device according to the power-off information, so that the standby device enters the standby working mode.
在本发明实施例中, 主用设备的负荷量包括该主用设备的中央处理器的 负荷量和 /或该主用设备处理的业务量。  In the embodiment of the present invention, the load amount of the primary device includes the load amount of the central processing unit of the primary device and/or the traffic volume processed by the primary device.
在本发明实施例中,备用设备的工作模式可以包括备用工作模式和主用 工作模式中的至少一种以及待机工作模式, 例如, 备用设备的工作模式仅包 括待机工作模式和备用工作模式, 或包括待机工作模式和主用工作模式, 或 包括待机工作模式、 备用工作模式和主用工作模式。  In the embodiment of the present invention, the working mode of the standby device may include at least one of a standby working mode and an active working mode, and a standby working mode, for example, the working mode of the standby device includes only the standby working mode and the standby working mode, or It includes standby mode and main working mode, or includes standby mode, standby mode and main mode.
可选地, 如图 7所示, 根据本发明实施例的该第三处理器 910还用于接 收该主用设备在该负荷量大于或等于该第一阈值且该备用设备处于该待机 工作模式时发送的重启电源信息;  Optionally, as shown in FIG. 7, the third processor 910 is further configured to receive, according to an embodiment of the present invention, that the primary device is greater than or equal to the first threshold, and the standby device is in the standby working mode. Restart power information sent at the time;
该备用设备 900还可以包括:  The backup device 900 can also include:
第五处理器 930, 用于根据该重启电源信息重启该备用设备的电源, 以 使得该备用设备进入备用工作模式。  The fifth processor 930 is configured to restart the power of the standby device according to the restart power information, so that the standby device enters a standby working mode.
可选地, 如图 8所示, 该第三处理器 910还用于接收该主用设备在该负 荷量大于或等于第二阈值且该备用设备不处于主用工作模式时发送的业务 请求信息, 该第二阈值大于该第一阈值;  Optionally, as shown in FIG. 8, the third processor 910 is further configured to receive service request information that is sent by the primary device when the load is greater than or equal to a second threshold and the standby device is not in the active mode. The second threshold is greater than the first threshold;
该备用设备 900还包括:  The backup device 900 also includes:
第六处理器 940, 用于根据该业务请求信息进行业务操作处理。  The sixth processor 940 is configured to perform a service operation process according to the service request information.
可选地, 如图 8所示, 该备用设备 900还包括:  Optionally, as shown in FIG. 8, the standby device 900 further includes:
存储器 950, 用于在该负荷量大于或等于第二阈值且该备用设备处于主 用工作模式时, 执行业务备份处理。  The memory 950 is configured to perform a service backup process when the load is greater than or equal to a second threshold and the standby device is in the active mode.
根据本发明实施例的备用设备 900 可对应于本发明实施例中的备用设 备, 并且备用设备 900执行的上述和其它操作和 /或功能分别为了实现图 3 至图 4中的各个方法 300至 400的相应流程, 为了筒洁, 在此不再赘述。 The backup device 900 according to an embodiment of the present invention may correspond to the standby device in the embodiment of the present invention. The foregoing and other operations and/or functions performed by the backup device 900 are respectively implemented in order to implement the respective processes of the respective methods 300 to 400 in FIGS. 3 to 4, and are not described herein again.
需要说明的是, 上述备用设备 900中的多个处理器的功能也可以集成在 一个处理器中。  It should be noted that the functions of multiple processors in the standby device 900 described above may also be integrated into one processor.
本发明实施例的备用设备,通过在主用设备的负荷量小于第一阈值且备 用设备不处于待机工作模式时, 向备用设备发送关闭电源信息, 使得备用设 备进入待机工作模式, 从而能够在满足***可靠性需求的基础上, 降低备用 设备的能耗, 并且通过在该负荷量大于或等于第二阈值且该备用设备不处于 主用工作模式时, 向该备用设备发送业务请求信息, 其中该第二阈值大于该 第一阈值,使得备用设备进入主用工作模式,能够增大***的业务处理能力, 减 d、业务流控发生的概率。  The standby device of the embodiment of the present invention can send the power-off information to the standby device when the load of the primary device is less than the first threshold and the standby device is not in the standby working mode, so that the standby device enters the standby working mode, thereby being able to meet Based on the system reliability requirement, reducing the energy consumption of the standby device, and sending the service request information to the standby device when the load is greater than or equal to the second threshold and the standby device is not in the active working mode, where The second threshold is greater than the first threshold, so that the standby device enters the active working mode, which can increase the service processing capability of the system, and reduce the probability that the traffic flow control occurs.
本领域普通技术人员可以意识到, 结合本文中所公开的实施例描述的各 示例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来实 现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能一 般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执 行, 取决于技术方案的特定应用和设计约束条件。 专业技术人员可以对每个 特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超 出本发明的范围。  Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software or a combination of both, in order to clearly illustrate hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到, 为了描述的方便和筒洁, 上述 描述的***、 装置和单元的具体工作过程, 可以参考前述方法实施例中的对 应过程, 在此不再赘述。  A person skilled in the art can clearly understand that, for the convenience and the cleaning of the description, the specific working processes of the system, the device and the unit described above can refer to the corresponding processes in the foregoing method embodiments, and details are not described herein again.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的***、 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 ***, 或一些特征可以忽略, 或不执行。 另外, 所显示或讨论的相互之间的 耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或 通信连接, 也可以是电的, 机械的或其它的形式连接。  In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或 者全部单元来实现本发明实施例方案的目的。 The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. You can choose some of them according to actual needs or All units are used to achieve the objectives of the embodiments of the present invention.
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以是两个或两个以上单元集成在 一个单元中。 上述集成的单元既可以采用硬件的形式实现, 也可以采用软件 功能单元的形式实现。  In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销 售或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分, 或者该技术方 案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在 一个存储介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算 机, 服务器, 或者网络设备等)执行本发明各个实施例所述方法的全部或部 分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器(ROM, Read-Only Memory ), 随机存取存储器(RAM, Random Access Memory ), 磁碟或者光盘等各种可以存储程序代码的介质。  The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到各种等效的修改或替换, 这些修改或替换都应涵盖在本发明的保护范围 之内。 因此, 本发明的保护范围应以权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any equivalent person can be easily conceived within the technical scope of the present invention. Modifications or substitutions are intended to be included within the scope of the invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权利要求 Rights request
1、 一种控制备用设备的方法, 其特征在于, 包括:  A method for controlling a backup device, comprising:
获取主用设备的负荷量和所述备用设备的工作模式,所述备用设备的工 作模式包括备用工作模式和主用工作模式中的至少一种以及待机工作模式; 在所述负荷量小于第一阈值且所述备用设备不处于所述待机工作模式 时, 向所述备用设备发送关闭电源信息, 以使得所述备用设备进入所述待机 工作模式。  Obtaining a load amount of the primary device and an operation mode of the standby device, where the working mode of the standby device includes at least one of a standby working mode and a primary working mode, and a standby working mode; And a threshold value and the standby device is not in the standby working mode, sending power-off information to the standby device, so that the standby device enters the standby working mode.
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 在所述负荷量大于或等于所述第一阈值且所述备用设备处于所述待机 工作模式时, 向所述备用设备发送重启电源信息, 以使得所述备用设备进入 所述备用工作模式。  2. The method according to claim 1, wherein the method further comprises: when the load amount is greater than or equal to the first threshold and the standby device is in the standby working mode, The standby device sends a restart power message to cause the standby device to enter the standby mode of operation.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述方法还包括: 在所述负荷量大于或等于第二阈值且所述备用设备不处于所述主用工 作模式时, 向所述备用设备发送业务请求信息, 以使得所述备用设备进入所 述主用工作模式, 其中所述第二阈值大于所述第一阈值。  The method according to claim 1 or 2, wherein the method further comprises: when the load amount is greater than or equal to a second threshold and the standby device is not in the active working mode, The standby device sends service request information, so that the standby device enters the primary working mode, where the second threshold is greater than the first threshold.
4、 根据权利要求 3所述的方法, 其特征在于, 所述方法还包括: 在所述负荷量小于所述第二阈值且所述备用设备处于主用工作模式时, 停止向所述备用设备发送所述业务请求信息, 以使得所述备用设备进入所述 备用工作模式或所述待机工作模式。  The method according to claim 3, wherein the method further comprises: stopping to the standby device when the load is less than the second threshold and the standby device is in a primary working mode Sending the service request information to cause the standby device to enter the standby working mode or the standby working mode.
5、 根据权利要求 1或 2所述的方法, 其特征在于, 所述主用设备的负 荷量包括所述主用设备的中央处理器的负荷量或所述主用设备处理的业务 量。  The method according to claim 1 or 2, wherein the load amount of the primary device comprises a load amount of a central processing unit of the primary device or a traffic volume processed by the primary device.
6、 一种控制备用设备的方法, 其特征在于, 包括:  6. A method of controlling a backup device, comprising:
接收主用设备在负荷量小于第一阈值且所述备用设备不处于待机工作 模式时发送的关闭电源信息;  Receiving off power information sent by the primary device when the load is less than the first threshold and the standby device is not in the standby mode;
根据所述关闭电源信息关闭所述备用设备的电源, 以使得所述备用设备 进入所述待机工作模式。  The power of the standby device is turned off according to the power-off information to cause the standby device to enter the standby mode of operation.
7、 根据权利要求 6所述的方法, 其特征在于, 所述方法还包括: 接收所述主用设备在所述负荷量大于或等于所述第一阈值且所述备用 设备处于所述待机工作模式时发送的重启电源信息;  The method according to claim 6, wherein the method further comprises: receiving, by the primary device, that the load is greater than or equal to the first threshold and the standby device is in the standby operation Restart power information sent in mode;
根据所述重启电源信息重启所述备用设备的电源, 以使得所述备用设备 进入备用工作模式。 Restarting the power of the standby device according to the restarting power information, so that the standby device Enter the standby mode of operation.
8、 根据权利要求 6或 7所述的方法, 其特征在于, 所述方法还包括: 接收所述主用设备在所述负荷量大于或等于第二阈值且所述备用设备 不处于主用工作模式时发送的业务请求信息,所述第二阈值大于所述第一阈 值;  The method according to claim 6 or 7, wherein the method further comprises: receiving, by the primary device, that the load is greater than or equal to a second threshold and the standby device is not in active operation The service request information sent in the mode, where the second threshold is greater than the first threshold;
根据所述业务请求信息进行业务操作处理。  Performing business operation processing according to the service request information.
9、 根据权利要求 8所述的方法, 其特征在于, 所述方法还包括: 在所述负荷量大于或等于所述第二阈值且所述备用设备处于所述主用 工作模式时, 执行业务备份处理。  The method according to claim 8, wherein the method further comprises: performing a service when the load amount is greater than or equal to the second threshold and the standby device is in the active working mode Backup processing.
10、 一种控制备用设备的主用设备, 其特征在于, 包括:  10. A master device for controlling a backup device, comprising:
第一处理器, 用于获取所述主用设备的负荷量和所述备用设备的工作模 式, 所述备用设备的工作模式包括备用工作模式和主用工作模式中的至少一 种以及待机工作模式;  a first processor, configured to acquire a load quantity of the primary device and an operation mode of the standby device, where the working mode of the standby device includes at least one of a standby working mode and an active working mode, and a standby working mode ;
第二处理器, 用于在所述负荷量小于第一阈值且所述备用设备不处于所 述待机工作模式时, 向所述备用设备发送关闭电源信息, 以使得所述备用设 备进入所述待机工作模式。  a second processor, configured to send power-off information to the standby device when the load is less than a first threshold and the standby device is not in the standby working mode, so that the standby device enters the standby Operating mode.
11、 根据权利要求 10所述的主用设备, 其特征在于, 所述第二处理器 还用于在所述负荷量大于或等于所述第一阈值且所述备用设备处于所述待 机工作模式时, 向所述备用设备发送重启电源信息, 以使得所述备用设备进 入所述备用工作模式。  The primary device according to claim 10, wherein the second processor is further configured to: when the load amount is greater than or equal to the first threshold, and the standby device is in the standby working mode And sending restart power information to the standby device, so that the standby device enters the standby working mode.
12、 根据权利要求 10或 11所述的主用设备, 其特征在于, 所述第二处 理器还用于在所述负荷量大于或等于第二阈值且所述备用设备不处于所述 主用工作模式时, 向所述备用设备发送业务请求信息, 以使得所述备用设备 进入所述主用工作模式, 其中所述第二阈值大于所述第一阈值。  The primary device according to claim 10 or 11, wherein the second processor is further configured to: when the load amount is greater than or equal to a second threshold, and the standby device is not in the primary device In the working mode, the service request information is sent to the standby device, so that the standby device enters the active working mode, where the second threshold is greater than the first threshold.
13、 根据权利要求 12所述的主用设备, 其特征在于, 所述第二处理器 还用于在所述负荷量小于所述第二阈值且所述备用设备处于主用工作模式 时, 停止向所述备用设备发送所述业务请求信息, 以使得所述备用设备进入 所述备用工作模式或所述待机工作模式。  The primary device according to claim 12, wherein the second processor is further configured to stop when the load is less than the second threshold and the standby device is in a primary working mode Sending the service request information to the standby device, so that the standby device enters the standby working mode or the standby working mode.
14、 一种备用设备, 其特征在于, 包括:  14. An alternate device, comprising:
第三处理器, 用于接收主用设备在负荷量小于第一阈值且所述备用设备 不处于待机工作模式时发送的关闭电源信息; 第四处理器, 用于根据所述关闭电源信息关闭所述备用设备的电源, 以 使得所述备用设备进入所述待机工作模式。 a third processor, configured to receive power-off information sent by the primary device when the load is less than the first threshold and the standby device is not in the standby working mode; And a fourth processor, configured to turn off the power of the standby device according to the power-off information, so that the standby device enters the standby working mode.
15、 根据权利要求 14所述的备用设备, 其特征在于, 所述第三处理器 还用于接收所述主用设备在所述负荷量大于或等于所述第一阈值且所述备 用设备处于所述待机工作模式时发送的重启电源信息;  The backup device according to claim 14, wherein the third processor is further configured to receive, by the primary device, that the load is greater than or equal to the first threshold and the standby device is Restart power information sent during the standby mode of operation;
所述备用设备还包括:  The backup device further includes:
第五处理器, 用于根据所述重启电源信息重启所述备用设备的电源, 以 使得所述备用设备进入备用工作模式。  And a fifth processor, configured to restart the power of the standby device according to the restarting power information, so that the standby device enters a standby working mode.
16、 根据权利要求 14或 15所述的备用设备, 其特征在于, 所述第三处 理器还用于接收所述主用设备在所述负荷量大于或等于第二阈值且所述备 用设备不处于主用工作模式时发送的业务请求信息, 所述第二阈值大于所述 第一阈值;  The backup device according to claim 14 or 15, wherein the third processor is further configured to receive, by the primary device, that the load is greater than or equal to a second threshold and the standby device is not When the service request information is sent in the active mode, the second threshold is greater than the first threshold;
所述备用设备还包括:  The backup device further includes:
第六处理器, 用于根据所述业务请求信息进行业务操作处理。  And a sixth processor, configured to perform a service operation process according to the service request information.
17、 根据权利要求 16所述的备用设备, 其特征在于, 所述备用设备还 包括:  The backup device according to claim 16, wherein the backup device further comprises:
存储器, 用于在所述负荷量大于或等于所述第二阈值且所述备用设备处 于所述主用工作模式时, 执行业务备份处理。  And a memory, configured to perform a service backup process when the load is greater than or equal to the second threshold and the standby device is in the active mode.
PCT/CN2011/074809 2011-05-27 2011-05-27 Method and main device for controlling backup device, and backup device WO2011144116A2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2011800005847A CN102204165A (en) 2011-05-27 2011-05-27 Method for controlling backup device, primary device and backup device
PCT/CN2011/074809 WO2011144116A2 (en) 2011-05-27 2011-05-27 Method and main device for controlling backup device, and backup device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/074809 WO2011144116A2 (en) 2011-05-27 2011-05-27 Method and main device for controlling backup device, and backup device

Publications (2)

Publication Number Publication Date
WO2011144116A2 true WO2011144116A2 (en) 2011-11-24
WO2011144116A3 WO2011144116A3 (en) 2012-04-05

Family

ID=44662801

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/074809 WO2011144116A2 (en) 2011-05-27 2011-05-27 Method and main device for controlling backup device, and backup device

Country Status (2)

Country Link
CN (1) CN102204165A (en)
WO (1) WO2011144116A2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103227725B (en) * 2012-03-30 2018-01-09 新华三技术有限公司 A kind of method and device of dual-server backup of firewall
CN103870331B (en) * 2012-12-10 2018-03-27 联想(北京)有限公司 A kind of method and electronic equipment of dynamically distributes processor cores
CN105656647B (en) * 2014-11-12 2020-06-30 中兴通讯股份有限公司 Method, main equipment, standby equipment and system for realizing division of labor in stacking system
CN107222514B (en) * 2016-03-22 2020-01-14 阿里巴巴集团控股有限公司 Load method and system
CN110187659B (en) * 2019-05-28 2020-12-11 成都星时代宇航科技有限公司 State monitoring method and system and cube star

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005157949A (en) * 2003-11-28 2005-06-16 Toshiba Corp Information processor
CN101572610A (en) * 2008-04-28 2009-11-04 鸿富锦精密工业(深圳)有限公司 Network device and method for switching working modes thereof
CN101719013A (en) * 2009-11-19 2010-06-02 中兴通讯股份有限公司 Method and device for reducing power consumption of single board with multiple processing units
CN101873680A (en) * 2010-06-25 2010-10-27 华为技术有限公司 Dynamic energy consumption control method, system and related equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340313B (en) * 2008-08-12 2011-12-07 中兴通讯股份有限公司 Distributed system capable of implementing energy saving and consumption lowering, and control method for energy saving and consumption lowering
CN101902362A (en) * 2010-08-02 2010-12-01 中兴通讯股份有限公司 Equipment management method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005157949A (en) * 2003-11-28 2005-06-16 Toshiba Corp Information processor
CN101572610A (en) * 2008-04-28 2009-11-04 鸿富锦精密工业(深圳)有限公司 Network device and method for switching working modes thereof
CN101719013A (en) * 2009-11-19 2010-06-02 中兴通讯股份有限公司 Method and device for reducing power consumption of single board with multiple processing units
CN101873680A (en) * 2010-06-25 2010-10-27 华为技术有限公司 Dynamic energy consumption control method, system and related equipment

Also Published As

Publication number Publication date
CN102204165A (en) 2011-09-28
WO2011144116A3 (en) 2012-04-05

Similar Documents

Publication Publication Date Title
USRE48605E1 (en) Method and apparatus for managing power of WLAN module in portable terminal
EP2114103B1 (en) Method and apparatus for data transmission in wireless local access network and system therefor
WO2010139219A1 (en) Switching device and method based on multi-system network
WO2011144116A2 (en) Method and main device for controlling backup device, and backup device
US10154106B2 (en) Method for sending heartbeat message and mobile terminal
US8732497B2 (en) Data processing apparatus, method for controlling data processing apparatus, and storage medium storing program
EP2073563A1 (en) Method, apparatus and system for supporting handover of heterogeneous network paging terminal equipments
CN106412845B (en) Dormancy method and device of wireless fidelity Wi-Fi equipment
KR101796532B1 (en) System for saving energy through controlling of sleep mode and method for operating system
KR20100070465A (en) Arraratus and method for supporting selective suspend mode of usb network-device
KR101944556B1 (en) Controlling power saving mode in radio
CN101986679A (en) Mobile terminal, electricity-saving method and electricity-saving device
US8385907B2 (en) Communication system, and communication device and phone device for the same
WO2021148049A1 (en) State determination method and system, medium, and electronic device
JP2009194805A (en) Mobile communication terminal, mobile communication method and mobile communication control program
JP2017509272A (en) Fast sleep system and process
JP4987547B2 (en) Packet receiver
TWI572231B (en) Mobile device and method for managing network connection and storage medium
WO2015135219A1 (en) Data processing apparatus and method
WO2013013527A1 (en) Base station and energy-saving method thereof
US8526947B1 (en) Method and apparatus for enabling efficient battery use on a dual mode communication device
JP5343724B2 (en) Image forming system, power saving control method for image forming system, and power saving control program
JPWO2008084541A1 (en) Reception device and activation control method for reception device
WO2023098055A1 (en) Low-power-consumption mode starting method and apparatus, storage medium, and electronic apparatus
WO2011085699A1 (en) Method, apparatus and system for reducing power consumption of service system

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180000584.7

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11783033

Country of ref document: EP

Kind code of ref document: A2