[go: up one dir, main page]

CN100531060C - Method for generating incremental data based on flow number - Google Patents

Method for generating incremental data based on flow number Download PDF

Info

Publication number
CN100531060C
CN100531060C CNB2006100987555A CN200610098755A CN100531060C CN 100531060 C CN100531060 C CN 100531060C CN B2006100987555 A CNB2006100987555 A CN B2006100987555A CN 200610098755 A CN200610098755 A CN 200610098755A CN 100531060 C CN100531060 C CN 100531060C
Authority
CN
China
Prior art keywords
serial number
ems
data
incremental data
sends
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.)
Active
Application number
CNB2006100987555A
Other languages
Chinese (zh)
Other versions
CN101106477A (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.)
Guangdong Huabo Enterprise Management Consulting Co ltd
Electric Power Research Institute of State Grid Xinjiang Electric Power Co Ltd
Electric Power Research Institute of State Grid Ningxia Electric Power Co Ltd
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 CNB2006100987555A priority Critical patent/CN100531060C/en
Publication of CN101106477A publication Critical patent/CN101106477A/en
Application granted granted Critical
Publication of CN100531060C publication Critical patent/CN100531060C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

本发明公开了一种基于流水号生成增量数据的方法,包括:NE发起同步请求,发送全部流水号到EMS;EMS遍历自己的流水号和NE发送的流水号,进行比较并生成增量数据;EMS将删除的流水号发给NE,NE收到流水号后将需要删除的数据删除;EMS发送增加和修改的数据,同时发送增加的流水号,NE根据接收到的信息增加数据和修改数据。本发明特别适用于3GPP网管系统中北向接口和南向接口,通过生成同步数据所需增量数据来实现同步。本发明通过流水号快速生成增量数据,采用增量数据同步,只对变化的配置数据(包括新增、删除、修改)进行同步,在长期的维护管理中,减少了同步的数据量,减轻了接口的流量负荷。

Figure 200610098755

The invention discloses a method for generating incremental data based on a serial number, comprising: NE initiates a synchronization request, sends all serial numbers to EMS; EMS traverses its own serial number and the serial number sent by NE, compares and generates incremental data ; EMS sends the deleted serial number to NE, and NE deletes the data to be deleted after receiving the serial number; EMS sends the added and modified data, and at the same time sends the increased serial number, and NE adds data and modifies data according to the received information . The invention is especially suitable for the northbound interface and the southbound interface in the 3GPP network management system, and realizes the synchronization by generating the incremental data required for the synchronization data. The present invention quickly generates incremental data through the serial number, adopts incremental data synchronization, and only synchronizes changed configuration data (including addition, deletion, and modification). In long-term maintenance and management, the amount of synchronized data is reduced, and the interface traffic load.

Figure 200610098755

Description

Generate the method for incremental data based on serial number
Technical field
The present invention relates to required synchrodata generation method in a kind of network management system, relate in particular to required synchrodata generation method in the 3GPP network management system.
Background technology
Third generation partner program (3rd Generation Partnership Project, 3GPP) in, the interface between Element management system (EMS) and the network element (NE) is called Inf-S (south orientation) interface.Interface between network management system (nms) and the Element management system (EMS) is called Inf-N (north orientation) interface.
In order to guarantee effective management of communication network, the data between EMS and the NE need be consistent.In existing systems, the configuration data method of synchronization between EMS and the NE is divided into all data method of synchronization and the incremental data method of synchronization, and the total data method of synchronization and increment are two independently processes synchronously.Incremental data synchronously in, present way is at EMS here, go up certainly subsynchronous after, the data of operating personnel's off-line arrangement are all got off by data-base recording.But do the dependence that has all multimodes like this, be unable to do without the trigger of database, synchronously, also need to do the removing of vestige, the flow process complexity, in addition, a lot of business databases are general on the basic SQL statement, but the realization of trigger etc. is incompatible, therefore, present way makes troubles for the transplanting of software, and total data is synchronous and synchronous two flow processs of incremental data can't be unified, and like this, the attendant just needs oneself to judge whether total data, and still increment is synchronous synchronously, bring operation to go up the possibility of error, bring hidden danger to the network operation.
In order to guarantee effective management of communication network, the data between NMS and the EMS need be consistent.In existing systems, the configuration data method of synchronization between NMS and the EMS belongs to all data method of synchronization, i.e. after the configuration data of NMS initiation and EMS was synchronous, EMS reported NMS to configuration datas all in the management domain.The advantage of this mode is to realize simply can guaranteeing that the configuration data of NMS and EMS is consistent.But shortcoming is, has the situation of a large amount of configuration datas at EMS, and total data may cause the interface load of EMS and NMS and EMS overweight synchronously, triggers other problemses such as NMS or EMS system instability, communication disconnection, synchronization failure.
Industry has been recognized the defective of all data method of synchronization at present, in order to reduce interface load, in relevant OMC northbound interface standard, the synchronous demand of incremental data has been proposed, but still there is not the solution of determining, mainly be not have better incremental data generation method, if NMS tells EMS with all data back, finish the full comparison of initial data and form incremental data by EMS, the complexity of Ji Suaning, time cost will be very huge so, obviously can not effectively solve the quick generation of incremental data.
Summary of the invention
Technical problem solved by the invention provides a kind of method based on serial number generation incremental data, has reduced the data in synchronization amount, has alleviated the traffic load of interface.
Technical scheme is as follows:
The method that generates incremental data based on serial number comprises the steps:
(1) network element NE initiates synchronization request, sends whole serial numbers to Element management system EMS;
(2) serial number of described EMS traversal oneself and the serial number of described NE transmission compare and generate the incremental data that need notify described NE;
(3) described EMS issues NE with the serial number of deletion, and described NE receives will need the data deletion of deleting behind the serial number;
(4) for the data that increase and revise, need be synchronized to NE.
Further, serial number described in the step (1) is a sign, and each data object all has the serial number of distribution, and serial number is produced by EMS.
Further, this method takes a step forward in step (1) and comprises: NE initiates simultaneous operation, and when synchronous first, EMS sends whole serial numbers and corresponding data are carried out to NE synchronously.
Further, step (2) further comprises:
(21) after described EMS receives the serial number that all NE send over, the current serial number of described EMS traversal self;
(22) have corresponding serial number as described EMS, and EMS is when recording retouching operation, described EMS is to the data of the revising mark that makes an amendment.
Further, step (22) further comprises:
As the serial number of correspondence, and EMS indicates on the serial number of both sides when not having amendment record, in order to explanation EMS and this part data consistent of NE.
Further, step (22) afterwards step (2) also comprise:
(23) after described EMS had traveled through self current serial number, the serial number that described EMS traversal NE sends if serial number was not beaten sign, illustrated that these data delete;
(24) serial number of described EMS traversal self was not beaten sign as serial number, and then the data of this serial number correspondence increase.
The present invention is specially adapted to northbound interface and southbound interface in the 3GPP network management system, realizes synchronously by generating the required incremental data of synchrodata.The present invention generates incremental data fast by serial number, the employing incremental data is synchronous, only the configuration data that changes (comprise newly-increased, deletion, revise) is carried out synchronously, in long-term maintenance management, reduce the data in synchronization amount, alleviated the traffic load of interface.
Description of drawings
Fig. 1 is serial number allocation example figure among EMS and the NE;
Fig. 2 is a data sync exemplary plot among EMS and the NE;
Fig. 3 is a serial number comparison algorithm flow chart among EMS and the NE;
Fig. 4 is serial number allocation example figure among NMS and the EMS;
Fig. 5 is a data sync exemplary plot among NMS and the EMS;
Fig. 6 is a serial number comparison algorithm flow chart among NMS and the EMS.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described in detail.
With reference to Fig. 1, Fig. 2 and Fig. 3 the processing procedure of southbound interface is described in detail.
As shown in Figure 1,1,2,5 of NE this side ..., M represents serial number, the corresponding corresponding data of each serial number, and the serial number of NE is that EMS distributes transmission.EMS this side 1,2,6 ..., M represents serial number, the corresponding corresponding data of each serial number.
As shown in Figure 2, the processing procedure of southbound interface is as follows:
1, NE initiates simultaneous operation to EMS.
2, first synchronously the time, EMS sends total data to NE, and the data that send whole serial numbers and correspondence are carried out synchronously.
3, NE initiates synchronization request to EMS.
4, NE sends own all serial numbers to EMS.
5, the serial number of the serial number of EMS traversal oneself and NE transmission compares, and generates the data of increment.
6, EMS issues NE with the serial number of deletion, and NE receives will need the data deletion of deleting behind the serial number.
7, EMS sends the data that increase and revise, and sends the serial number that increases simultaneously, and NE increases data and revises data according to the information that receives.
As shown in Figure 3, EMS compares, and the detailed process of the data of generation increment is as follows:
After step S301:EMS receives the serial number that all NE send over, the current serial number of EMS traversal self.
Step S302:EMS judges in current self the serial number whether amendment record is arranged.
Step S303: when there is corresponding serial number in EMS, and EMS is when recording retouching operation, to the data of the revising mark that makes an amendment.Serial number 2 that for example can the mark correspondence is BLUE, and the data of representing this serial number correspondence are through revising.
Step S304: when there is corresponding serial number in EMS, and when EMS does not have amendment record, on the serial number of both sides, indicate, in order to explanation EMS and this part data consistent of NE, otherwise just explanation is the data that need reissue, and the data type that need reissue can be to increase, delete, revise.
After step S305:EMS has traveled through self current serial number, the serial number that EMS traversal NE sends.
Step S306:EMS judges whether contain the data that do not have mark will in the data that NE sends over.
If serial number was not beaten sign, illustrate that these data delete, and stamp sign for the serial number of this deleted data.For example,, stamp sign RED then for serial number 5, represent that the data of these serial number 5 correspondences are deleted datas if the data of serial number 5 correspondences are deleted datas.
The serial number of step S307:EMS traversal self.
Step S308:EMS has judged whether that serial number does not have mark will.
Step S309: if there is serial number not beaten sign among the EMS, then the data of this serial number correspondence increase.EMS stamps sign on the serial number that increases, for example, when the data of serial number 6 correspondences are the data that increase newly, mark YE on serial number 6 then.
With reference to Fig. 4, Fig. 5 and Fig. 6 the processing procedure of northbound interface is described in detail.
As shown in Figure 4,1,2,5 of NMS this side ..., M represents serial number, the corresponding corresponding data of each serial number, and the serial number of NMS is that EMS distributes transmission.EMS this side 1,2,6 ..., M represents serial number, the corresponding corresponding data of each serial number.
By top process, EMS has generated the incremental data that needs notice NE fast, and for the data of deletion, EMS is as long as send to NE to corresponding serial number, and NE deletes the data of these serial number correspondences.Data for increasing, revising need be synchronized to NE, and load mode is not limited to any feasible method.At last, EMS sends to NE to newly-increased serial number.
Obviously, when NE does not have data, be exactly that total data is synchronous.
As shown in Figure 5, the processing procedure of southbound interface is as follows:
1, NMS initiates simultaneous operation to EMS.
2, first synchronously the time, EMS sends total data to NMS, and the data that send whole serial numbers and correspondence are carried out synchronously.
3, NMS initiates synchronization request to EMS.
4, NMS sends own all serial numbers to EMS.
5, the serial number of the serial number of EMS traversal oneself and NMS transmission compares, and generates the data of increment.
6, EMS issues NMS with the serial number of deletion, and NMS receives will need the data deletion of deleting behind the serial number.
7, EMS sends the data that increase and revise, and sends the serial number that increases simultaneously, and NMS increases data and revises data according to the information that receives.
As shown in Figure 6, EMS compares, and the detailed process of the data of generation increment is as follows:
After step S601:EMS receives the serial number that all NMS send over, the current serial number of EMS traversal self.
Step S602:EMS judges in self current serial number whether amendment record is arranged.
Step S603: when there is corresponding serial number in EMS, and EMS is when recording retouching operation, to the data of the revising mark that makes an amendment.Serial number 2 that for example can the mark correspondence is BLUE, and the data of representing this serial number correspondence are through revising.
Step S604: when EMS has corresponding serial number, and when EMS does not have amendment record, on the serial number of both sides, indicate, in order to explanation EMS and this part data consistent of NE, otherwise just explanation is the data that need reissue, and the data type that need reissue can be to increase, delete, revise.
After step S605:EMS has traveled through self current serial number, the serial number that EMS traversal NMS sends.
Step S606:EMS judges the data whether mark will is arranged in the data that NMS sends over.
If serial number was not beaten sign, illustrate that the data of this serial number correspondence are deleted, and stamp sign for the serial number of this deleted data.For example,, stamp sign RED then for serial number 5, represent that the data of these serial number 5 correspondences are deleted datas if the data of serial number 5 correspondences are deleted datas.
The serial number of step S607:EMS traversal self.
Step S608:EMS has judged whether that serial number does not have mark will.
Step S609: if there is serial number not beaten sign among the EMS, then the data of this serial number correspondence increase.EMS stamps sign on the serial number that increases, for example, when the data of serial number 6 correspondences are the data that increase newly, mark YE on serial number 6 then.
By top process, EMS has generated the incremental data that needs notice NMS fast, and for the data of deletion, EMS is as long as send to NMS to corresponding serial number, and NMS deletes the data of these serial number correspondences.Data for increasing, revising need be synchronized to NMS, and load mode is not limited to any feasible method.At last, EMS sends to NMS to newly-increased serial number.
Obviously, when NE does not have data, be exactly that total data is synchronous.

Claims (6)

1、一种基于流水号生成增量数据的方法,包括如下步骤:1. A method for generating incremental data based on a serial number, comprising the steps of: (1)网元NE发起同步请求,发送全部流水号到网元管理系统EMS;(1) The network element NE initiates a synchronization request and sends all serial numbers to the network element management system EMS; (2)所述EMS遍历自己的流水号和所述NE发送的流水号,进行比较并生成需要通知所述NE的增量数据;(2) The EMS traverses its own serial number and the serial number sent by the NE, compares them and generates incremental data that needs to be notified to the NE; (3)所述EMS将删除的流水号发给所述NE,所述NE收到流水号后将需要删除的数据删除;(3) The EMS sends the deleted serial number to the NE, and the NE deletes the data to be deleted after receiving the serial number; (4)对于增加和修改的数据,需要同步到NE。(4) For added and modified data, it needs to be synchronized to NE. 2、根据权利要求1所述的基于流水号生成增量数据的方法,其特征在于,步骤(1)中所述流水号是一个标识,每一个数据对象都有分配一个流水号,流水号由EMS产生。2. The method for generating incremental data based on a serial number according to claim 1, characterized in that, the serial number described in step (1) is an identification, and each data object has a serial number assigned, and the serial number is determined by EMS generated. 3、根据权利要求1所述的基于流水号生成增量数据的方法,其特征在于,该方法在步骤(1)前进一步包括:NE发起同步操作,首次同步时,EMS发送全部的流水号和对应的数据到NE进行同步。3. The method for generating incremental data based on serial number according to claim 1, characterized in that, before step (1), the method further comprises: NE initiates a synchronization operation, and when synchronizing for the first time, EMS sends all serial numbers and The corresponding data is synchronized to the NE. 4、根据权利要求2所述的基于流水号生成增量数据的方法,其特征在于,步骤(2)进一步包括:4. The method for generating incremental data based on the serial number according to claim 2, characterized in that step (2) further comprises: (21)所述EMS收到所有NE发送过来的流水号后,所述EMS遍历自身的当前流水号;(21) After the EMS receives the serial numbers sent by all NEs, the EMS traverses its own current serial numbers; (22)当所述EMS存在对应的流水号,并EMS记录有修改操作时,所述EMS对修改的数据作修改标记。(22) When the EMS has a corresponding serial number and the EMS records a modification operation, the EMS marks the modified data as a modification. 5、根据权利要求4所述的基于流水号生成增量数据的方法,其特征在于,步骤(22)进一步包括:5. The method for generating incremental data based on the serial number according to claim 4, characterized in that the step (22) further comprises: 当有对应的流水号,并且EMS没有修改记录时,在两侧的流水号上作标志,用以说明EMS和NE这部分数据一致。When there is a corresponding serial number and EMS has no modification record, mark the serial numbers on both sides to show that the data of EMS and NE are consistent. 6、根据权利要求5所述的基于流水号生成增量数据的方法,其特征在于,在步骤(22)之后步骤(2)还包括:6. The method for generating incremental data based on the serial number according to claim 5, characterized in that, after the step (22), the step (2) further comprises: (23)所述EMS遍历完自身当前的流水号后,所述EMS遍历NE发送来的流水号,如果流水号没有打过标志,说明此数据已经删除;(23) After the EMS traverses its own current serial number, the EMS traverses the serial number sent by the NE, if the serial number has not been marked, it means that the data has been deleted; (24)所述EMS遍历自身的流水号,当有流水号没有被打过标志,则该流水号对应的数据是增加的。(24) The EMS traverses its own serial number, and when there is a serial number that has not been marked, the data corresponding to the serial number is increased.
CNB2006100987555A 2006-07-12 2006-07-12 Method for generating incremental data based on flow number Active CN100531060C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100987555A CN100531060C (en) 2006-07-12 2006-07-12 Method for generating incremental data based on flow number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100987555A CN100531060C (en) 2006-07-12 2006-07-12 Method for generating incremental data based on flow number

Publications (2)

Publication Number Publication Date
CN101106477A CN101106477A (en) 2008-01-16
CN100531060C true CN100531060C (en) 2009-08-19

Family

ID=39000178

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100987555A Active CN100531060C (en) 2006-07-12 2006-07-12 Method for generating incremental data based on flow number

Country Status (1)

Country Link
CN (1) CN100531060C (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025525A (en) * 2009-09-10 2011-04-20 浙江省公众信息产业有限公司 Method for data synchronization of multiple servers
CN102315930B (en) * 2010-06-30 2014-07-23 国际商业机器公司 Method and system for reducing data transmission quantity in data synchronization
CN101917282B (en) * 2010-07-20 2014-12-17 中兴通讯股份有限公司 Method, device and system for processing alarm shielding rules
CN101951362A (en) * 2010-08-13 2011-01-19 深圳市同洲电子股份有限公司 OC data updating method
CN102299819B (en) * 2011-06-30 2017-12-05 中兴通讯股份有限公司 Realize the method, system and device of multiple network management condominium element configuration data uniformity
CN103905397B (en) * 2012-12-28 2015-05-13 腾讯科技(深圳)有限公司 Data synchronization method and system
CN105701129A (en) * 2014-11-28 2016-06-22 中兴通讯股份有限公司 Inspection method and device of legality of data configured by webmaster
CN105138656A (en) * 2015-08-31 2015-12-09 浪潮软件股份有限公司 Method and device for processing data
CN107295540B (en) * 2016-03-31 2021-02-26 华为技术有限公司 Network element configuration method and device
CN108881452B (en) * 2018-06-27 2021-11-16 咪咕文化科技有限公司 Data synchronization method, device and storage medium

Also Published As

Publication number Publication date
CN101106477A (en) 2008-01-16

Similar Documents

Publication Publication Date Title
CN100531060C (en) Method for generating incremental data based on flow number
CN106528871B (en) A kind of method of online updating industrial control system project data point information
CN105404701B (en) A kind of heterogeneous database synchronization method based on peer-to-peer network
US8171171B2 (en) Data synchronization method and system between devices
CN100388675C (en) A method for implementing foreground data configuration in network management system
US20190173596A1 (en) Method for fast reconfiguration of gm clocks in the tsn network by means of an explicit teardown message
CN1937536A (en) Network management topological data synchronous refreshing method and system
CN103886091A (en) Database synchronization method based on record marks
CN106156318A (en) A kind of system and method realizing multinode data base's High Availabitity
CN106055723B (en) A kind of database in phase device, system and method
CN105512171A (en) Database synchronizing method and apparatus
WO2017162079A1 (en) Data synchronization method and apparatus
CN103248503A (en) Method and device for configuration data backup and restore function in network management
CN103559198A (en) Data synchronizing method and equipment
CN101997726A (en) Method and device for storing and managing telecommunication network user data
CN100499637C (en) Method for obtaining information in communication system
CN103581953B (en) A kind of method of wireless drive test data and monitoring signaling data association
CN103117883B (en) A kind of packet equipment running status synchronous method
CN104519080B (en) A method and system for building a chain of a distributed CDN system
CN106657360A (en) Synchronization method and system for NIS servers under Linux system
CN101426220A (en) Method, apparatus and system for base station cutover
CN101552773A (en) Method, equipment and system for processing data item identifier mapping in data synchronization
JP2007282236A (en) Network apparatus and user status information synchronizing method
CN108108372B (en) Automatic correction processing method and device for data conflict
CN100466839C (en) Method, device and system for obtaining board replacement information

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
ASS Succession or assignment of patent right

Owner name: ELECTRIC POWER RESEARCH INSTITUTE, STATE GRID NING

Effective date: 20141114

Owner name: GUANGDONG HUABO ENTERPRISE MANAGEMENT CONSULTING C

Free format text: FORMER OWNER: ZTE CORPORATION

Effective date: 20141114

Owner name: ELECTRIC POWER RESEARCH INSTITUTE, STATE GRID XINJ

Free format text: FORMER OWNER: GUANGDONG HUABO ENTERPRISE MANAGEMENT CONSULTING CO., LTD.

Effective date: 20141114

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518057 SHENZHEN, GUANGDONG PROVINCE TO: 510640 GUANGZHOU, GUANGDONG PROVINCE

Free format text: CORRECT: ADDRESS; FROM: 510640 GUANGZHOU, GUANGDONG PROVINCE TO: 830011 URUMQI, XINJIANG UYGUR AUTONOMOUS REGION

TR01 Transfer of patent right

Effective date of registration: 20141114

Address after: 830011, 66, lane two, Changchun Middle Road, the Xinjiang Uygur Autonomous Region hi tech Industrial Development Zone (new urban area), Urumqi

Patentee after: ELECTRIC POWER SCIENCES RESEARCH INSTITUTE OF STATE GRID XINJIANG ELECTRIC POWER Co.

Patentee after: ELECTRIC POWER RESEARCH INSTITUTE OF STATE GRID NINGXIA ELECTRIC POWER Co.

Address before: 510640 Guangdong city of Guangzhou province Tianhe District gold Yinglu No. 1 was 1106 room two

Patentee before: GUANGDONG HUABO ENTERPRISE MANAGEMENT CONSULTING Co.,Ltd.

Effective date of registration: 20141114

Address after: 510640 Guangdong city of Guangzhou province Tianhe District gold Yinglu No. 1 was 1106 room two

Patentee after: GUANGDONG HUABO ENTERPRISE MANAGEMENT CONSULTING Co.,Ltd.

Address before: 518057 Nanshan District high tech Industrial Park, Guangdong, South Road, science and technology, ZTE building, legal department

Patentee before: ZTE Corp.