CN103684814A - Method and device for comparing data of communication system - Google Patents

Method and device for comparing data of communication system Download PDF

Info

Publication number
CN103684814A
CN103684814A CN201210322444.8A CN201210322444A CN103684814A CN 103684814 A CN103684814 A CN 103684814A CN 201210322444 A CN201210322444 A CN 201210322444A CN 103684814 A CN103684814 A CN 103684814A
Authority
CN
China
Prior art keywords
data
master control
field
command code
webmaster
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.)
Pending
Application number
CN201210322444.8A
Other languages
Chinese (zh)
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 CN201210322444.8A priority Critical patent/CN103684814A/en
Publication of CN103684814A publication Critical patent/CN103684814A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention discloses a method and a device for comparing data of a communication system. According to the method, data between a master proxy and an equipment platform is converted into a uniform format; a mapping relation of the uniform format and a webmaster recognizable format, particularly a tetradic relation table generated by inheriting a ternary relation table, is created; automatic comparison is performed in a programming manner, taking place of the operation in the prior art in which data is checked manually generally. According to the invention, the method and the device realize data comparison between the master proxy and the equipment platform, shorten failure solving period when used for project failure investigation and positioning, adopt the programming manner to take place of the manual operation, save manpower, have the advantages of efficiency and usability, guarantee correctness and fastness of data comparison, greatly increase maintenance efficiency, and provide a guarantee for normal operation of a system.

Description

A kind of data comparing method for communication system and device
Technical field
The present invention relates to communication technique field, particularly relate to a kind of data comparing method for communication system and device.
Background technology
The system framework of modern communication equipment generally includes the equipment platform of Element management system (hereinafter to be referred as webmaster), main control unit and bottom, webmaster distribution configuration command wherein, this order take " command code " indicate as feature, command code comprises a series of fields, because the equipment platform of bottom can not be identified the field of this form, therefore before these fields are issued to equipment platform, first the mapped another kind that resolves into can be by the command code of the form of underlying device land identification, then is issued on underlying device platform; What be responsible for this mapping decomposition, translation function task is an Agent layer software platform in main control unit, i.e. master control agency.In the extensive existing network of Practical Project, more and more extensive with master control agency's equipment application, brought into play important effect.
But, also there are many problem demanding prompt solutions in this technology in actual applications, for example, device version upgrading, rollback failure, engineering maintenance personnel misoperation and intrinsic configuration custom etc. factor can cause the data between master control agency and equipment platform inconsistent, the problem that the order of webmaster subsequent configuration cannot normally issue, system cannot normally be worked causing thus, perplexs existing network attendant often.For this phenomenon, the basic skills of location fault is the data comparison of carrying out between webmaster, master control agency and equipment platform three, checks that abnormal data is residual.
At present, only realized the data comparison between webmaster and master control agency, and the data that how to realize between master control agency and equipment platform more all there is no to solve.This be because, master control agency can identify the order that webmaster issues, and preserve this order, both data also can directly be compared, when master control agency's data and network management data occur when inconsistent, inconsistent information can be returned to webmaster and check for the technical staff who operates, visible webmaster and master control agency's data are relatively easy to realize.Therefore and the data of communicating by letter between master control agency and equipment platform are another kind of diverse forms, this form of webmaster None-identified, even if master control agency and equipment platform data have inconsistently, has caused system exception, and technical staff also has no way of checking.For this situation, lack effective solution at present, can only be to rely on professional and technical personnel manually to check database, word for word section is checked, investigation data exception, not only human cost is high, error rate is also high, once Database field Pang is many will very consuming time and trouble, the efficiency of malfunction elimination location is difficult to improve, greatly increased the cost of engineering maintenance, in system, operate today of automation day by day, the automation contrast that realizes master control proxy data and equipment platform data is problem in the urgent need to address.
Summary of the invention
In order solving in prior art, cannot to carry out the problem of contrast automatically to the data between master control agency and equipment platform, to the invention provides a kind of data comparing method for communication system and device.
On the one hand, the data comparing method for communication system of the present invention comprises: receive master control proxy data and equipment platform data, the data that receive are converted to same form, set up described same form and webmaster and can identify the mapping relations between form; Contrast master control proxy data and equipment platform data under described same form, search inconsistent field; And, the information based on described mapping relations to the described inconsistent field of webmaster report.
On the other hand, data comparison means for communication system of the present invention comprises: the first data reception module, be used for receiving master control proxy data and equipment platform data, and the data that receive are converted to same form, set up described same form and webmaster and can identify the mapping relations between form; Data comparison module, for contrasting master control proxy data and the equipment platform data under described same form, searches inconsistent field; And comparative result processing module, for the information to the described inconsistent field of webmaster report based on described mapping relations.
Beneficial effect of the present invention is as follows:
1. the data transaction of master control agency and equipment platform is become to unified form, transfer process easily realizes.
2. by setting up consolidation form and webmaster, can identify the mapping relations between form, especially based on ternary relation table, inherit and generate quaternary relation table, ensure correctness and the rapidity of data comparisons.
3. in sequencing mode, automatically contrast and replace existingly take manually as the main operation of checking data, realized the data comparison of master control agency and equipment platform, for engineering failure investigation location, shorten fault and solve the cycle, by sequencing mode, replace manual operation, not only save manpower, and possess the advantage of high efficiency and ease for use, increase substantially maintenance efficiency, for the normal operation of system provides safeguard.
Accompanying drawing explanation
Fig. 1 is the data comparing method flow chart of the embodiment of the present invention.
Fig. 2 is that the data that the present invention is based on ternary relation table compare FB(flow block).
Fig. 3 is the data comparison means schematic diagram of the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, does not limit the present invention.
Fig. 1 is the data comparing method flow chart for communication system of the present invention, is specially:
S101, receives the data from master control agency and equipment platform, and these data are converted to same form, sets up this form and webmaster and can identify the mapping relations between form.
For the data between master control agency and equipment platform contrast, first receive the data from the two, be kept in Installed System Memory.The data that receive are carried out to format conversion, two parts data are converted to same form, for example, comprise order ID, field contents, field number, also can comprise data length, action type etc., all attribute of characterization data itself.
Due to only in the situation that webmaster can be identified received data form, data message could be shown, therefore need to set up a kind of mapping relations, data format and the discernible data format of webmaster after master control agency and equipment platform conversion are associated.
S102, makes comparisons the master control proxy data under same form and equipment platform data, searches inconsistent field.
Because data format is unified, when two parts data compare, the parameters item of corresponding field should be consistent, identical, if there is data exception, must cause two parts data to occur inconsistent situation.
S103, the mapping relations of setting up based on S101, by the information reporting of the inconsistent field of S102 to webmaster.
Through contrast, found inconsistent field, need report, because this data format can not be identified by webmaster, the mapping relations of setting up before utilizing report the information of inconsistent field with the discernible form of webmaster, with interface forms such as form, chart or figures, show notification technique personnel's data exception.
Such scheme relatively provides a kind of solution that does not need manpower to participate in carrying out Data Comparison for the data between master control agency and equipment platform in communication system, the data of two aspects are converted to same form, set up the mapping relations of data format, after the field that notes abnormalities, with webmaster, can identification form report.Subsequently, technical staff can utilize professional knowledge to carry out repair process to exception field, removal system fault.
At present, data between webmaster and master control agency more easily realize, roughly process is: webmaster issues the webmaster of data item to be compared and master control agency's data comparison command, wherein carried webmaster command code, the mapping relations that can set up webmaster command code, data item to be compared and comprise field three based on this, be called " ternary relation table ", in table, record webmaster command code, data item Chinese name to be compared and comprise field Chinese name, can be also other project according to condition setting; Data from webmaster and master control agency are contrasted, report webmaster while there is inconsistent field, webmaster is identified the relevant information of inconsistent field according to the mapping relations of ternary relation table, be presented on interface and check for technical staff.
Fig. 2 is that the data of the embodiment of the present invention compare FB(flow block), while implementing the present invention program, webmaster issues the data comparison command of data item to be compared, network management interface unit receives and identifies data comparison command, obtain webmaster command code, and the mapping relations of setting up webmaster command code, data item to be compared and comprising field, i.e. ternary relation table.Therefore due to the data format between webmaster None-identified master control agency and equipment platform, what now record in this ternary relation table is only the map information of data item to be compared between webmaster and master control agency.
This ternary relation table is sent to Installed System Memory, and here, this internal memory is also for receiving from master control agency's data and the data of equipment platform, for convenience of description, below this internal memory is called to " intermediate state order converting unit ".
Master control proxy interface unit receives the webmaster command code that webmaster issues, the master control proxy data relevant to webmaster command code is sent to intermediate state order converting unit, and according to the mapping relations table of the preset webmaster command code of internal system and device command code, obtain a series of device command codes corresponding to webmaster command code, the list of forming device command code, reports order together to send to equipment platform together with data the list of device command code.
Equipment platform interface unit receives this device command code list and data report order, in equipment platform database, search the equipment platform data corresponding with device command code, and report order that the equipment platform data that find are reported to intermediate state order converting unit according to data.
Intermediate state order converting unit receives ternary relation table, master control proxy data and equipment platform data, master control proxy data and equipment platform data are carried out to format conversion, make the data format of this two aspect identical, for convenience of description, form after conversion is called to " intermediate state data format ", the master control proxy data after format transformation and equipment platform data is sent to respectively to two different region of memorys pending.Wherein, for intermediate state data format is identified by webmaster, need set up the mapping relations of intermediate state data format and ternary relation table.Intermediate state data format can comprise parameter items such as order ID, data length, action type, field contents, field number, set field number (also can be field contents, order ID etc.) wherein corresponding with the Chinese name of field that data item to be compared comprises in ternary relation table, " the quaternary relation table " that formation is comprised of original ternary relation table and new intermediate state data format.
Master control proxy data in two region of memorys and equipment platform data are contrasted, executor can be described as data comparing unit, each parameter item to a corresponding intermediate state data format of field contrasts one by one, while having the inconsistent field of parameter item, according to the field number of this field (or field contents, order ID), utilize quaternary relation table, determine the information such as the Chinese name of this field and corresponding webmaster command code, data item Chinese name.These message reflections the data exception between master control agency and equipment platform, and webmaster can identify these information, thus webmaster can be identified the data of master control agency and equipment platform indirectly.
The information reporting of inconsistent field, to webmaster, is presented at result on network management interface with a display unit.Mapping relations according to inconsistent field in quaternary relation table are known data item Chinese name and the field Chinese name of this field, according to known its concrete data value in master control agency and equipment platform of Data Format Transform rule, these numerical value are that technical staff can recognize analysis, technical staff judges abnormal cause according to data exception comprehensively, take reclamation activities, eliminate potential faults.
In carrying out the process of above master control proxy data and equipment platform Data Comparison, for network management data and master control proxy data, still can adopt conventional mode to compare, the comparison procedure of this and master control proxy data and equipment platform data does not interfere with each other.
In order to solve in prior art, cannot carry out the problem of contrast automatically to the data between master control agency and equipment platform, the present invention also provides a kind of data comparison means for communication system, as shown in Figure 3, it comprises: the first data reception module 201, be used for receiving master control proxy data and equipment platform data, the data that receive are converted to same form, set up described same form and webmaster and can identify the mapping relations between form; Data comparison module 202, for contrasting master control proxy data and the equipment platform data under described same form, searches inconsistent field; And comparative result processing module 203, for the information to the described inconsistent field of webmaster report based on described mapping relations.
Wherein, master control agency sends master control proxy data according to webmaster command code; The data comparison command of wherein said webmaster command code based on webmaster generates.
Wherein, master control agency generates device command code according to webmaster command code, reports order to send to equipment platform device command code together with data, and equipment platform reports order transmitting apparatus platform data according to device command code and data.
Wherein, described same form comprises order ID, field contents and field number.
This data comparison means also comprises the second data reception module, for receiving ternary relation table, and webmaster command code, data item to be compared and the map information that comprises field thereof described in described ternary relation table record; Wherein said mapping relations are the corresponding relation of described same form and field that described data item to be compared comprises.
Although be example object, the preferred embodiments of the present invention are disclosed, it is also possible those skilled in the art will recognize various improvement, increase and replacement, therefore, scope of the present invention should be not limited to above-described embodiment.

Claims (10)

1. for a data comparing method for communication system, it is characterized in that, comprising:
Receive master control proxy data and equipment platform data, the data that receive are converted to same form, set up described same form and Element management system and can identify the mapping relations between form;
Contrast master control proxy data and equipment platform data under described same form, search inconsistent field; And,
Information based on from described mapping relations to the described inconsistent field of Element management system report.
2. data comparing method as claimed in claim 1, is characterized in that, master control agency sends master control proxy data according to webmaster command code; The data comparison command of wherein said webmaster command code based on Element management system generates.
3. data comparing method as claimed in claim 1, it is characterized in that, master control agency generates device command code according to webmaster command code, reports order to send to equipment platform device command code together with data, and equipment platform reports order transmitting apparatus platform data according to device command code and data.
4. data comparing method as claimed in claim 1, characterized by further comprising:
Receive ternary relation table, described ternary relation table record webmaster command code, data item to be compared and the map information that comprises field thereof; Field that wherein said data item to be compared comprises is that Element management system can be identified form, and described mapping relations are the corresponding relation of described same form and field that described data item to be compared comprises.
5. the data comparing method as described in arbitrary claim in claim 1-4, is characterized in that, described same form comprises order ID, field contents and field number.
6. the data comparison means based on master control agency and equipment platform, is characterized in that, comprising:
The first data reception module, for receiving master control proxy data and equipment platform data, is converted to same form by the data that receive, and sets up described same form and Element management system and can identify the mapping relations between form;
Element management system data comparison module, for contrasting master control proxy data and the equipment platform data under described same form, searches inconsistent field;
Comparative result processing module, for the information to the described inconsistent field of Element management system report based on described mapping relations.
7. data comparison means as claimed in claim 6, is characterized in that, master control agency sends master control proxy data according to webmaster command code; The data comparison command of wherein said webmaster command code based on Element management system generates.
8. data comparison means as claimed in claim 6, it is characterized in that, master control agency generates device command code according to webmaster command code, reports order to send to equipment platform device command code together with data, and equipment platform reports order transmitting apparatus platform data according to device command code and data.
9. data comparison means as claimed in claim 6, characterized by further comprising:
The second data reception module, for receiving ternary relation table, described ternary relation table record webmaster command code, data item to be compared and the map information that comprises field thereof; Field that wherein said data item to be compared comprises is that Element management system can be identified form, and described mapping relations are the corresponding relation of described same form and field that described data item to be compared comprises.
10. the data comparison means as described in arbitrary claim in claim 6-9, is characterized in that, described same form comprises order ID, field contents and field number.
CN201210322444.8A 2012-09-04 2012-09-04 Method and device for comparing data of communication system Pending CN103684814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210322444.8A CN103684814A (en) 2012-09-04 2012-09-04 Method and device for comparing data of communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210322444.8A CN103684814A (en) 2012-09-04 2012-09-04 Method and device for comparing data of communication system

Publications (1)

Publication Number Publication Date
CN103684814A true CN103684814A (en) 2014-03-26

Family

ID=50321204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210322444.8A Pending CN103684814A (en) 2012-09-04 2012-09-04 Method and device for comparing data of communication system

Country Status (1)

Country Link
CN (1) CN103684814A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227333A (en) * 2014-06-06 2016-01-06 中兴通讯股份有限公司 The method and apparatus of network element device data maintenance
CN111193606A (en) * 2019-09-17 2020-05-22 腾讯科技(深圳)有限公司 Equipment configuration parameter comparison method and device, storage medium and computer equipment
CN112632334A (en) * 2020-12-31 2021-04-09 京信网络系统股份有限公司 MIB data model and equipment database model mapping method and system
CN116015951A (en) * 2022-12-31 2023-04-25 北京天融信网络安全技术有限公司 Time object matching method and device, electronic equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227333A (en) * 2014-06-06 2016-01-06 中兴通讯股份有限公司 The method and apparatus of network element device data maintenance
CN111193606A (en) * 2019-09-17 2020-05-22 腾讯科技(深圳)有限公司 Equipment configuration parameter comparison method and device, storage medium and computer equipment
CN111193606B (en) * 2019-09-17 2021-12-07 腾讯科技(深圳)有限公司 Equipment configuration parameter comparison method and device, storage medium and computer equipment
CN112632334A (en) * 2020-12-31 2021-04-09 京信网络系统股份有限公司 MIB data model and equipment database model mapping method and system
CN116015951A (en) * 2022-12-31 2023-04-25 北京天融信网络安全技术有限公司 Time object matching method and device, electronic equipment and storage medium
CN116015951B (en) * 2022-12-31 2023-08-29 北京天融信网络安全技术有限公司 Time object matching method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109634728B (en) Job scheduling method and device, terminal equipment and readable storage medium
US11681697B2 (en) Method and device for interface operation and maintenance
CN109495308A (en) A kind of automation operational system based on management information system
US9411575B2 (en) Systems and methods for quality assurance automation
CN105653322B (en) The processing method of O&M server and server event
CN110943851B (en) Alarm processing method and device based on micro-service and electronic equipment
CN102298365A (en) Method for automatically identifying and managing spaceflight measurement and control earth station device change
CN105119757A (en) Method and system for operation and maintenance automation of enterprise servers
CN102799519A (en) Automatic test method for cluster file system
WO2015149596A1 (en) Iec61850-based communication simulation method for leakage current on-line monitoring device
US20170185968A1 (en) Systems and methods for component failure-mode surveillance
CN109656820A (en) Intelligent automation test macro based on CBTC
CN103684814A (en) Method and device for comparing data of communication system
CN105279919A (en) Electricity utilization information acquiring system
CN110956282A (en) Power distribution automation defect management system and method
US20180239341A1 (en) System and method for automatic configuration of a data collection system and schedule for control system monitoring
CN104967532B (en) TOC technologies operational system and application process
CN104899134A (en) Automatic domain name registration server testing system and method
CN108768995B (en) Substation self-adaptive master station access method
CN103279702A (en) Method for monitoring full-substation model file version during debugging of intelligent substation
CN114168682A (en) Data auditing method, device, equipment and storage medium
CN106612215A (en) Integrated remote detection device and method based on Ethernet
CN107347086B (en) Self-checking system based on spare part identification
CN111459748A (en) Operation and maintenance control method, system and device based on command control and storage medium
CN109685682A (en) The method of regulator control system inspection operation ticket is intelligently generated based on relational database

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140326