CN105721197A - Method and device for improving inter-communication system disk information acquisition accuracy - Google Patents

Method and device for improving inter-communication system disk information acquisition accuracy Download PDF

Info

Publication number
CN105721197A
CN105721197A CN201610036629.0A CN201610036629A CN105721197A CN 105721197 A CN105721197 A CN 105721197A CN 201610036629 A CN201610036629 A CN 201610036629A CN 105721197 A CN105721197 A CN 105721197A
Authority
CN
China
Prior art keywords
value
type
disc
place
dish
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.)
Granted
Application number
CN201610036629.0A
Other languages
Chinese (zh)
Other versions
CN105721197B (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201610036629.0A priority Critical patent/CN105721197B/en
Publication of CN105721197A publication Critical patent/CN105721197A/en
Application granted granted Critical
Publication of CN105721197B publication Critical patent/CN105721197B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0604Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method and a device for improving inter-communication system disk information acquisition accuracy, and relates to the inter-communication system disk information acquisition field. The method is characterized in that polling acquisition of value of a disk type and a disk in-position information reported by a transmission alarming bus can be carried out; whether the disk is disposed on the right position can be detected, when the answer is no, a counter can be reset, and the value of the current disk type and the value of the previously-saved disk type can be reset, and the polling acquisition can be carried out again; when the answer is yes, the value of the current disk type can be stored; whether the value of the current disk type is equal to the value of the previously-saved disk type can be detected, and when the answer is yes, the counter is increased by one; otherwise, the value of the previously-saved disk type can be set as the value of the current disk type, and the counter can be reset, and the polling acquisition can be carried out again; whether the value of the counter is in the preset range can be detected by reading the counter, when the answer is yes, the value of the disk type can be output, otherwise, the polling acquisition can be carried out again. The misinformed disk type can be filtered, and the accuracy of the acquired communication system type can be improved.

Description

Improve method and the device of overall information gathering accuracy of communication system
Technical field
The present invention relates to overall field of information acquisition of communication system, be specifically related to a kind of method improving overall information gathering accuracy of communication system and device.
Background technology
Optical-fiber network transmission equipment business dish passes through TRALM (TransportAlarm, transmitting warning bus) bus reports this dish information to Cross Trade, the dish information reported includes disc-type, reel number, version number, CPLD (ComplexProgrammableLogicDevice, the CPLD) information such as version, port alarm.Wherein, in prior art, disc-type gathers principle and defect are as follows:
The exchange chip of Cross Trade is different business dish (Wan Zhaopan, gigabit dish, 100,000,000 dishes, E1 dish etc.), the forwarding port of distribution different (attribute such as port speed, port working pattern and port id are different), business dish independently reports the disc-type of this dish by TRALM bus to Cross Trade, Cross Trade is according to the ID that the business disc-type that this groove position reports is its forwarding port distributing exchange chip and MCC (ManagementCommunicationChannel manages communication port) and entry etc..
Dish information is sent to the FPGA of Cross Trade by business dish FPGA (Field-ProgrammableGateArray, field programmable gate array) by backboard TRALM bus.System-frame framing signal (frequency 8KHz) and System Clock Reference (frequency 25MHz) that the transmission of these data is exported by Cross Trade carry out clock synchronization, when TRALM bus clock is asynchronous, causing the data transmission instability in TRALM bus, disc-type is reported by mistake.If Cross Trade gets disc-type mistake, can be the forwarding port of this groove position assignment error, thus having influence on the normal forwarding of data service, pretection switch, QoS (QualityofService, service quality) process etc..
Summary of the invention
The invention aims to overcome the deficiency of above-mentioned background technology, it is provided that a kind of method improving overall information gathering accuracy of communication system and device, the present invention can filter out the disc-type of wrong report, improves the accuracy of the communication system disc-type got.
The present invention provides a kind of method improving overall information gathering accuracy of communication system, comprises the following steps:
A, poll gather the dish information in place of the disc-type that reports of transmitting warning bus and each groove position, obtain the dish information in place of transmitting warning bus real-time report and the value of disc-type;
Whether B, detection business dish be in place, if business dish is not in place, then by counter O reset, the value of the value of the disc-type currently obtained with the last disc-type preserved is reset to invalid value, returns step A;If business dish is in place, preserves the value of the current disc-type obtained, forward step C to;
Whether the value of C, the current disc-type obtained of detection and the last disc-type preserved is equal, if unequal, then the value of the disc-type preserved the last time is updated to the value of the disc-type of current acquisition, and enumerator is set to 0, is then back to step A;If equal, then enumerator adds 1, forwards step D to;
D, judge that the value of enumerator is whether in the scope pre-set, if not in the scope pre-set, then return step A;If in the scope pre-set, then the value of the current disc-type obtained of output.
On the basis of technique scheme, in step A, the polling cycle of poll gatherer process is 200ms.
On the basis of technique scheme, in step D, described in pre-set range for 2~5.
On the basis of technique scheme, in step D, described in pre-set range for 3~5.
On the basis of technique scheme, step A is further comprising the steps of before carrying out: the value of the value of currently stored disc-type and the last disc-type preserved is initialized as invalid value, and enumerator is initialized as 0.
The present invention also provides for a kind of device improving overall information gathering accuracy of communication system, and this device includes poll collecting unit, dish detection unit in place, disc-type detection unit, wherein,
Described poll collecting unit is used for: poll gathers the dish information in place of the disc-type that reports of transmitting warning bus and each groove position, obtain the dish information in place of transmitting warning bus real-time report and the value of disc-type, generate the first triggering signal, and the first triggering signal is sent to dish detection unit in place;
Described dish detection unit in place is used for: when receiving the first triggering signal, whether detection business dish is in place, if business dish is not in place, then by counter O reset, the value of the value of the disc-type currently obtained with the last disc-type preserved is reset to invalid value, and then notice poll collecting unit processes;If business dish is in place, then generates the second triggering signal, and the second triggering signal is sent to disc-type detection unit;
Described disc-type detection unit is used for: when receiving the second triggering signal, preserve the value of the current disc-type obtained, then whether the value of the current disc-type obtained of detection and the last disc-type preserved is equal, if it is unequal, the value of the disc-type then preserved the last time is updated to the value of the disc-type of current acquisition, enumerator is set to 0, and then notice poll collecting unit processes;If equal, then enumerator adds 1, then judges that the value of enumerator is whether in the scope pre-set, if not in the scope pre-set, then notice poll collecting unit processes;If in the scope pre-set, the value of the current disc-type obtained of output.
On the basis of technique scheme, the polling cycle of described poll collecting unit is 200ms.
On the basis of technique scheme, described in pre-set range for 2~5.
On the basis of technique scheme, what pre-set ranges for 3~5.
On the basis of technique scheme, this device also includes initialization unit, described initialization unit is used for: before this device is polled gathering, the value of the value of currently stored disc-type and the last disc-type preserved is initialized as invalid value, enumerator is initialized as 0, and then notice poll collecting unit processes.
Compared with prior art, advantages of the present invention is as follows:
(1) present invention increases the information judgement in place of business dish, filters out the situation of in place the do not caused disc-type wrong report of dish.
(2) present invention is when business dish is in place, the disc-type of this groove position of multi collect, relatively the collection value of adjacent twice.As equal, enumerator adds 1;As unequal, counter O reset, update disc-type simultaneously.When enumerator increases to a certain empirical value, can determine whether that this disc-type reports accurately;This empirical value is generally 2~5.Produce correct chip by this disc-type ID and forward port and MCC information, it is provided that use to other modules (configuration exchange chip forwarding, pretection switch, Qos processing module).The present invention improves the accuracy of the business disc-type of collection, it is ensured that the normal forwarding of data service, pretection switch, QoS process etc..
Accompanying drawing explanation
Fig. 1 is the flow chart of the method improving overall information gathering accuracy of communication system in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
Shown in Figure 1, the embodiment of the present invention provides a kind of method improving overall information gathering accuracy of communication system, comprises the following steps:
S1, the value of the value of currently stored disc-type plate_type and the last disc-type plate_type_last preserved being initialized as invalid value 0xff, enumerator counter is initialized as 0;
S2, poll gather the dish information in place of the disc-type that reports of TRALM (transmitting warning) bus and each groove position, obtain the dish information in place of transmitting warning bus real-time report and the value of disc-type;
S3, judge that whether business dish is in place, if it is, forward step S5 to, otherwise forward step S4 to;
S4, by counter O reset, the value of the value of the disc-type plate_type currently obtained with the last disc-type plate_type_last preserved is reset to invalid value 0xff, returns step S2;
The value of the disc-type plate_type that S5, preservation currently obtain, forwards step S6 to;
Whether the value of S6, the value judging the current disc-type plate_type obtained and the last disc-type plate_type_last preserved is equal, if it is, forward step S8 to, otherwise forwards step S7 to;
S7, the value of disc-type plate_type_last that the last time preserves being updated to the value of the disc-type plate_type of current acquisition, enumerator is set to 0, is then back to step S2;
S8, enumerator add 1, forward step S9 to;
S9, reading enumerator, it is judged that whether the value of enumerator is in the scope pre-set, if it is, forward step S10 to, otherwise return step S2;
The value of the disc-type that S10, output currently obtain.
In above-mentioned steps S2, the polling cycle of poll gatherer process is 200ms.
When judging that the value of enumerator is whether in the scope pre-set, what this pre-set ranges for 2~5.
Preferably, further comprising the steps of in step S9: whether the value judging enumerator is 3~5, if the value of enumerator is 3~5, then it is assumed that disc-type is stable, the value of the current disc-type obtained of output, it is provided that apply to other software modules;If the value < of enumerator 3, then return step S2, proceed poll collection.
The embodiment of the present invention provides a kind of device improving overall information gathering accuracy of communication system, and this device includes poll collecting unit, dish detection unit in place, disc-type detection unit, wherein,
Poll collecting unit is used for: poll gathers the dish information in place of the disc-type that reports of transmitting warning bus and each groove position, obtain the dish information in place of transmitting warning bus real-time report and the value of disc-type, generate the first triggering signal, and the first triggering signal is sent to dish detection unit in place;
Dish detection unit in place is used for: when receiving the first triggering signal, whether detection business dish is in place, if business dish is not in place, then by counter O reset, the value of the value of the disc-type plate_type currently obtained with the last disc-type plate_type_last preserved is reset to invalid value, and then notice poll collecting unit processes;If business dish is in place, then generates the second triggering signal, and the second triggering signal is sent to disc-type detection unit;
Disc-type detection unit is used for: when receiving the second triggering signal, preserve the value of the current disc-type plate_type obtained, then whether the value of the current disc-type plate_type obtained of detection and the last disc-type plate_type_last preserved is equal, if it is unequal, the value of the disc-type plate_type_last then preserved the last time is updated to the value of the disc-type plate_type of current acquisition, enumerator is set to 0, and then notice poll collecting unit processes;If equal, then enumerator adds 1, then judges that the value of enumerator is whether in the scope pre-set, if not in the scope pre-set, then notice poll collecting unit processes;If in the scope pre-set, the value of the current disc-type obtained of output.
The polling cycle of poll collecting unit is 200ms.
Disc-type detection unit is when judging that the value of enumerator is whether in the scope pre-set, and what this pre-set ranges for 2~5.
Preferably, disc-type detection unit is additionally operable to judge whether the value of enumerator is 3~5, if the value of enumerator is 3~5, then the value of the current disc-type obtained of output, if the value < of enumerator 3, then notice poll collecting unit processes.
This device can also include initialization unit, this initialization unit is used for: before this device is polled gathering, the value of the value of currently stored disc-type plate_type and the last disc-type plate_type_last preserved is initialized as invalid value 0xff, enumerator is initialized as 0, and then notice poll collecting unit processes.
Below by 3 application scenarios, the present invention is described in detail:
Application scenarios 1:
Newly inserted business dish: dish information in place is grown out of nothing, therefore plate_type_last=0xff, counter=0;Enter poll and gather CL Compare Logic.If the disc-type of newly inserted business dish reports instability, unstable definite value can be fallen by this logic filter.
Application scenarios 2:
Replacing business dish: after business dish is extracted, dish information in place is designated as not in place, and disc-type state sum counter empties, i.e. plate_type_last=0xff, counter=0;It is inserted into new business dish, processes with application scenarios 1.
Application scenarios 3:
Business dish is unstable by TRALM bus Transport disc categorical data occasionality: in this situation, the disc-type reported is irregular value.It is now assumed that the correct disc-type value of business dish is R, plate_type_last=plate_type=R time in stable condition, a certain moment point collects improper value W, the every 0.125ms of these data of TRALM bus updates once, the collection period of 200ms have updated 1600 times, and software is again very little from the probability that the TRALM disc-type collected is W.If collection value again is correct R, then this logic filter disc-type shake;If collection value again is F, then collects the flow process of W according to the last time and continue with.The method is during disc-type data dithering, it is ensured that the correct stationary value before maintain.
The principle of the embodiment of the present invention is described below:
TRALM bus reports frequency to be 8KHz, therefore the every 0.125ms of Cross Trade receives a packet, and this packet comprises the business dish information of all groove positions;Frequency 8KHZ and poll collection period 200ms is reported according to TRALM bus, software collection cycle mid-game code has 200ms/ (1*1000/8000) ms=1600 next state to update, if first time reports mistake, acquisition state is the state that bus updates after 1600 times next time, third time collection is the state that bus updates after 3200 times, all collecting same mistake dish code probability at the 1st time, the 1601st time, the 3201st time respectively minimum, there is not this phenomenon in long-time stability test.Therefore, when collection number of comparisons is 3, can be generally considered as disc-type stable.
Not etc., different polling cycles can be not benchmark by 200ms to general communication system software collection period 50ms~250ms, and once, n is positive integer in n cycle collection, for instance: the cycle is 50ms, can 4 cycles collections once;Or amendment gathers number of comparisons (i.e. Counter Value).
The embodiment of the present invention can be carried out various modifications and variations by those skilled in the art, if these amendments and modification are within the scope of the claims in the present invention and equivalent technologies thereof, then these amendments and modification are also within protection scope of the present invention.
The prior art that the content not being described in detail in description is known to the skilled person.

Claims (10)

1. the method improving overall information gathering accuracy of communication system, it is characterised in that comprise the following steps:
A, poll gather the dish information in place of the disc-type that reports of transmitting warning bus and each groove position, obtain the dish information in place of transmitting warning bus real-time report and the value of disc-type;
Whether B, detection business dish be in place, if business dish is not in place, then by counter O reset, the value of the value of the disc-type currently obtained with the last disc-type preserved is reset to invalid value, returns step A;If business dish is in place, preserves the value of the current disc-type obtained, forward step C to;
Whether the value of C, the current disc-type obtained of detection and the last disc-type preserved is equal, if unequal, then the value of the disc-type preserved the last time is updated to the value of the disc-type of current acquisition, and enumerator is set to 0, is then back to step A;If equal, then enumerator adds 1, forwards step D to;
D, judge that the value of enumerator is whether in the scope pre-set, if not in the scope pre-set, then return step A;If in the scope pre-set, then the value of the current disc-type obtained of output.
2. the method improving overall information gathering accuracy of communication system as claimed in claim 1, it is characterised in that: in step A, the polling cycle of poll gatherer process is 200ms.
3. the as claimed in claim 1 method improving overall information gathering accuracy of communication system, it is characterised in that: in step D, described in pre-set range for 2~5.
4. the as claimed in claim 3 method improving overall information gathering accuracy of communication system, it is characterised in that: in step D, described in pre-set range for 3~5.
5. the method for overall the information gathering accuracy of raising communication system as according to any one of Claims 1-4, it is characterized in that, step A is further comprising the steps of before carrying out: the value of the value of currently stored disc-type and the last disc-type preserved is initialized as invalid value, and enumerator is initialized as 0.
6. the device improving overall information gathering accuracy of communication system, it is characterised in that: this device includes poll collecting unit, dish detection unit in place, disc-type detection unit, wherein,
Described poll collecting unit is used for: poll gathers the dish information in place of the disc-type that reports of transmitting warning bus and each groove position, obtain the dish information in place of transmitting warning bus real-time report and the value of disc-type, generate the first triggering signal, and the first triggering signal is sent to dish detection unit in place;
Described dish detection unit in place is used for: when receiving the first triggering signal, whether detection business dish is in place, if business dish is not in place, then by counter O reset, the value of the value of the disc-type currently obtained with the last disc-type preserved is reset to invalid value, and then notice poll collecting unit processes;If business dish is in place, then generates the second triggering signal, and the second triggering signal is sent to disc-type detection unit;
Described disc-type detection unit is used for: when receiving the second triggering signal, preserve the value of the current disc-type obtained, then whether the value of the current disc-type obtained of detection and the last disc-type preserved is equal, if it is unequal, the value of the disc-type then preserved the last time is updated to the value of the disc-type of current acquisition, enumerator is set to 0, and then notice poll collecting unit processes;If equal, then enumerator adds 1, then judges that the value of enumerator is whether in the scope pre-set, if not in the scope pre-set, then notice poll collecting unit processes;If in the scope pre-set, the value of the current disc-type obtained of output.
7. the device improving overall information gathering accuracy of communication system as claimed in claim 6, it is characterised in that: the polling cycle of described poll collecting unit is 200ms.
8. the as claimed in claim 6 device improving overall information gathering accuracy of communication system, it is characterised in that: described in pre-set range for 2~5.
9. the as claimed in claim 8 device improving overall information gathering accuracy of communication system, it is characterised in that: described in pre-set range for 3~5.
10. the device of overall the information gathering accuracy of raising communication system as according to any one of claim 6 to 9, it is characterized in that: this device also includes initialization unit, described initialization unit is used for: before this device is polled gathering, the value of the value of currently stored disc-type and the last disc-type preserved is initialized as invalid value, enumerator is initialized as 0, and then notice poll collecting unit processes.
CN201610036629.0A 2016-01-19 2016-01-19 Improve the method and device of overall information collection accuracy of communication system Active CN105721197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610036629.0A CN105721197B (en) 2016-01-19 2016-01-19 Improve the method and device of overall information collection accuracy of communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610036629.0A CN105721197B (en) 2016-01-19 2016-01-19 Improve the method and device of overall information collection accuracy of communication system

Publications (2)

Publication Number Publication Date
CN105721197A true CN105721197A (en) 2016-06-29
CN105721197B CN105721197B (en) 2019-01-29

Family

ID=56147353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610036629.0A Active CN105721197B (en) 2016-01-19 2016-01-19 Improve the method and device of overall information collection accuracy of communication system

Country Status (1)

Country Link
CN (1) CN105721197B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1525713A2 (en) * 2002-07-30 2005-04-27 Cisco Technology, Inc. Method and apparatus for outage measurement
CN101159623A (en) * 2007-11-02 2008-04-09 杭州华三通信技术有限公司 Method and apparatus of detecting accessibility of objective equipment
CN102098182A (en) * 2011-03-30 2011-06-15 成都市华为赛门铁克科技有限公司 Method for restoring allocation of distributed equipment and distributed equipment
CN104038387A (en) * 2014-06-04 2014-09-10 上海斐讯数据通信技术有限公司 Method for service board on-line detection of frame type exchanger
CN104618136A (en) * 2014-12-25 2015-05-13 曙光信息产业(北京)有限公司 Configuration management method and device for blade server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1525713A2 (en) * 2002-07-30 2005-04-27 Cisco Technology, Inc. Method and apparatus for outage measurement
CN101159623A (en) * 2007-11-02 2008-04-09 杭州华三通信技术有限公司 Method and apparatus of detecting accessibility of objective equipment
CN102098182A (en) * 2011-03-30 2011-06-15 成都市华为赛门铁克科技有限公司 Method for restoring allocation of distributed equipment and distributed equipment
CN104038387A (en) * 2014-06-04 2014-09-10 上海斐讯数据通信技术有限公司 Method for service board on-line detection of frame type exchanger
CN104618136A (en) * 2014-12-25 2015-05-13 曙光信息产业(北京)有限公司 Configuration management method and device for blade server

Also Published As

Publication number Publication date
CN105721197B (en) 2019-01-29

Similar Documents

Publication Publication Date Title
AU2019333833B2 (en) Topology processing method, apparatus, and system
EP1279211B1 (en) Topology-based reasoning apparatus for root-cause analysis of network faults
CN1672362B (en) Method and apparatus for outage measurement
CN109327320A (en) A kind of failure demarcation method and apparatus
CN103220173B (en) A kind of alarm monitoring method and supervisory control system
GB2418799A (en) Managing network slowdown by identifying a hop along a path which exceeds a hop limit within the path.
CN113132144A (en) Alarm processing method and device and storage medium
CN108733698B (en) Log message processing method and background service system
CN108173672A (en) The method and apparatus for detecting failure
EP3035596A1 (en) Link performance test method and device, logical processor and network processor
CN107995066A (en) A kind of method and apparatus of automatic test network interface card
CN114422412A (en) Equipment detection method and device and communication equipment
CN112714010B (en) Network topology management method and device, expansion unit and storage medium
CN110471822A (en) Method, apparatus, computer system and medium for monitoring host computer system
CN105721197A (en) Method and device for improving inter-communication system disk information acquisition accuracy
CN115827363A (en) Resource alarm analysis method and device, electronic equipment and storage medium
EP1355479B1 (en) An apparatus and method for processing information from a telecommunications network
CN108429642A (en) A kind of Topology identification method, system, equipment and computer storage media
US7843838B1 (en) Communication network route tracing
CN116886505A (en) Communication matrix summary table generation control method and related equipment
CN106452905A (en) Message processing method and device
CN113162801B (en) Alarm analysis method, device and storage medium
CN112929901B (en) Adaptive configuration method, device and equipment of gateway and readable storage medium
EP3185479B1 (en) Method of identifying optical module status in onu, onu and storage medium
CN114077777A (en) Topological relation graph generation method, device, equipment and storage medium of circuit breaker network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant