CN104333478A - Switch configuration management method and device - Google Patents

Switch configuration management method and device Download PDF

Info

Publication number
CN104333478A
CN104333478A CN201410707002.4A CN201410707002A CN104333478A CN 104333478 A CN104333478 A CN 104333478A CN 201410707002 A CN201410707002 A CN 201410707002A CN 104333478 A CN104333478 A CN 104333478A
Authority
CN
China
Prior art keywords
information
target service
configuration
service plate
switch
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
Application number
CN201410707002.4A
Other languages
Chinese (zh)
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201410707002.4A priority Critical patent/CN104333478A/en
Publication of CN104333478A publication Critical patent/CN104333478A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a switch configuration management method and device. A switch comprises a plurality of business plates, and a configuration file in the switch includes original configuration information and format limited information corresponding to all of the business plates. The switch configuration management method comprises the following steps: receiving updated configuration information; determining a target business plate corresponding to the updated configuration information, and obtaining the format limited information of the target business plate; modifying the updated configuration information according to the format limited information of the target business plate so as to obtain standard configuration information of the target business plate; and replacing the original configuration information of the target business plate with the standard configuration information. The updated configuration information is converted into the standard configuration information to effectively avoid format errors caused when the configuration information of the target business plate is modified, thereby avoiding the condition that the switch cannot be normally operated due to the format errors of the configuration information of the target business plate.

Description

Switch configuration management method and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of switch configuration management method and device.
Background technology
Switch (Switch) is a kind of network equipment forwarded for the signal of telecommunication.It can provide for any two network nodes of access switch the pathway for electrical signals exclusively enjoyed.
Along with the development of network technology, switch is as the infrastructure device of network, and its application becomes more and more universal.The business function of switch is a lot, when therefore developing, the operational plate that switch comprises is also a lot, conveniently manages, a lot of exploitation producer all adopts a configuration file to record the configuration of switch, and that is multiple process uses a configuration file jointly.
Owing to there is association between operational plate multiple in switch, operational plate, when realizing its function, may need the configuration information of the operational plate reading or revise other.Now, if the form of staff to this configuration information of amendment configuration information is unclear, is easy to cause configuration information format error, and then then causes switch function to realize.
Summary of the invention
The problem that the present invention solves is to provide a kind of switch configuration management method and device, avoids the format error of operational plate configuration information and the switch that causes cannot normally work.
For solving the problem, the invention provides a kind of switch configuration file management method, described switch comprises multiple operational plate, in described switch, configuration file comprises the original configuration information corresponding with operational plate described in each and form prescribed information, and described switch configuration management method comprises: receive Reconfigurations information; Determine the target service plate that described Reconfigurations information is corresponding, and obtain the form prescribed information of described target service plate; Described Reconfigurations information is revised, to obtain the standard configuration information of described target service plate according to the form prescribed information of described target service plate; The original configuration information of described target service plate is replaced with standard configuration information.
Optionally, after the original configuration information of described target service plate is replaced with standard configuration information, described switch configuration management method also comprises: point out the configuration information of described target service plate successfully modified.
Accordingly, present invention also offers a kind of switch configuration management devices, described switch comprises multiple operational plate, described switch configuration management devices comprises: memory cell, for storing the configuration file of described switch, described configuration file comprises the original configuration information corresponding with operational plate described in each and form prescribed information; Information receiving unit, for receiving Reconfigurations information; Information process unit, be connected with described memory cell and information receiving unit, for determining the target service plate that described Reconfigurations information is corresponding, and obtain the form prescribed information of described target service plate, and revise described Reconfigurations information according to the form prescribed information of described target service plate, to obtain the standard configuration information of described target service plate; Configuration modification unit, is connected with described memory cell and information process unit, for the original configuration information stating target service plate is replaced with standard configuration information.
Optionally, described information process unit comprises: information analysis unit, is connected with described information receiving unit, for determining the target service plate that described Reconfigurations information is corresponding; Format acquisition unit, is connected with described information analysis unit and memory cell, for obtaining the form prescribed information of described target service plate; Information matching unit, be connected with described format acquisition unit, information receiving unit and configuration modification unit, for revising described Reconfigurations information according to the form prescribed information of described target service plate, to obtain the standard configuration information of described target service plate.
Optionally, described switch configuration management devices also comprises reminding unit, be connected with described configuration modification unit, after the original configuration information of described target service plate being replaced with standard configuration information at configuration modification unit, point out the configuration information of described target service plate successfully modified.
Compared with prior art, technical scheme of the present invention has the following advantages: after reception Reconfigurations information, first determine the form prescribed information of the target service plate that this Reconfigurations information is corresponding and target service plate, then according to the form prescribed information amendment Reconfigurations information of target service plate, thus obtain standard configuration information, finally the original configuration information of target service plate is replaced with standard configuration information.By being standard configuration information by Reconfigurations convert information, effectively can avoid the format error caused during modifying target operational plate configuration information, and then avoid the switch caused because of the format error of operational plate configuration information normally to work.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of switch configuration management method of the present invention;
Fig. 2 is the structural representation of a switch configuration management devices of the present invention embodiment;
Fig. 3 is the structural representation of another embodiment of switch configuration management devices of the present invention.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage more become apparent, and are described in detail specific embodiments of the invention below in conjunction with accompanying drawing.
With reference to figure 1, it is the schematic flow sheet of switch configuration management method of the present invention.Described switch comprises multiple operational plate, and in described switch, configuration file comprises the original configuration information corresponding with operational plate described in each and form prescribed information.The management method of switch configuration described in Fig. 1 comprises:
Step S101, receives Reconfigurations information;
Step S103, determines the target service plate that described Reconfigurations information is corresponding, and obtains the form prescribed information of described target service plate;
Step S105, revises described Reconfigurations information according to the form prescribed information of described target service plate, to obtain the standard configuration information of described target service plate;
Step S107, replaces with standard configuration information by the original configuration information of described target service plate;
Step S109, points out the configuration information of described target service plate successfully modified.
In Fig. 1, switch configuration management method is by being standard configuration information by Reconfigurations convert information, effectively can avoid the format error caused during modifying target operational plate configuration information, and then avoid the switch caused because of the format error of operational plate configuration information normally to work.
In addition, in Fig. 1, switch configuration management method is after replacing with standard configuration information by the original configuration information of target service plate, also sends the prompting that configuration information is successfully modified, facilitates user or developer's checking configuration information amendment process.
It should be noted that, in other embodiments, step S109 in Fig. 1 can also be omitted.Now, switch configuration management method still can avoid the format error caused during modifying target operational plate configuration information, ensures that switch normally works.
With reference to figure 2, be the structural representation of a switch configuration management devices of the present invention embodiment, described switch comprises multiple operational plate.In Fig. 2, switch configuration management devices comprises:
Memory cell 10, for storing the configuration file of described switch, described configuration file comprises the original configuration information corresponding with operational plate described in each and form prescribed information;
Information receiving unit 20, for receiving Reconfigurations information;
Information process unit 30, be connected with described memory cell 10 and information receiving unit 20, for determining the target service plate that described Reconfigurations information is corresponding, and obtain the form prescribed information of described target service plate, and revise described Reconfigurations information according to the form prescribed information of described target service plate, to obtain the standard configuration information of described target service plate;
Configuration modification unit 40, is connected with described memory cell 10 and information process unit 30, for the original configuration information stating target service plate is replaced with standard configuration information.
With reference to figure 3, it is the structural representation of another embodiment of switch configuration management devices of the present invention.In Fig. 3, described switch configuration management devices is except comprising memory cell 10 in Fig. 2, information receiving unit 20, information process unit 30 and configuration modification unit 40, also comprise reminding unit 50, after the original configuration information of described target service plate being replaced with standard configuration information at configuration modification unit, point out the configuration information of described target service plate successfully modified.
Compared with Fig. 2, in Fig. 3, switch configuration management devices after the amendment of target service plate configuration information, can send the prompting that configuration information is successfully modified, facilitates user or developer's checking configuration information amendment process.
In addition, compared with Fig. 2, in Fig. 3, in switch configuration management devices, information process unit 30 comprises further:
Information analysis unit 302, is connected with described information receiving unit 20, for determining the target service plate that described Reconfigurations information is corresponding;
Format acquisition unit 304, is connected with described information analysis unit 302 and memory cell 10, for obtaining the form prescribed information of described target service plate;
Information matching unit 306, be connected with described format acquisition unit 304, information receiving unit 20 and configuration modification unit 40, for revising described Reconfigurations information according to the form prescribed information of described target service plate, to obtain the standard configuration information of described target service plate.
Technical scheme of the present invention is after reception Reconfigurations information, first determine the form prescribed information of the target service plate that this Reconfigurations information is corresponding and target service plate, then according to the form prescribed information amendment Reconfigurations information of target service plate, thus obtain standard configuration information, finally the original configuration information of target service plate is replaced with standard configuration information.By being standard configuration information by Reconfigurations convert information, effectively can avoid the format error caused during modifying target operational plate configuration information, and then avoid the switch caused because of the format error of operational plate configuration information normally to work.
Although the present invention discloses as above, the present invention is not defined in this.Any those skilled in the art, without departing from the spirit and scope of the present invention, all can make various changes or modifications, and therefore protection scope of the present invention should be as the criterion with claim limited range.

Claims (5)

1. a switch configuration management method, described switch comprises multiple operational plate, it is characterized in that, in described switch, configuration file comprises the original configuration information corresponding with operational plate described in each and form prescribed information, and described switch configuration management method comprises:
Receive Reconfigurations information;
Determine the target service plate that described Reconfigurations information is corresponding, and obtain the form prescribed information of described target service plate;
Described Reconfigurations information is revised, to obtain the standard configuration information of described target service plate according to the form prescribed information of described target service plate;
The original configuration information of described target service plate is replaced with standard configuration information.
2. switch configuration management method as claimed in claim 1, it is characterized in that, after the original configuration information of described target service plate is replaced with standard configuration information, described switch configuration management method also comprises: point out the configuration information of described target service plate successfully modified.
3. a switch configuration management devices, described switch comprises multiple operational plate, it is characterized in that, described switch configuration management devices comprises:
Memory cell, for storing the configuration file of described switch, described configuration file comprises the original configuration information corresponding with operational plate described in each and form prescribed information;
Information receiving unit, for receiving Reconfigurations information;
Information process unit, be connected with described memory cell and information receiving unit, for determining the target service plate that described Reconfigurations information is corresponding, and obtain the form prescribed information of described target service plate, and revise described Reconfigurations information according to the form prescribed information of described target service plate, to obtain the standard configuration information of described target service plate;
Configuration modification unit, is connected with described memory cell and information process unit, for the original configuration information stating target service plate is replaced with standard configuration information.
4. switch configuration management devices as claimed in claim 3, it is characterized in that, described information process unit comprises:
Information analysis unit, is connected with described information receiving unit, for determining the target service plate that described Reconfigurations information is corresponding;
Format acquisition unit, is connected with described information analysis unit and memory cell, for obtaining the form prescribed information of described target service plate;
Information matching unit, be connected with described format acquisition unit, information receiving unit and configuration modification unit, for revising described Reconfigurations information according to the form prescribed information of described target service plate, to obtain the standard configuration information of described target service plate.
5. the switch configuration management devices as described in claim 3 or 4, it is characterized in that, described switch configuration management devices also comprises reminding unit, be connected with described configuration modification unit, after the original configuration information of described target service plate being replaced with standard configuration information at configuration modification unit, point out the configuration information of described target service plate successfully modified.
CN201410707002.4A 2014-11-27 2014-11-27 Switch configuration management method and device Pending CN104333478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410707002.4A CN104333478A (en) 2014-11-27 2014-11-27 Switch configuration management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410707002.4A CN104333478A (en) 2014-11-27 2014-11-27 Switch configuration management method and device

Publications (1)

Publication Number Publication Date
CN104333478A true CN104333478A (en) 2015-02-04

Family

ID=52408137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410707002.4A Pending CN104333478A (en) 2014-11-27 2014-11-27 Switch configuration management method and device

Country Status (1)

Country Link
CN (1) CN104333478A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100014459A1 (en) * 2008-06-23 2010-01-21 Qualcomm, Incorporated Method and apparatus for managing data services in a multi-processor computing environment
CN101977121A (en) * 2010-10-25 2011-02-16 中兴通讯股份有限公司 Configuration file processing method, device and system
CN103516529A (en) * 2012-06-20 2014-01-15 中兴通讯股份有限公司 Management method, device and system of configuration files

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100014459A1 (en) * 2008-06-23 2010-01-21 Qualcomm, Incorporated Method and apparatus for managing data services in a multi-processor computing environment
CN101977121A (en) * 2010-10-25 2011-02-16 中兴通讯股份有限公司 Configuration file processing method, device and system
CN103516529A (en) * 2012-06-20 2014-01-15 中兴通讯股份有限公司 Management method, device and system of configuration files

Similar Documents

Publication Publication Date Title
US11108630B2 (en) Hierarchical configuration of networked communication devices
CN102142863A (en) Data reporting method and system
CN102118283B (en) Method and device for testing communication equipment
WO2018132047A9 (en) A radio access node, a core network node, an information database and methods of operating the same in different radio access technologies
CN105323165A (en) Communication device and multi-hop network
CN103905441A (en) Data acquisition method and device
CN102831000B (en) The method and system of system upgrade
JP2018522480A (en) Method and apparatus for searching a fronthaul topology
JP7225410B2 (en) Method and apparatus for establishing optical cable connection
CN107135108A (en) The update method and system of network connection list
CN104320292A (en) Switch configuration management method and device
CN102404152B (en) Method and equipment for identifying response messages
CN105761003A (en) CMDB-based automatic registration asset system and implementation method thereof
CN102740339B (en) Base station communication method and base station, core network communications method and core network device
CN110290541A (en) Configuration method and equipment
CN103338227A (en) Synchronization method and system of inventory information of electric power asset equipment
CN104333478A (en) Switch configuration management method and device
CN104539528A (en) Multi-core communication equipment and method for message interaction between multi-core communication equipment and RADIUS server
KR101495749B1 (en) Method for upgrading of nodes in remote meter reading system and apparatus thereof
CN101426220A (en) Method, apparatus and system for base station cutover
CN102420724A (en) Method and device for testing north-orientation performance index
CN102547675A (en) Whole network tracing method, device and system for LTE (long term evolution) wireless network
JP2020533905A5 (en)
CN105704237B (en) A kind of charge processing method and relevant device, server
CN105743939A (en) Message push method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150204