[go: up one dir, main page]

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
message
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
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Abstract

一种网管系统向网元同步配置数据的方法,在操作维护终端选择需要同步的数据二维表;操作维护终端向后台网管发起同步操作请求;后台网管收到同步消息后,根据表名信息进行表适配,然后进行表的解析,将表数据打包成网元需要的结构;后台网管向前台网元发送同步请求消息;对方收到请求应答后,若同意接收数据,则回送应答响应消息,前后台之间开始同步通讯;后台网管将需要传送的数据内容传送给前台网元;前台网元收到数据后,进行数据更新处理,同时将数据保存到系统硬盘上,回送通讯结束消息。本发明能够方便安全的实现向前台网元传输内存数据的完整性和精确性;并且实现和具体网元的无关性和针对不同二维数据表结构的通用性。

A method for synchronizing configuration data from a network management system to a network element. An operation and maintenance terminal selects a two-dimensional table of data to be synchronized; the operation and maintenance terminal initiates a synchronization operation request to a background network manager; The table is adapted, and then the table is analyzed, and the table data is packaged into the structure required by the network element; the background network management sends a synchronization request message to the front-end network element; after the other party receives the request response, if it agrees to receive the data, it sends back a response response message, Synchronous communication between the front and backend starts; the background network management transmits the data content to be transmitted to the front-end network element; after the front-end network element receives the data, it performs data update processing, saves the data to the system hard disk, and sends back a communication end message. The present invention can conveniently and safely realize the completeness and accuracy of memory data transmission to the foreground network element; and realize the independence from specific network elements and the universality for different two-dimensional data table structures.

Description

网管系统向网元同步配置数据的方法Method for Synchronizing Configuration Data from Network Management System to Network Elements

技术领域technical field

本发明涉及一种通讯领域中数据同步的解决方法,尤其涉及移动通讯领域中后台网管向前台网元同步数据的方法。The invention relates to a data synchronization solution in the communication field, in particular to a method for synchronizing data from a background network manager to a foreground network element in the mobile communication field.

背景技术Background technique

数据同步,简单的理解就是一种数据传输机制,数据同步的功能即是完成网元和网管前后台之间的数据传输,并保证传输后网管和网元系统中数据一致和完整。Data synchronization, in a simple understanding, is a data transmission mechanism. The function of data synchronization is to complete the data transmission between the network element and the front and back of the network management system, and to ensure the consistency and integrity of the data in the network management system and the network element system after transmission.

前台网元MP(Main Process主处理器)运行需要的数据是由后台网管系统提供的。在初始情况下,后台网管将配置好的数据传送到MP,MP使用后台网管传送过来的数据运行同时将这些数据保存到硬盘。或是用户通过后台网管操作维护终端修改了配置数据,后台网管系统将修改后的配置数据传送到MP,更新MP数据。The data required for the operation of the foreground network element MP (Main Process) is provided by the background network management system. In the initial situation, the background network management will transmit the configured data to the MP, and the MP will use the data transmitted by the background network management to run and save the data to the hard disk. Or the user modifies the configuration data through the background network management operation and maintenance terminal, and the background network management system transmits the modified configuration data to the MP to update the MP data.

由于前台网元类型较多,每种网元数据二维表结构的类型也特别多,且表结构变化特别频繁,这就需要提出一种统一通用的同步构架实现后台网管向前台网元的数据传送。现有同步方法是采用Ftp的方式,但网管和网元系统中数据格式有较大差别,Ftp中不能进行数据结构的转换。转换工作必须针对不同的网元数据结构另外开发工具或是通过手工转换,而且,每次都需要重新编译源代码,转换的工作量较大,同时同步操作较为繁琐,没有通用性且极不可靠。Since there are many types of front-end network elements, there are also many types of two-dimensional table structures for each type of network element data, and the table structure changes frequently. This requires a unified and general synchronization framework to realize data transfer from the background network management to the front-end network elements. send. The existing synchronization method is to use Ftp, but the data format in the network management system and the network element system is quite different, and the conversion of the data structure cannot be performed in Ftp. The conversion work must be based on the development of tools for different network element data structures or through manual conversion. Moreover, the source code needs to be recompiled every time. The workload of conversion is relatively large. At the same time, the synchronization operation is cumbersome, has no versatility and is extremely unreliable. .

发明内容Contents of the invention

本发明要解决的技术问题是提供了一种网管向网元同步数据的方法,能够方便安全地实现向前台网元传输内存数据的完整性和精确性;并且最大限度的实现和具体网元的无关性和针对不同二维数据表结构的通用性。The technical problem to be solved by the present invention is to provide a method for network management to synchronize data with network elements, which can conveniently and safely realize the integrity and accuracy of memory data transmission to front-end network elements; Independence and versatility for different two-dimensional data table structures.

本方法主要步骤如下:The main steps of this method are as follows:

1.1在网管系统的操作维护终端选择需要同步的数据二维表;1.1 Select the data two-dimensional table that needs to be synchronized at the operation and maintenance terminal of the network management system;

1.2操作维护终端向后台网管同步代理进程发起同步操作请求;1.2 The operation and maintenance terminal initiates a synchronization operation request to the background network management synchronization agent process;

1.3后台网管同步代理进程接收到同步消息后,根据表名信息进行表适配,然后进行表的解析,将表数据打包成网元需要的结构;其中,表适配指的是每种表结构的具体描述都按抽象出的统一的格式(例如配置文件)保存并描述,适配时通过对这种格式的描述进行分析获得具体表的结构信息,然后进行表内容的解析重新封装打包的过程。1.3 After the background network management synchronization agent process receives the synchronization message, it performs table adaptation according to the table name information, then analyzes the table, and packs the table data into the structure required by the network element; among them, the table adaptation refers to each table structure The specific description of the table is saved and described in an abstract unified format (such as a configuration file). When adapting, the structure information of the specific table is obtained by analyzing the description of this format, and then the process of parsing and repackaging the table content is performed. .

1.4后台网管同步代理进程随即向前台网元同步代理进程发送同步请求消息;1.4 The background network management synchronization agent process then sends a synchronization request message to the foreground network element synchronization agent process;

1.5前台网元同步代理进程收到请求消息后,若同意接收数据,则回送应答响应消息,前后台之间开始同步通讯;若网络通讯异常或是后台网管同步代理进程传过去的数据结构前台网元中不存在,则前台网元同步代理进程返回拒绝接收数据消息;1.5 After the foreground network element synchronization agent process receives the request message, if it agrees to receive the data, it will send back a reply response message, and the front and backends will start synchronous communication; if the network communication is abnormal or the data structure passed by the background network management synchronization agent process to the frontend network If it does not exist in the element, the synchronization agent process of the foreground network element returns a message of refusing to receive data;

1.6后台网管同步代理进程将需要传送的数据内容传送给前台网元同步代理进程;1.6 The background network management synchronization agent process transmits the data content to be transmitted to the foreground network element synchronization agent process;

1.7前台网元同步代理进程收到数据后,进行数据更新处理,同时将数据保存到系统硬盘上,回送通讯结束消息。1.7 After receiving the data, the synchronous proxy process of the foreground network element performs data update processing, saves the data to the system hard disk at the same time, and sends back a communication end message.

在本发明中,后台网管同步代理进程将需要传送的数据内容传送给前台网元同步代理进程,是逐张表传送,在前一张表传输结束并确认后再传后一张表,具有相互约束关系的数据表在一次传输中完成,若一张表传送失败,则整个同步过程无效,重新开始。In the present invention, the background network management synchronization agent process transmits the data content that needs to be transmitted to the foreground network element synchronization agent process. The data table of the constraint relationship is completed in one transmission. If a table fails to be transmitted, the entire synchronization process will be invalid and start again.

每一张表的传送包括以下步骤:The transmission of each form includes the following steps:

4.1后台网管同步代理进程向前台网元同步代理进程发送传输数据二维表传送开始消息;4.1 The background network management synchronization agent process sends the transmission data two-dimensional table transmission start message to the foreground network element synchronization agent process;

4.2前台网元同步代理进程回送准备接收应答消息;4.2 The synchronization agent process of the foreground network element sends back the response message of preparing to receive;

4.3后台网管代理进程将二维表名、记录长度、字段描述表、字段个数等表结构信息发送给前台网元同步代理进程,在前台网元同步代理进程确认收到并进行格式验证后,再发送表数据的内容;4.3 The background network management agent process sends the table structure information such as the two-dimensional table name, record length, field description table, and field number to the front-end network element synchronization agent process. After the front-end network element synchronization agent process confirms receipt and performs format verification, Resend the content of the table data;

4.4在表数据的内容传送完并确认后,发送二维表传输结束消息;4.4 After the content of the table data is transmitted and confirmed, send a two-dimensional table transmission end message;

4.5前台网元回送确认消息。4.5 The foreground network element sends back a confirmation message.

在本发明中,前台网元同步代理进程将收到的字段等表结构信息和收到的表数据先保存在一个临时目录中,待数据的传输全部结束并正确无误后,才存入内存并更新硬盘数据,否则,删除临时目录,重新传送。In the present invention, the foreground network element synchronization agent process stores the received table structure information such as fields and the received table data in a temporary directory, and after the transmission of the data is all completed and correct, it is stored in the memory and stored. Update the hard disk data, otherwise, delete the temporary directory and retransmit.

在同步过程中,收发双方都设置定时器,收发过程中,在收发数据后都等待对方的回答,若在定时期满未收到对方应答,视为本次传输失败,各自回到空闲状态,重新开始。During the synchronization process, both the sending and receiving parties set timers. During the sending and receiving process, they wait for the other party’s answer after sending and receiving data. If the other party’s answer is not received after the time expires, it is considered that the transmission has failed, and each returns to the idle state. restart.

本发明能够方便安全的实现向前台网元传输内存数据的完整性和精确性;并且实现和具体网元的无关性和针对不同二维数据表结构的通用性。实现上在网管侧提供表适配器,通用网管系统表结构信息经表适配转换成具体网元的数据结构,然后在网管和网元之间实现可靠的分组数据传输,实现网管系统向网元系统的数据同步,具有软总线形式的系统结构,实现了网元和表结构的可插拔性,增加网元或增加表,后台网管只需要在表适配器中增加相应的描述信息。The present invention can conveniently and safely realize the completeness and accuracy of memory data transmission to the foreground network element; and realize the independence from specific network elements and the universality for different two-dimensional data table structures. In terms of implementation, a table adapter is provided on the network management side, and the table structure information of the general network management system is converted into the data structure of a specific network element through table adaptation, and then reliable packet data transmission is realized between the network management system and network elements, and the network management system is transferred to the network element system. Data synchronization, with a system structure in the form of a soft bus, realizes the pluggability of network elements and table structures, and when adding network elements or tables, the background network management only needs to add corresponding description information in the table adapter.

附图说明Description of drawings

图1是网管向网元同步数据拓扑构架图;Figure 1 is a network management to network element synchronization data topology structure diagram;

图2是网管向网元同步数据系统构架图;Fig. 2 is a frame diagram of a system for synchronizing data from network management to network elements;

图3是本发明的主要流程图。Fig. 3 is the main flowchart of the present invention.

具体实施方式Detailed ways

网管和网元组成的整个系统采用分布式拓扑体系结构,构架于Tcp/Ip网络上,通过以太网进行通讯,如图1所示。The entire system consisting of network management and network elements adopts a distributed topology architecture, is built on a Tcp/IP network, and communicates through Ethernet, as shown in Figure 1.

图2所示是网管向网元同步数据系统架构图,在逻辑结构上可以分为四个部分:操作维护终端、网管同步代理进程、网元同步代理进程、表适配器和数据库数据。Figure 2 is a diagram of the network management to network element synchronization data system architecture diagram, which can be divided into four parts in terms of logical structure: operation and maintenance terminal, network management synchronization agent process, network element synchronization agent process, table adapter and database data.

1)操作维护终端,提供图形接口,用户可以通过它进行数据同步的操作。1) The operation and maintenance terminal provides a graphical interface through which users can perform data synchronization operations.

2)网管同步代理进程,有两部分构成:通讯单元和表适配单元,通讯单元负责和操作维护终端进行通讯,获得同步数据的信息和返还数据同步的结果;表适配单元负责网管和网元之间的数据格式的转换,首先根据通讯单元获得表名信息,然后根据表名信息通过数据库引擎从数据库中读出表结构信息和表数据,接着送到表适配器中进行解析从而实现网管和网元之间的数据格式的转换,最后将解析后的内容返回通讯单元,发送到网元同步代理进程。2) The network management synchronization agent process consists of two parts: the communication unit and the table adaptation unit. The communication unit is responsible for communicating with the operation and maintenance terminal, obtaining the synchronization data information and returning the data synchronization result; The conversion of the data format between elements, first obtains the table name information according to the communication unit, then reads the table structure information and table data from the database through the database engine according to the table name information, and then sends them to the table adapter for analysis so as to realize network management and Data format conversion between network elements, and finally the parsed content is returned to the communication unit and sent to the network element synchronization agent process.

3)网元同步代理进程,也是有两部分构成:通讯单元、读写内存和硬盘单元,通讯单元从网管同步代理进程获得同步信息,并将同步结果信息返还给网管同步代理进程;读写内存和硬盘单元从通讯单元获得同步的表结构信息和表数据后,首先进行格式的验证,验证通过,使用这些数据更新内存和硬盘,然后返回成功信息,验证不通过或是更新内存和硬盘时发生异常则返回失败信息。3) The network element synchronization agent process also consists of two parts: a communication unit, a read-write memory and a hard disk unit. The communication unit obtains synchronization information from the network management synchronization agent process, and returns the synchronization result information to the network management synchronization agent process; the read-write memory After obtaining the synchronized table structure information and table data from the communication unit with the hard disk unit, first verify the format, and if the verification passes, use these data to update the memory and hard disk, and then return a success message. If the verification fails or an error occurs when the memory and hard disk are updated An exception returns a failure message.

4)表适配器和数据库数据,表适配器以一定格式(例如配置文件的形式)存放前台网元需要的每张数据二维表的表结构信息,数据库中存放这些数据二维表的内容,表示配器通过表结构信息来解析和转换表数据。4) Table adapter and database data. The table adapter stores the table structure information of each data two-dimensional table required by the front-end network element in a certain format (such as a configuration file), and the content of these data two-dimensional tables is stored in the database, indicating that the adapter Parse and transform table data with table structure information.

网管向网元同步数据就是实现将后台网管数据二维表同步更新到前台MP。它能实现以下功能:Synchronizing data from the network management to the network element is to realize synchronous updating of the background network management data two-dimensional table to the foreground MP. It can achieve the following functions:

1)能为用户提供图形界面,用来选择同步的数据二维表;1) It can provide users with a graphical interface to select the two-dimensional table of synchronized data;

2)对选择的数据表,能从数据库中取得正确的数据内容并通过表适配功能单元正确实现表的解析;2) For the selected data table, the correct data content can be obtained from the database and the analysis of the table can be correctly realized through the table adaptation function unit;

3)能将需传输的数据转换成网元需要的数据格式;3) It can convert the data to be transmitted into the data format required by the network element;

4)正确处理前网管和网元之间的消息通讯;4) Correctly handle the message communication between the front network management and network elements;

5)正确处理同步过程中的异常和错误,并及时解决;5) Correctly handle exceptions and errors in the synchronization process and resolve them in a timely manner;

6)保证同步更新后的数据正确可靠。6) Ensure that the synchronously updated data is correct and reliable.

为实现上述功能,整个同步程序在系统设计上采用了以下解决办法:In order to achieve the above functions, the entire synchronization program adopts the following solutions in the system design:

1)网管维护终端负责提供操作界面,供用户选择需同步的数据二维表;1) The network management maintenance terminal is responsible for providing an operation interface for users to select two-dimensional data tables to be synchronized;

2)网管服务端上提供后台网管同步代理进程,该进程接受维护终端发送的同步请求,并根据传送的需同步表名信息,从数据库中读取表数据。2) The network management server provides a background network management synchronization agent process, which accepts the synchronization request sent by the maintenance terminal, and reads the table data from the database according to the transmitted table name information to be synchronized.

3)后台网管同步代理进程通过表适配器单元进行具体表匹配,获得表的结构信息,然后将表数据转换成网元需要的格式,然后生成具体的数据传送包,如特定格式的表头信息,特定格式的字段信息,以及特定格式的记录信息等。3) The background network management synchronization agent process performs specific table matching through the table adapter unit, obtains the structural information of the table, then converts the table data into the format required by the network element, and then generates specific data transmission packets, such as table header information in a specific format, Field information in a specific format, record information in a specific format, etc.

4)对于同步过程中的异常和错误,收发双方都设有错误应答消息机制,对异常情况进行判断处理。4) For abnormalities and errors in the synchronization process, both the sending and receiving parties have an error response message mechanism to judge and process the abnormal situation.

5)在同步过程中,采用收发双方互控机制,收发方都设置定时器,收发数据后都等待对方的应答,若在定时期满仍未收到对方应答,视为本次传输失败,各自回到空闲状态。5) During the synchronization process, the mutual control mechanism of the sending and receiving parties is adopted. Both the sending and receiving parties set timers and wait for the other party’s response after sending and receiving data. Return to idle state.

6)在同步过程中,由于数据同步主要用于数据库二维表数据对象的传输,具有相互约束关系的数据表必须在一次传输中同时修改完成,以保持数据完整性。因此,同步过程中,若有一张表同步失败,则整个同步过程无效。6) During the synchronization process, since data synchronization is mainly used for the transmission of two-dimensional table data objects in the database, data tables with mutual constraints must be modified simultaneously in one transmission to maintain data integrity. Therefore, during the synchronization process, if a table fails to be synchronized, the entire synchronization process is invalid.

7)在同步过程中,网元同步代理进程对于接收到的数据并不立刻更新内存,而是暂时保存在临时目录中,若同步失败,则立刻删除临时目录,只有本次数据的传输全部结束并正确无误后,方才存入内存。7) During the synchronization process, the network element synchronization agent process does not update the memory immediately for the received data, but temporarily saves it in the temporary directory. If the synchronization fails, the temporary directory is deleted immediately, and only the transmission of this data is completed And only after it is correct, it is stored in the memory.

8)网元同步代理进程在更新内存和硬盘时,由于网管和网元系统中二维表的字段描述可能有差异,因此对于差异的字段以接收方为准,决定取舍。8) When the network element synchronization agent process updates the memory and hard disk, because the field descriptions of the two-dimensional table in the network management system and the network element system may be different, the receiver shall prevail for the difference in the fields, and the decision is made.

下面结合图3通过一个实施例对本发明进行说明:The present invention is described through an embodiment below in conjunction with Fig. 3:

首先,在网管系统的操作维护终端选择需要同步的数据二维表;操作维护终端向后台网管同步代理进程发起同步操作请求;后台网管同步代理进程接收到同步消息后,根据表名信息进行表适配,然后进行表的解析,将表数据打包成网元需要的结构;然后:First, select the data two-dimensional table to be synchronized at the operation and maintenance terminal of the network management system; the operation and maintenance terminal initiates a synchronization operation request to the background network management synchronization agent process; after receiving the synchronization message, the background network management synchronization agent process performs table adaptation according to the table name information Configure, then analyze the table, and pack the table data into the structure required by the network element; then:

301)后台网管同步代理进程向前台网元同步代理进程发送请求通讯消息,消息包含具体的请求信息,包括请求源,请求方式,以及传输的具体要求等;301) The background network management synchronization agent process sends a request communication message to the foreground network element synchronization agent process, and the message contains specific request information, including request source, request mode, and specific requirements for transmission, etc.;

302)前台网元同步代理进程收到请求消息后,迁移状态;若其当前状态为空闲状态,则使自己处于接受状态,同时给后台网管同步代理进程回发同意通讯消息;否则给后台网管同步代理进程回链路忙消息,其中包含错误信息,表示前台网元同步接收进程正处于传输忙状态,不做处理;302) After the front desk network element synchronization agent process receives the request message, it migrates state; if its current state is an idle state, it makes itself in the accepting state, and simultaneously sends back an agreement communication message to the background network management synchronization agent process; otherwise, it sends the background network management synchronization The agent process returns a link busy message, which contains error information, indicating that the synchronous receiving process of the foreground network element is in the busy state of transmission, and will not be processed;

303)后台网管同步代理进程收到可以通讯应答消息后,继续向前台网元同步代理进程发送传输数据二维表的表传送开始消息。303) After receiving the communication acknowledgment message, the background network management synchronization agent process continues to send a table transfer start message for the transmission data two-dimensional table to the foreground network element synchronization agent process.

304)接收方前台网元同步代理进程收到消息后,回送准备接受应答消息,准备接收某个数据二维表的信息;304) After receiving the message, the receiver's foreground network element synchronization agent process sends back a ready to accept response message, ready to receive the information of a certain data two-dimensional table;

305)后台网管同步代理进程收到准备接受应答消息后,将二维表名,记录长度,字段描述表,字段个数等表结构信息以一定格式的消息包发送给前台网元同步代理进程;305) After the background network management synchronization agent process receives the ready to accept response message, the two-dimensional table name, record length, field description table, field number and other table structure information are sent to the foreground network element synchronization agent process with a message packet in a certain format;

306)前台网元同步代理进程收到消息后,检测判断数据表的版本是否正确,字段描述信息是否正确,对字段进行取舍判断,并将这些信息保存在一个临时目录中,然后给后台网管同步代理进程回送表信息确认应答消息;306) After the front-end network element synchronization agent process receives the message, it detects whether the version of the data table is correct and whether the field description information is correct, and judges whether the field is correct, and saves the information in a temporary directory, and then synchronizes it to the background network management The agent process sends back the table information to confirm the response message;

307)后台网管同步代理进程收到表信息数据确认应答消息后,向前台网元同步代理进程发送表数据消息,消息包含数据表中的记录个数,增删标记和相应记录等信息;前台网元同步代理进程收到消息后,将接收到的数据全部装载入一个特定工作区,系统硬盘工作区写函数自动实现该工作区到硬盘的数据拷贝,并给后台网管同步代理进程回送表数据确认消息;表数据内容一部分一部分传送,在一部分传送确认收到后再传送下一部分,直接一张表的数据内容全部传送完毕;307) After the background network management synchronization agent process receives the table information data confirmation response message, it sends a table data message to the front-end network element synchronization agent process. The message includes the number of records in the data table, information such as addition and deletion marks and corresponding records; the front-end network element After the synchronization agent process receives the message, it loads all the received data into a specific work area, and the system hard disk work area write function automatically realizes the data copy from the work area to the hard disk, and sends back the table data confirmation to the background network management synchronization agent process Message; part of the table data content is transmitted, and the next part is transmitted after a part of the transmission confirmation is received, and all the data content of a table is directly transmitted;

308)待此表的传输全部结束后,后台网管同步代理进程向前台网元同步代理进程发送表传送结束消息;308) After all the transmissions of the table are finished, the background network management synchronization agent process sends the table transmission end message to the foreground network element synchronization agent process;

309)前台网元同步代理进程收到表传送结束消息后,将硬盘读写工作区的内容全部写盘,关闭数据库读写工作区,并给回送消息表传输结束确认消息,准备接收下一个数据表的传输;309) After receiving the table transmission end message, the front-end network element synchronization agent process writes all the contents of the hard disk read-write workspace to the disk, closes the database read-write workspace, and sends a confirmation message to the loopback message table transmission end, ready to receive the next data transmission of tables;

310)后台网管同步代理进程收到表传输结束确认消息后,若还有数据表需要同步,则循环给前台网元同步代理进程发送表传送开始消息,否则若数据表全部传输完毕,则给前台网元同步代理进程发送通讯结束请求消息;310) After the background network management synchronization agent process receives the table transmission end confirmation message, if there are data tables that need to be synchronized, it will send a table transmission start message to the foreground network element synchronization agent process in a loop; The network element synchronization agent process sends a communication end request message;

311)前台网元同步代理进程收到通讯结束消息后,将硬盘临时目录中的所有文件依次读入硬盘读写工作区,按操作种类(若无,则全为增加)在内存二维表中实现数据记录的装载和更新,同时修改相应的二维表索引和队列。待完成硬盘全部数据的装载后,删除全部临时文件,切换状态为空闲状态,并给后台网管同步代理进程回送通讯结束确认消息,本次同步结束。311) After the front-end network element synchronization agent process receives the communication end message, it sequentially reads all the files in the hard disk temporary directory into the hard disk read-write workspace, and stores them in the memory two-dimensional table according to the type of operation (if none, all are added) Realize the loading and updating of data records, and modify the corresponding two-dimensional table indexes and queues at the same time. After the loading of all data on the hard disk is completed, all temporary files are deleted, the state is switched to an idle state, and a communication end confirmation message is sent back to the background network management synchronization agent process, and this synchronization ends.

其中,数据发送方和接收方的消息传送采用应答方式。如果在一定时间内未收到应答或消息,则传输失败。Among them, the message transmission between the data sender and the receiver adopts the response mode. If no acknowledgment or message is received within a certain amount of time, the transfer fails.

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 上海华为技术有限公司 A realization method of configuring business 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 中兴通讯股份有限公司 Network management data synchronization method and network management data synchronization system in network optimization system
CN100409621C (en) * 2006-03-07 2008-08-06 大唐移动通信设备有限公司 A Method of Realizing Reverse Synchronization in Network Management System
CN100403696C (en) * 2006-03-30 2008-07-16 华为技术有限公司 Storage management method and system for realizing data configuration between network elements and network management
CN100417095C (en) * 2006-07-21 2008-09-03 华为技术有限公司 Method and system for implementing network management and network element configuration operations
EP2100236B1 (en) * 2006-11-30 2016-05-25 Intellisync Corporation Method, apparatus and computer program product for providing intelligent synchronization
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 中兴通讯股份有限公司 Configuration data synchronization method 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 华为技术有限公司 Real-time Data Synchronization Method between Network Element and Telecom Network Management 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 华为技术有限公司 Real-time Data Synchronization Method between Network Element and Telecom Network Management 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
CN109829011B (en) Data synchronization method and device for distributed heterogeneous database
WO2019047479A1 (en) General multi-source heterogenous large-scale data synchronization system
CN101110706A (en) A method for synchronizing configuration data
CN101227428B (en) Application server and remote control method thereof
CN1681248A (en) Method and system for transmitting data for data synchronization between server and client
CN111291008B (en) Data processing method, device, system, electronic equipment and computer storage medium
CN1534947A (en) Improve the availability and scalability of messaging systems in a manner transparent to the application
CN102385582A (en) Method, server and system for processing production test data
CN102724304A (en) Information warehouse federation in subscription/release system and data synchronization method
US20250036528A1 (en) Systems and methods for failure recovery in at-most-once and exactly-once streaming data processing
CN110222119A (en) A kind of data conversion synchronous method, equipment and the storage medium of heterogeneous database
CN101516131B (en) Method, system and device for data synchronization
CN109145155A (en) High-concurrency warehousing processing method for mass remote sensing image metadata
WO2021109777A1 (en) Data file import method and device
CN114528049B (en) A method and system for implementing API call information statistics based on InfluxDB
CN120583104A (en) Highly robust real-time data synchronization method, system, storage medium and electronic device
CN115309525A (en) Distributed task scheduling method, system, device and medium based on microservice
CN105872056A (en) Method and system for rapidly synchronizing computer cluster data
CN115834604A (en) Data sending end, receiving end, synchronization method and computer program product
CN101035026A (en) Network management system and its communication method
CN1835444B (en) System and method for synchronizing static parameters of multiple processing units of wireless network controller
CN118646758A (en) A system and method for realizing remote data synchronization based on data monitoring
CN104994074A (en) Implementation method of communication server of physical examination machine
CN100417104C (en) Ethernet communication device and method between data processing boards

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

Granted publication date: 20070704

Termination date: 20190602