CN114531356A - Method for synchronizing sub-cards of network equipment - Google Patents
Method for synchronizing sub-cards of network equipment Download PDFInfo
- Publication number
- CN114531356A CN114531356A CN202210174422.5A CN202210174422A CN114531356A CN 114531356 A CN114531356 A CN 114531356A CN 202210174422 A CN202210174422 A CN 202210174422A CN 114531356 A CN114531356 A CN 114531356A
- Authority
- CN
- China
- Prior art keywords
- card
- daughter
- cards
- master
- software
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000005540 biological transmission Effects 0.000 claims abstract description 8
- 230000002159 abnormal effect Effects 0.000 claims abstract description 3
- 230000001360 synchronised effect Effects 0.000 claims description 9
- 238000005516 engineering process Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
Abstract
The invention provides a method for synchronizing sub-cards of network equipment, which comprises the following steps: s1, starting the master device and the master card, and synchronizing information of all the devices and the slave cards; s2, electing a master management device; s3, the daughter card sends software to the master management device; s4, the master management equipment broadcasts each block of the software in turn according to the type of the daughter card; and S5, the child card receiving the error requests the abnormal block transmission to the master management device. The method for synchronizing the sub-cards of the network equipment can better manage the sub-cards of the network equipment under the condition that the number of the network equipment in a local area network is multiplied, so that the software version and the configuration among the sub-cards become concise and rapid.
Description
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a method for synchronizing sub-cards of network equipment.
Background
Network equipment is the important thing of network construction, and network equipment develops towards the modularization gradually now, and many U ization develop, and a module can be as little as the sub-part of equipment, and big as the daughter card of an equipment, a network can have a lot of daughter cards, and when a LAN was constituteed to a lot of network equipment, the daughter card can multiply, and how this kind of time manage these daughter cards becomes a problem.
Disclosure of Invention
In view of this, the present invention is directed to a method for synchronizing network device daughter cards, which better manages their daughter cards when the number of network devices in a local area network is increased by multiple, so that the software version and configuration between the daughter cards become simple and fast.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a method for synchronizing sub-cards of network equipment comprises the following steps:
s1, starting the master device and the master card, and synchronizing information of all the devices and the slave cards;
s2, electing a master management device;
s3, the daughter card sends software to the master management device;
s4, the master management equipment broadcasts each block of the software in turn according to the type of the daughter card;
and S5, the child card receiving the error requests the abnormal block transmission to the master management device.
Further, in step S1, after both the master device and the daughter card are activated, the master device first collects information of the daughter card connected below itself.
Further, the synchronized information includes information of each master device, information of each slave card connected to each master device, each version number of the master device, and each version number of the slave card.
Further, in step S2, all masters and daughter cards elect a master with the highest management authority through a private protocol, and the master with the highest management authority has the following features: with the highest version number of the master device type; the device performance and the storage capacity are optimal; the device supports the most daughter card types.
Furthermore, the master device with the highest management right after election is used for synchronizing the versions of the daughter cards of all other master devices to the same version; the method is also used for synchronizing the configuration among all the sub-cards, automatically synchronizing the version and the configuration of a certain sub-card after the sub-card is replaced, and managing the information of all the main equipment and the sub-cards in the main equipment storage network.
Further, in step S3, the management master device starts to instruct the daughter card with the corresponding type having the highest software version to send software to itself according to the type of the daughter card device, and starts synchronization of the next type daughter card after the transmission is completed.
Further, if the management master device has the sub-card of the type and the sub-card has the highest software version, the sending of the software of the sub-card of the type is skipped, and the synchronization of the software of the next sub-card type is directly performed.
Further, in step S4, after the highest software version of all the daughter card types in the network is sent to the management master device, the management master device starts to perform version synchronization on the daughter cards of all the types, the daughter cards with the lower software versions are synchronized in a slow speed by using a broadcast private protocol, each time one block of the software is sent, all the daughter cards and the master device can receive the block, when the performance of the daughter card is poor or the network condition is poor, the master device of the daughter card is responsible for receiving the block, when one daughter card or the master device where the daughter card is located collects a complete software, the master device starts to upgrade, if the master device receives the complete software, the master device transmits the complete software to its own daughter card, and if the slave card receives the complete software, the slave card is directly upgraded.
Further, in step S5, after the management master device finishes polling all types of daughter cards, the management master device starts to broadcast and inquire the receiving situation of the daughter card software in the local area network, and after the software lacking a certain block replies to the management master device, the master device instructs the device closest to the link of the daughter card to transmit the lacking block in a point-to-point manner, and if there is no device, the master device transmits the blocks in person.
Compared with the prior art, the method for synchronizing the daughter cards of the network equipment has the following advantages:
the method for synchronizing the sub-cards of the network equipment can better manage the sub-cards of the network equipment under the condition that the number of the network equipment in a local area network is multiplied, so that the software version and the configuration among the sub-cards become concise and rapid.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a diagram of the steps of a device electing a master management device and synchronization software;
FIG. 2 is a daughter card configuration synchronization and a synchronization after daughter card replacement;
fig. 3 shows an alternative procedure after a failure of the primary management device.
Detailed Description
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in the orientations and positional relationships indicated in the drawings, which are based on the orientations and positional relationships indicated in the drawings, and are used for convenience in describing the present invention and for simplicity in description, but do not indicate or imply that the device or element so referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus should not be construed as limiting the present invention. Furthermore, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art through specific situations.
The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
If there are 100 network devices supporting daughter cards in a local area network and the 100 devices support the technology of this patent, each device has 10 daughter cards supporting the technology of this patent.
In the initial state, 100 devices and 500 daughter cards are started, and the master device first collects the information of 10 daughter cards connected below the master device, such as the type of the daughter card and the version number of the daughter card, and records the information. The software of the daughter card can be stored on the daughter card individually, or can be given by the master device each time, and the software version of the daughter card also has the new and old high and low scores.
All the master devices and the daughter cards firstly send a self-defined type of Ethernet message at a low speed, and the message has the following characteristics:
the destination mac address is the multicast mac of the manufacturer using the technology of this patent, and the source mac address is the mac address of the device and the daughter card into which the device is plugged. The ethernet type may be a custom type selected from among unused types. The message content part carries the device type of the message, such as whether the device sending the message is a master device or a daughter card, and the version number of the message, and if the message is the master device, the types of the daughter cards supported by the message, the software and corresponding versions of the carried daughter cards, the configuration information of the message and the network condition of the message are listed. If the daughter card is used, the self-owned software version number and the configuration key are listed.
Because the sent message is a multicast message, in order to prevent the message from flooding in the local area network, the device supporting the technology of the patent limits the speed of the message below or only sends the message to a specific device, because the master device can manage the daughter cards and upgrade the software of the slave devices, the master device only ensures that the message passes through each master device smoothly without passing through each daughter card.
After all the devices and all the sub-cards are synchronized, the device with highest comprehensive network condition, sub-card supporting quantity and performance among 100 main devices in the network serves as a management main device.
After the election is completed, the management master device sends software to the management master device according to the device with the first device type and the highest software version number in the recorded device list, and if the sub-card is located below the management master device, the transmission of the sub-card of the next type is skipped. The second daughter card device type then acts until all daughter card type software is sent to the managing master.
Assuming that 10 daughter card types are totally contained in 500 daughter cards and are all sent to the management main device, the management main device starts the synchronization of the 1 st daughter card type software, and assuming that the software of the management main device has 5000 blocks, the management main device starts broadcasting the 5000 block data into the network, the data is internally provided with check, in order to achieve good reception, the message flooding speed can be adjusted at any time, and the message does not need to be received and confirmed to ensure the transmission speed.
And for the daughter card needing to be upgraded, if the network condition of the daughter card is poor, block storage is carried out by the main equipment where the daughter card is located, otherwise, the daughter card stores the block storage by itself, after 5000 block broadcasts are finished, each received daughter card is upgraded by itself, and the main equipment replaces the received daughter card and transmits the upgrade to the daughter card.
When the 10 types of 500 sub-cards are synchronized by repeating the above method, the management master device broadcasts data to all 500 sub-cards to inquire whether the software reception is normal or not, the sub-card lacking the block independently replies that the management master device lacks the block and needs to retransmit, the management master device instructs the master device which has the sub-card link nearest and feels to send the data to the sub-card independently, and if the device does not exist, the data is sent by oneself.
All 500 daughter card software versions in the local area network are synchronized through the process. And after the synchronous configuration is finished, sending the configuration file of the slave cards to the management main equipment by all 500 slave cards in the local area network in a point-to-point mode, and recording the information of each slave card and the corresponding configuration by the management main equipment for storage.
When the sub-card in the local area network is changed, if the change is the access of a new sub-card and the sub-card of the type exists, the management master device compares the software version number, if the version is lower, the new sub-card is upgraded, and if the version of the sub-card is higher, the software is transmitted to synchronize all the sub-cards of the same type by the method mentioned at the beginning.
After the daughter card change software is synchronized, if the type of the daughter card is the same as that of the daughter card before the change, the management master device sends the configuration file of the old daughter card to the daughter card through point-to-point.
When all the devices and the daughter card devices in the local area network are idle, keep the devices available by sending keep-alive messages to each other periodically, if the master management device has a fault, reselecting a master management device in the local area network, and repeating the steps.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (9)
1. A method for synchronizing sub-cards of network equipment is characterized by comprising the following steps:
s1, starting the master device and the master card, and synchronizing information of all the devices and the slave cards;
s2, electing a master management device;
s3, the daughter card sends software to the master management device;
s4, the master management equipment broadcasts each block of the software in turn according to the type of the daughter card;
and S5, the child card receiving the error requests the abnormal block transmission to the master management device.
2. The method for synchronizing the daughter cards of the network device according to claim 1, wherein: in step S1, after both the master device and the daughter card are activated, the master device first collects information about the daughter card connected below itself.
3. The method for synchronizing the daughter cards of the network device according to claim 2, wherein: the synchronous information comprises information of each piece of main equipment, information of each sub-card connected to each piece of main equipment, each version number of the main equipment and each version number of the sub-card.
4. The method for synchronizing the daughter cards of the network device according to claim 1, wherein: in step S2, all masters and daughter cards elect a master with the highest management authority through a proprietary protocol, and the master with the highest management authority has the following characteristics: with the highest version number of the master device type; the device performance and the storage capacity are optimal; the device supports the most daughter card types.
5. The method for synchronizing daughter cards of a network device according to claim 4, wherein: the master equipment with the highest management right after election is used for synchronizing the versions of the daughter cards of all other master equipment to the same version; the method is also used for synchronizing the configuration among all the sub-cards, automatically synchronizing the version and the configuration of a certain sub-card after the sub-card is replaced, and managing the information of all the main equipment and the sub-cards in the main equipment storage network.
6. The method for synchronizing the daughter cards of the network device according to claim 1, wherein: in step S3, the management master device starts to instruct the daughter card of the corresponding type having the highest software version to send software to itself according to the type of the daughter card device, and starts synchronization of the next type daughter card after the transmission is completed.
7. The method for synchronizing daughter cards of a network device according to claim 6, wherein: if the management master equipment has the sub-card of the type and the sub-card has the highest software version, the transmission of the software of the sub-card of the type is skipped, and the synchronization of the software of the next sub-card type is directly carried out.
8. The method for synchronizing the daughter cards of the network device according to claim 1, wherein: in step S4, after the highest software version of all the daughter card types in the network is sent to the management master device, the management master device starts to perform version synchronization on the daughter cards of all the types, the daughter cards with the lower software versions are synchronized at a slow speed by using a broadcast private protocol, one block of the software is sent each time, all the daughter cards and the master device can receive the block, when the performance of the daughter card is poor or the network condition is poor, the master device of the daughter card is responsible for receiving the block, when one daughter card or the master device where the daughter card is located collects a complete software, the master device starts to upgrade the block, if the master device receives the complete software, the master device transmits the complete software to the daughter card, and if the daughter card receives the complete software, the slave card is directly upgraded.
9. The method for synchronizing the daughter cards of the network device according to claim 1, wherein: in step S5, after the management master device finishes polling all types of daughter cards, the management master device starts to broadcast an inquiry about the reception condition of the daughter card software in the local area network, and after the software lacking a certain block replies to the management master device, the master device instructs the device closest to the daughter card link to transmit the lacking block in a point-to-point manner, and if the device does not exist, the device transmits the blocks in person.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210174422.5A CN114531356A (en) | 2022-02-24 | 2022-02-24 | Method for synchronizing sub-cards of network equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210174422.5A CN114531356A (en) | 2022-02-24 | 2022-02-24 | Method for synchronizing sub-cards of network equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114531356A true CN114531356A (en) | 2022-05-24 |
Family
ID=81625667
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210174422.5A Pending CN114531356A (en) | 2022-02-24 | 2022-02-24 | Method for synchronizing sub-cards of network equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114531356A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090316717A1 (en) * | 2008-06-18 | 2009-12-24 | Alcatel Lucent | Feature adaptable nt card |
CN101626298A (en) * | 2008-07-07 | 2010-01-13 | 鸿富锦精密工业(深圳)有限公司 | Network device and detection method of primary control card of network device |
CN102629905A (en) * | 2012-03-15 | 2012-08-08 | 汉柏科技有限公司 | Slave card start control method of network equipment |
CN105337895A (en) * | 2014-07-14 | 2016-02-17 | 杭州华三通信技术有限公司 | Network equipment host unit, network equipment daughter card and network equipment |
CN106713149A (en) * | 2015-11-12 | 2017-05-24 | 新华三技术有限公司 | Daughter card of router and wire clamp board |
CN112817641A (en) * | 2019-11-15 | 2021-05-18 | 中兴通讯股份有限公司 | Daughter card initialization method, electronic device and storage medium |
-
2022
- 2022-02-24 CN CN202210174422.5A patent/CN114531356A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090316717A1 (en) * | 2008-06-18 | 2009-12-24 | Alcatel Lucent | Feature adaptable nt card |
CN101626298A (en) * | 2008-07-07 | 2010-01-13 | 鸿富锦精密工业(深圳)有限公司 | Network device and detection method of primary control card of network device |
CN102629905A (en) * | 2012-03-15 | 2012-08-08 | 汉柏科技有限公司 | Slave card start control method of network equipment |
CN105337895A (en) * | 2014-07-14 | 2016-02-17 | 杭州华三通信技术有限公司 | Network equipment host unit, network equipment daughter card and network equipment |
CN106713149A (en) * | 2015-11-12 | 2017-05-24 | 新华三技术有限公司 | Daughter card of router and wire clamp board |
CN112817641A (en) * | 2019-11-15 | 2021-05-18 | 中兴通讯股份有限公司 | Daughter card initialization method, electronic device and storage medium |
Non-Patent Citations (1)
Title |
---|
张西;吴甜;: "Champ-av3主板的开发和应用", 电子工程师, no. 07, 15 July 2007 (2007-07-15) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8755306B1 (en) | Simplified auto-configuration and service discovery in 802.11 ad-hoc networks | |
US7139839B2 (en) | Method and apparatus for assigning a network node address | |
CN101600098B (en) | Distributed node video monitoring system and management method thereof | |
CN101577817B (en) | Distributed video monitoring system and method thereof for keeping data consistency | |
CN101730090B (en) | Method and equipment for releasing IP addresses by DHCP server | |
CN101478435A (en) | Topology collecting method for stacking system and dual control board equipment | |
CN104679796A (en) | Selecting method, selecting device and database mirror image cluster node | |
CN101183984A (en) | Network management system, management method and equipment | |
CN103024065A (en) | System configuration management method for cloud storage system | |
CN102843259A (en) | Middleware self-management hot backup method and middleware self-management hot backup system in cluster | |
CN101505414A (en) | Implementing method for accessing frontend equipments of different network mode by video monitoring system | |
CN113260040B (en) | Time code synchronization method and network system | |
CN100512474C (en) | Automatic synchronization method for master-slave board storage version of the communication system | |
CN100574480C (en) | Far end radio frequency unit initiated configuration method based on the DHCP agreement | |
CN114531356A (en) | Method for synchronizing sub-cards of network equipment | |
CN103686300A (en) | Service guide synchronization method and system | |
CN111130865B (en) | Network equipment firmware batch upgrading method and system based on two-layer switching | |
TWI469578B (en) | Access control method, access control device and access control program | |
CN116938712A (en) | Device upgrade method, device upgrade apparatus, and computer-readable storage medium | |
CN101772054B (en) | Method and device for establishing communication connection between protocol server boards and line terminal board | |
CN1992640B (en) | Data synchronization method of muti-service access unit based on switchboard background | |
KR100484729B1 (en) | System for Traffic Distribution and Control Management Function of Ethernet PON System and the Method | |
CN102035744B (en) | Method for performing communication among virtual router redundancy protocol (VRRP) routers and routers | |
CN101415019A (en) | Method and apparatus for managing information transmission availability negotiation | |
CN111835880A (en) | IP address allocation method and system |
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 |