CN1324844C - Method for providing data to members of network synchronously by gating system - Google Patents

Method for providing data to members of network synchronously by gating system Download PDF

Info

Publication number
CN1324844C
CN1324844C CNB2004100275142A CN200410027514A CN1324844C CN 1324844 C CN1324844 C CN 1324844C CN B2004100275142 A CNB2004100275142 A CN B2004100275142A CN 200410027514 A CN200410027514 A CN 200410027514A CN 1324844 C CN1324844 C CN 1324844C
Authority
CN
China
Prior art keywords
data
network element
agent process
foreground
sync agent
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.)
Expired - Fee Related
Application number
CNB2004100275142A
Other languages
Chinese (zh)
Other versions
CN1585343A (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 CNB2004100275142A priority Critical patent/CN1324844C/en
Publication of CN1585343A publication Critical patent/CN1585343A/en
Application granted granted Critical
Publication of CN1324844C publication Critical patent/CN1324844C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a method for a network management system synchronously arranging data to a network element. A data two-dimensional table needing synchronisation is selected at an operation maintenance terminal; the operation maintenance terminal can initiate synchronous operation requests to a background network manager; after the background network manager receives a synchronous message, the table adaptation is carried out according to table name information; then, the table analysis is carried out, and table data is packed to a structure needed by a network element; the background network manager can transmit a synchronous request message to the foreground network element; after the foreground network element receives the request response, if the foreground network element agrees to receive the data, the response message can be returned, and the synchronous communication is started between a foreground and a background; data contents needing to be transmitted are transmitted to the foreground network element by the background network manager; after the foreground network element receives the data, the data update processing is carried out, the data is stored on a system hard disk simultaneously, and a communication end message is returned. The present invention can conveniently and safely realize the integrity and the precision of transmitting memory data to the foreground network element, and the independence with a concrete network element and the universality aiming at different two-dimensional data list structures can be realized.

Description

Network management system is to the method for the synchronous configuration data of network element
Technical field
The present invention relates to the solution of data sync in a kind of communication field, relate in particular in the field of mobile communication background net management to the method for foreground network element synchrodata.
Background technology
Data sync, simple understanding is exactly a kind of data transmission mechanism, and the function of data sync promptly is the transfer of data of finishing between network element and the network managment foreground and background, and guarantees data consistent and complete in transmission back webmaster and the network element system.
The data that foreground network element MP (Main Process primary processor) operation needs are provided by the background net management system.Under initial situation, background net management is sent to MP with the data that configure, and the data run that MP uses background net management to send is saved in hard disk with these data simultaneously.Or the user has revised configuration data by the background net management operating maintenance terminal, and the background net management system is sent to MP with amended configuration data, upgrades the MP data.
More owing to the foreground NE type, the type of every kind of network element data bivariate table structure is also many especially, and the list structure variation is frequent especially, and this just needs to propose a kind of data transmission of unifying general synchronous framework realization background net management to the foreground network element.Existing method for synchronous is the mode that adopts Ftp, but in webmaster and the network element system there being than big difference data format, can not carry out the conversion of data structure among the Ftp.Conversion work must be changed at the different other developing instruments of network element data structure or by manual, and, all needing to recompilate source code at every turn, the workload of conversion is bigger, and simultaneous operation simultaneously is comparatively loaded down with trivial details, does not have versatility and extremely unreliable.
Summary of the invention
The technical problem to be solved in the present invention has provided the method for a kind of webmaster to the network element synchrodata, can realize integrality and accuracy to foreground network element transmission internal storage data easily and safely; And realize to greatest extent and the specifically independence and versatility of network element at different 2-D data list structures.
This method key step is as follows:
1.1 the operating maintenance terminal in network management system need to select the data in synchronization bivariate table;
1.2 operating maintenance terminal is initiated the simultaneous operation request to background net management sync agent process;
After 1.3 background net management sync agent process receives synchronization message, show according to table name information adaptive, the parsing of showing then, the structure that will the table packing data becomes network element to need; Wherein, showing the adaptive specific descriptions that refer to every kind of list structure all preserves and describes by the unified format that takes out (for example configuration file), by the description of this form being analyzed the structural information that obtains concrete table, the parsing of showing content then encapsulates the process of packing again when adaptive.
1.4 background net management sync agent process sends synchronization request message to foreground network element sync agent process immediately;
1.5 after foreground network element sync agent process was received request message, if agree to receive data, then the return response response message began synchronous communication between the AM/BAM; If network communication does not exist unusually or in the network element of background net management sync agent process biography past data structure foreground, then foreground network element sync agent process is returned the rejection data-message;
1.6 the data content that background net management sync agent process will need to transmit sends foreground network element sync agent process to;
1.7 after foreground network element sync agent process is received data, carry out Data Update and handle, simultaneously data are saved on the system disk loopback communication end.
In the present invention, the data content that background net management sync agent process will need to transmit sends foreground network element sync agent process to, be to show one by one to transmit, pass a back table again last the table end of transmission and after confirming, tables of data with mutual restriction relation is once finished in the transmission, if a table transmits failure, then whole synchronizing process is invalid, restarts.
Each transmission of opening table may further comprise the steps:
4.1 background net management sync agent process sends transmission data bivariate table to foreground network element sync agent process and transmits beginning message;
4.2 foreground network element sync agent process loopback prepares to receive response message;
4.3 the background net management agent process sends to foreground network element sync agent process with list structure information such as two-dimentional table name, record length, field description table, field numbers, after foreground network element sync agent process acknowledges receipt of the row format checking of going forward side by side, send the content of table data again;
4.4 after the content of showing data has transmitted and confirmed, send the bivariate table end-of-transmission message;
4.5 foreground network element loopback acknowledge message.
In the present invention, foreground network element sync agent process is kept at list structure information such as the field received and the table data received earlier in the temp directory, the transmission of pending data be all over and correct after, just deposit internal memory in and upgrade hard disc data, otherwise the deletion temp directory retransfers.
In synchronizing process, receiving-transmitting sides all is provided with timer, in the transmitting-receiving process, all waits for the other side's answer after transceive data, if do not receive that in the timing expiration the other side replys, is considered as this bust this, gets back to idle condition separately, restarts.
The present invention can be convenient and safe realization to the integrality and the accuracy of foreground network element transmission internal storage data; And realize and the specifically independence and versatility of network element at different 2-D data list structures.Provide table adapter in the webmaster side in the realization, general network administration system list structure information is through showing the adaptive data structure that converts concrete network element to, between webmaster and network element, realize reliable packet data transmission then, realize the data sync of network management system to network element system, system configuration with flexible bus form, realized the plug property of network element and list structure, increased network element or increase table that background net management only need increase corresponding descriptor in table adapter.
Description of drawings
Fig. 1 is that webmaster is to network element synchrodata topology framework map;
Fig. 2 is that webmaster is to network element synchrodata system architecture figure;
Fig. 3 is a main flow chart of the present invention.
Embodiment
The whole system that webmaster and network element are formed adopts the distribution topology architecture, and framework carries out communication by Ethernet, as shown in Figure 1 on the Tcp/Ip network.
Shown in Figure 2 be webmaster to network element synchrodata system architecture diagram, on logical construction, can be divided into four parts: operating maintenance terminal, webmaster sync agent process, network element sync agent process, table adapter and database data.
1) operating maintenance terminal provides graphic interface, and the user can carry out the operation of data sync by it.
2) webmaster sync agent process has two parts to constitute: communication unit and table adaptation unit, and communication unit is responsible for and operating maintenance terminal carries out communication, obtains the information and the result who returns data sync of synchrodata; The table adaptation unit is responsible for the conversion of the data format between webmaster and the network element, at first obtain table name information according to communication unit, from database, read list structure information and table data according to table name information by database engine then, thereby then deliver to and resolve the conversion that realizes the data format between webmaster and the network element in the table adapter, content Returning communication unit after will resolving at last sends to network element sync agent process.
3) network element sync agent process also is to have two parts to constitute: communication unit, read/write memory and hard disk unit, and communication unit obtains synchronizing information from webmaster sync agent process, and synchronized result information is returned to webmaster sync agent process; After read/write memory and hard disk unit obtain synchronous list structure information and table data from communication unit, at first carry out the checking of form, checking is passed through, use these Data Update internal memory and hard disks, return success information then, checking not by or failure information takes place unusually then to return when updating memory and hard disk.
4) table adapter and database data, table adapter is deposited the list structure information of every data bivariate table of foreground network element needs with certain format (for example form of configuration file), deposit the content of these data bivariate tables in the database, the expression orchestration is resolved and the conversion table data by list structure information.
Webmaster is realized background net management data bivariate table is updated to foreground MP synchronously to the network element synchrodata exactly.It can realize following function:
1) can be used for selecting the data in synchronization bivariate table for the user provides graphical interfaces;
2) tables of data to selecting can obtain correct data content and pass through the correctly parsing of realization table of table adaptation function from database;
3) data format that can become network element to need the data transaction of need transmission;
4) the message communication between webmaster and the network element before correct the processing;
5) correctly handle unusual and mistake in the synchronizing process, and in time solve;
6) guarantee that the data after the renewal synchronously are correctly reliable.
For realizing above-mentioned functions, whole synchronization program has adopted following solution in system design:
1) the webmaster maintenance terminal is responsible for providing operation interface, need to select the data in synchronization bivariate table for the user;
2) provide background net management sync agent process on the network management service, this process is accepted the synchronization request that maintenance terminal sends, and according to the synchronous table name information of need that transmits, reads the table data from database.
3) background net management sync agent process is specifically shown coupling by the table adapter unit, obtain the structural information of table, to show the form that data transaction becomes network element to need then, generate concrete data then and transmit bag, gauge outfit information as specific format, the field information of specific format, and the recorded information of specific format etc.
4) for the unusual and mistake in the synchronizing process, receiving-transmitting sides all is provided with error response message mechanism, and abnormal conditions are carried out judgment processing.
5) in synchronizing process, adopt the receiving-transmitting sides Compelling mechanism, transmitting-receiving side all is provided with timer, all waits for replying of the other side after the transceive data, if do not receive yet that in the timing expiration the other side replys, is considered as this bust this, gets back to idle condition separately.
6) in synchronizing process, because data sync is mainly used in the transmission of database bivariate table data object, the tables of data with mutual restriction relation must be finished in once transmitting in modification simultaneously, to keep data integrity.Therefore, in the synchronizing process, if a table synchronization failure is arranged, then whole synchronizing process is invalid.
7) in synchronizing process, network element sync agent process is for the data that receive updating memory at once not, but temporarily is kept in the temp directory, if synchronization failure, then delete temp directory at once, have only the transmission of this secondary data to be all over and correct after, deposit internal memory just now in.
8) network element sync agent process is when updating memory and hard disk, because the field description of bivariate table has difference in webmaster and the network element system, therefore the field for difference is as the criterion with the recipient, decides what to use.
The present invention will be described by an embodiment below in conjunction with Fig. 3:
At first, need to select the data in synchronization bivariate table at the operating maintenance terminal of network management system; Operating maintenance terminal is initiated the simultaneous operation request to background net management sync agent process; After background net management sync agent process receives synchronization message, show according to table name information adaptive, the parsing of showing then, the structure that will the table packing data becomes network element to need; Then:
301) background net management sync agent process sends the request communication message to foreground network element sync agent process, and message comprises concrete solicited message, comprises request source, the request mode, and the specific requirement of transmission etc.;
302) after foreground network element sync agent process is received request message, transition state; If its current state is an idle condition, then make to lay oneself open to receive status, postback the agreement communication message for simultaneously background net management sync agent process; Otherwise return the busy message of link for background net management sync agent process, wherein comprise error message, the synchronous receiving process of expression foreground network element is in the transmission busy condition, does not process;
303) background net management sync agent process receive can the communication response message after, the table that continues to send to foreground network element sync agent process transmission data bivariate table transmits beginning message.
304) after recipient foreground network element sync agent process was received message, loopback prepared to accept response message, prepared to receive the information of certain data bivariate table;
305) after background net management sync agent process is received and is prepared to accept response message, with two-dimentional table name, record length, the field description table, list structure information such as field number send to foreground network element sync agent process with the message bag of certain format;
306) after foreground network element sync agent process is received message, whether the version that detects the judgment data table is correct, whether field description information is correct, field is accepted or rejected judgement, and these information are kept in the temp directory, give background net management sync agent process loopback table message acknowledgement message then;
307) after background net management sync agent process receives that the table information data is confirmed response message, send the table data-message to foreground network element sync agent process, message comprises the record number in the tables of data, information such as additions and deletions mark and respective record; After foreground network element sync agent process is received message, the data that receive all are loaded into a specific Workplace, the system disk service area is write function and is realized the data copy of this service area to hard disk automatically, and gives background net management sync agent process loopback table data-acknowledge message; A table data content part part transmits, and transmits next part again after part transmission acknowledges receipt of, and the data content of a direct table all transmits and finishes;
308) after the transmission for the treatment of this table was all over, background net management sync agent process sent table to foreground network element sync agent process and transmits end;
309) after foreground network element sync agent process receives that table transmits end, the content of disk read-write service area is all write dish, closing database reading writing working district, and, prepare to receive the transmission of next tables of data to echo message table end of transmission acknowledge message;
310) after background net management sync agent process is received table end of transmission acknowledge message, if also have tables of data to need synchronously, then circulation is sent table for foreground network element sync agent process and transmits beginning message, otherwise if the whole end of transmissions of tables of data send communication ending request message then for foreground network element sync agent process;
311) after foreground network element sync agent process is received the communication end, All Files in the hard disk temp directory is read in the disk read-write service area successively, by operation species (if nothing, then complete in increasing) loading and the renewal of realization data record in the internal memory bivariate table, revise corresponding bivariate table index and formation simultaneously.After waiting to finish the loading of hard disk total data, delete whole temporary files, switching state is an idle condition, and finishes acknowledge message for background net management sync agent process loopback communication, this subsynchronous end.
Wherein, data receiver and recipient's message transmits and adopts response mode.If do not receive within a certain period of time and reply or message, then bust this.

Claims (6)

1, a kind of network management system comprises that to the method for the synchronous configuration data of network element step is as follows:
1.1 the operating maintenance terminal in network management system need to select the data in synchronization bivariate table;
1.2 operating maintenance terminal is initiated the simultaneous operation request to background net management sync agent process;
After 1.3 background net management sync agent process receives synchronization message, show according to table name information adaptive, the parsing of showing then, the structure that will the table packing data becomes network element to need;
1.4 background net management sync agent process sends synchronization request message to foreground network element sync agent process immediately;
1.5 after foreground network element sync agent process was received request message, if agree to receive data, then the return response response message began synchronous communication between the AM/BAM; If network communication does not exist unusually or in the network element of background net management sync agent process biography past data structure foreground, then foreground network element sync agent process is returned the rejection data-message;
1.6 the data content that background net management sync agent process will need to transmit sends foreground network element sync agent process to;
1.7 after foreground network element sync agent process is received data, carry out Data Update and handle, simultaneously data are saved on the system disk loopback communication end.
2, the described network management system of claim 1 is to the method for the synchronous configuration data of network element, it is characterized in that, adaptive being meant of described table all preserved all table information and describe by the unified form that takes out, and obtains the concrete structural information of showing by this format description information is analyzed when adaptive.
3, the described network management system of claim 1 is to the method for the synchronous configuration data of network element, it is characterized in that, the data content that described background net management sync agent process will need to transmit sends foreground network element sync agent process to, be to show one by one to transmit, pass a back table again last the table end of transmission and after confirming, the tables of data with mutual restriction relation is once finished in the transmission, if a table transmits failure, then whole synchronizing process is invalid, restarts.
4, the described network management system of claim 3 is characterized in that to the method for the synchronous configuration data of network element, and each transmission of opening table may further comprise the steps:
4.1 background net management sync agent process sends transmission data bivariate table to foreground network element sync agent process and transmits beginning message;
4.2 foreground network element sync agent process loopback prepares to receive response message;
4.3 the background net management agent process sends to foreground network element sync agent process with two-dimentional table name, record length, field description table, field number list structure information, after foreground network element sync agent process acknowledges receipt of the row format checking of going forward side by side, send the content of table data again;
4.4 after the content of showing data has transmitted and confirmed, send the bivariate table end-of-transmission message;
4.5 foreground network element loopback acknowledge message.
5, claim 1,2,3 or 4 described network management systems are to the method for the synchronous configuration data of network element, it is characterized in that, foreground network element sync agent process is kept at field list structural information of receiving and the table data of receiving earlier in the temp directory, the transmission of pending data be all over and correct after, just deposit internal memory in and upgrade hard disc data, otherwise the deletion temp directory retransfers.
6, claim 1,2,3 or 4 described network management systems are to the method for the synchronous configuration data of network element, it is characterized in that, in synchronizing process, receiving-transmitting sides all is provided with timer, in the transmitting-receiving process, all waits for the other side's answer after transceive data, if do not receive that in the timing expiration the other side replys, be considered as this bust this, get back to idle condition separately, restart.
CNB2004100275142A 2004-06-02 2004-06-02 Method for providing data to members of network synchronously by gating system Expired - Fee Related CN1324844C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100275142A CN1324844C (en) 2004-06-02 2004-06-02 Method for providing data to members of network synchronously by gating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100275142A CN1324844C (en) 2004-06-02 2004-06-02 Method for providing data to members of network synchronously by gating system

Publications (2)

Publication Number Publication Date
CN1585343A CN1585343A (en) 2005-02-23
CN1324844C true CN1324844C (en) 2007-07-04

Family

ID=34601377

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100275142A Expired - Fee Related CN1324844C (en) 2004-06-02 2004-06-02 Method for providing data to members of network synchronously by gating system

Country Status (1)

Country Link
CN (1) CN1324844C (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100401681C (en) * 2005-05-18 2008-07-09 上海华为技术有限公司 Method for realizing configuration of service frame data
JP5079988B2 (en) 2005-06-13 2012-11-21 オリンパス株式会社 Distributed processing system, distributed processing method and program
CN100433650C (en) * 2005-12-14 2008-11-12 中兴通讯股份有限公司 Method and system for synchronizing network administration data in network optimizing system
CN100409621C (en) * 2006-03-07 2008-08-06 大唐移动通信设备有限公司 Method for realizing the reverse synchronization in the network management system
CN100403696C (en) * 2006-03-30 2008-07-16 华为技术有限公司 Storage management method and system for realizing data collocation between network element and network management
CN100417095C (en) * 2006-07-21 2008-09-03 华为技术有限公司 Method and system for realizing network management and network element configuration operation
CN106446103A (en) * 2006-11-30 2017-02-22 因特利塞有限责任公司 Method and device for providing smart synchronism and computer program product
CN101159960B (en) * 2007-10-16 2010-06-02 北京佳讯飞鸿电气股份有限公司 Method of implementing data acquisition and comparison of scheduling system
CN101150545B (en) * 2007-10-18 2011-04-20 中兴通讯股份有限公司 A data distribution method multi-module data configuration of media gateway
CN101557314A (en) * 2009-05-07 2009-10-14 中兴通讯股份有限公司 Distributed network management system and data configuration management method
CN101854400B (en) * 2010-06-09 2015-04-01 中兴通讯股份有限公司 Database synchronization deployment and monitoring method and device
CN101917485A (en) * 2010-08-19 2010-12-15 中兴通讯股份有限公司 Synchronization method of configuration data and short message center
CN103248503B (en) * 2012-02-03 2018-05-29 中兴通讯股份有限公司 A kind of method and device of network management configuration data backup restoration function
CN103369660A (en) * 2012-03-26 2013-10-23 大唐联诚信息系统技术有限公司 Network-element data synchronization method and network-element device
CN110784353B (en) * 2019-10-30 2022-06-28 中信科移动通信技术股份有限公司 Network element equipment configuration data migration method and device
CN114449040B (en) * 2022-01-28 2023-12-05 杭州迪普科技股份有限公司 Configuration issuing method and device based on cloud platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998026344A2 (en) * 1996-12-13 1998-06-18 Visto Corporation System and method for globally accessing computer services
US6108309A (en) * 1997-12-08 2000-08-22 Mci Communications Corporation SONET network element simulator
CN1482767A (en) * 2002-09-13 2004-03-17 华为技术有限公司 Method for realtime synchronisation of net element and telecommunication system
US6738766B2 (en) * 2000-02-02 2004-05-18 Doongo Technologies, Inc. Apparatus and methods for providing personalized application search results for wireless devices based on user profiles

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998026344A2 (en) * 1996-12-13 1998-06-18 Visto Corporation System and method for globally accessing computer services
US6108309A (en) * 1997-12-08 2000-08-22 Mci Communications Corporation SONET network element simulator
US6738766B2 (en) * 2000-02-02 2004-05-18 Doongo Technologies, Inc. Apparatus and methods for providing personalized application search results for wireless devices based on user profiles
CN1482767A (en) * 2002-09-13 2004-03-17 华为技术有限公司 Method for realtime synchronisation of net element and telecommunication system

Also Published As

Publication number Publication date
CN1585343A (en) 2005-02-23

Similar Documents

Publication Publication Date Title
CN1324844C (en) Method for providing data to members of network synchronously by gating system
CN101535965B (en) Technique for improving scalability and portability of a storage management system
CN110502507B (en) Management system, method, equipment and storage medium of distributed database
US7765186B1 (en) Update-anywhere replication of distributed systems
JP5841177B2 (en) Method and system for synchronization mechanism in multi-server reservation system
AU2011227121B2 (en) Database management system
US7899917B2 (en) Synchronization framework for occasionally connected applications
EP1840768A2 (en) Systems and method for a distributed in-memory database
CN102411598B (en) Method and system for realizing data consistency
CN103905537A (en) System for managing industry real-time data storage in distributed environment
CN101227379B (en) Method and system for implementation of data synchronization
EP2954424B1 (en) Method, device, and system for peer-to-peer data replication and method, device, and system for master node switching
CN103605698A (en) Cloud database system used for distributed heterogeneous data resource integration
CN1771495A (en) Distributed file serving architecture system
CN102447736A (en) Management and control method for user quota in multi-network storage system
CN1848849A (en) Method and device for replicating modifications of a directory
CN109829011A (en) A kind of method of data synchronization and device of Distributed Heterogeneous Database
EP2380090B1 (en) Data integrity in a database environment through background synchronization
WO2020191107A1 (en) Transferring connections in a multiple deployment database
CN114756519A (en) Managed file synchronization with stateless synchronization nodes
US11176111B2 (en) Distributed database management system with dynamically split B-tree indexes
CN102981857A (en) Method for loading parallel compressed mass data of database cluster
CN1928825A (en) Server implementing method and server system
CN100486345C (en) Business system based on PC server
JP5416490B2 (en) Distributed data management system, data management apparatus, data management method, and program

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

Termination date: 20190602

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