CN101110705A - Background server management system and management method thereof - Google Patents

Background server management system and management method thereof Download PDF

Info

Publication number
CN101110705A
CN101110705A CNA2007101294197A CN200710129419A CN101110705A CN 101110705 A CN101110705 A CN 101110705A CN A2007101294197 A CNA2007101294197 A CN A2007101294197A CN 200710129419 A CN200710129419 A CN 200710129419A CN 101110705 A CN101110705 A CN 101110705A
Authority
CN
China
Prior art keywords
data
background server
file
module
database
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
CNA2007101294197A
Other languages
Chinese (zh)
Other versions
CN100550782C (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.)
ZTE Corp
Original Assignee
ZTE 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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2007101294197A priority Critical patent/CN100550782C/en
Publication of CN101110705A publication Critical patent/CN101110705A/en
Application granted granted Critical
Publication of CN100550782C publication Critical patent/CN100550782C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The present invention discloses a backstage server management system, which comprises a net element and a floating backstage server. The floating backstage server is used to acquire the net element information of the net element which builds connection, and accomplishes the configuration and generates a foreground file according to the net element information, and the foreground file is used to be transmitted to the foreground, to enable the configuration of the backstage server to validate; when the connection between the floating backstage server and the net element for building connection is broken, the floating backstage server discards all the net element information of the net element. The present invention also discloses a management method for the backstage server. The technical proposal of the present invention reduces the upgrading cost of the whole equipment, and the maintainability, the operability and the expansibility are enhanced.

Description

Background server management system and management method thereof
Technical field
The present invention relates to a kind of next-generation communication network (NGN, Next Generation Network) technology, specifically, relate to management system and its implementation of a kind of background server.
Background technology
Next generation network (NGN) is the new generation network that voice, data, video can be provided on telecommunications network, computer network and 3 kinds of networks that interconnect of cable television network, it has realized separating of professional and network, and adopt open architecture, make NGN that abundant multimedia service can be provided.
There is a kind of small-sized media gateway device in the NGN system, is characterized in low capacity, low cost, on small-scale Tandem Gateway and IAD market, wide application prospect is arranged.If small-sized media gateway device will be supported all business of large-scale gateway device, but also will guarantee very strong service expansion capability, just need the complexity of its configuration data and main equipment very nearly the same.In this case,, will be difficult to guarantee integrality, fail safe and the reliability of data, and the backup of data and upgrading all are difficult to realization if the memory database only by the network element side is realized configuration management.Therefore, introducing the backstage configuration server is a kind of inevitable choice.But traditional backstage configuration server is to bind one to one with network element device, and the cost of a backstage configuration server has surpassed network element device, and cost is too high.
Summary of the invention
Technical problem solved by the invention provides a kind of background server management system, can reduce the device upgrade cost, and is convenient to maintenance and management.
Technical scheme is sent as follows:
A kind of background server management system, comprise network element, also comprise unsteady background server, described unsteady background server is used to obtain the net element information of the network element that has connected, and finish the configuration of self and generate the foreground file according to described net element information, described foreground file is used to be sent to the foreground, so that the configuration take-effective of the background server that floats; After described unsteady background server and being connected of the network element that connects disconnected, described unsteady background server abandoned all net element informations of described network element.
Preferably, described net element information comprises configuration data or version information.
Preferably, described unsteady background server comprises that file acquisition module, data importing module, data derive the module data synchronization module, wherein,
The file acquisition module is used for obtaining net element information from all network element devices that are connected with unsteady background server, and forms the foreground file;
The data importing module is used for described net element information is formed configuration file, and imports to the database of the background server that floats; Described data importing module generates synchronously the field information description list in importing process, described field information description list is for using during the relevant configuration file in the derived data storehouse;
The data sync mould is used to receive described foreground file, and described foreground file is sent to the foreground.
Preferably, described foreground file comprises configuration file, man-computer command script document, small-sized media gateway database store process or the function file of the database of described network element device.
Preferably, described unsteady background server comprises that further data derive module, data upgrading module, data backup module, data recovery module, wherein,
Data derive module, according to described field information description list the configuration file in the background server database are derived, and send;
The data backup module is used to receive the data configuration file that described data derive module, finishes the backup of data file;
Data recovery module is used for the data file of restore data backup module, and imports to the database of described unsteady background server;
Data upgrading module is used to receive the version information of described file acquisition module, and finishes the upgrading of the version of database.
Preferably, described field information description list comprises order of the field, field type, field length, skew in table name, field name, the table, whether preserves or indicates that wherein order of the field is a major key in table name, field name, the table.
Another technical problem solved by the invention provides a kind of management method of background server, can reduce the device upgrade cost, and is convenient to maintenance and management.
Technical scheme is as follows:
A kind of management method of background server, step comprises:
(1) unsteady background server and network element connect, and obtain the net element information of the network element that has connected;
(2) described unsteady background server is finished the configuration of self according to described net element information, and generates the foreground file; Described foreground file is used to be sent to the foreground, so that the configuration take-effective of the background server that floats;
(3) after described unsteady background server and being connected of the network element that connects disconnected, described unsteady background server abandoned all net element informations of described network element.
Further, in the step (2), described unsteady background server generates the field information description list synchronously in the process that imports database, and described field information description list uses when being used for derived data storehouse relevant configuration file; Described field information description list structure comprises order of the field, field type, field length, skew in table name, field name, the table, whether preserves or indicates that wherein order of the field is a major key in table name, field name, the table.
Further, in the step (2), when net element information comprises the redaction information of database, the data of database on the described unsteady backstage is upgraded, the data smoothing ground of lowest version is imported in the database of highest version, and the backstage of floating after feasible upgrading is finished switches to redaction smoothly.
Further, in the step (2), the configuration file that generates is backed up, described backup operation exports to the entire database system temp directory exactly, afterwards all database associated documents is integrated and is compressed finally synthetic compressed file.
Compare with prior art, the present invention has following beneficial effect:
1, reduced the upgrade cost of integral device.
2, maintainability, operability and extensibility have been improved.
Description of drawings
Fig. 1 is the structure chart of the management system of unsteady background server;
Fig. 2 is the process chart that foreground of the present invention file obtains;
Fig. 3 is a data importing flow chart of the present invention;
Fig. 4 is the derivation flow chart of data of the present invention;
Fig. 5 is a upgrading flow chart of the present invention.
Embodiment
Among the present invention, do not preserve version information relevant and configuration data on the unsteady background server with network element, only after connecting, just obtain relevant configuration data and version information from network element with a certain network element, therefore the background server that floats all is interim with the related of arbitrary network element, after being connected of network element disconnects, all net element informations (comprising configuration data and version information) on the unsteady background server lost efficacy immediately, and the background server that promptly floats abandons all net element informations of this network element.
Network element is exactly node in the NGN network, in the present embodiment, uses the backstage of floating to come managed network element equipment, can carry out data configuration, operations such as edition upgrading to network element device.
The field information description list need be set up in the backstage, uses during for derived data storehouse associated documents.Need to generate synchronously when the database associated documents import, structure comprises: order of the field, field type, field length, skew in table name, field name, the table, whether preserve, indicate that wherein order of the field is a major key in table name, field name, the table.
Successfully obtain and after configuration data imports the backstage volatile data base at the foreground file, unsteady background server can be finished configuration management function as traditional background server, by data simultaneous module data are sent to the foreground then, perhaps derive module data are preserved for follow-up use by data.
With reference to the accompanying drawings, the preferred embodiments of the present invention are described in detail.
With reference to shown in Figure 1, unsteady background server comprises that file acquisition module, data importing module, data derive module, data upgrading module, data backup module, data simultaneous module.
The file acquisition module obtains net element information (comprising configuration data and version information) with the FTP mode from all network element devices that are connected with unsteady background server, by the data importing module this net element information is put into the database of the background server that floats then.
The data importing module forms configuration file to the configuration data that obtains, and imports to the database of the background server that floats.The data importing module needs to generate synchronously the field information description list in importing process, this field information description list is for using during the relevant configuration file in the derived data storehouse.This field information description list structure comprises order of the field, field type, field length, skew in table name, field name, the table, whether preserves, indicates that wherein order of the field is a major key in table name, field name, the table.Successfully obtain and import at configuration file or version information and float behind the database of background server, unsteady background server can be finished configuration management function as traditional background server, by data simultaneous module configuration data is sent to the foreground then, perhaps derives module data are preserved for follow-up use by data.
The foreground comprises sets up interim all network element devices that connect, and data configuration is exactly that attribute to network element device is configured.The foreground is normally operation if desired, must need a basic configuration information, if finish different functions, configuration information is also different.
Data derive module and are used for the configuration file of background server is derived, and are sent to backup data file and preserve.
Data upgrading module is used to receive version information, if the redaction issue is arranged, is used to finish the edition upgrading of database.Data configuration is at first finished in the configuration of unsteady backstage, if it is come into force on the foreground, must be sent to the foreground.Data upgrading module is provided with data simultaneous module, and this data simultaneous module is used for the net element information of background server is sent to the foreground.
The data backup module receives configuration file, and finishes the backup of data file.The data backup operation exports to a temp directory with the entire database system exactly, afterwards all database associated documents is integrated and compression work, finally synthetic big compressed file.Data backup flow process and data derive flow process, and different is: the operation of individual data storehouse is not supported in data backup; Data backup does not support that the user specifies backup path; Data backup need be integrated the database associated documents of deriving.
Data recovery module is used for the data file of data backup module is recovered, so that import to the database of the background server that floats.Data restore operation will back up back compressed file decompress(ion) exactly, split to temp directory, carry out the process that the database associated documents import then.Data recover to need to specify restoration path and file name to be recovered.The database associated documents import operation of recovery process does not comprise the execution and the updating operation of storing process script.
With reference to shown in Figure 2, the process of the file acquisition module being obtained the configuration data of small-sized media gateway is described in detail.
Relevant net element information imports in the database of the background server that floats in the database of the small-sized media gateway that background server need will connect owing to float, so need the file acquisition module to obtain the net element information of the small-sized media gateway that has connected, and formation foreground file, this foreground file is used to be sent to the foreground, thus the configuration take-effective of the feasible background server that floats.The foreground file mainly comprises configuration file, man-computer command script document, small-sized media gateway database store process and the function file of small-sized media gateway database.
Detailed process is as follows:
1, reads related content (net element information) in the small-sized media gateway data base configuration file.
2, all the database associated documents under the data backup module backup local destination path.
3, the synchronization message that provides of the database by the background server that floats is called and is obtained present skinny gateway database associated documents and deposit path x.Here there are two data catalogues on the foreground, determine the file under which catalogue to use according to the content of data base configuration file, and for raising the efficiency, the foreground provides an interface, judges which file directory can use.
4, all database associated documents that obtain under the x path by the file process interface are tabulated.
5, copy all the database associated documents under the x path to local assigned catalogue by the file process interface.
6, check check code, if any one file error is arranged then think failure.
7, get successfully as command file, be dealt into assigned catalogue, send message to the command process process with moving processes.
Above-mentioned any one walks out of mistake, then thinks this operation failure, and any step failure can return back to former state.
With reference to Fig. 3, the process that data is imported module importing net element information is described in detail.
Need the float support of some configuration item in the data base configuration file of background server of the importing process of net element information is specially: the backstage store path of the file acquisition module on Database Lists, foreground etc.The importing process is obtained each wide area information server associated documents according to the path of describing in the configuration file, resolves afterwards, imports.The data importing process does not outwards provide any interface, and does not support the import operation of independent database yet.In order to consider the problem of edition upgrading, when data importing, should consider to carry out as required the database upgrade script.
With reference to shown in Figure 4, the derivation process of net element information is described in detail.
The support of some configuration item in the derivation process need data base configuration file of net element information is specially: the store path after Database Lists, the derivation etc.Wherein, store path after data derivation module derives net element information is under the output subdirectory in database associated documents DIR path, specifically also can segment subdirectory below again according to database-name, promptly different database associated documents leave in below the different subdirectories.The derivation meeting of data provides export interface for convey program, and that can specify the database of need deriving, export this moment deposits input parameter such as path.Certainly, the path of depositing of acquiescence promptly is path in the configuration file.
With reference to shown in Figure 5, the process of edition upgrading is described in detail.
Data upgrading module is mainly used in the data upgrading of the MySQL volatile data base on the backstage of floating, data upgrading module should be able to keep the correctness and the integrality of data in the database, the data smoothing ground of lowest version is imported in the database of highest version, and the backstage subsystem that floats after feasible upgrading is finished can switch to redaction smoothly.
With the volatile data base on the unsteady backstage of legacy data storehouse associated documents importing of appointment, according to the upgrading rule of predefined version characteristic or user's setting volatile data base is operated again during upgrading, generated new database associated documents then.
The realization of data upgradings must binding data storehouse associated documents data importing module, data derive module and carry out, its operand is the MySQL volatile data base on the unsteady backstage.

Claims (10)

1. background server management system, comprise network element, it is characterized in that, also comprise unsteady background server, described unsteady background server is used to obtain the net element information of the network element that has connected, and finish the configuration of self and generate the foreground file according to described net element information, described foreground file is used to be sent to the foreground, so that the configuration take-effective of the background server that floats; After described unsteady background server and being connected of the network element that connects disconnected, described unsteady background server abandoned all net element informations of described network element.
2. background server management system according to claim 1 is characterized in that described net element information comprises configuration data or version information.
3. background server management system according to claim 1 is characterized in that, described unsteady background server comprises that file acquisition module, data importing module, data derive the module data synchronization module, wherein,
The file acquisition module is used for obtaining net element information from all network element devices that are connected with unsteady background server, and forms the foreground file;
The data importing module is used for described net element information is formed configuration file, and imports to the database of the background server that floats; Described data importing module generates synchronously the field information description list in importing process, described field information description list is for using during the relevant configuration file in the derived data storehouse;
The data sync mould is used to receive described foreground file, and described foreground file is sent to the foreground.
4. background server management system according to claim 3 is characterized in that, described foreground file comprises configuration file, man-computer command script document, small-sized media gateway database store process or the function file of the database of described network element device.
5. background server management system according to claim 3 is characterized in that, described unsteady background server comprises that further data derive module, data upgrading module, data backup module, data recovery module, wherein,
Data derive module, according to described field information description list the configuration file in the background server database are derived, and send;
The data backup module is used to receive the data configuration file that described data derive module, finishes the backup of data file;
Data recovery module is used for the data file of restore data backup module, and imports to the database of described unsteady background server;
Data upgrading module is used to receive the version information of described file acquisition module, and finishes the upgrading of the version of database.
6. background server management system according to claim 3, it is characterized in that, described field information description list comprises order of the field, field type, field length, skew in table name, field name, the table, whether preserves or indicates that wherein order of the field is a major key in table name, field name, the table.
7. the management method of a background server, step comprises:
(1) unsteady background server and network element connect, and obtain the net element information of the network element that has connected;
(2) described unsteady background server is finished the configuration of self according to described net element information, and generates the foreground file; Described foreground file is used to be sent to the foreground, so that the configuration take-effective of the background server that floats;
(3) after described unsteady background server and being connected of the network element that connects disconnected, described unsteady background server abandoned all net element informations of described network element.
8. the management method of background server according to claim 7, it is characterized in that, in the step (2), described unsteady background server generates the field information description list synchronously in the process that imports database, and described field information description list uses when being used for derived data storehouse relevant configuration file; Described field information description list structure comprises order of the field, field type, field length, skew in table name, field name, the table, whether preserves or indicates that wherein order of the field is a major key in table name, field name, the table.
9. the management method of background server according to claim 7, it is characterized in that, in the step (2), when net element information comprises the redaction information of database, data of database on the described unsteady backstage is upgraded, the data smoothing ground of lowest version is imported in the database of highest version, and the backstage of floating after feasible upgrading is finished switches to redaction smoothly.
10. the management method of background server according to claim 7, it is characterized in that, in the step (2), the configuration file that generates is backed up, described backup operation exports to the entire database system temp directory exactly, afterwards all database associated documents are integrated and compressed, finally synthetic compressed file.
CNB2007101294197A 2007-07-12 2007-07-12 Background server management system and management method thereof Expired - Fee Related CN100550782C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007101294197A CN100550782C (en) 2007-07-12 2007-07-12 Background server management system and management method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007101294197A CN100550782C (en) 2007-07-12 2007-07-12 Background server management system and management method thereof

Publications (2)

Publication Number Publication Date
CN101110705A true CN101110705A (en) 2008-01-23
CN100550782C CN100550782C (en) 2009-10-14

Family

ID=39042612

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007101294197A Expired - Fee Related CN100550782C (en) 2007-07-12 2007-07-12 Background server management system and management method thereof

Country Status (1)

Country Link
CN (1) CN100550782C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345775B (en) * 2008-08-25 2011-12-28 中兴通讯股份有限公司 Synchronization method and system for man-computer command script document between network manager and network element
CN102945193A (en) * 2012-10-24 2013-02-27 广州市动景计算机科技有限公司 Recovery method of running data, and electronic device
WO2013113220A1 (en) * 2012-02-03 2013-08-08 中兴通讯股份有限公司 Method and device for backup and recovery of network management configuration data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345775B (en) * 2008-08-25 2011-12-28 中兴通讯股份有限公司 Synchronization method and system for man-computer command script document between network manager and network element
WO2013113220A1 (en) * 2012-02-03 2013-08-08 中兴通讯股份有限公司 Method and device for backup and recovery of network management configuration data
CN103248503A (en) * 2012-02-03 2013-08-14 中兴通讯股份有限公司 Method and device for configuration data backup and restore function in network management
CN103248503B (en) * 2012-02-03 2018-05-29 中兴通讯股份有限公司 A kind of method and device of network management configuration data backup restoration function
CN102945193A (en) * 2012-10-24 2013-02-27 广州市动景计算机科技有限公司 Recovery method of running data, and electronic device

Also Published As

Publication number Publication date
CN100550782C (en) 2009-10-14

Similar Documents

Publication Publication Date Title
CN106713487B (en) Data synchronization method and device
CN101313495B (en) Method, system and apparatus for data synchronization
CN106407214A (en) Distributed storage method and system
CN102360410B (en) User operation discovery method of file system and synchronous system utilizing the same
CN102857570A (en) Cloud synchronized method of files and cloud storage server
CN107256182A (en) A kind of method and apparatus of database restoration
CN103297275A (en) Dynamic discovery and loading system and method for Web network management client module
CN103902410A (en) Data backup acceleration method for cloud storage system
CN105681420A (en) Method for realizing backup of switch operating system based on Docker
CN102495774A (en) Method and system for realizing system recovery of computer
CN101420324B (en) Network management system and version renovating method for proxy software
CN100550782C (en) Background server management system and management method thereof
CN103516667A (en) System, method and apparatus used for safety information data disaster recovery backup
CN103500129A (en) Back-up object sending and back-up method, production end, backup-for-disaster-recovery end and system
CN104168139A (en) OLT equipment customization method based on PON system
CN103368990A (en) Cloud storage immediate synchronization method
CN101583204B (en) Method and system for realizing managing universal combined circuit card multiple application files
CN101631042A (en) Method and system for realizing data backup restoration of heterogeneous network management systems
CN105183797A (en) Substation file management and control method based on IEC61850 file service
CN104063294B (en) A kind of linux system backup and restoration methods
CN101022633B (en) Allocation data recovering method, system and device
CN102982033A (en) Small documents storage method and system thereof
CN102684928B (en) The method and apparatus of a kind of service backup and recovery
CN104506939A (en) Information reporting method and television terminal
CN102638569B (en) File distribution synchronizing method and system

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: 20091014

Termination date: 20160712

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