CN109361538A - A kind of comparison system and its comparative approach of PTN network management data consistency - Google Patents
A kind of comparison system and its comparative approach of PTN network management data consistency Download PDFInfo
- Publication number
- CN109361538A CN109361538A CN201811195463.2A CN201811195463A CN109361538A CN 109361538 A CN109361538 A CN 109361538A CN 201811195463 A CN201811195463 A CN 201811195463A CN 109361538 A CN109361538 A CN 109361538A
- Authority
- CN
- China
- Prior art keywords
- message
- data
- module
- network management
- equipment
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0866—Checking the configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0213—Standardised network management protocols, e.g. simple network management protocol [SNMP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/161—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
- H04L69/162—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
Abstract
A kind of comparison system and its comparative approach of PTN network management data consistency, the system includes the message reception module that table structure change message is sent for receiving device, the message reception module connection message processing module, message processing module connection message comparison module, message comparison module is separately connected enquiry module and message pushing module, and the message pushing module connects display module.The system is able to solve in a large amount of NE managements, whole table data of synchronous whole network elements, possible system pressure and pressure communication.
Description
Technical field
The present invention relates to the comparison systems and its comparative approach of a kind of PTN network management data consistency.
Background technique
PTN network management system, when equipment passes through, device command row directly operates equipment or the multiple network managements of equipment are managed simultaneously
Reason, can all cause network management database and device databases data inconsistent.The information inaccuracy for causing user to see, and configuration
There may be the risks of failure for equipment.
Common solution are as follows: 1, user verify manually check network element it is whether consistent with database data;2, setting is fixed
When poll, the table data of all managed network elements of timing verification.But all there is drawback in one two two kinds of means, the first: needing
User is wanted to participate in, experience effect is poor.Second: when the NE quantity of management is more, the inquiry of a large amount of network elements can occupy for a long time is looked into
Channel is ask, and has interval that cannot obtain result in real time because of the polling cycle time.
Summary of the invention
Its purpose of the invention, which is that, provides the comparison system and its comparative approach of a kind of PTN network management data consistency, solves
Art methods of having determined, which exist, needs user to participate in, and experience effect is poor, and when the NE quantity of management is more, a large amount of network elements
Inquiry can for a long time occupy inquiry channel, and because the polling cycle time have the problem of interval cannot obtain result in real time.
It adopts the technical scheme that achieve the above object, a kind of comparison system of PTN network management data consistency, this is
System includes the message reception module that table structure change message is sent for receiving device, at the message reception module connection message
Module, message processing module connection message comparison module are managed, message comparison module is separately connected enquiry module and message push mould
Block, the message pushing module connect display module.
A kind of comparative approach of PTN network management data consistency, needs between collator tables of data and network management data table
The mapping relations of 1:n, and it is saved in system configuration file, system cache mapping tables of data is automatically loaded into after server starting,
Compare use for follow-up equipment tables of data and network management data table, and open equipment message monitoring, guarantees to receive equipment transmission
Message, method includes the following steps:
1) when message reception module receives the message of table structure variation of equipment transmission, message content can be saved in system
Message queue in;
2) message processing module is responsible for automatic regular polling equipment message queue, when there is newly-increased message in queue, parses message structure,
Message structure is translated into alarm event object, and event object is added to data and compares queue;
3) data comparison module reading data compare queue, get device id and equipment list, then read system cache and deposit mapping
Tables of data obtains the network management database table of all mappings, calls enquiry module, obtains network management data and device data object, than
Inconsistent details are obtained compared with object, and comparison result is added to message and sends sector's column;
4) enquiry module is according to equipment list name query equipment real time data, and passes through database table name query network management data
Library data;
5) buffer area websocket is written in every message that message transmission module is responsible for sending sector's column according to message, by message
It is sent to client's display interface;
6) display module is responsible for showing that message queue sends sector and arranges the comparison result sended over.
Beneficial effect
The present invention has the following advantages that compared with prior art.
Equipment list change message is sent to NM server, network management by the way of device data active push by this method
After server receives equipment list change information, all be related to is obtained by mapping relations between equipment list and network management table
Table, for the table being related to, NM server actively initiates inquiry, obtains device data and NM server data, the two number
Compare details according to comparing to obtain data consistency, and foreground Client Model be pushed directly to by message queue and shows user,
It ensures the timeliness and validity of response message, and solves in a large amount of NE managements, the whole of synchronous whole network elements
Table data, possible system pressure and pressure communication.
Detailed description of the invention
Below in conjunction with attached drawing, the invention will be further described.
Fig. 1 is the flow chart of the method for the present invention;
Fig. 2 is the data comparison process figure of the method for the present invention.
Specific embodiment
With reference to the accompanying drawing, the present invention is further illustrated.
A kind of comparison system of PTN network management data consistency, the system include that table structure variation is sent for receiving device
The message reception module of message, the message reception module connection message processing module, message processing module connection message compare
Module, message comparison module are separately connected enquiry module and message pushing module, and the message pushing module connects display module.
A kind of comparative approach of PTN network management data consistency, needs between collator tables of data and network management data table
The mapping relations of 1:n, and it is saved in system configuration file, system cache mapping tables of data is automatically loaded into after server starting,
Compare use for follow-up equipment tables of data and network management data table, and open equipment message monitoring, guarantees to receive equipment transmission
Message, method includes the following steps:
1) when message reception module receives the message of table structure variation of equipment transmission, message content can be saved in system
Message queue in;
2) message processing module is responsible for automatic regular polling equipment message queue, when there is newly-increased message in queue, parses message structure,
Message structure is translated into alarm event object, and event object is added to data and compares queue;
3) data comparison module reading data compare queue, get device id and equipment list, then read system cache and deposit mapping
Tables of data obtains the network management database table of all mappings, calls enquiry module, obtains network management data and device data object, than
Inconsistent details are obtained compared with object, and comparison result is added to message and sends sector's column;
4) enquiry module is according to equipment list name query equipment real time data, and passes through database table name query network management data
Library data;
5) buffer area websocket is written in every message that message transmission module is responsible for sending sector's column according to message, by message
It is sent to client's display interface;
6) display module is responsible for showing that message queue sends sector and arranges the comparison result sended over.
The data comparison module is responsible for calculating the inconsistent details between network management database data and device data, is divided into
Following steps are completed:
(1) a set of reference format is defined, equipment list data and database table data are converted into this format;
(2) HSAH algorithm is utilized, the unique index of each row of data in tables of data is calculated one 32
KEY without symbol shaped digital, as this line record;
(3) major key KEY and each row of data are established into mapping relations one by one.Equipment KEY array, database KEY number are obtained simultaneously
Group;
(4) binary search is utilized, using divide-and-conquer strategy, search mission can be completed with O (log n) in the worst case:
1) recycle unit KEY array searches for database KEY array, filters out identical value in two arrays, is more than or equal to 0 table
Show identical, is indicated less than 0 different;When identical, device data and database data are obtained by KEY;Then compare two
The attribute value of data object obtains the inconsistent details of attribute;When not identical, device data is obtained by KEY, obtaining equipment has
Network management without inconsistent details;
2) circular database KEY array searches for equipment KEY array, filters out identical value in two arrays, indicates not less than 0
Together;Obtain database data by KEY, obtain network management have equipment without inconsistent details;
(5), inconsistent details object information is orderly sent to message transmit queue in time.
In the present invention, the enquiry module is used to obtain the data information of equipment or database, main to call two kinds of services
Interface, equipment query interface and database query interface, equipment query call SNMP interface, inquire specified table data information, number
JDBC mode reading database table information is used according to library.The message queue that the message transmission module management is sent, and utilize
After message is orderly sent to the client NM server starting of all connections by the channel websocket, websocket clothes are opened
Business process monitors web client connection response.The display module client log in network management system success after, when foreground open
The connection of websocket client, when client receives the inconsistent message that server push is sent, pop-up prompting message is accused
It is alert, when client, which clicks, to be unfolded, show network management data table and the inconsistent details of number of devices table.
Claims (3)
1. a kind of comparison system of PTN network management data consistency, which includes sending table structure variation for receiving device to disappear
The message reception module of breath, which is characterized in that the message reception module connection message processing module, message processing module connection
Message comparison module, message comparison module are separately connected enquiry module and message pushing module, the message pushing module connection
Display module.
2. a kind of comparative approach of PTN network management data consistency according to claim 1, need collator tables of data and
The mapping relations of 1:n between network management data table, and it is saved in system configuration file, system is automatically loaded into after server starting
Caching mapping tables of data, compares use for follow-up equipment tables of data and network management data table, and opens equipment message monitoring, guarantees
Receive the message of equipment transmission, which is characterized in that method includes the following steps:
When message reception module receives the message of table structure variation of equipment transmission, message content can be saved in system
In message queue;
Message processing module is responsible for automatic regular polling equipment message queue, when there is newly-increased message in queue, parses message structure, will
Message structure translates to alarm event object, and event object is added to data and compares queue;
Data comparison module reads data and compares queue, gets device id and equipment list, then read system cache and deposit mapping number
According to table, the network management database table of all mappings is obtained, enquiry module is called, obtains network management data and device data object, compare
Object obtains inconsistent details, and comparison result is added to message and sends sector's column;
Enquiry module is according to equipment list name query equipment real time data, and passes through database table name query network management database
Data;
The buffer area websocket is written in every message that message transmission module is responsible for sending sector's column according to message, and message is sent out
It is sent to client's display interface;
Display module is responsible for showing that message queue sends sector and arranges the comparison result sended over.
3. a kind of comparative approach of PTN network management data consistency according to claim 2, which is characterized in that the data
Comparison module is responsible for calculating the inconsistent details between network management database data and device data, and it is complete to be divided into following steps
At:
A set of reference format is defined, equipment list data and database table data are converted into this format;
Using HSAH algorithm, by the unique index of each row of data in tables of data be calculated one 32 without symbol shaping number
Word, the KEY as this line record;
Major key KEY and each row of data are established into mapping relations one by one;
Equipment KEY array, database KEY array are obtained simultaneously;
Search mission can be completed with O (log n) in the worst case using divide-and-conquer strategy using binary search:
1) recycle unit KEY array searches for database KEY array, filters out identical value in two arrays, is more than or equal to 0 table
Show identical, is indicated less than 0 different;When identical, device data and database data are obtained by KEY;Then compare two
The attribute value of data object obtains the inconsistent details of attribute;When not identical, device data is obtained by KEY, obtaining equipment has
Network management without inconsistent details;
2) circular database KEY array searches for equipment KEY array, filters out identical value in two arrays, indicates not less than 0
Together;Obtain database data by KEY, obtain network management have equipment without inconsistent details;
(5), inconsistent details object information is orderly sent to message transmit queue in time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811195463.2A CN109361538A (en) | 2018-10-15 | 2018-10-15 | A kind of comparison system and its comparative approach of PTN network management data consistency |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811195463.2A CN109361538A (en) | 2018-10-15 | 2018-10-15 | A kind of comparison system and its comparative approach of PTN network management data consistency |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109361538A true CN109361538A (en) | 2019-02-19 |
Family
ID=65349318
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811195463.2A Withdrawn CN109361538A (en) | 2018-10-15 | 2018-10-15 | A kind of comparison system and its comparative approach of PTN network management data consistency |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109361538A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112632334A (en) * | 2020-12-31 | 2021-04-09 | 京信网络系统股份有限公司 | MIB data model and equipment database model mapping method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1812331A (en) * | 2004-12-24 | 2006-08-02 | 中兴通讯股份有限公司 | Method for real-time embodying disparity of network managment foreground and background data |
CN101114943A (en) * | 2007-09-14 | 2008-01-30 | 中兴通讯股份有限公司 | Method for performing optimized exhibition to network management data uploading comparative result |
CN101588269A (en) * | 2009-06-17 | 2009-11-25 | 中兴通讯股份有限公司 | Method and system for automatically uploading configuration data of device to gateway |
CN105323112A (en) * | 2015-11-18 | 2016-02-10 | 武汉日电光通信工业有限公司 | A rapid method for consistency processing of packet transport network management |
-
2018
- 2018-10-15 CN CN201811195463.2A patent/CN109361538A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1812331A (en) * | 2004-12-24 | 2006-08-02 | 中兴通讯股份有限公司 | Method for real-time embodying disparity of network managment foreground and background data |
CN101114943A (en) * | 2007-09-14 | 2008-01-30 | 中兴通讯股份有限公司 | Method for performing optimized exhibition to network management data uploading comparative result |
CN101588269A (en) * | 2009-06-17 | 2009-11-25 | 中兴通讯股份有限公司 | Method and system for automatically uploading configuration data of device to gateway |
CN105323112A (en) * | 2015-11-18 | 2016-02-10 | 武汉日电光通信工业有限公司 | A rapid method for consistency processing of packet transport network management |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112632334A (en) * | 2020-12-31 | 2021-04-09 | 京信网络系统股份有限公司 | MIB data model and equipment database model mapping method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101163265B (en) | Distributed database based on multimedia message log inquiring method and system | |
US7899935B2 (en) | Method and system for data synchronization | |
CN107528872B (en) | Data recovery method and device and cloud storage system | |
US7814178B2 (en) | Method and apparatus for data configuration in communication device | |
CN103209087B (en) | Distributed information log statistical processing methods and system | |
CN110413599A (en) | Generating date and storage system and method | |
CN106933724B (en) | Distributed information tracking system, information processing method and device | |
CN107943841A (en) | Stream data processing method, system and computer-readable recording medium | |
CN101557427A (en) | Method for providing diffluent information and realizing the diffluence of clients, system and server thereof | |
CN104899274B (en) | A kind of memory database Efficient Remote access method | |
CN110162543A (en) | A kind of information query method and device | |
CN102033912A (en) | Distributed-type database access method and system | |
CN103258036A (en) | Distributed real-time search engine based on p2p | |
CN111277483B (en) | Multi-terminal message synchronization method, server and storage medium | |
CN104834700A (en) | Method for capturing movement data increment based on track change | |
CN110096545A (en) | One kind being based on big data platform data processing domain architecting method | |
CN112131294A (en) | Method, system and device for quickly generating interface | |
CN110198327A (en) | A kind of data transmission method and relevant device | |
CN102982034A (en) | Internet website information search method and search system | |
CN109361538A (en) | A kind of comparison system and its comparative approach of PTN network management data consistency | |
CN114398520A (en) | Data retrieval method, system, device, electronic equipment and storage medium | |
CN106326280B (en) | Data processing method, device and system | |
CN106301972A (en) | A kind of monitoring data push away method and system in real time | |
CN110334147A (en) | A kind of method of data synchronization and device | |
CN106569929A (en) | Real-time data access method and system for monitoring system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190219 |