CN1881891A - Method for storing configuration data of communication equipment - Google Patents

Method for storing configuration data of communication equipment Download PDF

Info

Publication number
CN1881891A
CN1881891A CNA2005100353697A CN200510035369A CN1881891A CN 1881891 A CN1881891 A CN 1881891A CN A2005100353697 A CNA2005100353697 A CN A2005100353697A CN 200510035369 A CN200510035369 A CN 200510035369A CN 1881891 A CN1881891 A CN 1881891A
Authority
CN
China
Prior art keywords
configuration
sign
configuring area
standby
data
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
CNA2005100353697A
Other languages
Chinese (zh)
Other versions
CN100450013C (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005100353697A priority Critical patent/CN100450013C/en
Publication of CN1881891A publication Critical patent/CN1881891A/en
Application granted granted Critical
Publication of CN100450013C publication Critical patent/CN100450013C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a storage method of communication device distributed data, wherein setting at least two independent distribution generate programs at the communication device; each distribution generate program is used to analyze and treat the all distributed data, to generate the user distributions with different formats; in the memory of communication device, providing at least two distribute regions for storing the distributed data; when storing the distributed data, based on the operation command of user, combined with distribution storage mark, selecting the distribution generate program, to generate the user distribution at needed format, and storing the user distribution at the selected distribute region; and the invention can only select one distribute region. The invention can overcome the defects of present communication device that only storing one distribute data in fixed format, to be stored in fixed region; therefore, the user can freely select the storage format of distribute data, and transform the data format according to the need of user.

Description

The storage means of configuration data of communication equipment
Technical field
The present invention relates to the communication equipment technical field, relate in particular to a kind of storage means of configuration data of communication equipment.
Background technology
The configuration data of communication equipment is the basis that communication equipment correctly provides business function, and configuration data is the configuration means that the personnel that administer and maintain of communication equipment provide by equipment, based on a complete documentation that provides professional purpose that equipment is configured.In order to make communication equipment, need preserve configuration data at the state that breaks down before restarting, can automatically returning to during situation such as upgrading or attendant's positive return system restart.
On present communication equipment, the frequent configuration data preservation form that adopts has two kinds: a kind of embedded memory wide area information server form (for example the switch of PSTN often adopts this form) that is based on, a kind of command script form (for example this form of the general employing of the router of data communication use) that is based on the manmachine command of user's primitive operation.
The configuration data of database format is a binary system mirror image of the direct data structure of using of program running of communication equipment, so can't not discern and revise under the situation of external tool having, but because it is the direct mirror image of the required data structure of program running, break down in system and can shorten the time of system restoration when resuming operation, better equipment availability is provided.The order line script format is the original manmachine command of text formatting owing to what preserve, so it is easy to identification and revises, but in command entries more for a long time, when breaking down recovery, system moves needed data structure owing to will re-execute the manmachine command generator, can increase greatly the recovery time of system, reduced the availability of system.
Communication equipment will be on communication network operate as normal, all need through certain configuration.Common equipment disposition mode has three kinds:
1, by network management server communication equipment is configured;
2, the manmachine command that provides by equipment self uses the dumb terminal equipment to be configured (dumb terminal is only to depend on the terminal that main frame just can be handled, the dumb terminal does not have processor, hard disk or floppy disk, have only keyboard, display and to the avenues of communication of main frame, as hyper terminal or the TELNET terminal of WINDOWS);
3, use the WEB browser to sign in to equipment, the WEB page that utilizes equipment to provide is configured equipment, and the WEB mode generally only is used for simple hdtv home communication terminal.
For large-scale, the professional communication equipment that uses in the communication network, use special-purpose network management server or the manmachine command that utilizes equipment self to provide by the dumb terminal that equipment is configured usually.The result that configuration generates can be stored in the equipment, the configuration result that is kept in the equipment can be a various ways, and configuration result preservation form commonly used has self-defining binary data file mode (or use commercial data base database file form), original man-computer command script mode (as man-machine language MML, Command Line Interface CLI, transaction language TL1), extend markup language (XML) form.
When using these forms to preserve configuration separately, because the restriction of form self, all there is certain shortcoming, for example manmachine command and XML form are for leading subscriber, because they are texts, can see the configuring condition of equipment more intuitively, but because these texts all need to resolve again the data structure that generation equipment internal program can be used when breaking down recovery configuring in system, so the business recovery time of system can be very long, especially when configuration is many.Simultaneously, the preservation form of text formatting also can take more storage resources.And the simple binary data set of data file mode, leading subscriber is in the configuration that does not have the equipment of can't directly checking under the situation of external tool; Simultaneously since binary data format can because programming to the change of data structure and along with the upgrading of program changes (because the design of program is when changing, also can comprise the change of the data structure that program is used, for example in data structure, increase or delete some, perhaps adjust the size in the shared space of some project, these all can cause the variation of binary data format), so when program upgrade, also must be at the inner or outside instrument of the data transaction between the different editions that provides of device program, the effect of data transaction instrument is exactly when data structure changes, original binary data is adjusted according to new data structure, guaranteed that original configuration data intactly is kept in the binary data of format with correct form and numerical value.
In order to solve oversize shortcoming of man-computer command script configuration restore time, the mode that is configured to binary data file of quantity maximum in the configuration data can be deposited, when system configuration is preserved, according to predetermined rule, respectively different configurations is kept at respectively in man-computer command script document and the binary data file.Be illustrated in figure 1 as existing multi-mode configuration symbiont techn principle schematic, PC dumb terminal or network management workstation are connected with communication equipment, by SNMP (Simple Network Management Protocol), CORBA (CORBA) communication equipment are configured.S is the program of communication equipment, D1~D5 has formed the needed configuration data of program running, in order to satisfy the requirement of quick recovery configuring, D1 in the configuration data, D3, three parts of D5 are kept at binary data part in the cfg file by configuration generator P with the form of binary data, and the two-part data of D2 and D4 then have been kept at the man-computer command script part in the cfg file by configuration generator P with the man-computer command script form.Man-computer command script part and binary data part have been formed a entire arrangement data CFG together.When system configuration is recovered,, the configuration restore time can be saved greatly like this because large batch of configuration can directly recover by binary data file.
In Fig. 1, D2, D4 can only be kept among the CFG with the man-computer command script form, and D1, D3 and D5 can only be kept among the CFG with binary data format, and the data of each several part can not use the form of extended formatting to preserve.It is to be fixed up in the code of program that this established data is kept at definite zone (perhaps file) with the form of determining, can only regularly partial data be saved as binary format, other partial data has been preserved into text formatting, and the shortcoming of this configuration data storage means is:
1, the configuration of the configuration of man-computer command script preservation and binary data preservation all is the part of configuration, and each several part all can't be independently solved unborn separately shortcoming;
2, two kinds of data may exist and interdepend, and need read configuration stage by stage from different configuration format when configuration restore, rely on to solve two kinds of front and back between the format configuration data, have increased the complexity of system restoration configuration;
3, the user needs original HRP-configured slave device is backuped on the local computer before upgrading, if but the upgrading failure then can't directly return back to original configuration, and may need the user to reload original configuration data to the scene, the restorer operation.
Summary of the invention
Technical problem to be solved by this invention is: overcome the configuration data that existing communication equipment only keeps a set form, can only be kept at definite zone with the form of determining, dispose inflexible shortcoming, a kind of storage means of configuration data of communication equipment is provided, make the user can freely select the preservation form of configuration data, and can carry out the conversion of data format according to user's needs.
The present invention solves the problems of the technologies described above the technical scheme that is adopted to be:
The storage means of this configuration data of communication equipment is provided with at least two and independently disposes generator in communication equipment, each configuration generator is used for whole configuration datas are analyzed and handled, and generates user's configuration of different-format; At least two configuring area that are used to preserve configuration data are provided in the memory of communication equipment; When configuration data is preserved, select to dispose generator according to user's operating command and in conjunction with configuration preservation sign, generate user's configuration of required form, and this user's configuration is kept in the selected configuring area.
Can a configuration preservation sign be set corresponding respectively described each configuring area, each configuration is preserved and is comprised active and standby sign of configuration and configuration format sign in the sign at least, dispose active and standby sign and represent that current which configuring area is the configuring area that system default uses, each configuring area has only one to be main usefulness, other be standby; The configuration format sign is used to identify the employed data format of each configuring area.
Sign is preserved in described configuration can also comprise current sign and the configuration take-effective timeliness sign of coming into force, and initial when the current sign that comes into force is used to identify this system start-up which configuring area what use be, each configuring area has only one for effective, other be invalid; The number of times of this configuration of configuration take-effective timeliness sign expression use does not promptly re-use after being to use once, still comes into force for a long time, in the active and standby sign of configuration is the main time spent, check this sign during the system restoration configuration, come into force that the active and standby sign of configuration then automaticallyes switch if be designated once.
When configuration restore, sign is preserved in business procedure inspection configuration,, configuration data is made an explanation according to this form according to main configuration format sign then with reading of data in the configuring area from main, then the result after explaining is kept in the needed data structure of program running with configuring area.
When the user preserves current system configuration by operational order, if in the operational order not specified configuration preserve form, system preserves the configuring area that is configured to appointment by the current configuration format that comes into force automatically; If specified configuration district not, the current main configuration format of automatic checking with configuring area, if the configuration format of appointment is identical with main configuration format with configuring area, then configuration is kept at the main configuring area of using, if it is different, then configuration is kept at the standby configuration district, and upgrades the configuration format sign in standby configuration district; If specified configuration form and configuring area then are not kept at the main configuring area of using according to main configuration format with configuring area with configuration.
The user can will download on the configuration file slave unit in the specified configuration district by the file transfer means; Perhaps a configuration file is uploaded to the specified configuration district of equipment from computer, upgrade the configuration format of this configuring area simultaneously according to the configuration file format of uploading by the file transfer means.
The user can be by the configuration in the operational order current standby configuration district on probation, when carrying out this operation, the standby configuration district is active and standby to be modified to main using with sign, configuration take-effective timeliness sign is modified to once effective, former master is modified to standby with the active and standby of configuring area with sign, system reset activates the configuration in the standby configuration district, obtain configuration from new master with configuring area and come configuration device, the current main current sign that comes into force with configuring area is revised as effectively, with current standby configuration district current come into force sign be revised as invalid, and detect current master and use the configuration take-effective timeliness of configuring area to identify, if for once effective, then revise and currently main be revised as standbyly with sign with configuring area active and standby, the active and standby of current standby configuration district is revised as master's usefulness with identifying.
The user can activate configuration in the current standby configuration district by operational order, when carrying out this operation, the active and standby of standby configuration district is modified to main using with sign, it is effectively permanent that configuration take-effective timeliness sign is modified to, former master is modified to standby with the active and standby of configuring area with sign, system reset activates the configuration in the standby configuration district, obtain configuration from new master with configuring area and come configuration device, the current main current sign that comes into force with configuring area is revised as effectively, with current standby configuration district current come into force identify be revised as invalid.
The user can confirm the current configuration that comes into force by operational order, when carrying out this operation, at first detect the current sign that comes into force of two configuring area, current coming into force is designated the effective configuration district, it active and standbyly is revised as main usefulness with sign, another configuring area active and standby is revised as standby with sign, detect this moment main configuration take-effective timeliness and identify with configuring area, if for once effective, it is effectively permanent then to be revised as.
The storage means of corresponding a kind of configuration data of communication equipment is provided with at least two and independently disposes generator in communication equipment, each configuration generator is used for whole configuration datas are analyzed and handled, and generates user's configuration of different-format; A configuring area that is used to preserve configuration data is provided in the memory of communication equipment; When configuration data is preserved, identify according to user's operating command and in conjunction with configuration format and to select to dispose generator, generate user's configuration of required form, and this user's configuration is kept in the described configuring area.
Beneficial effect of the present invention is: the present invention has overcome the configuration data that existing communication equipment only keeps a set form, can only be kept at definite zone with the form of determining, dispose inflexible shortcoming, a kind of storage means of configuration data of communication equipment is provided, by a plurality of generators that independently dispose, make the user can freely select the preservation form of configuration data, and can carry out the conversion of data format according to user's needs.
Existing equipment only keeps the configuration data (no matter be single form, or a partial data of mixed format) of a set form, utilizes the present invention to allow to keep many parts of configuration datas in equipment.By keeping many parts of configuration datas, make full use of the advantage of various configuration format, for the user provide more flexible, easily data recover, check, revise, function such as upgrading.Problems such as the configuration of the different-format that has existed when having solved many parts of forms simultaneously is inconsistent, how to select when the backup between many parts of configuration datas, replacement, on probation, configuration restore.
Utilize the present invention, specify new form to preserve configuration data, can realize the configuration data conversion of different-format easily by user command; Can realize in the equipment whole configuration datas being adopted the coexistence of various configurations form, can be with configuration (as XML, TL1, CLI may all be text, but the form of their reality is different) on probation and use in telecommunication apparatus of format.The advantage of various configuration format can be given full play to, the requirement of different user can be satisfied different configuration format.
The present invention can convert binary data file to the configuration data of the manmachine command form of a complete text formatting by the configuration generator, the user just can read, discern and revise configuration data easily this moment, having overcome the configuration of binary data file form can't direct reading and the problem of identification, and the problem that can't revise by hand of the configuration of binary data file form.If what current configuration was used is the data preservation of a binary format, in order to check current configuration, the user can specify the standby configuration district, and current configuration is saved as the human-machine order format of text again, and the configuration of human-machine order format is kept at the standby configuration district.In the standby configuration district, configuration data is taken out then, just can check intuitively and dispose.Owing to only used a configuration data that configuring area is interior during configuration restore, there is not the complementary situation of data between the different configuring area.
The present invention is because can finish the conversion from the binary system to the text formatting by the configuration generator, so the user can make amendment to the configuration data of text formatting easily, simultaneously, the binary data format that the manmachine command relative program uses, along with the probability that routine change changes is smaller, so when upgrading, can finish the data upgrading of redaction program by a spot of manual amendment fully, and needn't use the binary data updating instrument between the special different-format.
The present invention can further improve the configuration restore time, overcome the long problem of system recovery time that is configured in of man-computer command script form, also taken into account the readability of user simultaneously to configuration data, the user can safeguard the form that custom or its business demand freely select configuration to preserve according to the individual, and is very flexible.
Description of drawings
Fig. 1 is existing multi-mode configuration symbiont techn principle schematic;
Fig. 2 is the multimodal configuration store principle schematic of the present invention.
Embodiment
With embodiment the present invention is described in further detail with reference to the accompanying drawings below:
The invention provides the configuration of a kind of multi-mode and preserve and handoff technique, existing shortcoming is preserved in the configuration that is used for solving the telecommunication apparatus different-format.In telecommunication apparatus, for equipment can normally be moved, for the user provides telecommunications service, must telecommunication apparatus be configured according to the planning and the professional deployment of network, general often telecommunication apparatus is configured by network management device, or directly equipment is configured by the manmachine command that equipment provides, the WEB mode not too is suitable for carrying out the Telecommunication network equipment of complex configurations, all is to be applied in the configuration of subscriber terminal equipment generally.
Simultaneously, can must preserve user's configuration according to the normal operating state of original configuration restore after resetting breaking down for assurance equipment.In order to recover professional as soon as possible, configuration generally all is kept in the nonvolatile memory of equipment.Form is preserved in configuration commonly used now two kinds: a kind of is binary data format, and a kind of is the text formatting of man-computer command script.The general form of all only selecting a kind of conduct oneself wherein of telecommunication apparatus, because all there is certain limitation in every kind of configuration format, simultaneously, different clients can require same equipment to provide different configurations to preserve form according to the business demand of oneself.In order to make full use of the advantage of various forms, satisfy different clients' demand simultaneously, the invention provides a kind of multimodal configuration preservation technology.
In telecommunication apparatus, there are at least two kinds of forms in user's configuration, and a kind of the needs in the device program running uses in real time, leaves binary data among the RAM in; A kind of is to leave in the nonvolatile memory of equipment, is used for equipment and recovers professional and use.These two kinds of forms be configured in formal may be different, but the content of its expression should be on all four (also having a kind of possible form is to leave in the network management device, and it is irrelevant to be used for content that network management device uses and that the present invention discusses).When the user is configured equipment, can wherein generate the configuration data of these two kinds of forms the while simultaneously in RAM and non-volatile memories, perhaps generate earlier the configuration data that program running is used among the RAM, then according to user's operating command again with configuration backup in nonvolatile memory.Leave configuration data in the nonvolatile memory in and generally be in the file of the memory block of depositing the fixed position or fixed name.
The present invention is provided with at least two and independently disposes generator in communication equipment, each configuration generator is used for whole configuration datas are analyzed and handled, and generates user's configuration of different-format; At least two configuring area that are used to preserve configuration data are provided in the memory of communication equipment; When configuration data is preserved, select to dispose generator according to user's operating command and in conjunction with configuration preservation sign, generate user's configuration of required form, and this user's configuration is kept in the selected configuring area.
Corresponding respectively described each configuring area is provided with a configuration and preserves sign, each configuration is preserved and is comprised active and standby sign of configuration and configuration format sign in the sign at least, dispose active and standby sign and represent that current which configuring area is the configuring area that system default uses, each configuring area has only one to be main usefulness, other be standby; The configuration format sign is used to identify the employed data format of each configuring area.Sign is preserved in configuration can also comprise current sign and the configuration take-effective timeliness sign of coming into force, and initial when the current sign that comes into force is used to identify this system start-up which configuring area what use be, each configuring area has only one for effective, other be invalid; The number of times of this configuration of configuration take-effective timeliness sign expression use does not promptly re-use after being to use once, still comes into force for a long time, in the active and standby sign of configuration is the main time spent, check this sign during the system restoration configuration, come into force that the active and standby sign of configuration then automaticallyes switch if be designated once.
Be illustrated in figure 2 as the multimodal configuration store principle schematic of the present invention, in the present invention, in nonvolatile memory for system provides two configuring area (files of two memory blocks or two fixed names), as CFG1 among Fig. 2 and CFG2.In the program of equipment, exist business procedure S, configuration generator P1, P2~Pn.The equipment control user is configured equipment by PC dumb terminal or network management workstation, generates business procedure by business procedure and moves employed data D1.D1 is a entire arrangement data, comprises the data that the user disposes generation among the D1, also comprises the professional intermediate data that business procedure generates in the process of managing business.D1 can be understood as the data structure of using in the program operation process, and the content of data structure may dispose according to the user, hardware change etc. changes.
Configuration generator P1, P2~Pn configuration of corresponding a kind of form respectively preserve, their effect is exactly under the leading subscriber order is intervened, by analysis and processing to the D1 data, generate user's configuration of the needs preservation of Final Format, preserve under the guide of sign in configuration then, configuration is kept among configuring area CFG1 or the CFG2.In the operational order of leading subscriber, can indicate the configuration format of desired preservation.When the user did not indicate configuration format, equipment can use current default configuration format to preserve configuration automatically.Configuration preserve following several mode:
1, user's input of control commands requires current configuration is preserved.
2, find in the program operation process that configuration data changes, and is kept at up-to-date data in the nonvolatile memory automatically.
3, program timing is kept at current configuration in the nonvolatile memory automatically.
What configuring area CFG1 among Fig. 2 and CFG2 stored is two parts of entire arrangement data representing different-format respectively.Each configuring area stored be the data of which kind of form, depend on use be which the configuration generator.But, in the configuring area a entire arrangement data can only be arranged, so can preserve a kind of configuration data of form in configuring area, also may be as prior art, the configuration data that generates a plurality of forms by a configuration generator is kept in the configuring area, makes also to be mixed by a plurality of forms in the configuring area to constitute a partial data.
The main effect of adopting CFG1 and these two configuring area of CFG2 is to guarantee to protect in upgrading, the data when converting available data to another form, an other piece of data on probation equipment used.Configuring area also can expand to the configuring area more than three or three, in this case, configuration is preserved sign and is also expanded to many parts, compare with two configuring area, there is one to be main using in the configuring area of this moment, other are several all to be standby, and its operation principle can be promoted from two zones at an easy rate and come.
Existing equipment generally all only keeps the configuration data (no matter be single form, still a partial data of mixed format) of a set form, utilizes the present invention to allow many parts of configuration datas of reservation in equipment.By keeping many parts of configuration datas, make full use of the advantage of various configuration format, for the user provides more flexible, data are recovered easily, check functions such as modification.But problems such as many parts of forms are inconsistent with regard to the configuration that has different-format, how to select when the backup between many parts of configuration datas, replacement, on probation, configuration restore.
Exist many parts of configurations the time must have sign represent the relation between these configurations and the form of configuration.Certainly, the imbody form that sign is preserved in configuration may be variform, for example: if file can be distinguished the configuration of different-format with different filenames, can also set up identification information in data inside, for example represent that in first byte of data what form current be.Present embodiment adopts the configuration preservation to identify, and exists two configurations to preserve sign in the system, corresponding CFG1 of difference and CFG2, and configuration is preserved sign and is made up of following field:
<dispose active and standby sign〉<the current sign that comes into force〉<configuration take-effective timeliness sign〉<the configuration format sign 〉
Dispose active and standby sign---represent that current which configuring area is the configuring area that system default uses.Configuring area CFG1 and CFG2 are mutual exclusions, that is to say that this sign for CFG1 and CFG2, can only have one to be main usefulness, and another one is standby.
The current sign that comes into force---which configuration initial use is when identifying this system start-up.Configuring area CFG1 and CFG2 also are mutual exclusions, that is to say, this identifies for CFG1 and CFG2, can only have one for effective, and one is invalid.
Configuration take-effective timeliness sign---represent the number of times of this configuration use, promptly do not re-use after being to use once, still come into force for a long time.In the active and standby sign of configuration is the main time spent, can check this sign during the system restoration configuration, comes into force the active and standby sign of configuration of then automatically switch CFG1 and CFG2 if be designated once.
The configuration format sign---identify the employed form of current configuration.
Because in the configuring area a entire arrangement data can only be arranged, that is to say original configuration to be covered when new form is loaded in the configuring area.And when program is used allocation data recovering, must know at first that what form is this piece of data be, could explain this piece of data according to this form.During configuration restore, business procedure is checked configuration identifier,, configuration data is made an explanation according to this form according to main configuration format sign then with reading of data in the configuring area from main, then the result after explaining is kept in the needed data structure of program running with configuring area.
By this design, the user is free to the preservation form of handover configurations.
1, leading subscriber is preserved current system configuration by operational order, can specify the form of preservation and the configuring area of use in the operational order.
1) if specified configuration is not preserved form, system preserves the configuring area that is configured to appointment by the current configuration format that comes into force automatically;
2) if specified configuration district not, the current main configuration format with configuring area of automatic checking if the configuration format of appointment is identical with main configuration format with configuring area, then is kept at configuration the master and uses configuring area; If different, then configuration are kept at the standby configuration district, and upgrade the configuration format sign in standby configuration district.
3) if not specified configuration form and configuring area then are kept at configuration to lead according to main configuration format with configuring area and use configuring area.
2, leading subscriber can will download to PC on the configuration file slave unit in the specified configuration district by the file transfer means, also can a configuration file be uploaded to the specified configuration district of equipment from PC, upgrade the configuration format of this configuring area simultaneously according to the configuration file format of uploading by the file transfer means.Upload and just data are write configuring area and original configuration can be covered (replacements), and configuration is read in download exactly from configuring area, can not produce any influence to current configuring area.
3, leading subscriber can be by the configuration in the operational order current standby configuration district on probation, when carrying out this operation, the standby configuration district is active and standby to be modified to main using with sign, configuration take-effective timeliness sign is modified to once effective, former master is modified to standby with configuring area is active and standby with sign, system reset activates the configuration in the standby configuration district.After the system reset, obtain configuration from new master with configuring area, configuration device is revised as the current main current sign that comes into force with configuring area effectively, with current standby configuration district current come into force identify be revised as invalid.Detect current main configuration take-effective timeliness sign,, then mainly be revised as standbyly with sign with configuring area active and standby, the active and standby of current standby configuration district is revised as master's usefulness with identifying current if for once effective with configuring area.
Purpose on probation is at system upgrade, or during an on probation new configuration data (after for example converting current binary data to text formatting, the user has carried out the manual modification of part, be re-loaded in the system then, with amended configuration data guidance system again operation), use in order to guarantee when data on probation break down, can return to original data.
4, leading subscriber can activate configuration in the current standby configuration district by operational order, when carrying out this operation, the standby configuration district is active and standby to be modified to the main configuring area of using with sign, it is effectively permanent that configuration take-effective timeliness sign is modified to, former master is modified to standby with configuring area is active and standby with sign, system reset activates the configuration in the standby configuration district.After the system reset, obtain configuration from new master with configuring area, configuration device is revised as the current main current sign that comes into force with configuring area effectively, with current standby configuration district current come into force identify be revised as invalid.
5, leading subscriber can be confirmed the current configuration that comes into force by operational order, when carrying out this operation, at first detect the current sign that comes into force of two configuring area, current coming into force is designated the effective configuration district, it active and standbyly is revised as main usefulness with sign, with another configuring area active and standby with identify be revised as standby.Detect main configuration take-effective timeliness sign with configuring area this moment, if for once effective, it is effectively permanent then to be revised as.
More than under various operations the handoff procedure of configuration identifier can represent with following table one:
Table one
Operation Configuring area one Configuring area two
Active and standby sign The current sign that comes into force Configuration take-effective timeliness sign The configuration format sign Active and standby sign The current sign that comes into force Configuration take-effective timeliness sign The configuration format sign
Current configuration is kept at configuring area two Before the operation XXX Effectively XXX Form one XXX Invalid XXX Form two
After the operation XXX Effectively XXX Form one XXX Invalid XXX Form one
Current configuration is saved as form one Before the operation Main using XXX XXX Form two Standby XXX XXX XXX
After the operation Main using XXX XXX Form two Standby XXX XXX Form one
Preserve current configuration Before the operation Main using XXX XXX Form two Standby XXX XXX XXX
After the operation Main using XXX XXX Form two Standby XXX XXX XXX
The configuration file upload of a form three is used configuring area to the master of equipment Before the operation Main using XXX XXX Form two Standby XXX XXX XXX
After the operation Main using XXX XXX Form three Standby XXX XXX XXX
Standby configuration district on probation configuration Before the operation Main using XXX XXX XXX Standby XXX XXX XXX
After the operation Standby XXX XXX XXX Main using XXX Once XXX
Main using Invalid XXX XXX Standby Effectively Once XXX
Activate the configuration of current standby configuration district Before the operation Main using XXX XXX XXX Standby XXX XXX XXX
After the operation Standby Invalid XXX XXX Main using Effectively For a long time XXX
Confirm the current configuration that comes into force Before the operation XXX X Effectively XXX XXXX XXX Invalid XXX XXX
After the operation Main using Effectively For a long time XXX Standby Invalid XXX XXX
Remarks: the band underscore identifies the field that changes after the operation for configuration control; XXX represents that this operation is indifferent to this identification-state.
By the control of configuration control sign, can switch the configuration format of current use easily, the configuration data of format is applied in the current device, be that the form that is more readily understood is read and revised for leading subscriber with current configuration transitions.By switching form data are presented to the user with various ways, make full use of the advantage of various forms, solve the shortcoming of various forms.
In Table 1, when current configuration is kept at configuring area two, because the form in the configuring area of current main usefulness is a form one, so when user input commands specified configuration district two preserves current configuration, when not specifying the configuration format of preserving again simultaneously, program can be called corresponding configuration generator current configuration is kept in the configuring area two automatically according to main form with configuring area, and the configuration format of upgrading configuring area two simultaneously is designated configuration format one.
Also using the data of main area during the next system restart of permanent effectively meaning recovers, after once effectively then representing the data use once in this configuring area, this configuring area will be carried out configuration restore with regard to the configuration that can not re-use in this configuring area later on from main standby with changing into.Current coming into force represents just present system from which configuring area is recovered when beginning recovery configuring most.
Utilize the present invention, specify new form to preserve configuration data, can realize the configuration data conversion of different-format easily by user command; Can realize in the equipment whole configuration datas being adopted the coexistence of various configurations form, can be with configuration (as XML, TL1, CLI may all be text, but the form of their reality is different) on probation and use in telecommunication apparatus of format.The advantage of various configuration format can be given full play to, the requirement of different user can be satisfied different configuration format.
If what current configuration was used is the data preservation of a binary format, in order to check current configuration, the user can specify the standby configuration district, and current configuration is saved as the human-machine order format of text again, and the configuration of human-machine order format is kept at the standby configuration district.In the standby configuration district, configuration data is taken out then, just can check intuitively and dispose.Owing to only used a configuration data that configuring area is interior during configuration restore, there is not the complementary situation of data between the different configuring area.
Configuring area can expand to a plurality of from two, and the corresponding also corresponding increase of configuration identifier can be preserved many parts of configurations in system.Preparation control sign also can only keep active and standby sign of configuration and configuration format sign, finishes basic configuration backup and handoff functionality.Configuring area also can be reduced to one from two, only in system, keep a effective configuration data, configuration control sign only keeps one of configuration format sign, like this, equally can be in telecommunication apparatus, by a plurality of generators that independently dispose, safeguard that according to the individual custom or its business demand freely select configuration to preserve form by the user, thereby the configuration preservation selection of multiple form is provided for equipment.
Those skilled in the art do not break away from essence of the present invention and spirit, can there be the various deformation scheme to realize the present invention, the above only is the preferable feasible embodiment of the present invention, be not so limit to interest field of the present invention, the equivalent structure that all utilizations specification of the present invention and accompanying drawing content are done changes, and all is contained within the interest field of the present invention.

Claims (10)

1, a kind of storage means of configuration data of communication equipment is characterized in that may further comprise the steps:
Be provided with at least two and independently dispose generator in communication equipment, each configuration generator is used for whole configuration datas are analyzed and handled, and generates user's configuration of different-format;
At least two configuring area that are used to preserve configuration data are provided in the memory of communication equipment;
When configuration data is preserved, select to dispose generator according to user's operating command and in conjunction with configuration preservation sign, generate user's configuration of required form, and this user's configuration is kept in the selected configuring area.
2, the storage means of configuration data of communication equipment according to claim 1, it is characterized in that: corresponding respectively described each configuring area is provided with a configuration and preserves sign, each configuration is preserved and is comprised active and standby sign of configuration and configuration format sign in the sign at least, dispose active and standby sign and represent that current which configuring area is the configuring area that system default uses, each configuring area has only one to be main usefulness, other be standby; The configuration format sign is used to identify the employed data format of each configuring area.
3, the storage means of configuration data of communication equipment according to claim 2, it is characterized in that: described configuration is preserved sign and is also comprised current sign and the configuration take-effective timeliness sign of coming into force, which configuring area initial use was when the current sign that comes into force was used to identify this system start-up, each configuring area has only one for effectively, other be invalid; The number of times of this configuration of configuration take-effective timeliness sign expression use does not promptly re-use after being to use once, still comes into force for a long time, in the active and standby sign of configuration is the main time spent, check this sign during the system restoration configuration, come into force that the active and standby sign of configuration then automaticallyes switch if be designated once.
4, according to the storage means of claim 2 or 3 described configuration data of communication equipment, it is characterized in that: when configuration restore, sign is preserved in business procedure inspection configuration, use reading of data in the configuring area from the master, configuration data is made an explanation according to this form according to main configuration format sign then, then the result after explaining is kept in the needed data structure of program running with configuring area.
5, the storage means of configuration data of communication equipment according to claim 4, it is characterized in that: when the user preserves current system configuration by operational order, if in the operational order not specified configuration preserve form, system preserves the configuring area that is configured to appointment by the current configuration format that comes into force automatically; If specified configuration district not, the current main configuration format of automatic checking with configuring area, if the configuration format of appointment is identical with main configuration format with configuring area, then configuration is kept at the main configuring area of using, if it is different, then configuration is kept at the standby configuration district, and upgrades the configuration format sign in standby configuration district; If specified configuration form and configuring area then are not kept at the main configuring area of using according to main configuration format with configuring area with configuration.
6, the storage means of configuration data of communication equipment according to claim 4 is characterized in that: the user can will download on the configuration file slave unit in the specified configuration district by the file transfer means; Perhaps a configuration file is uploaded to the specified configuration district of equipment from computer, upgrade the configuration format of this configuring area simultaneously according to the configuration file format of uploading by the file transfer means.
7, the storage means of configuration data of communication equipment according to claim 4, it is characterized in that: the user is during by the configuration in the operational order current standby configuration district on probation, the standby configuration district is active and standby to be modified to main using with sign, configuration take-effective timeliness sign is modified to once effective, former master is modified to standby with the active and standby of configuring area with sign, system reset activates the configuration in the standby configuration district, obtain configuration from new master with configuring area and come configuration device, the current main current sign that comes into force with configuring area is revised as effectively, with current standby configuration district current come into force sign be revised as invalid, and detect current master and use the configuration take-effective timeliness of configuring area to identify, if for once effective, then revise and currently main be revised as standbyly with sign with configuring area active and standby, the active and standby of current standby configuration district is revised as master's usefulness with identifying.
8, the storage means of configuration data of communication equipment according to claim 4, it is characterized in that: when the user activates configuration in the current standby configuration district by operational order, the active and standby of standby configuration district is modified to main using with sign, it is effectively permanent that configuration take-effective timeliness sign is modified to, former master is modified to standby with the active and standby of configuring area with sign, system reset activates the configuration in the standby configuration district, obtain configuration from new master with configuring area and come configuration device, the current main current sign that comes into force with configuring area is revised as effectively, with current standby configuration district current come into force identify be revised as invalid.
9, the storage means of configuration data of communication equipment according to claim 4, it is characterized in that: the user confirms current coming into force during configuration by operational order, at first detect the current sign that comes into force of two configuring area, current coming into force is designated the effective configuration district, it active and standbyly is revised as main usefulness with sign, another configuring area active and standby is revised as standby with sign, detect this moment main configuration take-effective timeliness and identify with configuring area, if for once effective, it is effectively permanent then to be revised as.
10, a kind of storage means of configuration data of communication equipment is characterized in that may further comprise the steps:
Be provided with at least two and independently dispose generator in communication equipment, each configuration generator is used for whole configuration datas are analyzed and handled, and generates user's configuration of different-format;
A configuring area that is used to preserve configuration data is provided in the memory of communication equipment;
When configuration data is preserved, identify according to user's operating command and in conjunction with configuration format and to select to dispose generator, generate user's configuration of required form, and this user's configuration is kept in the described configuring area.
CNB2005100353697A 2005-06-17 2005-06-17 Method for storing configuration data of communication equipment Expired - Fee Related CN100450013C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100353697A CN100450013C (en) 2005-06-17 2005-06-17 Method for storing configuration data of communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100353697A CN100450013C (en) 2005-06-17 2005-06-17 Method for storing configuration data of communication equipment

Publications (2)

Publication Number Publication Date
CN1881891A true CN1881891A (en) 2006-12-20
CN100450013C CN100450013C (en) 2009-01-07

Family

ID=37519880

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100353697A Expired - Fee Related CN100450013C (en) 2005-06-17 2005-06-17 Method for storing configuration data of communication equipment

Country Status (1)

Country Link
CN (1) CN100450013C (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789999A (en) * 2010-02-09 2010-07-28 中兴通讯股份有限公司 Method and device for scene management and backup restoration of mobile terminal
CN102902707A (en) * 2012-08-01 2013-01-30 杭州华三通信技术有限公司 Method for realizing compatibility of binary data with different versions and data version converting system
CN103365747A (en) * 2013-07-10 2013-10-23 深圳市共进电子股份有限公司 Automatic configuration reducing method for embedded electronic equipment, and automatic configuration reducing system
CN103577276A (en) * 2012-07-18 2014-02-12 深圳市腾讯计算机系统有限公司 Backup system and method for user operational data
CN104168125A (en) * 2013-05-16 2014-11-26 上海斐讯数据通信技术有限公司 Configuration method, system and configuration file execution method of multi-scheme optical line terminal
CN104468419A (en) * 2014-12-22 2015-03-25 上海斐讯数据通信技术有限公司 Method and system for recovering configuration of interchanger and interchanger
WO2017005025A1 (en) * 2015-07-07 2017-01-12 中兴通讯股份有限公司 Data recovery method and device
WO2019048905A1 (en) * 2017-09-07 2019-03-14 Pismo Labs Technology Limited Configuration rollback based on the failure to satisfy predefined conditions

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6601095B1 (en) * 1991-04-18 2003-07-29 International Business Machines Corporation Method and apparatus for remote administration of programmable workstations in a data processing system
US6098098A (en) * 1997-11-14 2000-08-01 Enhanced Messaging Systems, Inc. System for managing the configuration of multiple computer devices
ATE294473T1 (en) * 1998-11-30 2005-05-15 Concord Communications Inc METHOD AND PROGRAM STORAGE DEVICE FOR UPDATE A LIST OF NETWORK ELEMENTS
CN1326054C (en) * 2001-05-22 2007-07-11 美国联合包装服务有限公司 System, method, and computer program product for configuring computing systems
US7130854B2 (en) * 2001-08-14 2006-10-31 Endforce, Inc. Selection and storage of policies in network management

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789999A (en) * 2010-02-09 2010-07-28 中兴通讯股份有限公司 Method and device for scene management and backup restoration of mobile terminal
CN101789999B (en) * 2010-02-09 2014-04-30 中兴通讯股份有限公司 Method and device for scene management and backup restoration of mobile terminal
CN103577276A (en) * 2012-07-18 2014-02-12 深圳市腾讯计算机系统有限公司 Backup system and method for user operational data
CN103577276B (en) * 2012-07-18 2017-11-17 深圳市腾讯计算机系统有限公司 The standby system and method for user's operation data
CN102902707B (en) * 2012-08-01 2016-03-30 杭州华三通信技术有限公司 The method of different editions binary data compatibility and versions of data converting system
CN102902707A (en) * 2012-08-01 2013-01-30 杭州华三通信技术有限公司 Method for realizing compatibility of binary data with different versions and data version converting system
CN104168125B (en) * 2013-05-16 2018-01-30 上海斐讯数据通信技术有限公司 Collocation method, system and the configuration file of multi-scheme optical line terminal perform method
CN104168125A (en) * 2013-05-16 2014-11-26 上海斐讯数据通信技术有限公司 Configuration method, system and configuration file execution method of multi-scheme optical line terminal
CN103365747B (en) * 2013-07-10 2016-05-04 深圳市共进电子股份有限公司 A kind of method of EMBEDDED AVIONICS configuration automatic reduction and configuration automatic reduction system
CN103365747A (en) * 2013-07-10 2013-10-23 深圳市共进电子股份有限公司 Automatic configuration reducing method for embedded electronic equipment, and automatic configuration reducing system
CN104468419A (en) * 2014-12-22 2015-03-25 上海斐讯数据通信技术有限公司 Method and system for recovering configuration of interchanger and interchanger
WO2017005025A1 (en) * 2015-07-07 2017-01-12 中兴通讯股份有限公司 Data recovery method and device
CN106339272A (en) * 2015-07-07 2017-01-18 中兴通讯股份有限公司 Method and device for recovering device data
CN106339272B (en) * 2015-07-07 2020-10-02 中兴通讯股份有限公司 Method and device for recovering equipment data
WO2019048905A1 (en) * 2017-09-07 2019-03-14 Pismo Labs Technology Limited Configuration rollback based on the failure to satisfy predefined conditions
GB2572725A (en) * 2017-09-07 2019-10-09 Pismo Labs Technology Ltd Configuration rollback based on the failure to satisfy predefined conditions
US11182259B2 (en) 2017-09-07 2021-11-23 Pismo Labs Technology Limited Configuration rollback based on the failure to satisfy predefined conditions
GB2572725B (en) * 2017-09-07 2022-04-13 Pismo Labs Technology Ltd Configuration rollback based on the failure to satisfy predefined conditions

Also Published As

Publication number Publication date
CN100450013C (en) 2009-01-07

Similar Documents

Publication Publication Date Title
CN1881891A (en) Method for storing configuration data of communication equipment
US9489189B2 (en) Dynamically generate and execute a context-specific patch installation procedure on a computing system
US10740114B2 (en) Component invoking method and apparatus, and component data processing method and apparatus
US9405630B2 (en) Methods and apparatus to perform site recovery of a virtual data center
CN106557470B (en) Data extraction method and device
US20090144730A1 (en) Software deployment method and system, software deployment server and user server
CN102999362A (en) Method for modifying sequence of boot options of basic input/output system (BIOS)
CN109977099A (en) Database portion arranging method, user equipment, storage medium and device
CN112363845A (en) Data synchronization method of system integration middling station and integration middling station system
CN109116828B (en) Method and device for configuring model codes in controller
CN103973470A (en) Cluster management method and equipment for shared-nothing cluster
US10241699B2 (en) Method, apparatus or software for transferring a storage replication system between storage systems
CN106020901A (en) Application entry configuration method and terminal
CN104731650A (en) Acquisition method and device for system interface call information
CN114780615A (en) Error code management method and device thereof
CN1956392A (en) Method, device and system for implementing multi-service type structure
CN1218246C (en) Automatic upgrading method for business management access point in intelligent network
CN110377298B (en) Distributed cluster upgrading method and distributed cluster
US20190332484A1 (en) Method, device and program product for reducing data recovery time of storage system
CN110941471A (en) Method and device for internationalizing basic data of software system
US20220391223A1 (en) Adding expressiveness to plugin extensions using integration with operators
CN113254271B (en) Data sequence recovery method, device, equipment and storage medium
CN103617077A (en) Intelligent cloud migration method and system
CN109032582A (en) A kind of method and device generating server O&M script
CN114553859A (en) BMC configuration management method and device, electronic equipment and storage medium

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090107

Termination date: 20150617

EXPY Termination of patent right or utility model