CN109462509A - A kind of method and apparatus of the batch backup of board - Google Patents

A kind of method and apparatus of the batch backup of board Download PDF

Info

Publication number
CN109462509A
CN109462509A CN201811465602.9A CN201811465602A CN109462509A CN 109462509 A CN109462509 A CN 109462509A CN 201811465602 A CN201811465602 A CN 201811465602A CN 109462509 A CN109462509 A CN 109462509A
Authority
CN
China
Prior art keywords
backup
board
mainboard card
mainboard
card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811465602.9A
Other languages
Chinese (zh)
Other versions
CN109462509B (en
Inventor
孟相玉
张明祯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201811465602.9A priority Critical patent/CN109462509B/en
Publication of CN109462509A publication Critical patent/CN109462509A/en
Application granted granted Critical
Publication of CN109462509B publication Critical patent/CN109462509B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements

Abstract

The application is for a kind of method of the batch backup of board, and when abnormal restarting occurs in mainboard card, flow is switched on backup board;After the completion of the FPGA (Field-Programmable Gate Array, field programmable gate array) of mainboard card is restarted, the CPU (Central Processing Unit, central processing unit) that sends a notification message to mainboard card;The CPU notice backup board of mainboard card carries out backup operation.This method is able to solve the session that CPU and FPGA independent startup may cause and backs up infull problem, so that mainboard card and backup board are always maintained at Integral synchronous.

Description

A kind of method and apparatus of the batch backup of board
Technical field
This application involves network communication technology field, the method and apparatus for being specifically designed a kind of batch backup of board.
Background technique
Network experienced the period of a rapid development in recent years, and network gradually develops into realization information in recent years The novel information platform of resource, storage resource and computing resource sharing, plays more and more important in people's daily life Effect, far-reaching influence is produced to every field such as social productions.Nowadays network is just towards high speed and broadband side To development, and gradually develop into the synthesis of data, voice, image and real-time multimedia information by single data transport network Transmission network.With the continuous development of modern computer network technologies and economic society, people answer computer networking technology With proposing increasingly higher demands.Systematization, diversification and it is integrated be modern computer network information management technique development Basic trend.Flourishing for computer networking technology brings bigger economy and convenience to society, but same with this When, there is also some security risks for its own, how to reduce security risk and then are thoroughly removed, for computer network Safety is particularly significant, and it is exactly a kind of scheme that can be improved reliability that wherein two-shipper, which opens session synchronization,.
In practical applications, when abnormal restarting occurs in mainboard card, flow can be switched on backup board, connected in this way The business connected is not in interrupt.To avoid partial discharge that from cannot hitting session and dropping packets, and then business is influenced, when After the completion of mainboard card abnormal restarting, backup board can be by information back-up to mainboard card, to guarantee that two boards have deposited the institute of There is session to synchronize completely, the session on two such board can be just consistent.In the prior art, on mainboard card CPU (Central Processing Unit, central processing unit) is responsible for the FPGA (Field- to backup board Programmable Gate Array, field programmable gate array) backup notification information is sent, but due to the CPU on mainboard card It is two independent chips with FPGA, not can guarantee can restart recovery completely simultaneously, when being slower than CPU recovery such as FPGA, FPGA The backup messages that backup board sends over can not be handled, it is endless because backing up after causing backup board switching flow to return mainboard card It is whole to hit session and dropping packets.
Summary of the invention
In view of this, the application provides a kind of method and apparatus of the batch backup of board, it is able to solve backup board and cuts After change of current amount returns mainboard card, because back up it is imperfect cannot hit session due to dropping packets the problem of.
Specifically, the application is achieved by the following technical solution:
A kind of method of the batch backup of board, which comprises when abnormal restarting occurs in mainboard card, flow is switched to On backup board;After the completion of the FPGA of mainboard card is restarted, the CPU that sends a notification message to mainboard card;The CPU of mainboard card notifies standby Part board carries out backup operation.
Wherein, the method also includes: the mainboard cards and backup board to be installed on same frame type equipment or difference frame In equipment.
Wherein, the notification message, specifically: the message of prompt is completed comprising restarting.
Wherein, the CPU notice backup board of the mainboard card carries out backup operation, specifically: the CPU of the mainboard card is logical Know that the FPGA of backup board carries out backup operation.
Wherein, the backup operation specifically: backup board handles all information by batch backup, is synchronized to and restarts The mainboard card of completion.
The application further includes a kind of device of the batch backup of board, and described device includes: mainboard card and the backup that is connected Board,
Wherein, the mainboard card is used for: after the completion of the FPGA of mainboard card is restarted, the CPU to send a notification message to mainboard card, The CPU notice backup board of mainboard card carries out backup operation;The backup board is used for: being switched when accepting mainboard card abnormal restarting The flow to come over.
Wherein, the mainboard card and backup board are installed on same frame type equipment or different frame type equipments.
Wherein, the notification message specially completes the message of prompt comprising restarting.
Wherein, the CPU notice backup board of the mainboard card carries out backup operation, and the CPU of the specially described mainboard card is logical Know that the FPGA of backup board carries out backup operation.
Wherein, the backup board carries out backup operation specifically: backup board passes through all information at batch backup Reason, is synchronized to the mainboard card for restarting completion.
By the above technical solution provided by the present application as it can be seen that when abnormal restarting occurs in mainboard card, flow is switched to backup plate On card;After the completion of the FPGA of mainboard card is restarted, the CPU that sends a notification message to mainboard card;The CPU of mainboard card notifies backup board Carry out backup operation.This method is able to solve the infull problem of session batch backup that CPU and FPGA independent startup may cause, So that mainboard card and backup board are always maintained at Integral synchronous.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the method for the batch backup of board shown in the application;
Fig. 2 is the architecture diagram of the mainboard card and backup board shown in the application;
Fig. 3 is the connected architecture diagram of multiple frame type equipments shown in the application;
Fig. 4 is a kind of device of the batch backup of board shown in the application.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
Referring to Figure 1, Fig. 1 is a kind of flow chart of the method for the batch backup of board shown in the application, specific to execute It walks below:
Step 101: when abnormal restarting occurs in mainboard card, flow is switched on backup board;
Wherein, the mainboard card and backup board are installed on same frame type equipment or different frame type equipments.
Step 102: after the completion of the FPGA of mainboard card is restarted, the CPU that sends a notification message to mainboard card;
Wherein, the notification message specially completes the message of prompt comprising restarting.
Step 103: the CPU notice backup board of mainboard card carries out backup operation.
Wherein, the CPU notice backup board of the mainboard card carries out backup operation, and the CPU of the specially described mainboard card is logical Know that the FPGA of backup board carries out backup operation.
The backup operation specifically: backup board handles all information by batch backup, is synchronized to and restarts completion Mainboard card.
In practical applications, mainboard card and backup board are constantly in incremental backup state, by the above method, can solve The infull problem of the session batch backup that certainly CPU and FPGA independent startup may cause, so that mainboard card and backup board are always Keep hot standby synchronization.
Especially, it should be noted that mainboard card and backup board are the descriptions carried out according to function in preceding method, not Being particularly limited to one piece of board can only decide board or backup board.Fig. 2 is the frame of the mainboard card and backup board shown in the application Composition.
In Fig. 2, business board A is just in the mainboard card of operating flux, and business board B is the backup plate of business board A Card.When abnormal restarting occurs in business board A, flow is switched to the business board B as backup board.Business board A's After the completion of FPGA is restarted, the CPU notice business board B of the CPU to send a notification message to business board A, business board A carry out standby Part operation.After the completion of backup operation, the business board B for continuing to run flow is main board at this time, and business board A then conduct The backup board of business board B.If abnormal restarting occurs in business board B, equally in accordance with the batch backup of the board of the application Method executes.
Fig. 3 is referred to, Fig. 3 is the connected architecture diagram of multiple frame type equipments shown in the application.
In Fig. 3, the first situation is that the business board A and business board B in frame type equipment 1 are mainboard cards and standby each other Part board, business board A and business board B in frame type equipment 2 are mainboard card and backup board each other.Second situation is frame Business board A in business board A and frame type equipment 2 in formula equipment 1 is mainboard card and backup board each other, frame type equipment 1 In business board B and frame type equipment 2 in business board B be mainboard card and backup board each other.That is frame type equipment 1 and frame Equipment 2 host and standby host each other.It can be seen that mainboard card and backup board can be installed on same frame type equipment, can also install In on different frame type equipments, concrete condition is set as needed.
Fig. 4 is referred to, Fig. 4 is a kind of device of the batch backup of board shown in the application, and described device includes: mainboard The backup board 420 for blocking 410 and being connected,
Wherein, mainboard card 410 is used for: after the completion of the FPGA of mainboard card 410 is restarted, being sent a notification message to mainboard card 410 CPU, mainboard card 410 CPU notice backup board 420 progress backup operation;Backup board 420 is used for: accepting mainboard card 410 Switch the flow to come when abnormal restarting.
In the present embodiment, the mainboard card 410 and backup board 420 are installed on same frame type equipment or different frames are set It is standby upper.
The notification message specially completes the message of prompt comprising restarting.
The CPU notice backup board 420 of the mainboard card 410 carries out backup operation, the specially described mainboard card 410 CPU notifies the FPGA of backup board 420 to carry out backup operation.
The backup board 420 carries out backup operation specifically: backup board 420 passes through all information at batch backup Reason, is synchronized to the mainboard card 410 for restarting completion.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (10)

1. a kind of method of the batch backup of board, which is characterized in that the described method includes:
When abnormal restarting occurs in mainboard card, flow is switched on backup board;
After the completion of the FPGA of mainboard card is restarted, the CPU that sends a notification message to mainboard card;
The CPU notice backup board of mainboard card carries out backup operation.
2. the method according to claim 1, wherein the method also includes:
The mainboard card and backup board are installed on same frame type equipment or different frame type equipments.
3. the method according to claim 1, wherein the notification message, specifically: prompt is completed comprising restarting Message.
4. the method according to claim 1, wherein the CPU notice backup board of the mainboard card is backed up Operation, specifically:
The FPGA of the CPU notice backup board of the mainboard card carries out backup operation.
5. the method according to claim 1, wherein the backup operation specifically:
Backup board handles all information by batch backup, is synchronized to the mainboard card for restarting completion.
6. a kind of device of the batch backup of board, which is characterized in that described device includes: mainboard card and the backup plate that is connected Card,
Wherein, the mainboard card is used for: after the completion of the FPGA of mainboard card is restarted, the CPU to send a notification message to mainboard card, and mainboard The CPU notice backup board of card carries out backup operation;The backup board is used for: switching comes when accepting mainboard card abnormal restarting Flow.
7. device according to claim 6 characterized by comprising
The mainboard card and backup board are installed on same frame type equipment or different frame type equipments.
8. device according to claim 6 characterized by comprising
The notification message specially completes the message of prompt comprising restarting.
9. device according to claim 6 characterized by comprising
The CPU notice backup board of the mainboard card carries out backup operation, and the CPU of the specially described mainboard card notifies backup board FPGA carry out backup operation.
10. device according to claim 6 characterized by comprising
The backup board carries out backup operation specifically: backup board handles all information by batch backup, is synchronized to Restart the mainboard card of completion.
CN201811465602.9A 2018-12-03 2018-12-03 Method and device for batch backup of board cards Active CN109462509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811465602.9A CN109462509B (en) 2018-12-03 2018-12-03 Method and device for batch backup of board cards

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811465602.9A CN109462509B (en) 2018-12-03 2018-12-03 Method and device for batch backup of board cards

Publications (2)

Publication Number Publication Date
CN109462509A true CN109462509A (en) 2019-03-12
CN109462509B CN109462509B (en) 2022-07-29

Family

ID=65612210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811465602.9A Active CN109462509B (en) 2018-12-03 2018-12-03 Method and device for batch backup of board cards

Country Status (1)

Country Link
CN (1) CN109462509B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112948180A (en) * 2021-02-28 2021-06-11 海南宝通实业公司 Board-level hot standby method based on master control management
CN113067780A (en) * 2021-03-15 2021-07-02 杭州迪普科技股份有限公司 Flow processing method of virtual switching matrix and electronic equipment
CN114598784A (en) * 2020-12-07 2022-06-07 西安诺瓦星云科技股份有限公司 Data synchronization method and video processing device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047719A (en) * 2006-04-30 2007-10-03 华为技术有限公司 Port switchover control system and method
CN101211266A (en) * 2006-12-30 2008-07-02 北京天融信网络安全技术有限公司 FPGA automatic downloading and on-line upgrading process
CN104079454A (en) * 2014-07-11 2014-10-01 杭州华三通信技术有限公司 Equipment exception detecting method and equipment
JP2016012199A (en) * 2014-06-27 2016-01-21 日本無線株式会社 Electronic apparatus with reset function
CN105549460A (en) * 2016-03-10 2016-05-04 中国电子科技集团公司第十研究所 Satellite-borne electronic equipment comprehensive management and control system
CN106161086A (en) * 2016-06-23 2016-11-23 杭州迪普科技有限公司 Control method that master control borad is restarted and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047719A (en) * 2006-04-30 2007-10-03 华为技术有限公司 Port switchover control system and method
CN101211266A (en) * 2006-12-30 2008-07-02 北京天融信网络安全技术有限公司 FPGA automatic downloading and on-line upgrading process
JP2016012199A (en) * 2014-06-27 2016-01-21 日本無線株式会社 Electronic apparatus with reset function
CN104079454A (en) * 2014-07-11 2014-10-01 杭州华三通信技术有限公司 Equipment exception detecting method and equipment
CN105549460A (en) * 2016-03-10 2016-05-04 中国电子科技集团公司第十研究所 Satellite-borne electronic equipment comprehensive management and control system
CN106161086A (en) * 2016-06-23 2016-11-23 杭州迪普科技有限公司 Control method that master control borad is restarted and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598784A (en) * 2020-12-07 2022-06-07 西安诺瓦星云科技股份有限公司 Data synchronization method and video processing device
CN112948180A (en) * 2021-02-28 2021-06-11 海南宝通实业公司 Board-level hot standby method based on master control management
CN112948180B (en) * 2021-02-28 2024-03-22 海南宝通实业公司 Board-level hot standby method based on master control management
CN113067780A (en) * 2021-03-15 2021-07-02 杭州迪普科技股份有限公司 Flow processing method of virtual switching matrix and electronic equipment

Also Published As

Publication number Publication date
CN109462509B (en) 2022-07-29

Similar Documents

Publication Publication Date Title
CN109462509A (en) A kind of method and apparatus of the batch backup of board
CN105354113B (en) A kind of system and method for server, management server
US11102084B2 (en) Fault rectification method, device, and system
CN102708018B (en) Method and system for exception handling, proxy equipment and control device
CN101968744B (en) Intelligent resilient framework (IRF) system-based method and system for upgrading box type equipment
US20060271812A1 (en) Systems and methods for providing redundant application servers
US9020894B2 (en) Service version modification of a high-availability system
CN104484243B (en) A kind of highly reliable system and device and method of virtual machine fault-toleranr technique and the combination of high-availability cluster technology
WO2017024688A1 (en) Control method and system capable of system upgrade without interrupting services
CN106201690A (en) Application progress control method and device
CN105812169B (en) A kind of switch between master and slave machines method and device
CN101908980A (en) Network management upgrading method and system
WO2015154525A1 (en) Method and device for protecting hqos using multiple board cards
CN100438362C (en) A method for implementing software hot-backup of main and reserve machines
CN108563557A (en) A kind of Channel Synchronous method and device of multichannel computer
CN103488721A (en) Database bisynchronous method and system for master and slave boards
CN109921942A (en) Cloud platform method for handover control, device, system and electronic equipment
CN108984195A (en) A kind of method for upgrading software and device
CN106161086B (en) The control method and device that master control borad is restarted
CN105119754A (en) System and method for performing virtual master-to-slave shift to keep TCP connection
CN106874214A (en) The recovery method and relevant apparatus of cloud hard disk resources
CN109542829A (en) The control method of GPU equipment, device and electronic equipment in multisystem
CN101557307B (en) Dispatch automation system application state management method
CN107005434B (en) Method, device and equipment for synchronizing Virtual Network Function (VNF) state
CN111083074A (en) High availability method and system for main and standby dual OSPF state machines

Legal Events

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