CN102404142A - Link parameter backup method and device as well as equipment - Google Patents

Link parameter backup method and device as well as equipment Download PDF

Info

Publication number
CN102404142A
CN102404142A CN2011103504143A CN201110350414A CN102404142A CN 102404142 A CN102404142 A CN 102404142A CN 2011103504143 A CN2011103504143 A CN 2011103504143A CN 201110350414 A CN201110350414 A CN 201110350414A CN 102404142 A CN102404142 A CN 102404142A
Authority
CN
China
Prior art keywords
link
parameter
link parameter
backup rules
parameter backup
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011103504143A
Other languages
Chinese (zh)
Other versions
CN102404142B (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.)
Shenzhen Hongdian Technologies Corp
Original Assignee
Shenzhen Hongdian Technologies Corp
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 Shenzhen Hongdian Technologies Corp filed Critical Shenzhen Hongdian Technologies Corp
Priority to CN201110350414.3A priority Critical patent/CN102404142B/en
Publication of CN102404142A publication Critical patent/CN102404142A/en
Application granted granted Critical
Publication of CN102404142B publication Critical patent/CN102404142B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention is applicable to the field of network communication and provides a link parameter backup method and a device as well as equipment. The link parameter backup method comprises the following steps of sequentially obtaining each set of parameter configurations of each link and corresponding configuration identifications of the parameter configurations, wherein the configuration identifications are used for uniquely identifying the set of parameter configurations; generating a plurality of groups of link parameter backup rules, wherein the link parameter backup rules are used for appointing the parameter configurations which are needed to be enabled and disabled together; and selecting one of the plurality of groups of link parameter backup rules according to a predetermined switching rule and enabling the parameter configurations in the group of link parameter backup rule. By adopting the method, the parameter configurations of each link which are needed to be backed up in the rule are appointed in the same link parameter backup rule so that the parameter configurations backed up in the same link parameter backup rule have a binding relationship and can be enabled and disabled together so as to realize the flexible backup of the link parameters.

Description

A kind of link parameter backup method, device and equipment
Technical field
The invention belongs to network communication field, relate in particular to a kind of link parameter backup method, device and equipment.
Background technology
In existing network application; Common way is to be a link configuration set of parameter, yet, under comparatively complicated network environment; Possibly just there is multiple parameter configuration simultaneously to a link, connects in different, to adopt different parameter configuration to carry out link.In addition; When in the complex network environment that is in multiport, multilink, constraint or interdepend each other between the multilink, then this multilink also possesses certain binding relationship each other in the parameter configuration that synchronization adopted; And existing link parameter backup method can't be bound backup to a plurality of parameter configuration in the multilink; Therefore, in sum, prior art can't realize the flexible backup to link parameter.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of link parameter backup method, is intended to solve the problem of existing link parameter backup method very flexible.
The embodiment of the invention is achieved in that a kind of link parameter backup method, and said method comprises:
Obtain the every cover parameter configuration and the corresponding configuration identifier thereof of every link successively, said configuration identifier is used for the configuration of unique identification set of parameter;
Generate some groups of link parameter backup rules, said link parameter backup rules is used to specify the parameter configuration that need together launch and together forbid;
Switching law according to preset is selected wherein a group in the said some groups of link parameter backup rules, and launches the parameter configuration in this group link parameter backup rules.
Another purpose of the embodiment of the invention is to provide a kind of link parameter back-up device, and said device comprises:
The parameter configuration acquisition module is used for obtaining successively the every cover parameter configuration and the corresponding configuration identifier thereof of every link, and said configuration identifier is used for the configuration of unique identification set of parameter;
The rule generation module is used to generate some groups of link parameter backup rules, and said link parameter backup rules is used to specify the parameter configuration that need together launch and together forbid;
Rule is selected module, is used for selecting wherein one group of said some groups of link parameter backup rules according to preset switching law, and launches the parameter configuration in this group link parameter backup rules.
Another purpose of the embodiment of the invention is to provide a kind of link parameter switching device that comprises above-mentioned link parameter switching device shifter.
The embodiment of the invention has specified every link need backup to the parameter configuration in this rule in same link parameter backup rules; Make the parameter configuration that backups in the same link parameter backup rules possess binding relationship; Can together be launched and together forbidden, thereby realized flexible backup link parameter.
Description of drawings
Fig. 1 is the realization flow figure of the link parameter backup method that provides of first embodiment of the invention;
Fig. 2 is the realization flow figure of the link parameter backup method that provides of second embodiment of the invention;
Fig. 3 is the realization flow figure of the link parameter backup method that provides of third embodiment of the invention;
Fig. 4 is the realization flow figure of the link parameter backup method that provides of fourth embodiment of the invention;
Fig. 5 is the structure chart of the link parameter back-up device that provides of fifth embodiment of the invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention has specified every link need backup to the parameter configuration in this rule in same link parameter backup rules; Make the parameter configuration that backups in the same link parameter backup rules possess binding relationship; Can together be launched and together forbidden, thereby realized flexible backup link parameter.
Fig. 1 shows the realization flow of the link parameter backup method that first embodiment of the invention provides, and details are as follows:
In step S101, obtain the every cover parameter configuration and the corresponding configuration identifier thereof of every link successively, said configuration identifier is used for the configuration of unique identification set of parameter.
Under the network environment of complicacy,, possibly exist many cover parameter configuration with reply various network environment to a concrete link; Therefore, in the present embodiment, obtain the every cover parameter configuration and the corresponding configuration identifier thereof of every link successively; Wherein, The content of the every cover parameter configuration that gets access to can be identical or different, but the configuration identifier of every cover parameter configuration is unique, is used for unique identification corresponding parameters configuration with it.Particularly, configuration identifier can be title of configuration parameter etc.
In the present embodiment, parameter configuration and corresponding configuration identifier thereof can be through detecting user's input or detecting preset content and obtain, and concrete obtain manner does not limit at this.
In step S102, generate some groups of link parameter backup rules, said link parameter backup rules is used to specify the parameter configuration that need together launch and together forbid.
In the present embodiment; The parameter configuration from different links that backs up in the same link parameter backup rules will possess binding relationship; To together be launched or together forbidden,, promptly can be selected to launch different link parameter backup rules according to the network environment of reality through generating some groups of link parameter backup rules; Launch or the unified parameter configuration of forbidding in this group link parameter backup rules with unification, realization is backed up the unification of the parameter configuration of multilink and is sought unity of action.
Concrete link parameter backup rules generation method will be elaborated in the subsequent implementation example, repeat no more at this.
In step S103, select wherein a group in the said some groups of link parameter backup rules according to preset switching law, and launch the parameter configuration in this group link parameter backup rules.
In the present embodiment, preset switching law can not limit at this for the switching law of carrying out based on the switching law or the order of priority.In subsequent implementation example of the present invention, two preferential embodiment with specifying step S103 repeat no more at this.
In the present embodiment; Through in same link parameter backup rules, specifying every link need backup to the parameter configuration in this rule; Make the parameter configuration that backups in the same link parameter backup rules possess binding relationship; Can be launched together or together forbidden, thereby realized flexible backup, also more flexible and changeable networking mode and link parameter backup mode thereof is provided for the user to link parameter.
Fig. 2 shows the realization flow of the link parameter backup method that second embodiment of the invention provides, and present embodiment is the detailed description to first embodiment of the invention step S102, and details are as follows for its realization flow:
In step S201, detect preassigned parameter configuration in every link successively.
In the present embodiment; To each group link parameter backup rules; Each bar link all has the parameter configuration that preassigned needs back up to this group rule; Therefore, in this step, detect the parameter configuration that preassigned needs in every link back up to current link parameter backup rules successively.
In step S202, the configuration identifier that detected parameter configuration is corresponding is saved to current link parameter backup rules.
In the present embodiment; Through the pairing configuration identifier of preassigned parameter configuration in detected every link is saved to current link parameter backup rules; When switching to this rule, promptly can launch the relevant parameters configuration through the configuration identifier that is kept in this rule.
In step S203, repeated execution of steps S201 and S202 are until generating some groups of link parameter backup rules.
In the present embodiment, the quantity of the link parameter backup rules of generation is confirmed according to the network environment of reality, does not limit at this.
In the present embodiment; After having generated some groups of link parameter backup rules; Promptly can select wherein one group of link parameter backup rules according to preset switching law; To launch the parameter configuration in this group link parameter backup rules, forbid the parameter configuration in other group link parameter backup rules simultaneously.
Fig. 3 shows the realization flow of the link parameter backup method that third embodiment of the invention provides, and present embodiment is the detailed description to first embodiment of the invention step S103, and details are as follows for its realization flow:
In step S301, obtain every assay intervals, detection number of times and detection mode that link is preset under the current link backup rule.
In the present embodiment; The difference of the parameter configuration that adopts according to every link is to the detected parameters of separately preset every the link of every cover parameter configuration, and relevant detected parameters is that characteristic according to every cover parameter configuration decides; Wherein, Assay intervals is to detect the time interval of behavior twice of same link, detect number of times by link when obstructed the maximum times that detects again of trial, detection mode then is the detection mode to link ruuning situation; Can comprise Link State detection mode and Internet Control Message Protocol (internet controlmessage protocol; ICMP) detection mode, whether normally the former judge link operation through the practical operation situation that detects LI(link interface), the latter then wraps through the PING that sends ICMP whether detect link unobstructed.Need to prove how every cover parameter configuration and corresponding detected parameters thereof are preset not is emphasis of the present invention, does not specify at this.
In step S302,, under current link parameter backup rules, all links are detected according to said detection mode and said assay intervals.
In step S303, after any link has passed through said detection number of times, when all obstructed, switch to another link parameter backup rules, otherwise keep current link parameter backup rules.
In the present embodiment; According to preset detection mode and assay intervals; Link under the parameter configuration that operates in current link parameter backup rules detects, and testing result is when obstructed after any link has passed through preset detection number of times, then thinks current link parameter backup rules existing problems; Switch to another link parameter backup rules immediately, otherwise keep current link parameter backup rules.In the present embodiment, when one group of link parameter backup rules is in initiate mode, the then certain disabled status of other link parameter backup rules; Simultaneously; When carrying out rule when switching, can be in order, method such as backward switches to next rule, as a preferred embodiment of the present invention; Can also on the basis of third embodiment of the invention, carry out the rule switching through increasing based on the method for priority.
Fig. 4 shows the realization flow of the link parameter backup method that fourth embodiment of the invention provides, and it is that details are as follows to the detailed description of step S303:
In step S401, obtain the priority and the running time of every group of preset link parameter backup rules.
In the present embodiment, can priority be set for every group of link parameter backup rules, and be the differentiation different priorities through integer, for example, 0 is limit priority, and along with the increase of numeral, then priority reduces.Simultaneously, stipulated every group of maximum duration that the link parameter backup rules can be moved running time.
In step S402, after any link has passed through said detection number of times when all obstructed, switch to priority and time be higher than the link parameter backup rules of current link parameter backup rules, otherwise keep current link parameter backup rules.
In step S403, judge whether current link parameter backup rules is overtime running time, be then to switch to the highest link parameter backup rules of priority, otherwise keep current link parameter backup rules.
Fig. 5 shows the structure of the link parameter back-up device that fifth embodiment of the invention provides, and for the ease of explanation, only shows the part relevant with present embodiment.
With reference to Fig. 5, this link parameter back-up device can run in the network equipments such as router, switch, and the unit for the hardware cell, software unit or the software and hardware combining that run on the above-mentioned network equipment specifically comprises:
Parameter configuration acquisition module 51 obtains every cover parameter configuration of every link and corresponding configuration identifier thereof successively, and said configuration identifier is used for the configuration of unique identification set of parameter.
Rule generation module 52 generates some groups of link parameter backup rules, and said link parameter backup rules is used to specify the parameter configuration that need together launch and together forbid.
Rule is selected module 53, selects wherein a group in the said some groups of link parameter backup rules according to preset switching law, and launches the parameter configuration in this group link parameter backup rules.
Particularly, regular generation module 52 comprises:
Parameter configuration detection sub-module 521 detects preassigned parameter configuration in every link successively.
Preserve module 522, the configuration identifier that detected parameter configuration is corresponding is saved to current link parameter backup rules.
Particularly, rule selects module 53 to comprise:
Detection information is obtained submodule 531, obtains every assay intervals, detection number of times and detection mode that link is preset under the current link backup rule.
Detection sub-module 532 according to said detection mode and said assay intervals, detects all links under current link parameter backup rules.
Rule switching submodule 533 when all obstructed, switch to another link parameter backup rules, otherwise keeps current link parameter backup rules after any link has passed through said detection number of times.
Particularly, regular switching submodule 533 comprises:
Rule Information acquiring unit 5331, the priority and the running time of obtaining every group of preset link parameter backup rules.
First switch unit 5332 after any link has passed through said detection number of times when all obstructed, switches to priority and time is higher than the link parameter backup rules of current link parameter backup rules, otherwise keep current link parameter backup rules.
Second switch unit 5333 judges whether current link parameter backup rules is overtime running time, is then to switch to the highest link parameter backup rules of priority, otherwise keeps current link parameter backup rules.
The embodiment of the invention has specified every link need backup to the parameter configuration in this rule in same link parameter backup rules; Make the parameter configuration that backups in the same link parameter backup rules possess binding relationship, can together be launched and together forbid.Simultaneously, further, realized flexible backup, also more flexible and changeable networking mode and link parameter backup mode thereof is provided for the user to link parameter through multiple link parameter switching mode is set.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a link parameter backup method is characterized in that, said method comprises:
Obtain the every cover parameter configuration and the corresponding configuration identifier thereof of every link successively, said configuration identifier is used for the configuration of unique identification set of parameter;
Generate some groups of link parameter backup rules, said link parameter backup rules is used to specify the parameter configuration that need together launch and together forbid;
Switching law according to preset is selected wherein a group in the said some groups of link parameter backup rules, and launches the parameter configuration in this group link parameter backup rules.
2. the method for claim 1 is characterized in that, the step of some groups of link parameter backup rules of said generation specifically comprises:
A. detect preassigned parameter configuration in every link successively;
B. detected parameter configuration is corresponding configuration identifier is saved to current link parameter backup rules;
C. repeated execution of steps a and step b are until generating some groups of link parameter backup rules.
3. the method for claim 1 is characterized in that, the preset switching law of said basis selects wherein one group the step in the said some groups of link parameter backup rules specifically to comprise:
Obtain every assay intervals, detection number of times and detection mode that link is preset under the current link backup rule;
According to said detection mode and said assay intervals, under current link parameter backup rules, all links are detected;
After any link has passed through said detection number of times, when all obstructed, switch to another link parameter backup rules, otherwise keep current link parameter backup rules.
4. method as claimed in claim 3 is characterized in that, saidly after any link has passed through said detection number of times, when all obstructed, switches to another link parameter backup rules, otherwise the step of keeping current link parameter backup rules specifically comprises:
Obtain the priority of every group of preset link parameter backup rules;
After any link has passed through said detection number of times when all obstructed, switch to priority and time be higher than the link parameter backup rules of current link parameter backup rules, otherwise keep current link parameter backup rules.
5. method as claimed in claim 4 is characterized in that, said method also comprises:
Obtain the running time of every group of preset link parameter backup rules;
Whether the running time of judging current link parameter backup rules is overtime, is then to switch to the highest link parameter backup rules of priority, otherwise keeps current link parameter backup rules.
6. a link parameter back-up device is characterized in that, said device comprises:
The parameter configuration acquisition module is used for obtaining successively the every cover parameter configuration and the corresponding configuration identifier thereof of every link, and said configuration identifier is used for the configuration of unique identification set of parameter;
The rule generation module is used to generate some groups of link parameter backup rules, and said link parameter backup rules is used to specify the parameter configuration that need together launch and together forbid;
Rule is selected module, is used for selecting wherein one group of said some groups of link parameter backup rules according to preset switching law, and launches the parameter configuration in this group link parameter backup rules.
7. device as claimed in claim 6 is characterized in that, said regular generation module comprises:
The parameter configuration detection sub-module is used for detecting successively every preassigned parameter configuration of link;
Preserve module, be used for the configuration identifier that detected parameter configuration is corresponding and be saved to current link parameter backup rules.
8. device as claimed in claim 6 is characterized in that, said rule selects module to comprise:
Detection information is obtained submodule, is used to obtain every assay intervals, detection number of times and detection mode that link is preset under the current link backup rule;
Detection sub-module is used for all links being detected under current link parameter backup rules according to said detection mode and said assay intervals;
The rule switching submodule is used for after any link has passed through said detection number of times, when all obstructed, switch to another link parameter backup rules, otherwise keeping current link parameter backup rules.
9. device as claimed in claim 8 is characterized in that, said regular switching submodule comprises:
The Rule Information acquiring unit, the priority and the running time that are used to obtain every group of preset link parameter backup rules;
First switch unit is used for after any link has passed through said detection number of times when all obstructed, switches to priority and time is higher than the link parameter backup rules of current link parameter backup rules, otherwise keep current link parameter backup rules;
Second switch unit is used to judge whether the running time of current link parameter backup rules is overtime, is then to switch to the highest link parameter backup rules of priority, otherwise keeps current link parameter backup rules.
10. a link parameter switching device is characterized in that, said equipment comprises like each described link parameter switching device shifter of claim 6 to 9.
CN201110350414.3A 2011-11-08 2011-11-08 A kind of link parameter backup method, device and equipment Active CN102404142B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110350414.3A CN102404142B (en) 2011-11-08 2011-11-08 A kind of link parameter backup method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110350414.3A CN102404142B (en) 2011-11-08 2011-11-08 A kind of link parameter backup method, device and equipment

Publications (2)

Publication Number Publication Date
CN102404142A true CN102404142A (en) 2012-04-04
CN102404142B CN102404142B (en) 2015-07-29

Family

ID=45885957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110350414.3A Active CN102404142B (en) 2011-11-08 2011-11-08 A kind of link parameter backup method, device and equipment

Country Status (1)

Country Link
CN (1) CN102404142B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1655513A (en) * 2004-02-12 2005-08-17 华为技术有限公司 Method for realizing configuration data real-time synchronization for network management system and network element device
CN1735059A (en) * 2003-10-24 2006-02-15 微软公司 Network and interface selection on computing device in which connection can be established via plurality of network communication media
CN101213799A (en) * 2005-05-27 2008-07-02 诺基亚公司 Expanded signalling capability for network element, user equipment and system
US20100036943A1 (en) * 2008-08-07 2010-02-11 Fujitsu Limited Method of network management

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1735059A (en) * 2003-10-24 2006-02-15 微软公司 Network and interface selection on computing device in which connection can be established via plurality of network communication media
CN1655513A (en) * 2004-02-12 2005-08-17 华为技术有限公司 Method for realizing configuration data real-time synchronization for network management system and network element device
CN101213799A (en) * 2005-05-27 2008-07-02 诺基亚公司 Expanded signalling capability for network element, user equipment and system
US20100036943A1 (en) * 2008-08-07 2010-02-11 Fujitsu Limited Method of network management

Also Published As

Publication number Publication date
CN102404142B (en) 2015-07-29

Similar Documents

Publication Publication Date Title
CN104601682A (en) Method for switching gateway of internet of things as well as associated device and system
CN103139033B (en) Single main communications control bus main equipment redundancy switching method
CN105765955B (en) A kind of user management method, terminal and terminal device
CN102647304A (en) Synchronizing method of address resolution protocols and device
CN103607293A (en) Flow protection method and equipment thereof
CN110768840A (en) Control method, device, equipment and storage medium of communication equipment
CN105141450A (en) Configuration methods and devices for WIFI module of internet of things device
JP4309399B2 (en) Wireless system reconnectable during electromagnetic interference, reconnect method and computer readable medium thereof
CN102970172B (en) A kind of method that communication link switches, equipment and communication system
CN102377677B (en) Method and system for quickly switching protection paths in multi-protocol label switching (MPLS) network
EP3244587A1 (en) Method, device and system for precision time protocol time synchronization in aggregation network
CN102891767B (en) A kind of link protection method, network element and system
CN112803998B (en) Multi-bus network cross-network communication method, device, system, equipment and storage medium
CN102917370B (en) Method, device and system for determining corresponding near-end unit of far-end unit and far-end unit
CN102984739A (en) Breakdown information processing method and processing device
CN102752189B (en) A kind of method and apparatus processing message
CN102820992A (en) Processing method and device of data packets
CN102404142A (en) Link parameter backup method and device as well as equipment
CN103001810B (en) Network path protection changing method and system
CN102546313B (en) Multi-activation detection method and multi-activation detection device
CN104579736A (en) Loop circuit data transmission method and node equipment
CN107431634A (en) A kind of method, apparatus and system of the interface established between VNFM
CN105634765A (en) Controller replacement method and controller replacement device
CN102970219B (en) The method and apparatus of binding guard ring
CN102571430B (en) Method for synchronizing network devices and network devices

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