CN102629905B - Slave card start control method of network equipment - Google Patents

Slave card start control method of network equipment Download PDF

Info

Publication number
CN102629905B
CN102629905B CN201210068586.6A CN201210068586A CN102629905B CN 102629905 B CN102629905 B CN 102629905B CN 201210068586 A CN201210068586 A CN 201210068586A CN 102629905 B CN102629905 B CN 102629905B
Authority
CN
China
Prior art keywords
subcard
mainboard
business software
slave card
slave
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.)
Expired - Fee Related
Application number
CN201210068586.6A
Other languages
Chinese (zh)
Other versions
CN102629905A (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.)
Opzoon Technology Co Ltd
Original Assignee
Opzoon Technology 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 Opzoon Technology Co Ltd filed Critical Opzoon Technology Co Ltd
Priority to CN201210068586.6A priority Critical patent/CN102629905B/en
Publication of CN102629905A publication Critical patent/CN102629905A/en
Application granted granted Critical
Publication of CN102629905B publication Critical patent/CN102629905B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of network, and provides a slave card start control method of network equipment. The method comprises the steps as follows: the equipment is electrified and the complete machine is started; the slave card is started to send the slave card register information to a mainboard; after receiving the slave card register information, the mainboard judges the slave card style, compares the business software version number on the slave card with the business software version number of a standby slave card on the mainboard, and controls the slave card to download the slave card business software configuration or controls the slave card to update the business software; and the mainboard determines the working state of the slave card by keep-alive message. In the scheme provided by the invention, by processing different slave card software, the mainboard can effectively support the expansion of various slave cards; and by adopting the method provided by the invention, one three-layer exchange platform can support multiple expanded slave cards, and can directly support the newest functions of the expanded slave cards, so that the platform can simultaneously be used by fire wall, flow controller and other all network equipment, the code porting is easy by allocating a physical mode and the customer use is convenient.

Description

Slave card start control method of network equipment
Technical field
The present invention relates to networking technology area, particularly a kind of slave card start control method of network equipment.
Background technology
Three-tier switch is often referred to the switch with detail router function, and its most important object accelerates the exchanges data of large-scale local area network (LAN) inside.Tri-level exchange is exactly the combination of Layer2 switching technology and three layers of retransmission technique, tradition switching technology the OSI network standard model second layer one by one data link layer operate, and tri-level exchange is third layer in network model achieves the high speed forward of packet, both can realize network routing function, optimal network performance can be accomplished according to heterogeneous networks situation again.
On current L3 Switching machine platform, exchange chip externally has multiple interface, and wherein a part of interface is General Physics vlan port (100,000,000 port), separately some high-speed physical vlan port (gigabit port).In high-speed physical vlan port, one is connected with cpu (mainboard), and remaining several high-speed port is usually used as expansion physical port, and be connected with expansion subcard, each mainboard is connected with exchange chip with a network interface card with subcard.By expanding the support of subcard, realize the Function Extension of L3 Switching machine equipment.
In above-mentioned three-tier switch, when equipment complete machine starts, first can start mainboard program, now subcard does not power on, and mainboard has started rear startup subcard.Subcard starts the operating system and the business software in internal memory, current business software version is compared after startup, if lower than subcard business software version reserved on mainboard, then by tftp (the Trivial FileTransfer Protocol on mainboard, TFTP) subcard business software reserved on function offload mainboard is in subcard internal memory, and then subcard is restarted, the process that circulation first time starts, if when subcard business software does not upgrade, start complete.
Can find out, in the prior art, when subcard starts, the version of business software is selected based on reserved on mainboard, although which more easily realizes, but it is only effective when mainboard reserves that software upgrading is timely, content is comprehensive, if expansion subcard function is comparatively new, release is more late or just carried out renewal, then likely there is the situation of reserved software in the lower even mainboard of software version in mainboard.In this case, adopt existing startup control mode, likely there will be mainboard None-identified or control subcard, the problem of effect support can not be formed subcard, will the extended capability of equipment be affected; Even likely occur the situation that the new version software in subcard is substituted by mistake have impact on the normal operation of the network equipment.
Summary of the invention
(1) technical problem that will solve
For the shortcoming of prior art, the present invention affects the problem of functions of the equipments expansion in order to solve prior art neutron card start-up control mode, provide a kind of slave card start control method of network equipment.
(2) technical scheme
Solve the problems of the technologies described above, the present invention specifically adopts following scheme to carry out for this reason:
First, the invention provides a kind of slave card start control method of network equipment, described method comprises step:
S1, device power, complete machine starts;
S2, subcard starts the operating system, and then starts the standby traffic software in internal memory, sends subcard registration message after business software starts to mainboard;
S3, after mainboard receives the registration message of subcard, judges subcard type and the business software version number compared on subcard and the spare card business software version number on mainboard:
If the business software version number on described subcard is newer than the spare card business software version number on described mainboard, mainboard preserves the log-on message of subcard and state, notice subcard from mainboard download the configuration of subcard business software and vocational work;
If the spare card business software version number on described mainboard is newer than the business software version number on described subcard, then notify that subcard upgrades business software, subcard obtains up-to-date subcard business software from mainboard and replaces the standby traffic software subcard internal memory, has obtained rear subcard and has restarted;
S4, mainboard regularly sends keep-alive message to subcard, if several times do not obtain the response of subcard continuously, then restarts subcard.
Preferably, in step S1, the detailed process that complete machine starts is: first start mainboard, subcard does not power on, and mainboard starts tftp download service, and after startup, mainboard control register powers on to subcard.
Preferably, described subcard registration message comprises subcard type, business software version information.
Preferably, subcard downloads the configuration of subcard business software or subcard business software by the tftp service on mainboard.
Preferably, in step S4, if the continuous response not obtaining subcard for 3 times, then restart subcard.
(3) beneficial effect
In the solution of the present invention, by the process to different subcard software, make mainboard effectively can support the expansion of all kinds of subcard.Adopt method of the present invention, same L3 Switching platform, multiple expansion subcard can be supported, and directly can support the latest function expanding subcard, thus its platform can simultaneously by all-network equipment use such as fire compartment wall (using two layers/tri-layer functions), Flow Controls (using three layer functions), and configured by multiplicative model, make transplanting code become easy, convenient for users.
Accompanying drawing explanation
Fig. 1 is a kind of slave card start control method of network equipment schematic flow sheet of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite not making creative work, all belongs to the scope of protection of the invention.
In the present invention, in order to avoid mainboard cannot provide to newer subcard the problem effectively supported, provide a kind of slave card start control method of network equipment.Particularly, see Fig. 1, method of the present invention comprises step:
S1, device power, complete machine starts;
S2, subcard starts the operating system, and then starts the standby traffic software in internal memory, sends subcard registration message after business software starts to mainboard;
S3, after mainboard receives the registration message of subcard, judges subcard type and the business software version number compared on subcard and the spare card business software version number on mainboard:
If the business software version number on described subcard is newer than the spare card business software version number on described mainboard, mainboard preserves the log-on message of subcard and state, notice subcard from mainboard download the configuration of subcard business software and vocational work;
If the spare card business software version number on described mainboard is newer than the business software version number on described subcard, then notify that subcard upgrades business software, subcard obtains up-to-date subcard business software from mainboard and replaces the standby traffic software subcard internal memory, has obtained rear subcard and has restarted;
S4, mainboard regularly sends keep-alive (keepalive) message to subcard, if several times do not obtain the response of subcard continuously, then restarts subcard.
Wherein, in step S1, the detailed process that complete machine starts is: first start mainboard, subcard does not power on, and mainboard starts tftp download function, and after startup, mainboard control register powers on to subcard.
Above-mentioned subcard registration message comprises subcard type, business software version information.
In step S3, subcard downloads the configuration of subcard business software or subcard business software by the tftp service on mainboard.
Preferably, in step S4, keep-alive message nonreply number of times is set to 3 times, does not obtain subcard response for 3 times, then restart subcard if continuous.
In the solution of the present invention, by the process to different subcard software, make mainboard effectively can support the expansion of all kinds of subcard.Adopt method of the present invention, same L3 Switching platform, multiple expansion subcard can be supported, and directly can support the latest function expanding subcard, thus its platform can simultaneously by all-network equipment use such as fire compartment wall (using two layers/tri-layer functions), Flow Controls (using three layer functions), and configured by multiplicative model, make transplanting code become easy, convenient for users.
Above execution mode is only for illustration of the present invention; and be not limitation of the present invention; the those of ordinary skill of relevant technical field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all equivalent technical schemes also belong to category of the present invention, and real protection scope of the present invention should be defined by the claims.

Claims (1)

1. a slave card start control method of network equipment, is characterized in that, described method comprises step:
S1, device power, complete machine starts;
S2, subcard starts the operating system, and then starts the standby traffic software in internal memory, sends subcard registration message after business software starts to mainboard;
S3, after mainboard receives the registration message of subcard, judges subcard type and the business software version number compared on subcard and the spare card business software version number on mainboard:
If the business software version number on described subcard is newer than the spare card business software version number on described mainboard, mainboard preserves the log-on message of subcard and state, notice subcard from mainboard download the configuration of subcard business software and vocational work;
If the spare card business software version number on described mainboard is newer than the business software version number on described subcard, then notify that subcard upgrades business software, subcard obtains up-to-date subcard business software from mainboard and replaces the standby traffic software subcard internal memory, has obtained rear subcard and has restarted;
S4, mainboard regularly sends keep-alive message to subcard, if several times do not obtain the response of subcard continuously, then restarts subcard;
Wherein, in step S1, the detailed process that complete machine starts is: first start mainboard, subcard does not power on, and mainboard starts tftp download service, and after startup, mainboard control register powers on to subcard;
Described subcard registration message comprises subcard type, business software version information;
Subcard downloads the configuration of subcard business software or subcard business software by the tftp service on mainboard;
In step S4, if the continuous response not obtaining subcard for 3 times, then restart subcard.
CN201210068586.6A 2012-03-15 2012-03-15 Slave card start control method of network equipment Expired - Fee Related CN102629905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210068586.6A CN102629905B (en) 2012-03-15 2012-03-15 Slave card start control method of network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210068586.6A CN102629905B (en) 2012-03-15 2012-03-15 Slave card start control method of network equipment

Publications (2)

Publication Number Publication Date
CN102629905A CN102629905A (en) 2012-08-08
CN102629905B true CN102629905B (en) 2015-04-22

Family

ID=46588067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210068586.6A Expired - Fee Related CN102629905B (en) 2012-03-15 2012-03-15 Slave card start control method of network equipment

Country Status (1)

Country Link
CN (1) CN102629905B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110944042A (en) * 2019-11-12 2020-03-31 中核控制系统工程有限公司 Online automatic protocol updating method based on FPGA
CN113740790A (en) * 2020-05-29 2021-12-03 西门子(深圳)磁共振有限公司 Local coil software updating method, local coil management device and magnetic resonance imaging system
CN114531356A (en) * 2022-02-24 2022-05-24 太仓市同维电子有限公司 Method for synchronizing sub-cards of network equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6744775B1 (en) * 1999-09-27 2004-06-01 Nortel Networks Limited State information and routing table updates in large scale data networks
CN101136768A (en) * 2006-09-01 2008-03-05 中兴通讯股份有限公司 Software and hardware version management method and system of communication equipment
CN101616018A (en) * 2008-06-27 2009-12-30 中兴通讯股份有限公司 The method of upgrading network management software and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6744775B1 (en) * 1999-09-27 2004-06-01 Nortel Networks Limited State information and routing table updates in large scale data networks
CN101136768A (en) * 2006-09-01 2008-03-05 中兴通讯股份有限公司 Software and hardware version management method and system of communication equipment
CN101616018A (en) * 2008-06-27 2009-12-30 中兴通讯股份有限公司 The method of upgrading network management software and device

Also Published As

Publication number Publication date
CN102629905A (en) 2012-08-08

Similar Documents

Publication Publication Date Title
EP3787241A1 (en) Routing generation method and device
CN102624635B (en) Method and device for realizing graceful restart
CN100477666C (en) Method for renewing address analysis protocol rapidly
CN101364927A (en) Method, apparatus and system realizing fault recovery of virtual private network
EP2619663A1 (en) In-service software upgrade on cards of virtual partition of network element that includes directing traffic away from cards of virtual partition
EP2619662A1 (en) In-service software upgrade of control and line cards of network element
CN101715199A (en) Method and device for upgrading access point
CN103634423A (en) Three-layered interface based MPLS-TP (multi-protocol label switching-transport profile) configuration method and device
WO2012062073A1 (en) Dual-network terminal and startup and shutdown method thereof
US10581669B2 (en) Restoring control-plane connectivity with a network management entity
CN109002354B (en) OpenStack-based computing resource capacity elastic expansion method and system
EP2658172A1 (en) Multicast method and multicast device
CN102629905B (en) Slave card start control method of network equipment
CN112491603A (en) Equipment configuration method, device, equipment and storage medium
US20220094572A1 (en) Gateway selection method, device, and system
JP7119174B2 (en) Network topology discovery method, network topology discovery device and network topology discovery system
US11804985B2 (en) Packet transmission method, apparatus, and system, and storage medium
CN103384280A (en) Method and system for managing network address translation port resources
CN101873225A (en) Cluster network management system and method thereof with high reliability and flexibility
CN113904927A (en) Method and device for optimizing issuing efficiency of IPRAN (internet protocol radio Access network) private line service configuration
CN107733727B (en) Zero configuration method, device and equipment
US11128558B2 (en) Automatic routing configuration between hosts and network layer devices
CN116095145B (en) Data control method and system of VPC cluster
CN110086676B (en) Configuration method of distributed router and related equipment
CN102983997A (en) Method and device for migrating master services

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20180823

Granted publication date: 20150422

PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20210823

Granted publication date: 20150422

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150422

Termination date: 20190315