CN1870490A - Selection method for clock source in sychronous transmission system - Google Patents
Selection method for clock source in sychronous transmission system Download PDFInfo
- Publication number
- CN1870490A CN1870490A CN 200510034936 CN200510034936A CN1870490A CN 1870490 A CN1870490 A CN 1870490A CN 200510034936 CN200510034936 CN 200510034936 CN 200510034936 A CN200510034936 A CN 200510034936A CN 1870490 A CN1870490 A CN 1870490A
- Authority
- CN
- China
- Prior art keywords
- clock source
- selection
- service aisle
- transmission system
- clock
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This invention relates to a method for selecting clock sources in a synchronous transmission system including: inputting selection conditions for each clock source, obtaining the control situation of each selection condition, computing the selection weight value of each source, arraying them according to the weight value and selecting clock sources, in which, the selection conditions include if it is closedown, switched by force, released and the quality level, if it is switches artificially, the priority level and related bit ratio assigned to them.
Description
Technical field
The present invention relates to the system of selection in clock source in the synchronous transmission system.
Background technology
The design of synchronous transmission system and application are based on network structure, and the safety that guarantee to net is with stable, and " net synchronously " is the major technology requirement.Realize that the synchronous purpose of net is that the clock frequency of all nodes in the net all is operated in definite range of tolerable variance, to guarantee that clock just can not ensure otherwise communicate by letter with frequently between each switching node.And transmission system plays a part maincenter in whole communication network, if the transmission quality instability of transmission system will directly cause the service impact of access service part.This shows that Network Synchronization and clock generating are most important parts in the high-speed transfer network system.In suggestion ITU-T appendix A G.781E with regard to detailed description the system of selection in clock source in a kind of synchronous transmission system.
This method is with the drawn selection course in clock source of specification description language (SDL).Simply describe this method below, G.781E its detailed SDL block diagram sees also ITU-T.The selection in each clock source is subjected to the control of (comprising synchronizing quality grade, signal quality, priority, locking setting, the outside control of switching to it in clock source) of its oneself condition, when any one condition changes, just need condition judgment through the SDL block diagram.Clock selecting also is subjected to the influence whether credit rating enables simultaneously.This method deterministic process complexity, and not directly perceived.When if it also has a fatal shortcoming to have a plurality of conditions produced simultaneously exactly in addition,, just might in selection course, repeatedly revise the selection in clock source, thereby cause the short term oscillation in clock source owing to be to carry out flow processing according to block diagram.And because the present core position of transmission system, its influence is bigger.
Summary of the invention
The technical problem to be solved in the present invention is, overcome the deficiencies in the prior art, propose the system of selection in clock source in a kind of synchronous transmission system, with the method for simple ordering, just can finish the selection of system clock source, also can not cause the vibration of clock source selection simultaneously.
The system of selection in clock source is in the synchronous transmission system among the present invention: each alternative condition of importing each clock source; Obtain the control situation of each each alternative condition of clock source; Calculate the selection weights in each clock source; Selection weights by each clock source sort; Select the clock source according to ranking results.Wherein, alternative condition comprise whether locking, whether Forced Switch arranged, whether losing lock, credit rating, whether Manual Switch, priority level are arranged and distribute to their corresponding bit.
Adopt method of the present invention, by ordering, very simple, distinct one or more optimum of from a plurality of clocks source, selecting.This method is simple, directly perceived, reliable, be easy to detect mistake; Particularly for very complicated combination condition, this method is the design of simplified system greatly, can guarantee correctness and the robustness selected simultaneously.
Description of drawings
Fig. 1 is the clock source selection schematic block diagram;
Fig. 2 is the flow chart of clock source selection.
Embodiment
The present invention selects weights according to the control that the controlled condition in each clock source is calculated each clock source.Controlled condition that can all clock sources of poll in each the processing is according to the clock source of an optimum of all conditions comprehensive selection.
The present invention is described in further detail below in conjunction with drawings and Examples: the selection algorithm in clock source in the SDH system, the selection of clock can be with reference to ITUT G.781E.
The selection in clock source in SDH, it is controlled by following condition: whether the whether locking of clock source, clock source have Forced Switch, clock source whether losing lock, the credit rating in clock source, clock source have the priority level in Manual Switch, clock source.And these conditions also have priority, and its priority is: the whether locking of clock source〉whether the clock source have Forced Switch〉clock source losing lock whether〉credit rating in clock source〉whether the clock source have Manual Switch〉priority level in clock source.It selects step to be:
1, the selection result in initialization clock source is empty for not having;
2, we suppose to represent with 2 bytes the preoption value in clock source, distribute the bit position such as the table 1 of the alternative condition correspondence in clock source:
Table 1 controlled condition and corresponding bit position table
Locking | Forced Switch | Losing lock | Credit rating | Manual Switch | Priority level |
13 bit spans are 0 ~ 1 | 12 bit spans are 0 ~ 1 | 11 bit spans are 0 ~ 1 | 7 ~ 10 bit spans are 0 ~ 0x0F | 6 bit spans are 0 ~ 1 | 0 ~ 5 bit span is 0 ~ 0x3F |
Involved several conditions and value thereof carried out some explanations in below this being given an example:
Locking: represent whether this clock source can be selected, and its priority is the highest.Value is that 0 this clock source of expression does not have the locking setting; Value is that 1 this clock source of expression has the locking setting;
Forced Switch: represent whether this clock source is provided with Forced Switch.Value is that 0 this clock source of expression is provided with Forced Switch; Value is that 1 this clock source of expression is not provided with Forced Switch;
Losing lock: represent whether this clock source is normal.Value is that 0 this clock source of expression is normal; Value is that 1 this clock source of expression is undesired;
Credit rating: represent this clock source Synchronization Status Message credit rating.Its normal value at reference proposition ITU G.781E, other outliers are invalid, can unified Definition become 0x0F;
Manual Switch: represent whether this clock source is provided with Forced Switch.Value is that 0 this clock source of expression is provided with Manual Switch; Value is that 1 this clock source of expression is not provided with Manual Switch;
Priority level: the selection priority of representing this clock source.Span is 1 ~ 20,1 the highest, and 20 is minimum.
All the value of being defined as is more little with each condition of controlling clock source selection for we, and then the authority of its control is just high more, so we just select to select in all clock sources the minimum clock source of weights to get final product.
3, obtain the controlled condition in each clock source of outside input;
4,, calculate the selection weights in each clock source according to the controlled condition in each clock source; Its condition value and corresponding calculating thereof are as shown in table 2:
The conditional relationship in table 2 clock source is selected weight table
Clock source numbering | Locking | Forced Switch | Losing lock | Credit rating | Manual Switch | Priority level | Select |
1 | Be (1) | Not (1) | Not (0) | 0x02 | Not (1) | 1 | 0x3141 |
2 | Not (0) | Be (0) | Not (0) | 0x08 | Not (1) | 2 | 0x0442 |
3 | Not (0) | Not (1) | Not (0) | 0x04 | Not (1) | 3 | 0x1243 |
4 | Not (0) | Not (1) | Not (0) | 0x0B | Be (0) | 4 | 0x1584 |
5 | Not (0) | Not (1) | Be (1) | 0x02 | Not (1) | 5 | 0x1945 |
5, according to the selection weights in clock source, sorted from small to large in all clock sources: clock source 2, clock source 3, clock source 4, clock source 5, clock source 1.
6, select according to application: because should be with being the clock source of selecting an optimum, then clock source 2 be the optimal selection result;
7, relatively whether the selection clock source of record changes, if change then write down new clock source numbering, does not then handle; (what the effect of record is, can't see from the situation of introduction of the present invention, asks the simple unit of inventor to be introduced)
If 8 conditions change, then recomputate the selection weights again, carry out the selection in optimum clock source again.
Method of the present invention can also extensively be suitable in the similar system, the example of M:N protection for example, and this is a kind of application of selecting the input source of a plurality of optimums.
In the protection of the service aisle of M:N protection was selected, it was controlled by following condition: whether whether whether whether locking of service aisle, service aisle have Forced Switch, service aisle to have Signal Fail, service aisle to have Signal Degrade, service aisle whether the priority level of Manual Switch, service aisle is arranged.And these conditions also have priority, and it has earlier that order is: whether locking of service aisle〉whether service aisle have Forced Switch〉service aisle Signal Fail whether〉whether service aisle have Signal Degrade〉whether service aisle have Manual Switch〉priority level of service aisle.It selects step to be:
1, the service aisle result of initialization protection is empty;
2, we suppose to represent with 2 bytes the preoption value of service aisle, the bit position of the alternative condition correspondence of the passage that shares out the work, as table 3:
Table 3 controlled condition and corresponding bit position table
Gate blocking | Forced Switch | Signal Fail | Signal Degrade | Manual Switch | Priority level |
10 bit spans are 0~1 | 9 bit spans are 0~1 | 8 bit spans are 0~1 | 7 bit spans are 0~1 | 6 bit spans are 0~1 | 0~5 bit span is 0~0x3F |
Involved several conditions and value thereof carried out some explanations in below this being given an example.
Gate blocking: represent whether this service aisle needs protection, and its priority is the highest.Value is that 1 this service aisle of expression does not have the locking setting; Value is that 0 this service aisle of expression has the locking setting;
Forced Switch: represent whether this service aisle is provided with Forced Switch.Value is that 1 this service aisle of expression is provided with Forced Switch; Value is that 0 this service aisle of expression is not provided with Forced Switch;
Signal Fail: represent whether this service aisle has Signal Fail.Value is that 1 this service aisle of expression has Signal Fail; Value is that 0 this service aisle no signal of expression lost efficacy;
Signal Degrade: represent whether this service aisle has Signal Degrade.Value is that 1 this service aisle of expression has Signal Degrade; Value is 0 this service aisle no signal deterioration of expression;
Manual Switch: represent whether this service aisle is provided with Forced Switch.Value is that 1 this service aisle of expression is provided with Manual Switch; Value is that 0 this service aisle of expression is not provided with Manual Switch;
Priority level: the selection priority of representing this service aisle.Span is 1 ~ 20,20 the highest, and 1 is minimum.
All the value of being defined as is big more with the condition of each Control work channel selecting for we, and then the authority of its control is just high more, so we just select to select in all working passage the highest, the inferior high service aisle of weights to get final product.
3, obtain the selection control situation of each service aisle;
4,, calculate the selection weights of each service aisle according to the control situation of each service aisle; Suppose that this system is the protection of a 2:5, its condition value and corresponding calculating thereof are as shown in table 4:
The conditional relationship of table 4 service aisle is selected weight table
The service aisle numbering | Gate blocking | Forced Switch | Signal Fail | Signal Degrade | Manual Switch | Priority level | Select |
1 | Not (1) | Not (0) | Be (1) | Be (1) | Not (0) | 1 | 0x0381 |
2 | Not (1) | Be (1) | Be (1) | Be (1) | Not (0) | 2 | 0x0782 |
3 | Not (1) | Not (0) | Not (0) | Be (1) | Not (0) | 3 | 0x0483 |
4 | Not (1) | Not (0) | Be (1) | Be (1) | Be (1) | 4 | 0x05C4 |
5 | Be (0) | Not (0) | Be (1) | Not (0) | Not (0) | 5 | 0x0105 |
5, according to the selection weights of service aisle, all working passage is sorted from big to small: service aisle 2, service aisle 4, service aisle 3, service aisle 1, service aisle 5.
6, select according to application: because should be with being to select 2 optimal working passages, then service aisle 2, service aisle 4 be the optimal selection result;
7, relatively whether the selection service aisle of record changes, if change then write down new service aisle numbering, does not then handle; Is (what the effect of record?)
If 8 conditions change, then recomputate the selection weights, carry out the selection of optimum service aisle again.
Claims (4)
1, the system of selection in clock source in a kind of synchronous transmission system may further comprise the steps:
Import each alternative condition in each clock source;
Obtain the control situation of each each alternative condition of clock source;
Calculate the selection weights in each clock source;
Selection weights by each clock source sort;
Select the clock source according to ranking results.
2, the system of selection in clock source in the described synchronous transmission system of claim 1, it is characterized in that, described alternative condition comprises whether locking, whether Forced Switch arranged, whether losing lock, credit rating, whether Manual Switch, priority level are arranged and distribute to their corresponding bit.
3, the system of selection in clock source in the described synchronous transmission system of claim 2, it is characterized in that the priority of each alternative condition is by successively being arranged as: whether the whether locking of clock source, clock source have Forced Switch, clock source whether losing lock, the credit rating in clock source, clock source have the priority level in Manual Switch, clock source.
4, the system of selection in clock source in the described synchronous transmission system of claim 1 is characterized in that, when the selection condition changes, recomputates the weights new clock source of selecting of laying equal stress on of selecting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510034936 CN1870490A (en) | 2005-05-27 | 2005-05-27 | Selection method for clock source in sychronous transmission system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510034936 CN1870490A (en) | 2005-05-27 | 2005-05-27 | Selection method for clock source in sychronous transmission system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1870490A true CN1870490A (en) | 2006-11-29 |
Family
ID=37444050
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200510034936 Pending CN1870490A (en) | 2005-05-27 | 2005-05-27 | Selection method for clock source in sychronous transmission system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1870490A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008134924A1 (en) * | 2007-04-30 | 2008-11-13 | Huawei Technologies Co., Ltd. | Clock transferring method and clock transferring apparatus between networks |
WO2009043268A1 (en) * | 2007-09-25 | 2009-04-09 | Huawei Technologies Co., Ltd. | A method and apparatus for tracking clock source |
CN101192913B (en) * | 2007-08-08 | 2010-12-08 | 中兴通讯股份有限公司 | A system and method for clock synchronization and clock switch over optical transmission network |
CN102118780A (en) * | 2009-12-30 | 2011-07-06 | 中兴通讯股份有限公司 | Method and base station for using multiple clock sources |
WO2012068791A1 (en) * | 2010-11-22 | 2012-05-31 | 中兴通讯股份有限公司 | Method, network device and network management platform for intelligent clock maintenance |
CN102707765A (en) * | 2012-05-15 | 2012-10-03 | 江苏中科梦兰电子科技有限公司 | Timekeeping method using mixed clock source |
CN104216779A (en) * | 2014-09-28 | 2014-12-17 | 北京经纬恒润科技有限公司 | Interruption execution method and device |
CN101420282B (en) * | 2008-10-20 | 2015-09-16 | 中兴通讯股份有限公司 | The method of selecting time clock unit by service board and device |
CN105577311A (en) * | 2015-12-25 | 2016-05-11 | 中国南方电网有限责任公司电网技术研究中心 | Self-adaptive time synchronization method and system for timed device 1588 |
CN106031061A (en) * | 2014-02-20 | 2016-10-12 | 宝马股份公司 | Method for determining a master time signal, vehicle, and system |
-
2005
- 2005-05-27 CN CN 200510034936 patent/CN1870490A/en active Pending
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008134924A1 (en) * | 2007-04-30 | 2008-11-13 | Huawei Technologies Co., Ltd. | Clock transferring method and clock transferring apparatus between networks |
CN101299749B (en) * | 2007-04-30 | 2011-12-07 | 华为技术有限公司 | Method and apparatus for transferring clock between networks |
US8094687B2 (en) | 2007-04-30 | 2012-01-10 | Huawei Technologies Co., Ltd. | Method and apparatus of clock transmission between networks |
CN101192913B (en) * | 2007-08-08 | 2010-12-08 | 中兴通讯股份有限公司 | A system and method for clock synchronization and clock switch over optical transmission network |
US8867400B2 (en) | 2007-09-25 | 2014-10-21 | Huawei Technologies Co., Ltd. | Method and apparatus for tracking clock sources |
WO2009043268A1 (en) * | 2007-09-25 | 2009-04-09 | Huawei Technologies Co., Ltd. | A method and apparatus for tracking clock source |
CN101399757B (en) * | 2007-09-25 | 2011-02-02 | 华为技术有限公司 | Method and device for tracing time clock source |
CN101420282B (en) * | 2008-10-20 | 2015-09-16 | 中兴通讯股份有限公司 | The method of selecting time clock unit by service board and device |
CN102118780A (en) * | 2009-12-30 | 2011-07-06 | 中兴通讯股份有限公司 | Method and base station for using multiple clock sources |
WO2012068791A1 (en) * | 2010-11-22 | 2012-05-31 | 中兴通讯股份有限公司 | Method, network device and network management platform for intelligent clock maintenance |
CN102707765A (en) * | 2012-05-15 | 2012-10-03 | 江苏中科梦兰电子科技有限公司 | Timekeeping method using mixed clock source |
CN102707765B (en) * | 2012-05-15 | 2014-12-31 | 江苏中科梦兰电子科技有限公司 | Timekeeping method using mixed clock source |
CN106031061A (en) * | 2014-02-20 | 2016-10-12 | 宝马股份公司 | Method for determining a master time signal, vehicle, and system |
US10585401B2 (en) | 2014-02-20 | 2020-03-10 | Bayerische Motoren Werke Aktiengesellschaft | Method for determining a master time signal, vehicle, and system |
CN104216779A (en) * | 2014-09-28 | 2014-12-17 | 北京经纬恒润科技有限公司 | Interruption execution method and device |
CN104216779B (en) * | 2014-09-28 | 2018-10-02 | 北京经纬恒润科技有限公司 | A kind of interruption execution method and device |
CN105577311A (en) * | 2015-12-25 | 2016-05-11 | 中国南方电网有限责任公司电网技术研究中心 | Self-adaptive time synchronization method and system for timed device 1588 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1870490A (en) | Selection method for clock source in sychronous transmission system | |
US7428532B2 (en) | System and method of client server aggregate transformation | |
CN1187944C (en) | Reuse of static checksum and information in header compression/decompression application | |
US7734581B2 (en) | Vector reads for array updates | |
US8463928B2 (en) | Efficient multiple filter packet statistics generation | |
DE19635251A1 (en) | Method and apparatus for compressing any data | |
CN110119292A (en) | System operational parameters querying method, matching process, device and node device | |
CN107885881A (en) | Business datum real-time report, acquisition methods, device, equipment and its storage medium | |
CN1859171A (en) | Network equipment data managing method | |
CN103246745A (en) | Device and method for processing data based on data warehouse | |
CN100579133C (en) | Method for generating ID symbol | |
CN115033646B (en) | Method for constructing real-time warehouse system based on Flink and Doris | |
US10700934B2 (en) | Communication control device, communication control method, and computer program product | |
JP5304449B2 (en) | Scenario creation program, scenario creation device, and scenario creation method | |
US7353510B2 (en) | System and method for comparing objects | |
US8886913B2 (en) | Apparatus and method for identifier management | |
CN117081835A (en) | Firewall policy optimization method and system | |
US7392265B2 (en) | Updating data in a multi-system network that utilizes asynchronous message transfer | |
CN1509009A (en) | Business resource distribution method | |
CN1703006A (en) | System and method for conversation cancellation treatment in application server | |
CN110569487B (en) | Base64 expansion coding method and system based on high-frequency character substitution algorithm | |
US20070043695A1 (en) | Action consolidation using hash table | |
CN113141620A (en) | Flexe service processing method and device | |
JP2003288206A (en) | Standard platform for network technology group and method using it | |
CN1211733C (en) | Method and apparatus for a user extensible event structure |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination |