CN104320292A - Switch configuration management method and device - Google Patents
Switch configuration management method and device Download PDFInfo
- Publication number
- CN104320292A CN104320292A CN201410707004.3A CN201410707004A CN104320292A CN 104320292 A CN104320292 A CN 104320292A CN 201410707004 A CN201410707004 A CN 201410707004A CN 104320292 A CN104320292 A CN 104320292A
- Authority
- CN
- China
- Prior art keywords
- configuration file
- file
- target service
- switch
- service plate
- 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
Landscapes
- Telephonic Communication Services (AREA)
Abstract
Provided are a switch configuration management method and device. A switch comprises a plurality of service sections. Each service section comprises an original configuration file corresponding to the function of the service section. The switch configuration management method comprises the steps that a configuration file amendment request and an updating configuration file are obtained; a target service section corresponding to the configuration file amendment request is determined; format checking is carried out on the updating configuration file according to the original configuration file of the target service section; if the updating configuration file passes format checking, the original configuration file of the target service section is amended to be the updating configuration file. According to the technical scheme, format checking is carried out on the updating configuration file before the original configuration file of the service sections in the switch is amended, and it is avoided that as configuration files are amended by mistake, the functions of the switch cannot be implemented.
Description
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, and when therefore developing, the operational plate that switch comprises is also a lot.Owing to there is association between operational plate multiple in switch, operational plate, when realizing its function, may need the configuration file of the operational plate reading or revise other.
In prior art, operational plate arbitrarily can revise the configuration file in other operational plates as required, if amended configuration file does not mate with original configuration file in operational plate, 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 operational plate Reconfigurations file not mate with original configuration file and the switch function that causes cannot realize.
For solving the problem, the invention provides a kind of switch configuration management method, described switch comprises multiple operational plate, and each described operational plate comprises the original configuration file corresponding with its function, and described switch configuration management method comprises:
Obtain configuration file amendment request and Reconfigurations file;
Determine the target service plate that described configuration file amendment request is corresponding;
Original configuration file according to described target service plate carries out format check to described Reconfigurations file;
If it is qualified to verify, then the original configuration file of described target service plate is revised as Reconfigurations file.
Optionally, described switch configuration management method also comprises: after the original configuration file of described target service plate is revised as Reconfigurations file, and prompting configuration file is successfully modified.
Optionally, described switch configuration management method also comprises: when carrying out format check according to the original configuration file of described target service plate to described Reconfigurations file, if verify defective, and prompting configuration file is revised unsuccessfully.
Optionally, after determining the target service plate that described configuration file amendment request is corresponding, also comprise: determine whether the original configuration file of described target service plate can be revised, if can revise, then according to the original configuration file of described target service plate, format check is carried out to described Reconfigurations file.
Optionally, when determining whether the original configuration file of described target service plate can be revised, if can not revise, then configuration file is pointed out to revise unsuccessfully.
Accordingly, present invention also offers a kind of switch configuration management devices, described switch comprises multiple operational plate, and each described operational plate comprises the original configuration file corresponding with its function, it is characterized in that, described switch configuration management devices comprises:
Information acquisition unit, for obtaining configuration file amendment request and Reconfigurations file;
Target determination unit, is connected with described information acquisition unit, for determining the target service plate that described configuration file amendment request is corresponding;
Format check unit, is connected with described information acquisition unit, target determination unit and operational plate, carries out format check for the original configuration file according to described target service plate to described Reconfigurations file;
Configuration modification unit, is connected with described information acquisition unit, format check unit and operational plate, for when described Reconfigurations file format verification is qualified, the original configuration file of described target service plate is revised as Reconfigurations file.
Optionally, described switch configuration management devices also comprises reminding unit, is connected with described configuration modification unit, and for after the original configuration file of described target service plate is revised as Reconfigurations file, prompting configuration file is successfully modified.
Optionally, described reminding unit is also connected with described format check unit, and for when described Reconfigurations file format verification is defective, prompting configuration file is revised unsuccessfully.
Optionally, described target determination unit is also for determining whether the original configuration file of described target service plate can be revised; If can revise, then described format check unit carries out format check according to the original configuration file of described target service plate to described Reconfigurations file.
Optionally, described reminding unit is also connected with described target determination unit, and for when the original configuration file of described target service plate can not be revised, prompting configuration file is revised unsuccessfully
Compared with prior art, technical scheme of the present invention has the following advantages:
Before the original configuration file of target service plate is modified in switch, original configuration file according to target service plate carries out format check to Reconfigurations file, after format check is qualified, the original configuration file of target service plate is revised as Reconfigurations file, thus the switch function effectively avoided target service plate Reconfigurations file not mate with original configuration file and cause cannot realize.
Further, before according to the original configuration file of target service plate format check being carried out to Reconfigurations file, first determine whether the form of target service plate can be revised, when revising, again format check is carried out to Reconfigurations file, improve the switch configuration efficiency of management, reduce costs.
Further, remind when Reconfigurations file format verification original configuration file that is defective, target service plate cannot be revised or configuration file is successfully modified, facilitate user to understand switch configuration file amendment process in time.
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 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, be the schematic flow sheet of switch configuration management method of the present invention, described switch comprises multiple operational plate, and each operational plate comprises the original configuration file corresponding with its function.In Fig. 1, switch configuration management method comprises:
Step S101, obtains configuration file amendment request and Reconfigurations file.
Concrete, described configuration file amendment request comprises in switch the target service plate title needing to revise configuration file, and replaces the Reconfigurations file of original configuration file in target service plate.
Step S103, determines the target service plate that described configuration file amendment request is corresponding.
Step S105, determines whether the original configuration file of described target service plate can be revised.If cannot revise, then perform step S113, prompting configuration file is revised unsuccessfully; If can revise, then perform step S107, the original configuration file according to target service plate carries out format check to Reconfigurations file.
In step S107, if described Reconfigurations file verification is defective, then perform step S113, prompting configuration file is revised unsuccessfully.If described Reconfigurations file verification is qualified, then performs step S109, the original configuration file of described target service plate is revised as Reconfigurations file.
After execution step S109, perform step S111, prompting configuration file is successfully modified.
In the present embodiment, before the original configuration file of target service plate is modified in switch, first determine whether the original configuration file of target service plate can be revised, original configuration file when revising again according to target service plate carries out format check to Reconfigurations file, if format check is qualified, the original configuration file of target service plate is revised as Reconfigurations file, thus the switch function effectively avoided target service plate Reconfigurations file not mate with original configuration file and cause cannot realize.
In addition, in the present embodiment, due to before carrying out format check according to the original configuration file of target service plate to Reconfigurations file, first determine whether the form of target service plate can be revised, when revising, again format check is carried out to Reconfigurations file, can effectively improve the switch configuration efficiency of management, reduce costs.
Further, in the present embodiment when the verification of Reconfigurations file format is defective and original configuration file that is target service plate cannot be revised, perform step S113, prompting configuration file is revised unsuccessfully; And remind when configuration file is successfully modified, perform step S111, prompting configuration file is successfully modified, enables user understand switch configuration file amendment process in time.
In one embodiment, step S105 in Fig. 1 can also be omitted, after step S103 determines the target service plate that described configuration file amendment request is corresponding, directly perform step S107, format check is carried out to Reconfigurations file.When original configuration file for each operational plate in switch all can be revised, can step be simplified, improve configuration file amendment efficiency.
In another embodiment, step S111 and step S113 in Fig. 1 can also be omitted.
With reference to figure 2, be the structural representation of switch configuration management devices of the present invention, described switch comprises multiple operational plate 100, and each operational plate comprises the original configuration file corresponding with its function.The management devices of switch configuration file described in Fig. 2 comprises:
Information acquisition unit 102, for obtaining configuration file amendment request and Reconfigurations file;
Target determination unit 104, is connected with described information acquisition unit 102, for determining the target service plate that described configuration file amendment request is corresponding;
Format check unit 106, is connected with described information acquisition unit 102, target determination unit 104 and multiple operational plate 100, carries out format check for the original configuration file according to described target service plate to described Reconfigurations file;
Configuration modification unit 108, be connected with described information acquisition unit 102, format check unit 106 and multiple operational plate 100, for when described Reconfigurations file format verification is qualified, the original configuration file of described target service plate is revised as Reconfigurations file;
Reminding unit 110, is connected with described format check unit 106 and configuration modification unit 108.Described reminding unit 110 is for when described Reconfigurations file format verification is defective, and prompting configuration file is revised unsuccessfully; And for after the original configuration file of described target service plate is revised as Reconfigurations file, prompting configuration file is successfully modified.
It should be noted that, in the present embodiment, switch configuration management system can be arranged in switch, and also independently can arrange with switch, this is not restricted.
In the present embodiment, before in configuration modification unit 108 pairs of switches, the original configuration file of target service plate is modified, format check unit 106 carries out format check according to the original configuration file of target service plate to Reconfigurations file, after format check is qualified, by configuration modification unit 108, the original configuration file of target service plate is revised as Reconfigurations file, thus the switch function effectively avoided target service plate Reconfigurations file not mate with original configuration file and cause cannot realize.
In addition, by arranging reminding unit 110 in switch configuration management system, the whether successfully modified of configuration file being pointed out, enabling user understand switch configuration file amendment process in time.
In other embodiments, described target determination unit 104 is also for determining whether the original configuration file of described target service plate can be revised; If can revise, then described format check unit 106 carries out format check according to the original configuration file of described target service plate to described Reconfigurations file.Accordingly, described reminding unit 110 also can be connected with described target determination unit 104, and for when the original configuration file of described target service plate can not be revised, prompting configuration file is revised unsuccessfully.
Now, before according to the original configuration file of target service plate format check being carried out to Reconfigurations file at format check unit 106, first determine whether the form of target service plate can be revised by target determination unit 104, when revising, format check is carried out again by format check unit 106 pairs of Reconfigurations files, unnecessary format verification step can be reduced, improve the switch configuration efficiency of management, reduce costs.
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 (10)
1. a switch configuration management method, described switch comprises multiple operational plate, and each described operational plate comprises the original configuration file corresponding with its function, it is characterized in that, described switch configuration management method comprises:
Obtain configuration file amendment request and Reconfigurations file;
Determine the target service plate that described configuration file amendment request is corresponding;
Original configuration file according to described target service plate carries out format check to described Reconfigurations file;
If it is qualified to verify, then the original configuration file of described target service plate is revised as Reconfigurations file.
2. switch configuration management method as claimed in claim 1, it is characterized in that, described switch configuration management method also comprises: after the original configuration file of described target service plate is revised as Reconfigurations file, and prompting configuration file is successfully modified.
3. switch configuration management method as claimed in claim 1, it is characterized in that, described switch configuration management method also comprises: when carrying out format check according to the original configuration file of described target service plate to described Reconfigurations file, if verify defective, prompting configuration file is revised unsuccessfully.
4. switch configuration management method as claimed in claim 1, it is characterized in that, after determining the target service plate that described configuration file amendment request is corresponding, also comprise: determine whether the original configuration file of described target service plate can be revised, if can revise, then according to the original configuration file of described target service plate, format check is carried out to described Reconfigurations file.
5. switch configuration management method as claimed in claim 4, is characterized in that, when determining whether the original configuration file of described target service plate can be revised, if can not revise, then points out configuration file to revise unsuccessfully.
6. a switch configuration management devices, described switch comprises multiple operational plate, and each described operational plate comprises the original configuration file corresponding with its function, it is characterized in that, described switch configuration management devices comprises:
Information acquisition unit, for obtaining configuration file amendment request and Reconfigurations file;
Target determination unit, is connected with described information acquisition unit, for determining the target service plate that described configuration file amendment request is corresponding;
Format check unit, is connected with described information acquisition unit, target determination unit and operational plate, carries out format check for the original configuration file according to described target service plate to described Reconfigurations file;
Configuration modification unit, is connected with described information acquisition unit, format check unit and operational plate, for when described Reconfigurations file format verification is qualified, the original configuration file of described target service plate is revised as Reconfigurations file.
7. switch configuration management devices as claimed in claim 6, it is characterized in that, described switch configuration management devices also comprises reminding unit, be connected with described configuration modification unit, for after the original configuration file of described target service plate is revised as Reconfigurations file, prompting configuration file is successfully modified.
8. switch configuration management devices as claimed in claim 7, it is characterized in that, described reminding unit is also connected with described format check unit, and for when described Reconfigurations file format verification is defective, prompting configuration file is revised unsuccessfully.
9. switch configuration management devices as claimed in claim 7 or 8, it is characterized in that, described target determination unit is also for determining whether the original configuration file of described target service plate can be revised; If can revise, then described format check unit carries out format check according to the original configuration file of described target service plate to described Reconfigurations file.
10. switch configuration management devices as claimed in claim 9, it is characterized in that, described reminding unit is also connected with described target determination unit, and for when the original configuration file of described target service plate can not be revised, prompting configuration file is revised unsuccessfully.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410707004.3A CN104320292A (en) | 2014-11-27 | 2014-11-27 | Switch configuration management method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410707004.3A CN104320292A (en) | 2014-11-27 | 2014-11-27 | Switch configuration management method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104320292A true CN104320292A (en) | 2015-01-28 |
Family
ID=52375467
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410707004.3A Pending CN104320292A (en) | 2014-11-27 | 2014-11-27 | Switch configuration management method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104320292A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105071948A (en) * | 2015-07-06 | 2015-11-18 | 李雅妮 | Automatic deployment method and device for access switcher |
CN109327324A (en) * | 2017-08-01 | 2019-02-12 | 国基电子(上海)有限公司 | Verification method, electronic device, management server and computer readable storage medium |
CN110543627A (en) * | 2019-09-10 | 2019-12-06 | 北京搜狐新媒体信息技术有限公司 | Method and system for storing report configuration information |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030229732A1 (en) * | 2002-06-10 | 2003-12-11 | Jung Eui Suk | Serial bus type configuration recognition and alarm apparatus |
CN101022473A (en) * | 2007-03-21 | 2007-08-22 | 北京佳讯飞鸿电气有限责任公司 | Method for automatic, identifying plate card configration and generating local data in exchanger |
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 |
-
2014
- 2014-11-27 CN CN201410707004.3A patent/CN104320292A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030229732A1 (en) * | 2002-06-10 | 2003-12-11 | Jung Eui Suk | Serial bus type configuration recognition and alarm apparatus |
CN101022473A (en) * | 2007-03-21 | 2007-08-22 | 北京佳讯飞鸿电气有限责任公司 | Method for automatic, identifying plate card configration and generating local data in exchanger |
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 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105071948A (en) * | 2015-07-06 | 2015-11-18 | 李雅妮 | Automatic deployment method and device for access switcher |
CN105071948B (en) * | 2015-07-06 | 2018-04-17 | 北京云启志新科技股份有限公司 | The automatic deployment method and device of a kind of access switch |
CN109327324A (en) * | 2017-08-01 | 2019-02-12 | 国基电子(上海)有限公司 | Verification method, electronic device, management server and computer readable storage medium |
CN110543627A (en) * | 2019-09-10 | 2019-12-06 | 北京搜狐新媒体信息技术有限公司 | Method and system for storing report configuration information |
CN110543627B (en) * | 2019-09-10 | 2023-08-11 | 北京搜狐新媒体信息技术有限公司 | Report configuration information storage method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101882426B1 (en) | Software updating method, system, and device | |
US9960923B2 (en) | Handling of digital certificates | |
CN110061871B (en) | Base station opening method and device, computer storage medium and equipment | |
CN107819615B (en) | Equipment self-adaptive access method and device and master control equipment | |
US10469620B2 (en) | Method for transferring a new software version to at least one electricity meter via a communication network | |
CN103514016A (en) | Method and device for upgrading system version and base station controller | |
CN105338550B (en) | A kind of management method and device of the connection for wireless network | |
CN105553684B (en) | A kind of communication system and its router upgrade method of application | |
US20210328458A1 (en) | Method and arrangement for detecting a topology in a low-voltage network | |
CN104735657A (en) | Security terminal verification method, device and system and wireless access point binding method | |
CN104965730A (en) | Version upgrading method and system | |
JPWO2018131413A1 (en) | Mobile communication system and congestion control method | |
CN105813047A (en) | Flow regulation and control method, device and system | |
CN104320292A (en) | Switch configuration management method and device | |
CN109495874A (en) | The method and apparatus of Profile downloading | |
CN111343220B (en) | Repeater, distributed file transmission method, distributed file transmission system, medium and electronic equipment | |
CN104519482A (en) | Equipment parameter configuration method and device | |
CN108738027A (en) | A kind of network processing method, resource management system and the network equipment | |
CN114501304A (en) | Near-field communication method, device, storage medium and electronic equipment | |
KR20150067832A (en) | Updating method for module information in battery module structure | |
JP2015500537A (en) | Security information interaction system, apparatus and method based on extended parameter collection | |
CN102769495B (en) | A kind of optical fiber access network equipment communication means, Apparatus and system | |
CN104200394A (en) | Power grid equipment network analysis method and system based on SpatiaLite database | |
CN106462421B (en) | Telecommunication device and method for updating software in a telecommunication device | |
CN116955355A (en) | Block data processing method and device and electronic equipment |
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: 20150128 |