WO2014019165A1 - 一种多机间进行业务备份的方法、装置及*** - Google Patents

一种多机间进行业务备份的方法、装置及*** Download PDF

Info

Publication number
WO2014019165A1
WO2014019165A1 PCT/CN2012/079498 CN2012079498W WO2014019165A1 WO 2014019165 A1 WO2014019165 A1 WO 2014019165A1 CN 2012079498 W CN2012079498 W CN 2012079498W WO 2014019165 A1 WO2014019165 A1 WO 2014019165A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
service
single board
service backup
configuration
Prior art date
Application number
PCT/CN2012/079498
Other languages
English (en)
French (fr)
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 PCT/CN2012/079498 priority Critical patent/WO2014019165A1/zh
Priority to CN201280001178.7A priority patent/CN102907037B/zh
Publication of WO2014019165A1 publication Critical patent/WO2014019165A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0846Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, device and system for performing service backup between multiple computers.
  • BRAS broadband remote access server
  • SR service router
  • SA broadband access servers
  • ARP Address Resolution Protocol
  • DHCP Dynamic Host Configuration Protocol
  • security binding table etc.
  • ROUTER-1 and ROUTER-2 form a primary backup protection relationship
  • the basic configuration including routing, interface configuration, and service
  • Symmetrical To implement service synchronization between the primary backup routers, you need to configure a service backup tunnel.
  • the primary backup devices need to be independently configured for backup.
  • the configurations of the two routers ROUTER-1 and ROUTER-2 need to be configured independently, or manually configured through the command line, or The configuration information is delivered through the NMS.
  • Both the command line configuration and the network management configuration require two devices to be configured independently.
  • the workload is twice that of a single device.
  • the two devices must be configured in the same manner. Otherwise, services are not conductive and it is difficult to check the fault location. Summary of the invention
  • the embodiment of the invention provides a method, a device and a system for performing service backup between multiple machines, which are used to automatically complete synchronization configuration on multiple devices.
  • the method for performing service backup between multiple devices includes: requesting to establish a service backup channel with a peer device, where the service backup channel is used for transmitting service backup information; The information is sent to the peer device, so that the peer device performs configuration according to the service backup information.
  • the requesting the service backup channel with the peer device includes: sending a request for establishing a service backup channel to the peer device, where the request for establishing a service backup channel is used for requesting
  • the peer device establishes a channel for transmitting the service backup information, where the request for establishing the service backup channel carries the identifier information and the notification information of the peer device, where the identifier information is used to identify the peer device as a service backup.
  • the destination device of the channel, the notification information is used to notify the peer device of the purpose of establishing a service backup channel; and receiving the acknowledgement information sent by the peer device, where the acknowledgement information is used to confirm the establishment of the service backup channel.
  • the service backup information is sent to the peer device by using the service backup channel, so that The configuration of the peer device according to the service backup information includes: sending the service information and the board configuration information to the peer device by using the service backup channel, so that the peer device is based on the service information and the single Board configuration information is configured.
  • the method further includes: sending, by using the service backup channel, service information and board configuration information to the The peer device, configured to configure the peer device according to the service information and the board configuration information, further includes: if the board service configuration is symmetric with the peer device, and the board interface configuration is symmetric, The service backup channel sends the service information, the board number, and the board interface information to the peer device, so that the peer device is configured according to the service information, the board number, and the board interface information, or If the configuration of the card service is the same as that of the peer device, but the interface configuration of the card is symmetrical, the service information, the card slot relationship information, and the board interface information are sent to the device through the service backup channel.
  • the peer device is configured to configure the peer device according to the service information, the preset slot relationship information, and the board interface information, where the preset board slot is configured.
  • the relationship information is the information about the relationship between the slot of the board and the slot of the board in the peer device; or, if the card service configuration of the peer device is asymmetric, and the interface configuration of the board is asymmetric, And sending, by the service backup channel, the service information, the preset board slot relationship information, and the preset board interface relationship information to the peer device, so that the peer device is configured according to the service information,
  • the preset board slot relationship information and the preset board interface relationship information are configured.
  • the preset board slot relationship information is a preset board slot and a single board slot in the peer device.
  • the information about the bit relationship, the information of the preset board interface relationship is the information about the relationship between the preset board interface and the board interface in the peer device.
  • the device for performing service backup between multiple devices provided by the second aspect of the present invention includes:
  • a requesting unit configured to request to establish a service backup channel with the peer device, where the service backup channel is used to transmit the service backup information, and the sending unit is configured to send the service backup information to the peer device by using the service backup channel And configuring, by the peer device, according to the service backup information.
  • the requesting unit further includes: a sending requesting unit, configured to send a request for establishing a service backup channel to the peer device, where the request for establishing a service backup channel is used for requesting
  • the peer device establishes a channel for transmitting the service backup information, where the request for establishing the service backup channel carries the identifier information and the destination information of the peer device, where the identifier information is used to identify the peer device as a service backup.
  • the destination device of the channel, the notification information is used to notify the peer device of the purpose of establishing a service backup channel, and the receiving information unit is configured to receive the acknowledgement information sent by the peer device, where the confirmation information is used to confirm the establishment.
  • the service backup channel configured to send a request for establishing a service backup channel to the peer device, where the request for establishing a service backup channel is used for requesting
  • the peer device establishes a channel for transmitting the service backup information, where the request for establishing the service backup channel carries the identifier information and the destination
  • the sending unit is configured to use the service backup channel to set service information and board configuration information.
  • the device is configured to send to the peer device, so that the peer device is configured according to the service information and the board configuration information.
  • the sending unit is further configured to be used, if the board service configuration is symmetric with the peer device, And the board interface is symmetrically configured, and the service information, the board number, and the board interface information are sent to the peer device through the service backup channel, so that the peer device is based on the service information and the board number. And board interface information is configured.
  • the sending unit is further configured to: if the board service configuration of the peer device is asymmetric, but the interface of the board is symmetric, the service information and the preset board slot are determined by the service backup channel.
  • the relationship information and the board interface information are sent to the peer device, so that the peer device is configured according to the service information, the preset slot relationship information, and the board interface information.
  • the board slot relationship information is a letter between the preset slot and the slot relationship of the board in the peer device.
  • the sending unit If the interface configuration of the board is asymmetrical, the service information, the preset slot relationship information, and the preset board interface relationship information are sent to the peer device through the service backup channel.
  • the peer device is configured according to the service information, the preset slot relationship information, and the preset board interface relationship information.
  • the preset board slot relationship information is a preset board slot.
  • the information about the relationship between the board and the board in the peer device is the information about the interface relationship between the board interface and the board in the peer device.
  • the device for performing service backup between multiple devices provided by the third aspect of the present invention includes:
  • the processor is configured to request to establish a service backup channel with the peer device, where the service backup channel is used to transmit service backup information, and the sender is configured to send service backup information by using the service backup channel.
  • the peer device is configured to be configured according to the service backup information.
  • the sender is further configured to send a request for establishing a service backup channel to the peer device, where the request for establishing a service backup channel is used to request to establish with the peer device.
  • a channel for transmitting a service backup information where the request for establishing a service backup channel carries the identification information and the destination information of the peer device, where the identifier information is used to identify the destination device of the peer device as a service backup channel.
  • the notification information is used to notify the peer device of the purpose of establishing a service backup channel, and the receiver is configured to receive the acknowledgement information sent by the peer device, where the acknowledgement information is used to confirm the establishment of the service backup channel.
  • the sending by using the service backup channel, the service information and the board configuration information.
  • the device is configured to send to the peer device, so that the peer device is configured according to the service information and the board configuration information.
  • the sending unit is further configured to be used to be symmetric with a board service configuration of the peer device.
  • the board interface is symmetrically configured, and the service information, the board number, and the board interface information are sent to the peer device through the service backup channel, so that the peer device is based on the service information and the board number.
  • board interface information is configured.
  • the sending unit is further configured to: if the board service configuration of the peer device is asymmetric, but the interface of the board is symmetric, the service information and the preset board slot are determined by the service backup channel.
  • the relationship information and the board interface information are sent to the peer device, so that the peer device is configured according to the service information, the preset slot relationship information, and the board interface information.
  • the board slot relationship information is a letter between the preset slot and the slot relationship of the board in the peer device.
  • the sending unit is further configured to: if the card service configuration of the peer device is asymmetrical, and the interface configuration of the board is asymmetric, the service information, the preset board slot is used by the service backup channel.
  • the bit relationship information and the preset board interface relationship information are sent to the peer device, so that the peer device according to the service information, the preset slot relationship information, and the preset board interface relationship information.
  • the information about the slot relationship between the board and the slot in the peer device is the default. Information about the relationship between the board interface and the board in the peer device.
  • a system for performing service backup between multiple devices includes: a first device and a second device;
  • the first device is configured to request to establish a service backup channel with the second device, where the service backup channel is used to transmit service backup information, and the service backup information is sent to the peer end by using the service backup channel.
  • the second device is configured to perform the configuration according to the service backup information, and the second device is configured to receive the service backup information sent by the first device by using the service backup channel, and according to the service Backup information is configured.
  • the first device is further configured to send a request for establishing a service backup channel to the second device, where the request for establishing a service backup channel is used to request the second device Establishing a channel for transmitting service backup information, where the request for establishing a service backup channel carries the identifier information and the notification information of the second device, where the identifier information is used to identify that the peer device is a destination device for establishing a service backup channel.
  • the notification information is used to notify the peer device of the purpose of establishing a service backup channel; receiving the confirmation information sent by the second device, where the confirmation information is used to confirm the establishment of the service backup channel; And receiving the request for establishing a service backup channel sent by the first device, and sending the acknowledgement information to the first device.
  • the embodiment of the present invention has the following advantages: the service backup information is transmitted to the peer device through the service backup channel established between the peer device, and the peer device is configured according to the service backup information. Therefore, the configuration information between the devices is synchronized, the configuration error rate on the peer device is low, the manual configuration workload is reduced, and the service matching performance caused by the configuration errors between the devices is avoided, and the peer device is implemented on the peer device. A backup of business data.
  • FIG. 1 is a second embodiment of a method for performing backup between multiple devices in the present invention
  • FIG. 2 is a second embodiment of a method for performing backup between multiple devices in the embodiment
  • FIG. FIG. 4 is a view showing an embodiment of a device for performing backup between multiple devices in the embodiment
  • FIG. 5 is another embodiment of a device for backing up between multiple devices in the embodiment
  • FIG. 5 is a multi-machine room in the embodiment
  • FIG. 6 is an embodiment of a system for performing backup between multiple machines in an embodiment
  • the embodiment of the invention provides a method, a device and a system for performing service backup between multiple devices, which are used in a multi-machine backup scenario to automatically complete synchronization service configuration between devices.
  • the following is a detailed description.
  • the service configuration between two devices is taken as an example, and the service configuration between two or more devices is also applicable.
  • the two devices need to be pre-configured accordingly, including:
  • the master device can negotiate the master backup between the two devices to implement the online link detection.
  • the device maintains data synchronization between the active and standby devices.
  • FIG. 1 an embodiment of a method for performing service backup between multiple devices in an embodiment of the present invention is provided. Includes:
  • One of the two devices requests to establish a service backup channel with the peer device.
  • the service backup channel is used to transfer service backup information between the two devices.
  • the device that requests the service backup channel with the peer device is configured as the master device, and the peer device serves as the backup device.
  • the technical personnel or the user performs various service configurations on the master device in advance. It is set on the two devices in advance, and can also be set in advance on the master device.
  • the master device sends the information about the master/slave relationship to the peer device.
  • the service backup information is sent to the peer device by using the service backup channel, so that the peer device performs service configuration according to the service backup information.
  • the master device After the service backup channel is established, the master device sends the service backup information to the peer device.
  • the peer device performs service configuration on the peer device according to the received service backup information, and saves the service backup information.
  • the main backup relationship between the master device and the peer device is switched. For example, if the master device fails and the service data is lost, the peer device can serve as the master device and send the backup service backup information to the peer device to perform services. data synchronization.
  • the primary device transmits the service backup information to the peer device through the service backup channel established between the master device and the peer device, so that the peer device performs configuration according to the service backup information, thereby configuring the device.
  • the information is synchronized, the configuration error rate is low on the peer device, the manual configuration workload is reduced, the service matching performance caused by the configuration errors between the devices is avoided, and the service data backup is implemented on the peer device.
  • another method for performing backup between multiple devices in the embodiment of the present invention is described in detail in another embodiment.
  • another embodiment of the method for performing backup between multiple devices in the embodiment of the present invention includes :
  • the master device sends a request for establishing a service backup channel to the peer device, and is configured to request a channel for establishing a service backup information with the peer device, where the request for establishing the service backup channel carries the identifier information and the destination information of the peer device. .
  • the identifier information is used to identify the peer device as a service backup channel.
  • the device is configured to enable the peer device to obtain the destination device, and the notification information is used to notify the peer device of the purpose of establishing a service backup channel, for example, The notification information can notify the peer device to establish a service backup channel for the purpose of transmitting service backup information and what is to be backed up.
  • the master device receives the confirmation information sent by the peer device, and the confirmation information confirms that the service backup channel is established between the two devices.
  • the service backup channel between the master device and the peer device is established.
  • the method for establishing a service backup channel may be that a plurality of service channels are pre-established between the master device and the peer device, and the master device notifies the peer device of the channel information that is ready to send the service backup information. After receiving the acknowledgment information of the peer device, the service backup information is sent directly, or other ways of establishing a service backup channel are provided, and details are not described herein.
  • the service information and the board configuration information are sent to the peer device through the service backup channel, so that the peer device is configured according to the service information and the board configuration information.
  • the board configuration information may include the board service configuration information and the board port information.
  • the service information, the board number, and the board interface information are sent to the service board through the service backup channel, if the board service of the master device is symmetric with the configuration of the card service of the peer device, and the interface of the board is symmetric.
  • the peer device configures the peer device based on the service information, board number, and board interface information.
  • the configurations of the boards are not identical.
  • the board is numbered 1, 2, and 3, but the board numbered 2 is responsible for the video service.
  • the board configuration of the master device and the backup device is asymmetric. Board information.
  • the service information and the preset board slot relationship information are The board interface information is sent to the peer device, so that the peer device can preset the service according to the service information.
  • the board slot relationship information and the board interface information are configured.
  • the preset board slot relationship information is the information about the relationship between the board slot and the board slot in the peer device.
  • the service information and the preset slot relationship information and pre-configuration are obtained through the service backup channel.
  • the interface information of the board is sent to the peer device, and the peer device is configured according to the service information, the slot information of the preset board, and the preset interface relationship information of the board.
  • the default board slot relationship information is the default board slot relationship between the card slot and the peer device.
  • the default card interface relationship information is preset in the board interface and the peer device. Information about the board interface relationship.
  • the configuration of the default board configuration can be set on the source device or on the destination device, and the default device on the source device is better, because all configurations on the source device are for the destination device. It is all transparent.
  • the service information and the board configuration information are sent to the peer device through the service backup channel, so that the peer device is configured according to the The service information and the board configuration information are configured, and the configuration information between the devices is synchronized.
  • the configuration error rate on the peer device is low, the manual configuration workload is reduced, and the service matching caused by the configuration errors between the devices is avoided.
  • the backup of the service data is implemented on the peer device.
  • the master device is configured to be asymmetrical when the board configuration of the master device is asymmetric with the configuration of the card device on the peer device. Both the board number and the board configuration of the peer device and the board interface configuration are asymmetrical, and the synchronization configuration information between the devices is problematic.
  • an embodiment of the apparatus for performing backup between multiple devices in the embodiment of the present invention includes:
  • the requesting unit 301 is configured to request to establish a service backup channel with the peer device, where the service backup channel is used to transmit service backup information;
  • the sending unit 302 is configured to send the service backup information to the peer device by using the service backup channel, so that the peer device performs configuration according to the service backup information.
  • the requesting unit 301 requests to establish a service backup channel with the peer device, where the service backup channel is used to transmit the service backup information, and the sending unit 302 sends the service backup information to the pair through the service backup channel.
  • the end device is configured to perform the configuration according to the service backup information, so that the configuration information between the devices is synchronized, the configuration error rate performed on the peer device is low, and the manual configuration workload is reduced. To avoid poor service matching caused by incorrect configuration of devices, and to back up service data on the peer device.
  • FIG. 4 Another embodiment of the apparatus for performing backup between multiple devices in the embodiment of the present invention includes:
  • the requesting unit 401 is configured to request to establish a service backup channel with the peer device, where the service backup channel is used to transmit service backup information;
  • the sending unit 402 is configured to send the service backup information to the peer device by using the service backup channel, so that the peer device performs configuration according to the service backup information.
  • the requesting unit 401 may further include: a sending requesting unit 4011, configured to send a request for establishing a service backup channel to the peer device, where the request for establishing a service backup channel is used for the request And establishing, by the peer device, a channel for transmitting service backup information, where the request for establishing a service backup channel carries the identifier information and the destination information of the peer device, where the identifier information is used to identify that the peer device is established.
  • the destination device of the service backup channel where the notification information is used to notify the peer device of the purpose of establishing a service backup channel;
  • the receiving information unit 4012 is configured to receive the acknowledgement information sent by the peer device, where the acknowledgement information is used to confirm that the service backup channel is established.
  • the sending unit 402 is configured to send, by using the service backup channel, the service information and the board configuration information to the peer device, so that the peer device performs the service information and the board configuration information. Configuration.
  • the sending unit 402 is specifically configured to: if the board service configuration of the peer device is symmetrical, and the interface of the board is symmetric, the service information, the board number, and the board are used in the service backup channel.
  • the interface information is sent to the peer device, so that the peer device is configured according to the service information, the board number, and the board interface information.
  • the sending unit 402 is configured to: if the card service configuration of the peer device is asymmetric, but the interface of the board is symmetric, the service information and the preset slot of the board are closed.
  • the information and the board interface information are sent to the peer device, so that the peer device is configured according to the service information, the preset slot relationship information, and the board interface information, where the preset
  • the board slot relationship information is information about the relationship between the slot number of the board and the slot position of the board in the peer device.
  • the sending unit 402 is configured to: if the card service configuration of the peer device is asymmetrical, and the interface of the board is asymmetric, the service information and the preset slot relationship of the board are determined by using the service backup channel.
  • the information and the preset board interface relationship information are sent to the peer device, so that the peer device is configured according to the service information, the preset slot relationship information, and the preset board interface relationship information.
  • the preset board slot relationship information is a preset card slot relationship information of the card slot in the peer device
  • the preset board interface relationship information is a preset Information about the relationship between the board interface and the board in the peer device.
  • the requesting unit 401 requests to establish a service backup channel with the peer device, where the service backup channel is used to transmit service backup information.
  • the sending request unit 4011 sends a request for establishing a service backup channel to the peer device.
  • the request for establishing a service backup channel is used to request a channel for establishing a transmission service backup information with the peer device, where the request for establishing the service backup channel carries the identification information and the destination information of the peer device, and the identifier information is used to identify the
  • the peer device is a destination device that establishes a service backup channel, and the notification information is used to notify the peer device of the purpose of establishing a service backup channel, and the receiving information unit 4012 receives the acknowledgement information sent by the peer device, and confirms that the service backup is established.
  • the channel, the sending unit 402 sends the service backup information to the peer device through the established service backup channel, so that the peer device performs configuration according to the service backup information.
  • the sending unit 402 uses the service backup channel to set the service information. And the board configuration information is sent to the peer device.
  • the peer device is configured to be configured according to the service information and the board configuration information. Further, if the board service configuration of the peer device is symmetric, and the board interface configuration is symmetric, the sending unit 402 passes the service.
  • the backup channel sends the service information, the board number, and the board interface information to the peer device, so that the peer device is configured correspondingly. If the card service configuration is asymmetric with the peer device, the board interface is configured. If the configuration is symmetrical, the sending unit 402 sends the service information, the preset slot relationship information, and the board interface information to the peer device through the service backup channel, so that the peer device performs corresponding configuration.
  • the board configuration of the peer device is asymmetric, and the interface configuration of the board is asymmetric.
  • the sending unit 402 sends the service information, the preset slot relationship information, and the preset board interface relationship information to the peer device through the service backup channel, so that the peer device performs corresponding configuration.
  • the preset board slot relationship information is the information about the relationship between the board slot and the card slot in the peer device.
  • the preset board interface relationship information is a preset board interface.
  • the information about the interface relationship between the boards in the peer device is synchronized.
  • the configuration information between the devices is synchronized.
  • the configuration error rate on the peer device is low, the manual configuration workload is reduced, and the configuration errors between devices are avoided.
  • the service matching is poor.
  • the backup of the service data is implemented on the peer device.
  • another embodiment of the apparatus for performing backup between multiple devices in the embodiment of the present invention includes:
  • the processor 501 is configured to request to establish a service backup channel with the peer device, where the service backup channel is used to transmit service backup information.
  • the transmitter 502 is configured to send the service backup information to the peer device by using the service backup channel, so that the peer device performs configuration according to the service backup information.
  • the sender 502 is further configured to send a request for establishing a service backup channel to the peer device, where the request for establishing a service backup channel is used to request a channel for establishing a transmission service backup information with the peer device.
  • the request for establishing a service backup channel carries the identification information and the destination information of the peer device, where the identifier information is used to identify the destination device of the peer device as a service backup channel, and the notification information is used for Notifying the peer device of the purpose of establishing a service backup channel; the receiver 503, configured to receive the acknowledgement information sent by the peer device, where the acknowledgement information is used to confirm that the service backup channel is established.
  • the transmitter 502 is configured to send the service information and the board configuration information to the peer device by using the service backup channel, so that the peer device is configured according to the service information and the board. Configuration information is configured.
  • the transmitter 502 is further configured to: if the board service configuration of the peer device is symmetrical, and the interface of the board is symmetric, the service information, the board number, and the board interface are The information is sent to the peer device, so that the peer device is configured according to the service information, the board number, and the board interface information.
  • the transmitter 502 is further configured to be used if the card service configuration of the peer device is incorrect.
  • the device is configured to be symmetrical, and the service information, the preset slot relationship information, and the board interface information are sent to the peer device through the service backup channel, so that the peer device is configured according to the peer device.
  • the service information, the preset board slot relationship information, and the board interface information are configured, and the preset board slot relationship information is a preset board slot and the board in the peer device. Information about the slot relationship.
  • the transmitter 502 is further configured to: if the card service configuration of the peer device is asymmetric, and the interface of the board is asymmetric, the service information and the preset board are used by the service backup channel.
  • the slot relationship information and the preset board interface relationship information are sent to the peer device, so that the peer device is configured according to the service information, the preset board slot relationship information, and the preset board interface relationship.
  • the information is configured.
  • the preset slot relationship information is the information about the relationship between the slot of the board and the slot of the board in the peer device. Information about the relationship between the board interface and the board in the peer device.
  • an embodiment of a system for backing up between multiple computers in an embodiment of the present invention includes:
  • the first device 601 and the second device 602 are The first device 601 and the second device 602;
  • the first device 601 is configured to request to establish a service backup channel with the second device, where the service backup channel is used to transmit service backup information, and the service backup information is sent to the second through the service backup channel.
  • the second device 602 is configured to receive the service backup information sent by the first device by using the service backup channel, and according to the service, the second device 602 is configured to receive the service backup information sent by the first device by using the service backup channel. Backup information is configured.
  • the first device 601 is further configured to send, to the second device, a request for establishing a service backup channel, where the request for establishing a service backup channel is used to request to establish a transmission service backup information with the second device.
  • the channel, the request for establishing a service backup channel carries the identifier information and the notification information of the second device, where the identifier information is used to identify the destination device of the peer device as a service backup channel, and the notification information is used by the And the acknowledgment information sent by the second device is received, and the acknowledgment information is used to confirm that the service backup channel is established.
  • the second device 602 is further configured to receive a request for establishing a service backup channel sent by the first device, and send the acknowledgement information to the first device.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by a program to instruct related hardware, and the program may be stored in a computer readable storage medium, the above mentioned storage medium. It can be a read-only memory, a disk or a disc, and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例公开了一种多机间进行备份的方法、装置及***,用于在多机备份场景下,主备份设备间自动完成同步配置,并进行业务数据备份。包括:请求与对端设备建立业务备份通道,所述业务备份通道用于传输业务备份信息,通过所述业务备份通道,将业务备份信息发送给所述对端设备,使得所述对端设备根据所述业务备份信息进行配置。

Description

一种多机间进行业务备份的方法、 装置及*** 技术领域
本发明涉及通信技术领域, 尤其涉及一种多机间进行业务备份的方法、装 置及***。
背景技术
在当前宽带远程接入月艮务器 (BRAS , Broadband Remote Access Server) 或者业务路由器 (SR, Service Router) 场景下, 业务特性的可靠性期望做到 跨设备的保护, 包括宽带接入服务器 (BAS, Broadband Access Server) 用户、 地址解析协议( ARP, Address Resolution Protocol),动态主机设置协议(DHCP, Dynamic Host Configuration Protocol ) 安全绑定表等。 如果两台路由器 ROUTER- 1 和 ROUTER-2之间形成主备分保护关系, 要求 ROUTER-1 和 ROUTER-2上的基础配置(包括路由、 接口配置、 业务)基本一致; 确立保护 组的配置是对称的; 为实现在主备份路由器间同步业务信息, 需要配置业务备 份隧道。
在当前多机备份方案下, 主备份设备间需要独立完成各自配置的备份, 上 面实例中两台路由器 ROUTER-1和 ROUTER-2的配置都需要独立的完成配 置, 或者通过命令行手工配置, 或者通过网管下发配置信息。
无论是通过命令行配置还是网管配置, 都需要独立的配置两台设备, 工作 量是单台设备的两倍, 另外需要两台设备配置完全一致, 否则导致业务传导不 通, 且难以排查故障位置。 发明内容
本发明实施例提供了一种多机间进行业务备份的方法、装置及***,用以 在多个设备上自动完成同步配置。
本发明第一方面提供的多机间进行业务备份的方法,包括:请求与对端设 备建立业务备份通道,所述业务备份通道用于传输业务备份信息; 通过所述业 务备份通道,将业务备份信息发送给所述对端设备, 使得所述对端设备根据所 述业务备份信息进行配置。 在第一种可能实现的方式中, 所述请求与对端设备建立业务备份通道包 括: 向所述对端设备发送建立业务备份通道的请求,所述建立业务备份通道的 请求用于请求与所述对端设备建立传输业务备份信息的通道,所述建立业务备 份通道的请求中携带所述对端设备的标识信息及通知信息,所述标识信息用于 标识所述对端设备为建立业务备份通道的目的设备,所述通知信息用于通知所 述对端设备建立业务备份通道的目的; 接收所述对端设备发送的确认信息, 所 述确认信息用于确认建立所述业务备份通道。
结合第一方面或第一方面的第一种可能的实现方式,在第二种可能的实现 方式中, 所述通过所述业务备份通道, 将业务备份信息发送给所述对端设备, 使得所述对端设备根据所述业务备份信息进行配置包括:通过所述业务备份通 道,将业务信息及单板配置信息发送给所述对端设备, 使得所述对端设备根据 所述业务信息及单板配置信息进行配置。
结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中, 所 述方法还包括:所述通过所述业务备份通道,将业务信息及单板配置信息发送 给所述对端设备,使得所述对端设备根据所述业务信息及单板配置信息进行配 置进一步包括:若与所述对端设备的单板业务配置对称,且单板接口配置对称, 则通过所述业务备份通道,将业务信息、单板号及单板接口信息发送给所述对 端设备, 使得所述对端设备根据所述业务信息、单板号及单板接口信息进行配 置, 或, 若与所述对端设备的单板业务配置不对称, 但单板接口配置对称, 则 通过所述业务备份通道,将业务信息、预设的单板槽位关系信息及单板接口信 息发送给所述对端设备, 使得所述对端设备根据所述业务信息、预设的单板槽 位关系信息及单板接口信息进行配置,所述预设的单板槽位关系信息为预设的 单板槽位与所述对端设备中单板槽位关系的信息; 或, 若与所述对端设备的单 板业务配置不对称, 且单板接口配置不对称, 则通过所述业务备份通道, 将业 务信息、预设的单板槽位关系信息及预设的单板接口关系信息发送给所述对端 设备, 使得所述对端设备根据所述业务信息、预设的单板槽位关系信息及预设 的单板接口关系信息进行配置,所述预设的单板槽位关系信息为预设的单板槽 位与所述对端设备中单板槽位关系的信息,所述预设的单板接口关系信息为预 设的单板接口与所述对端设备中单板接口关系的信息。 本发明第二方面提供的多机间进行业务备份的装置, 包括:
请求单元,用于请求与对端设备建立业务备份通道,所述业务备份通道用 于传输业务备份信息; 发送单元, 用于通过所述业务备份通道, 将业务备份信 息发送给所述对端设备, 使得所述对端设备根据所述业务备份信息进行配置。
在第一种可能实现的方式中, 所述请求单元进一步包括: 发送请求单元, 用于向所述对端设备发送建立业务备份通道的请求,所述建立业务备份通道的 请求用于请求与所述对端设备建立传输业务备份信息的通道,所述建立业务备 份通道的请求中携带所述对端设备的标识信息及目的信息,所述标识信息用于 标识所述对端设备为建立业务备份通道的目的设备,所述通知信息用于通知所 述对端设备建立业务备份通道的目的; 接收信息单元,用于接收所述对端设备 发送的确认信息, 所述确认信息用于确认建立所述业务备份通道。
结合第二方面或第二方面的第一种可能的实现方式,在第二种可能的实现 方式中, 所述发送单元, 具体用于通过所述业务备份通道, 将业务信息及单板 配置信息发送给所述对端设备,使得所述对端设备根据所述业务信息及单板配 置信息进行配置。
结合第二方面或第二方面的第二种可能的实现方式,在第三种可能的实现 方式中,所述发送单元,进一步具体用于若与所述对端设备的单板业务配置对 称, 且单板接口配置对称, 则通过所述业务备份通道, 将业务信息、 单板号及 单板接口信息发送给所述对端设备, 使得所述对端设备根据所述业务信息、单 板号及单板接口信息进行配置;
或,
所述发送单元, 进一步具体用于若与所述对端设备的单板业务配置不对 称, 但单板接口配置对称, 则通过所述业务备份通道, 将业务信息、 预设的单 板槽位关系信息及单板接口信息发送给所述对端设备,使得所述对端设备根据 所述业务信息、预设的单板槽位关系信息及单板接口信息进行配置,所述预设 的单板槽位关系信息为预设的单板槽位与所述对端设备中单板槽位关系的信
所述发送单元, 进 称, 且单板接口配置不对称, 则通过所述业务备份通道, 将业务信息、 预设的 单板槽位关系信息及预设的单板接口关系信息发送给所述对端设备,使得所述 对端设备根据所述业务信息、预设的单板槽位关系信息及预设的单板接口关系 信息进行配置,所述预设的单板槽位关系信息为预设的单板槽位与所述对端设 备中单板槽位关系的信息,所述预设的单板接口关系信息为预设的单板接口与 所述对端设备中单板接口关系的信息。
本发明第三方面提供的多机间进行业务备份的装置, 包括:
处理器, 发送器及接收器;
其中, 所述处理器, 用于请求与对端设备建立业务备份通道, 所述业务备 份通道用于传输业务备份信息; 所述发送器, 用于通过所述业务备份通道, 将 业务备份信息发送给所述对端设备,使得所述对端设备根据所述业务备份信息 进行配置。
在第一中可能实现的方式中,所述发送器,还用于向所述对端设备发送建 立业务备份通道的请求,所述建立业务备份通道的请求用于请求与所述对端设 备建立传输业务备份信息的通道,所述建立业务备份通道的请求中携带所述对 端设备的标识信息及目的信息,所述标识信息用于标识所述对端设备为建立业 务备份通道的目的设备,所述通知信息用于通知所述对端设备建立业务备份通 道的目的; 所述接收器, 用于接收所述对端设备发送的确认信息, 所述确认信 息用于确认建立所述业务备份通道。
结合第三方面或第三方面的第一种可能的实现方式,在第二种可能的实现 方式中, 所述发送器, 具体用于通过所述业务备份通道, 将业务信息及单板配 置信息发送给所述对端设备,使得所述对端设备根据所述业务信息及单板配置 信息进行配置。
结合第三方面或第三方面的第二种可能的实现方式,在第三种可能的实现 方式中,所述发送单元,进一步具体用于若与所述对端设备的单板业务配置对 称, 且单板接口配置对称, 则通过所述业务备份通道, 将业务信息、 单板号及 单板接口信息发送给所述对端设备, 使得所述对端设备根据所述业务信息、单 板号及单板接口信息进行配置;
或, 所述发送单元, 进一步具体用于若与所述对端设备的单板业务配置不对 称, 但单板接口配置对称, 则通过所述业务备份通道, 将业务信息、 预设的单 板槽位关系信息及单板接口信息发送给所述对端设备,使得所述对端设备根据 所述业务信息、预设的单板槽位关系信息及单板接口信息进行配置,所述预设 的单板槽位关系信息为预设的单板槽位与所述对端设备中单板槽位关系的信
所述发送单元, 进一步具体用于若与所述对端设备的单板业务配置不对 称, 且单板接口配置不对称, 则通过所述业务备份通道, 将业务信息、 预设的 单板槽位关系信息及预设的单板接口关系信息发送给所述对端设备,使得所述 对端设备根据所述业务信息、预设的单板槽位关系信息及预设的单板接口关系 信息进行配置,所述预设的单板槽位关系信息为预设的单板槽位与所述对端设 备中单板槽位关系的信息,所述预设的单板接口关系信息为预设的单板接口与 所述对端设备中单板接口关系的信息。
本发明第四方面提供的多机间进行业务备份的***,包括:第一设备及第 二设备;
所述第一设备,用于请求与所述第二设备建立业务备份通道,所述业务备 份通道用于传输业务备份信息,通过所述业务备份通道,将业务备份信息发送 给所述对端的第二设备, 使得所述第二设备根据所述业务备份信息进行配置; 所述第二设备,用于通过所述业务备份通道, 接收所述第一设备发送的业务备 份信息, 并根据所述业务备份信息进行配置。
在第一种可能实现的方式中,所述第一设备,还用于向所述第二设备发送 建立业务备份通道的请求,所述建立业务备份通道的请求用于请求与所述第二 设备建立传输业务备份信息的通道,所述建立业务备份通道的请求中携带所述 第二设备的标识信息及通知信息,所述标识信息用于标识所述对端设备为建立 业务备份通道的目的设备,所述通知信息用于通知所述对端设备建立业务备份 通道的目的; 接收所述第二设备发送的确认信息,所述确认信息用于确认建立 所述业务备份通道; 所述第二设备,还用于接收所述第一设备发送的建立业务 备份通道的请求, 并向所述第一设备发送所述确认信息。 从以上技术方案可以看出, 本发明实施例具有以下优点:通过与对端设备 间建立的业务备份通道, 向对端设备传输业务备份信息, 使得对端设备根据该 业务备份信息进行配置, 由此, 在设备之间的配置信息实现了同步, 在对端设 备上进行的配置错误率低,减少人工配置工作量,避免设备间配置错误导致的 业务匹配性差, 同时, 在对端设备上实现了业务数据的备份。 附图说明
图 1为本发明^ ;施例中的多机间进行备份的方法的一个实施例示 图 2为本发明 ;施例中的多机间进行备份的方法的另一个实施例 图 3为本发明 ;施例中的多机间进行备份的装置的一个实施例示 图 4为本发明 ;施例中的多机间进行备份的装置的另一个实施例 图 5为本发明 ;施例中的多机间进行备份的装置的又一个实施例 图 6为本发明 ;施例中的多机间进行备份的***的一个实施例示 具体实施方式
本发明实施例提供了一种多机间进行业务备份的方法、装置及***,用于 多机备份场景下,在各设备之间自动完成同步业务配置。下面分别进行详细的 描述。 为便于理解, 下面各实施例中以在两台设备间进行业务配置为例, 在两 台以上的多台设备间进行业务配置同样适用。
需要说明的是, 要在两台设备间实现本实施例中的同步业务配置, 首先需 要对两台设备进行相应的预配置, 主要包括:
一、 相同的业务功能;
需要两台设备的业务功能保持一致。
二、 与上下游设备建立对等拓扑 (Topology) 结构的接口以及链路配置; 两台设备各自与上下游设备建立对等拓扑结构的接口及链路配置。
三、 预先配置握手关系、 主备关系选择;
使得两台设备间能够协商出主备份, 实现在线检测链路主备关系, 以便于 由于设备故障等原因进行主备关系倒换, 在主备设备之间保持数据同步。
请参阅图 1, 本发明实施例中的多机间进行业务备份方法的一个实施例包 括:
101、 请求与对端设备建立业务备份通道, 该业务备份通道用于传输业务 备份信息;
两台设备中的一台设备请求与对端设备建立业务备份通道,该业务备份通 道用于在两台设备之间传输业务备份信息。
本实施例中,将请求与对端设备建立业务备份通道的设备作为主设备, 对 端设备作为备份设备, 技术人员或用户预先在主设备上进行各项业务配置, 设 备的主备关系可以分别预先在两台设备之上设置, 也可以预先设置在主设备 上, 由主设备将主备关系的信息发送给对端设备。
102、 通过该业务备份通道, 将业务备份信息发送给该对端设备, 使得该 对端设备根据该业务备份信息进行业务配置。
通过建立的业务备份通道, 主设备将业务备份信息发送给对端设备,对端 设备根据接收到的该业务备份信息, 在该对端设备上进行业务配置, 并保存该 业务备份信息, 若后续发生主设备和对端设备之间的主备份关系倒换, 例如, 主设备发生故障而丢失业务数据, 则该对端设备可以作为主设备,将备份的业 务备份信息发送给对端设备, 进行业务数据同步。
本发明实施例中, 主设备通过与对端设备间建立的业务备份通道, 向对端 设备传输业务备份信息, 使得对端设备根据该业务备份信息进行配置, 由此, 在设备之间的配置信息实现了同步, 在对端设备上进行的配置错误率低,减少 人工配置工作量, 避免设备间配置错误导致的业务匹配性差, 同时, 在对端设 备上实现了业务数据的备份。
为便于理解,下面以另一实施例详细描述本发明实施例中的多机间进行备 份的方法, 请参阅图 2, 本发明实施例中的多机间进行备份的方法的另一实施 例包括:
201、 向对端设备发送建立业务备份通道的请求;
主设备向对端设备发送建立业务备份通道的请求,用于请求与该对端设备 建立传输业务备份信息的通道,在该建立业务备份通道的请求中携带该对端设 备的标识信息及目的信息。
进一步地, 其中,标识信息用于标识该对端设备为建立业务备份通道的目 的设备, 使得该对端设备获取到该标识信息, 便可获知其自身为接收该建立业 务备份通道的请求的目的设备,通知信息用于通知该对端设备建立业务备份通 道的目的,例如,通知信息可以通知对端设备建立业务备份通道的目的是传输 业务备份信息, 以及所要备份的。
202、 接收该对端设备发送的确认信息, 所述确认信息用于确认建立所述 业务备份通道;
主设备接收该对端设备发送的确认信息,该确认信息确认在二者间建立业 务备份通道, 至此, 主设备与对端设备之间的业务备份通道建立完毕。
需要说明的是,建立业务备份通道的方式还可以是在主设备和对端设备之 间预先建立有多个业务通道,由主设备将准备发送业务备份信息的通道信息通 知对端设备, 不需接收对端设备的确认信息, 便直接发送业务备份信息, 也可 以是其他建立业务备份通道的方式, 此处不再赘述。
203、 通过该业务备份通道, 将业务信息及单板配置信息发送给该对端设 备, 使得所述对端设备根据该业务信息及单板配置信息进行配置。
其中, 单板配置信息可以包括单板业务配置信息和单板端口信息。
需要说明的是,在不同设备中可存在多片单板, 则配置完全一致的单板为 单板配置对称, 如单板号、 单板业务的配置完全一致。
进一步地, 若主设备的单板业务与对端设备的单板业务配置对称, 且单板 接口配置对称, 则通过该业务备份通道, 将业务信息、 单板号及单板接口信息 发送给该对端设备, 使得该对端设备根据该业务信息、单板号及单板接口信息 进行配置。
但是, 各单板的配置未必完全一致, 例如, 主设备中存在 3片单板, 编号 分别为 1、 2、 3, 其中编号为 1的单板负责处理视频业务, 备份设备中也存在 3片单板, 编号也分别为 1、 2、 3, 但是其中编号为 2的单板负责视频业务, 那么, 实际上主设备和备份设备的单板配置便不对称, 需要预设配置不对称的 单板信息。
具体地, 若主设备的单板号与对端设备的单板业务配置不对称,但单板接 口配置对称, 则通过该业务备份通道, 将业务信息、预设的单板槽位关系信息 及单板接口信息发送给所述对端设备, 使得对端设备根据业务信息、预设的单 板槽位关系信息及单板接口信息进行配置, 其中, 预设的单板槽位关系信息为 预设的单板槽位与对端设备中单板槽位关系的信息;
若主设备的单板号与对端设备的单板业务配置不对称,且单板接口配置不 对称, 则通过所述业务备份通道, 将业务信息、 预设的单板槽位关系信息及预 设的单板接口关系信息发送给所述对端设备,使得所述对端设备根据所述业务 信息、 预设的单板槽位关系信息及预设的单板接口关系信息进行配置, 其中, 预设的单板槽位关系信息为预设的单板槽位与对端设备中单板槽位关系的信 息,预设的单板接口关系信息为预设的单板接口与对端设备中单板接口关系的 信息。
当然, 以预设的单板配置对应关系可以在源端设备设置, 也可以在目的端 设备设置, 而预设在源端设备效果更优, 因为在源端设备上的所有配置对于目 的端设备而言都是透明的。
本发明实施例中, 当主设备的单板配置与对端设备的单板配置对称时, 将 业务信息及单板配置信息通过业务备份通道发送给该对端设备,使得所述对端 设备根据该业务信息及单板配置信息进行配置,在设备之间的配置信息实现了 同步, 在对端设备上进行的配置错误率低, 减少人工配置工作量, 避免设备间 配置错误导致的业务匹配性差, 同时, 在对端设备上实现了业务数据的备份。 并且解决了当主设备的单板业务配置与对端设备的单板业务配置不对称时,如 主设备的单板号与对端设备的单板业务配置不对称但单板接口配置对称,主设 备的单板号与对端设备的单板业务配置和单板接口配置均不对称,在设备之间 的同步配置信息的问题。
下面介绍本发明实施例中的多机间进行备份的装置, 请参阅图 3, 本发明 实施例中的多机间进行备份的装置的一个实施例包括:
请求单元 301, 用于请求与对端设备建立业务备份通道, 所述业务备份通 道用于传输业务备份信息;
发送单元 302, 用于通过所述业务备份通道, 将业务备份信息发送给所述 对端设备, 使得所述对端设备根据所述业务备份信息进行配置。
本发明实施例中各单元实现各自功能的具体过程,与前述图 1所示实施例 相同, 此处不再赘述。 本发明实施例中,请求单元 301请求与对端设备建立业务备份通道,所述 业务备份通道用于传输业务备份信息, 发送单元 302通过所述业务备份通道, 将业务备份信息发送给所述对端设备,使得所述对端设备根据所述业务备份信 息进行配置, 由此, 在设备之间的配置信息实现了同步, 在对端设备上进行的 配置错误率低,减少人工配置工作量, 避免设备间配置错误导致的业务匹配性 差, 同时, 在对端设备上实现了业务数据的备份。
下面详细介绍本发明实施例中的多机间进行备份的装置, 请参阅图 4, 本 发明实施例中的多机间进行备份的装置的另一个实施例包括:
请求单元 401, 用于请求与对端设备建立业务备份通道, 所述业务备份通 道用于传输业务备份信息;
发送单元 402, 用于通过所述业务备份通道, 将业务备份信息发送给所述 对端设备, 使得所述对端设备根据所述业务备份信息进行配置。
需要说明的是, 本发明实施例中, 请求单元 401可以进一步包括: 发送请求单元 4011, 用于向所述对端设备发送建立业务备份通道的请求, 所述建立业务备份通道的请求用于请求与所述对端设备建立传输业务备份信 息的通道,所述建立业务备份通道的请求中携带所述对端设备的标识信息及目 的信息, 所述标识信息用于标识所述对端设备为建立业务备份通道的目的设 备, 所述通知信息用于通知所述对端设备建立业务备份通道的目的;
接收信息单元 4012, 用于接收所述对端设备发送的确认信息, 所述确认 信息用于确认建立所述业务备份通道。
进一步地, 发送单元 402, 具体用于通过所述业务备份通道, 将业务信息 及单板配置信息发送给所述对端设备,使得所述对端设备根据所述业务信息及 单板配置信息进行配置。
更进一步地, 发送单元 402, 具体用于若与所述对端设备的单板业务配置 对称, 且单板接口配置对称, 则通过所述业务备份通道, 将业务信息、 单板号 及单板接口信息发送给所述对端设备, 使得所述对端设备根据所述业务信息、 单板号及单板接口信息进行配置;
发送单元 402, 具体用于若与所述对端设备的单板业务配置不对称, 但单 板接口配置对称, 则通过所述业务备份通道, 将业务信息、预设的单板槽位关 系信息及单板接口信息发送给所述对端设备,使得所述对端设备根据所述业务 信息、预设的单板槽位关系信息及单板接口信息进行配置,所述预设的单板槽 位关系信息为预设的单板槽位与所述对端设备中单板槽位关系的信息;
发送单元 402, 具体用于若与所述对端设备的单板业务配置不对称, 且单 板接口配置不对称, 则通过所述业务备份通道, 将业务信息、 预设的单板槽位 关系信息及预设的单板接口关系信息发送给所述对端设备,使得所述对端设备 根据所述业务信息、预设的单板槽位关系信息及预设的单板接口关系信息进行 配置,所述预设的单板槽位关系信息为预设的单板槽位与所述对端设备中单板 槽位关系的信息,所述预设的单板接口关系信息为预设的单板接口与所述对端 设备中单板接口关系的信息。
本发明实施例中各单元实现各自功能的具体过程,与前述图 2所示实施例 相同, 此处不再赘述。
本发明实施例中, 请求单元 401请求与对端设备建立业务备份通道, 该业 务备份通道用于传输业务备份信息, 具体地, 发送请求单元 4011向该对端设 备发送建立业务备份通道的请求,该建立业务备份通道的请求用于请求与该对 端设备建立传输业务备份信息的通道,该建立业务备份通道的请求中携带该对 端设备的标识信息及目的信息,该标识信息用于标识该对端设备为建立业务备 份通道的目的设备,该通知信息用于通知所述对端设备建立业务备份通道的目 的, 接收信息单元 4012接收所述对端设备发送的确认信息, 确认建立该业务 备份通道, 发送单元 402通过建立的业务备份通道, 将业务备份信息发送给对 端设备, 使得该对端设备根据该业务备份信息进行配置, 具体地, 发送单元 402通过该业务备份通道, 将业务信息及单板配置信息发送给该对端设备, 使 得该对端设备根据所述业务信息及单板配置信息进行配置, 更进一步地, 若与 所述对端设备的单板业务配置对称, 且单板接口配置对称, 发送单元 402则通 过该业务备份通道, 将业务信息、 单板号及单板接口信息发送给该对端设备, 使得该对端设备进行对应配置,若与所述对端设备的单板业务配置不对称, 但 单板接口配置对称, 则发送单元 402通过该业务备份通道, 将业务信息、 预设 的单板槽位关系信息及单板接口信息发送给该对端设备,使得该对端设备进行 对应配置, 若与该对端设备的单板业务配置不对称, 且单板接口配置不对称, 发送单元 402则通过该业务备份通道, 将业务信息、预设的单板槽位关系信息 及预设的单板接口关系信息发送给所述对端设备,使得该对端设备进行对应配 置,所述预设的单板槽位关系信息为预设的单板槽位与所述对端设备中单板槽 位关系的信息,所述预设的单板接口关系信息为预设的单板接口与所述对端设 备中单板接口关系的信息,在设备之间的配置信息实现了同步,在对端设备上 进行的配置错误率低,减少人工配置工作量, 避免设备间配置错误导致的业务 匹配性差, 同时, 在对端设备上实现了业务数据的备份。
请参阅图 5, 本发明实施例中的多机间进行备份的装置的又一个实施例包 括:
处理器 501, 发送器 502及接收器 503;
所述处理器 501, 用于请求与对端设备建立业务备份通道, 所述业务备份 通道用于传输业务备份信息;
所述发送器 502, 用于通过所述业务备份通道, 将业务备份信息发送给所 述对端设备, 使得所述对端设备根据所述业务备份信息进行配置。
进一步地, 所述发送器 502, 还用于向所述对端设备发送建立业务备份通 道的请求,所述建立业务备份通道的请求用于请求与所述对端设备建立传输业 务备份信息的通道,所述建立业务备份通道的请求中携带所述对端设备的标识 信息及目的信息,所述标识信息用于标识所述对端设备为建立业务备份通道的 目的设备, 所述通知信息用于通知所述对端设备建立业务备份通道的目的; 所述接收器 503, 用于接收所述对端设备发送的确认信息, 所述确认信息 用于确认建立所述业务备份通道。
更进一步地, 所述发送器 502, 具体用于通过所述业务备份通道, 将业务 信息及单板配置信息发送给所述对端设备,使得所述对端设备根据所述业务信 息及单板配置信息进行配置。
所述发送器 502, 进一步具体用于若与所述对端设备的单板业务配置对 称, 且单板接口配置对称, 则通过所述业务备份通道, 将业务信息、 单板号及 单板接口信息发送给所述对端设备, 使得所述对端设备根据所述业务信息、单 板号及单板接口信息进行配置。
所述发送器 502, 进一步具体用于若与所述对端设备的单板业务配置不对 称, 但单板接口配置对称, 则通过所述业务备份通道, 将业务信息、 预设的单 板槽位关系信息及单板接口信息发送给所述对端设备,使得所述对端设备根据 所述业务信息、预设的单板槽位关系信息及单板接口信息进行配置,所述预设 的单板槽位关系信息为预设的单板槽位与所述对端设备中单板槽位关系的信 息。
所述发送器 502, 进一步具体用于若与所述对端设备的单板业务配置不对 称, 且单板接口配置不对称, 则通过所述业务备份通道, 将业务信息、 预设的 单板槽位关系信息及预设的单板接口关系信息发送给所述对端设备,使得所述 对端设备根据所述业务信息、预设的单板槽位关系信息及预设的单板接口关系 信息进行配置,所述预设的单板槽位关系信息为预设的单板槽位与所述对端设 备中单板槽位关系的信息,所述预设的单板接口关系信息为预设的单板接口与 所述对端设备中单板接口关系的信息。
请参阅图 6, 本发明实施例中的多机间进行备份的***的一个实施例包 括:
第一设备 601及第二设备 602;
所述第一设备 601, 用于请求与所述第二设备建立业务备份通道, 所述业 务备份通道用于传输业务备份信息, 通过所述业务备份通道,将业务备份信息 发送给所述第二设备, 使得所述第二设备根据所述业务备份信息进行配置; 所述第二设备 602, 用于通过所述业务备份通道, 接收所述第一设备发送 的业务备份信息, 并根据所述业务备份信息进行配置。
进一步地, 所述第一设备 601, 还用于向所述第二设备发送建立业务备份 通道的请求,所述建立业务备份通道的请求用于请求与所述第二设备建立传输 业务备份信息的通道,所述建立业务备份通道的请求中携带所述第二设备的标 识信息及通知信息,所述标识信息用于标识所述对端设备为建立业务备份通道 的目的设备, 所述通知信息用于通知所述对端设备建立业务备份通道的目的, 并接收所述第二设备发送的确认信息,所述确认信息用于确认建立所述业务备 份通道。
所述第二设备 602, 还用于接收所述第一设备发送的建立业务备份通道的 请求, 并向所述第一设备发送所述确认信息。 本领域技术人员可以理解实现上述实施例方法中的全部或部分步骤是可 以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存 储介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。
以上对本发明所提供的一种多机间进行业务备份的方法、装置及***进行 了详细介绍, 对于本领域的技术人员, 依据本发明实施例的思想, 在具体实施 方式及应用范围上均会有改变之处, 综上所述, 本说明书内容不应理解为对本 发明的限制。

Claims

权 利 要 求
1、 一种多机间进行备份的方法, 其特征在于, 包括:
请求与对端设备建立业务备份通道,所述业务备份通道用于传输业务备份 信息;
通过所述业务备份通道,将业务备份信息发送给所述对端设备, 使得所述 对端设备根据所述业务备份信息进行配置。
2、 根据权利要求 1所述的方法, 其特征在于, 所述请求与对端设备建立 业务备份通道包括:
向所述对端设备发送建立业务备份通道的请求,所述建立业务备份通道的 请求用于请求与所述对端设备建立传输业务备份信息的通道,所述建立业务备 份通道的请求中携带所述对端设备的标识信息及通知信息,所述标识信息用于 标识所述对端设备为建立业务备份通道的目的设备,所述通知信息用于通知所 述对端设备建立业务备份通道的目的;
接收所述对端设备发送的确认信息,所述确认信息用于确认建立所述业务 备份通道。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述通过所述业务备 份通道,将业务备份信息发送给所述对端设备, 使得所述对端设备根据所述业 务备份信息进行配置包括:
通过所述业务备份通道, 将业务信息及单板配置信息发送给所述对端设 备, 使得所述对端设备根据所述业务信息及单板配置信息进行配置。
4、 根据权利要求 3所述的方法, 其特征在于, 所述通过所述业务备份通 道,将业务信息及单板配置信息发送给所述对端设备, 使得所述对端设备根据 所述业务信息及单板配置信息进行配置进一步包括:
若与所述对端设备的单板业务配置对称, 且单板接口配置对称, 则通过所 述业务备份通道, 将业务信息、 单板号及单板接口信息发送给所述对端设备, 使得所述对端设备根据所述业务信息、 单板号及单板接口信息进行配置。
5、 根据权利要求 3所述的方法, 其特征在于, 所述通过所述业务备份通 道,将业务信息及单板配置信息发送给所述对端设备, 使得所述对端设备根据 所述业务信息及单板配置信息进行配置进一步包括: 若与所述对端设备的单板业务配置不对称,但单板接口配置对称, 则通过 所述业务备份通道,将业务信息、预设的单板槽位关系信息及单板接口信息发 送给所述对端设备, 使得所述对端设备根据所述业务信息、预设的单板槽位关 系信息及单板接口信息进行配置,所述预设的单板槽位关系信息为预设的单板 槽位与所述对端设备中单板槽位关系的信息。
6、 根据权利要求 3所述的方法, 其特征在于, 所述通过所述业务备份通 道,将业务信息及单板配置信息发送给所述对端设备, 使得所述对端设备根据 所述业务信息及单板配置信息进行配置进一步包括:
若与所述对端设备的单板业务配置不对称, 且单板接口配置不对称, 则通 过所述业务备份通道,将业务信息、预设的单板槽位关系信息及预设的单板接 口关系信息发送给所述对端设备, 使得所述对端设备根据所述业务信息、预设 的单板槽位关系信息及预设的单板接口关系信息进行配置,所述预设的单板槽 位关系信息为预设的单板槽位与所述对端设备中单板槽位关系的信息,所述预 设的单板接口关系信息为预设的单板接口与所述对端设备中单板接口关系的 信息。
7、 一种多机间进行备份的装置, 其特征在于, 包括:
请求单元,用于请求与对端设备建立业务备份通道,所述业务备份通道用 于传输业务备份信息;
发送单元,用于通过所述业务备份通道, 将业务备份信息发送给所述对端 设备, 使得所述对端设备根据所述业务备份信息进行配置。
8、 根据权利要求 7所述的装置, 其特征在于, 所述请求单元进一步包括: 发送请求单元,用于向所述对端设备发送建立业务备份通道的请求,所述 建立业务备份通道的请求用于请求与所述对端设备建立传输业务备份信息的 通道,所述建立业务备份通道的请求中携带所述对端设备的标识信息及目的信 息,所述标识信息用于标识所述对端设备为建立业务备份通道的目的设备, 所 述通知信息用于通知所述对端设备建立业务备份通道的目的;
接收信息单元,用于接收所述对端设备发送的确认信息,所述确认信息用 于确认建立所述业务备份通道。
9、 根据权利要求 7或 8所述的装置, 其特征在于, 所述发送单元, 具体用于通过所述业务备份通道,将业务信息及单板配置 信息发送给所述对端设备,使得所述对端设备根据所述业务信息及单板配置信 息进行配置。
10、 根据权利要求 9所述的装置, 其特征在于,
所述发送单元, 进一步具体用于若与所述对端设备的单板业务配置对称, 且单板接口配置对称, 则通过所述业务备份通道, 将业务信息、 单板号及单板 接口信息发送给所述对端设备, 使得所述对端设备根据所述业务信息、单板号 及单板接口信息进行配置。
11、 根据权利要求 9所述的装置, 其特征在于,
所述发送单元, 进一步具体用于若与所述对端设备的单板业务配置不对 称, 但单板接口配置对称, 则通过所述业务备份通道, 将业务信息、 预设的单 板槽位关系信息及单板接口信息发送给所述对端设备,使得所述对端设备根据 所述业务信息、预设的单板槽位关系信息及单板接口信息进行配置,所述预设 的单板槽位关系信息为预设的单板槽位与所述对端设备中单板槽位关系的信 息。
12、 根据权利要求 9所述的装置, 其特征在于,
所述发送单元, 进一步具体用于若与所述对端设备的单板业务配置不对 称, 且单板接口配置不对称, 则通过所述业务备份通道, 将业务信息、 预设的 单板槽位关系信息及预设的单板接口关系信息发送给所述对端设备,使得所述 对端设备根据所述业务信息、预设的单板槽位关系信息及预设的单板接口关系 信息进行配置,所述预设的单板槽位关系信息为预设的单板槽位与所述对端设 备中单板槽位关系的信息,所述预设的单板接口关系信息为预设的单板接口与 所述对端设备中单板接口关系的信息。
13、 一种多机间进行备份的装置, 其特征在于, 包括:
处理器, 发送器及接收器;
其中, 所述处理器, 用于请求与对端设备建立业务备份通道, 所述业务备 份通道用于传输业务备份信息;
所述发送器,用于通过所述业务备份通道,将业务备份信息发送给所述对 端设备, 使得所述对端设备根据所述业务备份信息进行配置。
14、 根据权利要求 13所述的装置, 其特征在于,
所述发送器,还用于向所述对端设备发送建立业务备份通道的请求,所述 建立业务备份通道的请求用于请求与所述对端设备建立传输业务备份信息的 通道,所述建立业务备份通道的请求中携带所述对端设备的标识信息及目的信 息,所述标识信息用于标识所述对端设备为建立业务备份通道的目的设备, 所 述通知信息用于通知所述对端设备建立业务备份通道的目的;
所述接收器,用于接收所述对端设备发送的确认信息, 所述确认信息用于 确认建立所述业务备份通道。
15、 根据权利要求 12或 13所述的装置, 其特征在于,
所述发送器, 具体用于通过所述业务备份通道,将业务信息及单板配置信 息发送给所述对端设备,使得所述对端设备根据所述业务信息及单板配置信息 进行配置。
16、 根据权利要求 15所述的装置, 其特征在于,
所述发送器,进一步具体用于若与所述对端设备的单板业务配置对称, 且 单板接口配置对称, 则通过所述业务备份通道, 将业务信息、 单板号及单板接 口信息发送给所述对端设备, 使得所述对端设备根据所述业务信息、单板号及 单板接口信息进行配置。
17、 根据权利要求 15所述的装置, 其特征在于,
所述发送器, 进一步具体用于若与所述对端设备的单板业务配置不对称, 但单板接口配置对称, 则通过所述业务备份通道, 将业务信息、 预设的单板槽 位关系信息及单板接口信息发送给所述对端设备,使得所述对端设备根据所述 业务信息、预设的单板槽位关系信息及单板接口信息进行配置,所述预设的单 板槽位关系信息为预设的单板槽位与所述对端设备中单板槽位关系的信息。
18、 根据权利要求 15所述的装置, 其特征在于,
所述发送器, 进一步具体用于若与所述对端设备的单板业务配置不对称, 且单板接口配置不对称, 则通过所述业务备份通道, 将业务信息、预设的单板 槽位关系信息及预设的单板接口关系信息发送给所述对端设备,使得所述对端 设备根据所述业务信息、预设的单板槽位关系信息及预设的单板接口关系信息 进行配置,所述预设的单板槽位关系信息为预设的单板槽位与所述对端设备中 单板槽位关系的信息,所述预设的单板接口关系信息为预设的单板接口与所述 对端设备中单板接口关系的信息。
19、 一种多机间进行备份的***, 其特征在于, 包括:
第一设备及第二设备;
所述第一设备,用于请求与所述第二设备建立业务备份通道,所述业务备 份通道用于传输业务备份信息,通过所述业务备份通道,将业务备份信息发送 给所述第二设备, 使得所述第二设备根据所述业务备份信息进行配置;
所述第二设备,用于通过所述业务备份通道,接收所述第一设备发送的业 务备份信息, 并根据所述业务备份信息进行配置。
20、 根据权利要求 19所述的***, 其特征在于,
所述第一设备,还用于向所述第二设备发送建立业务备份通道的请求, 所 述建立业务备份通道的请求用于请求与所述第二设备建立传输业务备份信息 的通道,所述建立业务备份通道的请求中携带所述第二设备的标识信息及通知 信息, 所述标识信息用于标识所述对端设备为建立业务备份通道的目的设备, 所述通知信息用于通知所述对端设备建立业务备份通道的目的;接收所述第二 设备发送的确认信息, 所述确认信息用于确认建立所述业务备份通道;
所述第二设备, 还用于接收所述第一设备发送的建立业务备份通道的请 求, 并向所述第一设备发送所述确认信息。
PCT/CN2012/079498 2012-08-01 2012-08-01 一种多机间进行业务备份的方法、装置及*** WO2014019165A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2012/079498 WO2014019165A1 (zh) 2012-08-01 2012-08-01 一种多机间进行业务备份的方法、装置及***
CN201280001178.7A CN102907037B (zh) 2012-08-01 2012-08-01 一种多机间进行业务备份的方法、装置及***

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/079498 WO2014019165A1 (zh) 2012-08-01 2012-08-01 一种多机间进行业务备份的方法、装置及***

Publications (1)

Publication Number Publication Date
WO2014019165A1 true WO2014019165A1 (zh) 2014-02-06

Family

ID=47577500

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/079498 WO2014019165A1 (zh) 2012-08-01 2012-08-01 一种多机间进行业务备份的方法、装置及***

Country Status (2)

Country Link
CN (1) CN102907037B (zh)
WO (1) WO2014019165A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103269282A (zh) 2013-04-25 2013-08-28 杭州华三通信技术有限公司 网络配置自动部署方法和装置
CN106850255B (zh) * 2016-12-20 2021-04-06 曙光信息产业(北京)有限公司 一种多机备份的实现方法
CN113746652B (zh) * 2020-05-29 2023-12-19 华为技术服务有限公司 确定主备保护对的方法及装置
CN113992518A (zh) * 2021-09-09 2022-01-28 新华三信息安全技术有限公司 网络设备的控制方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008090110A1 (en) * 2007-01-22 2008-07-31 Nokia Siemens Networks Gmbh & Co. Kg Operating network entities in a communications system
CN101668094A (zh) * 2008-09-02 2010-03-10 华为技术有限公司 主备倒换的方法及***
CN101902360A (zh) * 2010-07-28 2010-12-01 中兴通讯股份有限公司 主备用设备间的信息同步方法和服务器
CN102447583A (zh) * 2012-01-04 2012-05-09 中兴通讯股份有限公司 网络地址转换设备的双机热备的方法及装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102170375A (zh) * 2011-03-28 2011-08-31 福建星网锐捷网络有限公司 通信对端配置信息获取方法、装置、***及节点设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008090110A1 (en) * 2007-01-22 2008-07-31 Nokia Siemens Networks Gmbh & Co. Kg Operating network entities in a communications system
CN101668094A (zh) * 2008-09-02 2010-03-10 华为技术有限公司 主备倒换的方法及***
CN101902360A (zh) * 2010-07-28 2010-12-01 中兴通讯股份有限公司 主备用设备间的信息同步方法和服务器
CN102447583A (zh) * 2012-01-04 2012-05-09 中兴通讯股份有限公司 网络地址转换设备的双机热备的方法及装置

Also Published As

Publication number Publication date
CN102907037B (zh) 2016-11-09
CN102907037A (zh) 2013-01-30

Similar Documents

Publication Publication Date Title
EP2523403B1 (en) Network system and network redundancy method
JP5419907B2 (ja) ネットワークシステム、及び通信復旧方法
TW200845609A (en) Redundant wireless base station
WO2012122813A1 (zh) 一种时钟源设备切换选择方法、***及装置
WO2013113228A1 (zh) 网络设备冗余备份的方法、路由设备及***
EP2597821B1 (en) Method and system for auto-configuration, and network node
WO2013004093A1 (zh) 一种无线接入控制器切换方法和无线接入点
WO2019184923A1 (zh) 一种信息备份方法及相关设备
JP5604389B2 (ja) 通信システム、ルータ装置及びルータ切替方法
WO2014019165A1 (zh) 一种多机间进行业务备份的方法、装置及***
US20190342200A1 (en) Methods, systems, and computer readable media for multiple bidirectional forwarding detection (bfd) session optimization
WO2020044934A1 (ja) 通信装置、方法、プログラム、及び記録媒体
JP6459099B2 (ja) 受動光ネットワークにおける端末装置を管理するための方法、装置、およびシステム
KR20180020917A (ko) 무선 오디오 디바이스 프로비저닝
JP2013207316A (ja) ネットワーク機器設定装置、設定システム、設定方法及び設定プログラム
WO2016173269A1 (zh) 一种在PPPoE认证过程中的报文处理方法及相关设备
WO2011143891A1 (zh) 用户业务信息备份方法和装置
WO2011143888A1 (zh) 一种对协议状态的设备间备份的方法及***
WO2022083492A2 (zh) 一种智能卡管理装置的分布式管理***及管理方法
KR101586151B1 (ko) 컨트롤러와 네트워크 장치 간 재연결 방법
WO2014044088A1 (zh) L2tp网络的保护方法、装置及***
EP2725738B1 (en) Method, device and system for transmitting data streams
KR101730403B1 (ko) 네트워크 경로를 관리하는 방법 및 이를 수행하는 네트워크 엔티티
KR101475179B1 (ko) 아이시엠피를 기반으로 한 무선 네트워크 스위치 전환 시스템 및 방법
JP2020088712A (ja) 通信装置およびその制御方法

Legal Events

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

Ref document number: 201280001178.7

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12882126

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12882126

Country of ref document: EP

Kind code of ref document: A1