CN106470083B - A kind of synchronizing network detection method and device - Google Patents
A kind of synchronizing network detection method and device Download PDFInfo
- Publication number
- CN106470083B CN106470083B CN201510511550.4A CN201510511550A CN106470083B CN 106470083 B CN106470083 B CN 106470083B CN 201510511550 A CN201510511550 A CN 201510511550A CN 106470083 B CN106470083 B CN 106470083B
- Authority
- CN
- China
- Prior art keywords
- device node
- synchronizing network
- hop count
- network
- synchronous path
- 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
Links
Abstract
The invention discloses a kind of synchronizing network detection method and device.The method of the present invention includes:Obtain synchronizing network topological structure;According to the synchronizing network topological structure, obtaining device node in synchronizing network, to the synchronous path of synchronous source node, the synchronous path includes primary synchronous path and/or spare synchronous path;Whether the hop count for detecting the synchronous path of the device node exceeds hop count threshold value;If detecting, the hop count of the synchronous path of device node exceeds hop count threshold value, and warning information is sent out for device node of the hop count beyond hop count threshold value of synchronous path.The present invention realizes the detection of the hop count to the device node synchronous path in synchronizing network, since the synchronous path of the device node in synchronizing network is that the network topology structure based on synchronizing network is got, it can ensure the accuracy of synchronous path hop count detection.
Description
Technical field
The present invention relates to the synchronizing network technology of the communications field, more particularly to a kind of synchronizing network detection method and dress
It sets.
Background technology
With the fast development of the communication technology, TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), TD-LTE (Time Division Long Term
Evolution, timesharing long term evolution) etc. systems have high-precision frequency and time synchronization demand.In order to solve frequency and when
Between synchronisation requirement, usually set up synchronizing network, synchronizing network is carried for the clock (or carrier wave) of all telecommunication apparatus in telecommunications network
For synchronous control signal, their frequency is made to be operated in the supporting network on common rate (or frequency).In synchronizing network upstream portion
The synchronous source node of administration, synchronous source node provide synchronous service for the device node in synchronizing network, and user terminal passes through synchronizing network
In device nodes at different levels from synchronizing network obtain synchronous service, as shown in Figure 1.The scale of synchronizing network is generally large, synchronous
Device node number in network can reach thousands of to up to ten thousand, and the link in network is intricate.
The position deployment of synchronous source node influences the planning of the primary, spare synchronous path of device node, and then influences equipment section
The hop count of point.It can add up noise, shake and drift etc. due in transmittance process step by step, often jumping equipment, with the increase of hop count, together
Step performance can gradually deteriorate, and then influence the performance of device node.Therefore in ITU-T (ITU Telecommunication
Standardization Sector, International Telecommunication Union's telecommunication standardsization tissue), CCSA (China
Communications Standards Association, China Communications Standards Association) etc. both at home and abroad in relevant criterion all
Related limitation has been done to the hop count of device node in synchronizing network.
It can be seen that the hop count of the synchronous path of device node in synchronizing network how is accurately detected, to ensure synchronous net
Network is made rational planning for, and is industry urgent problem to be solved.
Invention content
An embodiment of the present invention provides a kind of synchronizing network detection method and device, to realize to setting in synchronizing network
The hop count of the synchronous path of slave node is detected.
The synchronizing network detection method that one embodiment of the present of invention provides, including:
Obtain synchronizing network topological structure;
According to the synchronizing network topological structure, device node is obtained in synchronizing network to the same step of synchronization source node
Diameter, the synchronous path include primary synchronous path and/or spare synchronous path;
Whether the hop count for detecting the synchronous path of the device node exceeds hop count threshold value;
If detecting, the hop count of the synchronous path of device node exceeds hop count threshold value, exceeds for the hop count of synchronous path
The device node of hop count threshold value sends out warning information.
The device that one embodiment of the present of invention provides, including:
First acquisition unit, for obtaining synchronizing network topological structure;
Second acquisition unit, the synchronizing network topological structure for being obtained according to the first acquisition unit are obtained and are synchronized
For equipment in network node to the synchronous path of synchronous source node, the synchronous path includes primary synchronous path and/or spare same
Step diameter;
Detection unit, for detecting whether the hop count of synchronous path for the device node that the second acquisition unit obtains surpasses
Go out hop count threshold value;
Output unit, for detecting that the hop count of the synchronous path of device node exceeds hop count threshold value in the detection unit
When, then device node of the hop count beyond hop count threshold value for being directed to synchronous path sends out warning information.
For the detection of synchronizing network in the above embodiment of the present invention, synchronizing network topological structure, then root are obtained first
According to synchronizing network topological structure, device node is obtained in synchronizing network to the synchronous path of synchronization source node, detection device node
Synchronous path hop count whether exceed hop count threshold value, if detect the synchronous path of device node hop count exceed hop count threshold
Value, then device node of the hop count beyond hop count threshold value for being directed to synchronous path send out warning information.It can be seen that, on the one hand, this
Inventive embodiments, which realize, is detected the hop count of the synchronous path of the device node in synchronizing network, on the other hand, due to
The synchronous path of device node in synchronizing network is that the network topology structure based on the synchronizing network is got, therefore can
Ensure the accuracy of synchronous path hop count detection.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is the schematic diagram of synchronizing network framework in the prior art;
Fig. 2 is synchronizing network testing process schematic diagram provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of synchronizing network detection of the embodiment of the present invention when creating synchronizing network;
Fig. 4 is that the embodiment of the present invention has Network Management Equipment in synchronizing network and the Network Management Equipment is stored with network topology knot
Synchronizing network detects schematic diagram when structure;
Fig. 5 is that the embodiment of the present invention has Network Management Equipment in synchronizing network and the Network Management Equipment is stored with network topology knot
Synchronizing network detects schematic diagram when structure and equipment synchronous path;
Fig. 6 is the synchronization net of newly-increased node of embodiment of the present invention when to synchronizing network dilatation without Network Management Equipment
Network detects schematic diagram;
Fig. 7 is the synchronizing network of newly-increased node of embodiment of the present invention when to synchronizing network dilatation with Network Management Equipment
Detects schematic diagram;
Fig. 8 is the structural schematic diagram of synchronizing network detection device provided in an embodiment of the present invention.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
In order to realize that the synchronous path to the device node in synchronizing network is detected, a kind of mode is by technical staff
The position of synchronous source node is planned according to the topological structure of communication network, but due to not detecting same step accurately further
The means of diameter hop count, so it is difficult to ensure that the hop count of synchronous path without departing from correlation standard threshold value.If necessary to stringent
Ensure the hop count of synchronous path without departing from threshold value, then needs to use manual type node-by-node algorithm hop count, so not only evaluation work
Amount is big and plans that time-consuming, and may introduce and calculate error.
After synchronisation source node deployment, with the expansion of network size, the synchronous path hop count of device node can also become therewith
Change.To accurately be detected to synchronous path hop count, needs after each network capacity extension, equipment section is checked using manual type
Whether the hop count of point exceeds threshold value.
The scale of synchronizing network is generally large, and the device node number for setting up synchronizing network can reach thousands of supreme
Ten thousand, the link in synchronizing network is intricate, it is ensured that the hop count of the synchronous path of device node needs artificial without departing from threshold value
The hop count of mode node-by-node algorithm device node, it can be seen that, the synchronous path detection at initial stage is either planned in synchronizing network, also
Be synchronizing network planning after the completion of since the network capacity extension needs to synchronize path detection again, if being all made of manual type,
It can lead to the problem of amount of calculation is big, complexity is high, time-consuming, and be easily introduced error.And the hop count of synchronous path
The accuracy of detection will influence synchronizing network planning, and then influence the performance of device node.
In order to solve problem above, the application proposes a kind of synchronizing network detection method and device.
In embodiments of the present invention, to the detection of the hop count of the synchronous path of device node, it can be detected and be filled by synchronizing network
Completion is set, is calculated without artificial, workload and the time of synchronizing network detection are shortened and reduce, meanwhile, detecting equipment
The hop count of the synchronous path of node can send out warning information after exceeding threshold value, so as to the timely optimized synchronization network planning, avoid setting
The synchronous path hop count of slave node is excessive and influences the performance of synchronizing network.
The embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
Fig. 2 shows the flow diagram of synchronizing network detection method provided in an embodiment of the present invention, which can be by same
It walks network detection device to realize, which includes the following steps:
Step 201:Obtain synchronizing network topological structure.
When it is implemented, synchronizing network topological structure can be obtained in several ways, several preferred implementations are given below
Mode:
Mode A1
By receiving the physical couplings information that device node reports in synchronizing network, the object reported according to device node
It manages connection relation information and obtains synchronizing network topological structure.
Device node in synchronizing network can report physical couplings information according to setting period or setting time,
Or when the network connection state of device node changes, report physical couplings information, for example, be added synchronizing network,
When situations such as exiting synchronizing network, device node failure or device node fault recovery occurs, physical couplings information is reported.
The physical couplings information that device node is reported may include following information:Device node ID, with neighbor device
Link information etc. between node.After obtaining the physical couplings information that each device node reports, can include according in information
Each device node ID and each device node and neighbor device node between link information, integration obtain synchronizing network
Topology information obtains the network topology structure of synchronizing network.
When it is implemented, synchronizing network detection device can be disposed, each device node in synchronizing network is to the synchronizing network
Detection device reports physical couplings information, is believed according to the physical couplings received by the synchronizing network detection device
Breath, determines the network topology structure of synchronizing network.The network topology structure of synchronizing network is obtained by this kind of mode, it is ensured that
The accuracy of accessed synchronizing network structure.
Wherein, synchronizing network detection device can be an independent network equipment, the network equipment in synchronizing network
Each device node exist communication connection, the physical couplings information that these device nodes report can be received.Synchronizing network
Detection device can also be the logic functional block newly increased in existing central control device, the central control device with
There is communication connection in each device node in synchronizing network, synchronizing network detection device can be received by the central control device
The physical couplings information that each device node reports, to obtain synchronizing network topological structure.
Mode A2
Synchronizing network topological structure is obtained from Network Management Equipment, synchronizing network topological structure letter is stored in the Network Management Equipment
Breath.
Under normal conditions, the device node in synchronizing network is carried out the management function such as to configure in order to realize, it will usually set
Network Management Equipment is set, synchronizing network topology information is typically stored in Network Management Equipment.
When it is implemented, can be sent out according to setting period or setting time or in particular event by synchronizing network detection device
When raw, synchronizing network topological structure is obtained from Network Management Equipment, wherein the particular event can receive synchronous path hop count
Detection instruction either receives the notice of synchronizing network change in topology or otherwise knows that synchronizing network topological structure is sent out
Changing;Network Management Equipment can also be opened up synchronizing network according to setting period or setting time or when particular event occurs
It flutters structural information and is pushed to the synchronizing network detection device, wherein the particular event can be setting of being stored in Network Management Equipment
Slave node information such as is changed at the events.This mode can save network resource overhead compared with aforesaid way A1.
Wherein, the deployment scenario of network detection device is with the description in mode A1, and details are not described herein.
Step 202:According to the synchronizing network topological structure, device node is obtained in synchronizing network to synchronization source node
Synchronous path, the synchronous path include primary synchronous path and/or spare synchronous path.Wherein, the master of a device node
It can be configured with one or more with the spare synchronous path of synchronous path usually only one, a device node.Positive reason
Under condition, device node carries out clock/Frequency Synchronization by primary synchronous path with synchronous source node, in primary synchronous path failure
In the case of, a spare synchronous path can be switched to primary synchronous path, to carry out clock/frequency with synchronous source node
It is synchronous.
Wherein, synchronous source node can be sync server, can also be it is other have synchronizing network service function is provided
Device node.
When it is implemented, the synchronous path that various ways obtain synchronizing network interior joint equipment can be used, it is given below several
Kind preferred implementation:
Mode B1
, can be according to synchronizing network topological structure for primary synchronous path, device node is primary in calculating synchronizing network
Synchronous path., can be according to synchronizing network topological structure for spare synchronous path, device node is spare in calculating synchronizing network
Synchronous path.This mode is applicable to the synchronizing network planning stage at initial stage.The embodiment of the present invention is to according to synchronizing network topology
The method of the synchronous path of device node in Structure Calculation synchronizing network, is not restricted, for example can be used in the prior art
Method is calculated.
Mode B2
For primary synchronous path, the primary source port and physical connection pass that device node reports in synchronizing network are received
It is information, the physical couplings information of the primary source port and the device node that are reported according to the device node obtains
Take the primary synchronous path of device node in the synchronizing network.For spare synchronous path, equipment section in synchronizing network is received
The spare source port and physical couplings information, the spare source port reported according to the device node and institute that point reports
The physical couplings information for stating device node obtains the spare synchronous path of device node in the synchronizing network.
Mode B3
The primary synchronous path of device node and/or spare synchronous path, institute from acquisition synchronizing network in Network Management Equipment
State the information that the primary synchronous path and spare synchronous path of device node in the synchronizing network are stored in Network Management Equipment.
Further, it is also possible to aforesaid way B1, mode B2 and mode B3 are combined, for example, for primary synchronous path,
Aforesaid way B1 can be used to determine, for spare synchronous path, aforesaid way B2 or aforesaid way B3 can be used to determine.Together
Reason, for primary synchronous path, can be used aforesaid way B2 to determine, for spare synchronous path, aforesaid way B1 can be used
Or aforesaid way B3 is determined;Alternatively, for primary synchronous path, aforesaid way B3 can be used to determine, for spare synchronization
Aforesaid way B1 or aforesaid way B2 can be used to determine in path.
Certainly, as needed, it also can only determine primary synchronous path, or only determine spare synchronous path.
Step 203:Whether the hop count for detecting the synchronous path of device node in synchronizing network exceeds hop count threshold value, if so,
Then it is transferred to step 204.
Further, if testing result be synchronous path hop count without departing from hop count threshold value, can be according to default
Execute one of following operation:
Terminate this flow;
According to the setting period, next detection cycle is waited for reach;
According to setting time, next detection time is waited for reach;
Judge whether the network topology structure of synchronizing network changes, if changing, can return to step
Rapid 202 or step 201, it otherwise can terminate flow.
Wherein, the hop count threshold value can be according to ITU-T, CCSA etc. both at home and abroad in relevant criterion to equipment in synchronizing network
The related of the hop count of node limits to determine.In synchronizing network detection process, can hop count threshold value be configured to synchronization in advance
It, can also be in synchronizing network detection process to configuring the hop count threshold value in synchronizing network detection device in network detection device
It is adjusted.
When it is implemented, whether the hop count that can be used as under type detects the synchronous path of device node in synchronizing network surpasses
Go out hop count threshold value:For each device node in device node synchronous path, the hop count at each device node is detected one by one
Whether hop count threshold value is exceeded.
For example, for primary synchronous path, each device node that can be directed in the primary synchronous path of device node, one by one
Detect whether the hop count at each device node exceeds hop count threshold value;For spare synchronous path, it can be directed to device node respectively
Each of spare synchronous path detected one by one at each device node according to each device node in the spare synchronous path
Hop count whether exceed hop count threshold value.
Step 204:Warning information is sent out for device node of the hop count beyond hop count threshold value of synchronous path.
Wherein, the warning information may include the following contents:The mark of device node, hop count are more than the synchronization of hop count threshold value
The mark in path further may also include hop count more than information such as the hop counts of synchronous path of hop count threshold value.The warning information
It can be used as the foundation of follow-up optimized synchronization network.
Further, if detecting, the hop count of the synchronous path of the first device node exceeds hop count threshold value, super in the hop count
Go out in the synchronous path of hop count threshold value, is the hop count since hop count is traceable to synchronisation source node direction the first device node
Second device node of threshold value, and be emitted at the second device node to adding carrying for synchronous source node between the first device node
Show information.Wherein, first device node and second device node and some or certain or certain class equipment section are not specific to
Point is distinguished in describing conveniently.
If for example, detecting that the hop count of the primary synchronous path of device node exceeds hop count threshold value, it is directed to primary synchronization
The hop count in path exceeds the device node of hop count threshold value, in primary synchronous path of the device node beyond hop count threshold value, from
The device node starts to be traceable to synchronisation source node direction at the device node that hop count is the hop count threshold value, and is emitted in
The prompt message of synchronous source node is added between two device nodes stated.
If for another example detecting that the hop count of the spare synchronous path of device node exceeds hop count threshold value, for spare same
The hop count of step diameter exceeds the device node of hop count threshold value, in spare synchronous path of the device node beyond hop count threshold value,
Since being traceable to synchronisation source node direction the device node at the device node that hop count is the hop count threshold value, and it is emitted in
The prompt message of synchronous source node is added between above-mentioned two device node.
By above description as can be seen that the same step to device node in synchronizing network may be implemented in the embodiment of the present invention
The hop count of diameter is detected, and since the synchronous path of the device node in synchronizing network is the network based on the synchronizing network
What topological structure was got, therefore can ensure the accuracy of synchronous path hop count detection.To equipment section in the embodiment of the present invention
The detection of the hop count of the synchronous path of point, can be completed by synchronizing network detection device, be calculated without artificial, shortened and reduced same
Walk workload and the time of network detection.In addition, the embodiment of the present invention is super in the hop count for the synchronous path for detecting device node
Warning information can be sent out after going out threshold value, so as to the timely optimized synchronization network planning, avoids the synchronous path hop count mistake of device node
Performance that is big and influencing synchronizing network.
In order to which the synchronizing network testing process for being more clearly understood that above-mentioned is directed to respectively below based on flow shown in Fig. 2
When creating synchronizing network, when in synchronizing network there is Network Management Equipment and the Network Management Equipment to be stored with network topology structure,
Synchronization when in synchronizing network there is Network Management Equipment and the Network Management Equipment to be stored with network topology structure and equipment synchronous path
The scene of network detection, and when to synchronizing network dilatation without Network Management Equipment and to the synchronizing network with Network Management Equipment
The scene to increasing the detection of node synchronizing network newly when dilatation, describes the specific implementation flow of the embodiment of the present invention.
Fig. 3 shows the synchronizing network testing process when creating synchronizing network.As shown, the equipment in synchronizing network
Node reports the physical couplings of node, synchronizing network detection device to report device node to synchronizing network detection device
Physical couplings are integrated, and the topological structure of synchronizing network is obtained, and are calculated and are synchronized according to the network topology structure got
The synchronous path of network equipment node, or the physical couplings that are reported according to device node, obtain each device node
Synchronous path, then the hop count to device node in synchronous path be detected, if it is detected that device node in same step
Hop count in diameter exceeds threshold value, then sends out the warning information that the device node exceeds threshold value in synchronous path hop count.
Fig. 4 shows same when in synchronizing network there is Network Management Equipment and the Network Management Equipment to be stored with network topology structure
Walk network testing process.As shown, there is the Network Management Equipment of storage network topology structure in synchronizing network, synchronizing network detection
Device obtains synchronizing network topological structure from the Network Management Equipment, and calculating synchronizing network according to the network topology structure got sets
The synchronous path of slave node, then the hop count to device node in synchronous path be detected, if it is detected that device node
Hop count in synchronous path exceeds threshold value, then sends out the device node alarm of hop count beyond threshold value in synchronous path and believe
Breath.
Fig. 5 is shown has Network Management Equipment in synchronizing network and the Network Management Equipment is stored with network topology structure and sets
Synchronizing network testing process when standby synchronous path.As shown, there is storage network topology structure in synchronizing network and set
The Network Management Equipment of standby synchronous path, synchronizing network detection device obtain synchronizing network topological structure and are set from the Network Management Equipment
Slave node synchronous path, then the hop count to device node in synchronous path be detected, if it is detected that device node exist
Hop count in synchronous path exceeds threshold value, then sends out the warning information that device node hop count in synchronous path exceeds threshold value.
When Fig. 6 is shown to synchronizing network dilatation without Network Management Equipment to increasing node synchronizing network detection stream newly
Journey.As shown, newly-increased device node reports the physical couplings of node, synchronizing network inspection to synchronizing network detection device
The physical couplings that device is reported according to device node are surveyed, the synchronous path of newly added equipment node are obtained, then to newly establishing
Hop count of the slave node in synchronous path is detected, if it is detected that hop count of the device node in synchronous path exceed threshold
Value then sends out the warning information that newly added equipment node hop count in synchronous path exceeds threshold value.
When Fig. 7 is shown to synchronizing network dilatation with Network Management Equipment to increasing node synchronizing network testing process newly.
As shown, Network Management Equipment obtains the node physical couplings that newly-increased device node reports, and obtain newly added equipment node
Synchronous path, synchronizing network detection device obtains synchronizing network topological structure from existing Network Management Equipment and device node synchronizes
Path is then detected hop count of the newly added equipment node in synchronous path, if it is detected that device node in same step
Hop count in diameter exceeds threshold value, then sends out the warning information that newly added equipment node hop count in synchronous path exceeds threshold value.
It can be seen that in the embodiment of the present invention scene, realized to the equipment in synchronizing network by above-mentioned flow
The detection of the hop count of the synchronous path of node, meanwhile, the synchronous path of the device node in synchronizing network is to be based on the synchronization net
What the network topology structure of network was got, therefore also ensure the accuracy of synchronous path hop count detection.In addition, being set detecting
The hop count of the synchronous path of slave node can send out warning information after exceeding threshold value, facilitate the timely optimized synchronization network planning, keep away
The synchronous path hop count for exempting from device node is excessive and influences the performance of synchronizing network.Moreover, by above-mentioned flow it is also seen that
The embodiment of the present invention is also applied for the scene detected to the hop count of newly added equipment node in the case of the network capacity extension.
Based on the same technical idea, the embodiment of the present invention additionally provides a kind of device.
It is the structural schematic diagram of device provided in an embodiment of the present invention referring to Fig. 8, which may include:First obtains list
Member 801, second acquisition unit 802, detection unit 803, output unit 804, wherein:
First acquisition unit 801, for obtaining synchronizing network topological structure;
Second acquisition unit 802, the synchronizing network topological structure for being got according to the first acquisition unit 801,
Obtain the synchronous path that device node in synchronizing network arrives synchronous source node, the synchronous path include primary synchronous path with/
Or spare synchronous path;
Detection unit 803, the jump of the synchronous path for detecting the device node that the second acquisition unit 802 is got
Whether number exceeds hop count threshold value;
Output unit 804 is jumped for detecting that the hop count of the synchronous path of device node exceeds in the detection unit 803
When number threshold value, then device node of the hop count beyond hop count threshold value for being directed to synchronous path sends out warning information.
Specifically, first acquisition unit 801 includes:It can be connected by receiving the physics that device node reports in synchronizing network
Relation information is connect, the physical couplings acquisition of information synchronizing network topological structure reported according to device node;It can also be from net
Synchronizing network topological structure is obtained in tube apparatus, and synchronizing network topology information is stored in the Network Management Equipment.
Specifically, second acquisition unit 802 includes:The synchronization net that can be got according to the first acquisition unit 801
Network topological structure calculates the synchronous path of device node in synchronizing network;Device node in synchronizing network can also be received to report
Source port and physical couplings information, the source port reported according to device node and physical couplings information, obtain same
Walk the synchronous path of equipment in network node;It can also be from the same step for obtaining device node in synchronizing network in Network Management Equipment
Diameter is stored with the information of the synchronous path of device node in synchronizing network in the Network Management Equipment.
Specifically, detection unit 803 is used for:Detect the synchronous path of device node in the synchronizing network hop count whether
Beyond hop count threshold value, each device node that can be directed in device node synchronous path is detected one by one at each device node
Hop count whether exceed hop count threshold value.
Preferably, output unit 804 is additionally operable to:If detection unit 803 detects the synchronous path of the first device node
Hop count exceed hop count threshold value, then be directed to the hop count beyond hop count threshold value synchronous path in, since the first device node to same
Step source node direction is traceable to hop count and is the second device node of the hop count threshold value, and is emitted at the second device node to the
The prompt message of synchronous source node is added between one device node.
In conclusion in the above embodiment of the present invention, by obtaining synchronizing network topological structure, opened up according to synchronizing network
Structure is flutterred, device node in synchronizing network is obtained and detects the synchronous path of the device node to the synchronous path of synchronous source node
Hop count whether exceed hop count threshold value, if detecting, the hop count of the synchronous path of device node exceeds hop count threshold value, for same
Device node of the hop count of step diameter beyond hop count threshold value sends out warning information, to realize to the equipment section in synchronizing network
The detection of the hop count of the synchronous path of point, and can ensure the accuracy of synchronous path hop count detection, likewise, the present invention is implemented
Example is also applied for detecting the hop count of newly added equipment node in the case of the network capacity extension.Synchronizing network inspection in the embodiment of the present invention
Survey method can be completed by synchronizing network detection device, shorten and reduce the workload detected to synchronizing network and time, due to
Warning information etc. can be sent out when the hop count for the synchronous path for detecting device node exceeds threshold value, consequently facilitating optimization in time
Synchronizing network is planned, is avoided the synchronous path hop count of device node excessive and is influenced the performance of synchronizing network.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (8)
1. a kind of synchronizing network detection method, which is characterized in that this method includes:
Obtain synchronizing network topological structure;
According to the synchronizing network topological structure, the first device node is obtained in synchronizing network to the same step of synchronization source node
Diameter, the synchronous path include primary synchronous path and/or spare synchronous path;
Whether the hop count for detecting the synchronous path of first device node exceeds hop count threshold value;
If detecting, the hop count of the synchronous path of the first device node exceeds hop count threshold value, is sent out for first device node
Go out warning information, and in synchronous path of the hop count beyond hop count threshold value, since first device node to synchronization
Source node direction is traceable to hop count and is the second device node of the hop count threshold value, and is emitted at second device node and arrives
The prompt message of synchronous source node is added between first device node.
2. the method as described in claim 1, which is characterized in that the acquisition synchronizing network topological structure, including:
The physical couplings information that device node reports in synchronizing network is received, is connected according to the physics that the device node reports
It connects relation information and obtains synchronizing network topological structure;Or
Synchronizing network topological structure is obtained from Network Management Equipment, and synchronizing network topological structure letter is stored in the Network Management Equipment
Breath.
3. the method as described in claim 1, which is characterized in that the first device node is to synchronisation source in the acquisition synchronizing network
The primary synchronous path of node, including:
According to synchronizing network topological structure, the primary synchronous path of the first device node in the synchronizing network is calculated;Or
The primary source port that reports of the first device node and physical couplings information in synchronizing network are received, according to described the
The physical couplings information of primary source port and first device node that one device node reports, determines the synchronization
The primary synchronous path of first device node in network;Or
From the primary synchronous path for obtaining the first device node in synchronizing network in Network Management Equipment, it is stored in the Network Management Equipment
The information of the primary synchronous path of first device node in the synchronizing network;
In the acquisition synchronizing network the first device node to synchronous source node spare synchronous path, including:
According to synchronizing network topological structure, the spare synchronous path of the first device node in the synchronizing network is calculated;Or
The spare source port that reports of the first device node and physical couplings information in synchronizing network are received, according to described the
The physical couplings information of spare source port and first device node that one device node reports, determines the synchronization
The spare synchronous path of first device node in network;Or
From the spare synchronous path for obtaining the first device node in synchronizing network in Network Management Equipment, it is stored in the Network Management Equipment
The information of the spare synchronous path of first device node in the synchronizing network.
4. the method as described in claim 1, which is characterized in that detect the same step of the first device node in the synchronizing network
Whether the hop count of diameter exceeds hop count threshold value, including:
For each device node in the first device node synchronous path, the hop count at each device node is detected one by one
Whether hop count threshold value is exceeded.
5. a kind of synchronizing network detection device, which is characterized in that the device includes:
First acquisition unit, for obtaining synchronizing network topological structure;
Second acquisition unit, the synchronizing network topological structure for being obtained according to the first acquisition unit obtain synchronizing network
In the first device node to the synchronous path of synchronous source node, the synchronous path includes primary synchronous path and/or spare same
Step diameter;
The hop count of detection unit, the synchronous path for detecting first device node that the second acquisition unit obtains is
It is no to exceed hop count threshold value;
Output unit, for detecting that the hop count of the synchronous path of first device node exceeds hop count in the detection unit
When threshold value, then warning information is sent out for first device node, and in synchronous path of the hop count beyond hop count threshold value,
It is traceable to the second device node that hop count is the hop count threshold value to synchronisation source node direction since first device node,
And it is emitted at the second device node to the prompt message for adding synchronous source node between the first device node.
6. device as claimed in claim 5, which is characterized in that the first acquisition unit is specifically used for:
The physical couplings information that device node reports in synchronizing network is received, is connected according to the physics that the device node reports
It connects relation information and obtains synchronizing network topological structure;Or
Synchronizing network topological structure is obtained from Network Management Equipment, and synchronizing network topological structure letter is stored in the Network Management Equipment
Breath.
7. device as claimed in claim 5, which is characterized in that the second acquisition unit is specifically used for:
Primary synchronous path of the device node to synchronous source node in acquisition synchronizing network in the following ways:
According to synchronizing network topological structure, the primary synchronous path of the first device node in the synchronizing network is calculated;Or
The primary source port that reports of the first device node and physical couplings information in synchronizing network are received, according to described the
The physical couplings information of primary source port and first device node that one device node reports, determines the synchronization
The primary synchronous path of first device node in network;Or
From the primary synchronous path for obtaining the first device node in synchronizing network in Network Management Equipment, it is stored in the Network Management Equipment
The information of the primary synchronous path of first device node in the synchronizing network;
The second acquisition unit is specifically used for:
Spare synchronous path of first device node to synchronous source node in acquisition synchronizing network in the following ways:
According to synchronizing network topological structure, the spare synchronous path of the first device node in the synchronizing network is calculated;Or
The spare source port that reports of the first device node and physical couplings information in synchronizing network are received, according to described the
The physical couplings information of spare source port and first device node that one device node reports, determines the synchronization
The spare synchronous path of first device node in network;Or
From the spare synchronous path for obtaining the first device node in synchronizing network in Network Management Equipment, it is stored in the Network Management Equipment
The information of the spare synchronous path of first device node in the synchronizing network.
8. device as claimed in claim 5, which is characterized in that the detection unit is specifically used for:
For each device node in the first device node synchronous path, the hop count at each device node is detected one by one
Whether hop count threshold value is exceeded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510511550.4A CN106470083B (en) | 2015-08-19 | 2015-08-19 | A kind of synchronizing network detection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510511550.4A CN106470083B (en) | 2015-08-19 | 2015-08-19 | A kind of synchronizing network detection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106470083A CN106470083A (en) | 2017-03-01 |
CN106470083B true CN106470083B (en) | 2018-11-02 |
Family
ID=58214485
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510511550.4A Active CN106470083B (en) | 2015-08-19 | 2015-08-19 | A kind of synchronizing network detection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106470083B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108990086B (en) * | 2017-06-02 | 2020-09-11 | ***通信有限公司研究院 | Synchronous network alarm method and device |
CN115361329B (en) * | 2022-06-23 | 2023-08-08 | 北京天维信通科技股份有限公司 | Method for monitoring network topology change and triggering alarm based on TTL |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6973023B1 (en) * | 2000-12-30 | 2005-12-06 | Cisco Technology, Inc. | Method for routing information over a network employing centralized control |
CN101106424A (en) * | 2006-07-11 | 2008-01-16 | 阿尔卡特朗讯公司 | Method and apparatus for monitoring optical links in an optical transparent network |
CN101197656A (en) * | 2006-12-07 | 2008-06-11 | 杭州华三通信技术有限公司 | Clock synchronization transmission method and device based on Ethernet time division, and its protection method |
CN102523156A (en) * | 2011-12-09 | 2012-06-27 | 北京邮电大学 | Routing method based on hop count constraint |
CN104009860A (en) * | 2013-02-26 | 2014-08-27 | 华为技术有限公司 | Method for detecting clock link risks, and network management system |
-
2015
- 2015-08-19 CN CN201510511550.4A patent/CN106470083B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6973023B1 (en) * | 2000-12-30 | 2005-12-06 | Cisco Technology, Inc. | Method for routing information over a network employing centralized control |
CN101106424A (en) * | 2006-07-11 | 2008-01-16 | 阿尔卡特朗讯公司 | Method and apparatus for monitoring optical links in an optical transparent network |
CN101197656A (en) * | 2006-12-07 | 2008-06-11 | 杭州华三通信技术有限公司 | Clock synchronization transmission method and device based on Ethernet time division, and its protection method |
CN102523156A (en) * | 2011-12-09 | 2012-06-27 | 北京邮电大学 | Routing method based on hop count constraint |
CN104009860A (en) * | 2013-02-26 | 2014-08-27 | 华为技术有限公司 | Method for detecting clock link risks, and network management system |
Also Published As
Publication number | Publication date |
---|---|
CN106470083A (en) | 2017-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102843205B (en) | The method and apparatus that a kind of time synchronized based on Precision Time Protocol restrains | |
CN103166750B (en) | Synchronizing clock time source collocation method and device | |
CN102664700B (en) | Nodal clock synchronous planning method in mesh network | |
CN106451763B (en) | A kind of intelligent substation station level bus network system without global synchronization system | |
CN102263630A (en) | Clock source selection method | |
CN104468072B (en) | A kind of IMA platform clocks synchronous method | |
CN104092528B (en) | A kind of clock synchronizing method and device | |
US20120204053A1 (en) | Current Sharing Method of DC Power Supply and Device Thereof | |
US20150113174A1 (en) | Intelligent supervision for configuration of precision time protocol (ptp) entities | |
CN105024798A (en) | Method and device for time synchronization | |
CN106470083B (en) | A kind of synchronizing network detection method and device | |
CN103490840B (en) | A kind of apparatus and method for carrying out Precision Time Protocol Message processing | |
CN102006158B (en) | Clock synchronizing method and system | |
CN105355021A (en) | ZigBee-based remote wireless meter reading system and performance detection method thereof | |
CN108173617A (en) | A kind of the whole network clock topology and clock method for obtaining path | |
JP6326907B2 (en) | Transmission system, transmission apparatus, and clock synchronization method | |
CN106209337A (en) | A kind of time synchronized message transmission frequency adaptive approach, device and equipment | |
CN112104432B (en) | Time verification method, system, base station and bearing network in mobile communication network | |
CN105991204A (en) | Clock synchronization method and cluster routing system | |
CN102523066B (en) | Based on IEEE1588 redundancy from the clock system of clock and synchronous method | |
CN103236894B (en) | Clock synchronizing method and device in a kind of seamless redundant network | |
CN110008165A (en) | A kind of NTB link management method, system and relevant apparatus | |
EP4254831A1 (en) | Method and device for selecting clock source | |
CN108990086A (en) | A kind of synchronizing network alarm method and device | |
CN109818700A (en) | Synchronous method, device, plant stand and the topological structure of wide area system protective device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |