CN100486142C - Method for automatically configurating link - Google Patents

Method for automatically configurating link Download PDF

Info

Publication number
CN100486142C
CN100486142C CNB031559557A CN03155955A CN100486142C CN 100486142 C CN100486142 C CN 100486142C CN B031559557 A CNB031559557 A CN B031559557A CN 03155955 A CN03155955 A CN 03155955A CN 100486142 C CN100486142 C CN 100486142C
Authority
CN
China
Prior art keywords
link
node
passage
tdm frame
frame
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.)
Expired - Fee Related
Application number
CNB031559557A
Other languages
Chinese (zh)
Other versions
CN1592162A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB031559557A priority Critical patent/CN100486142C/en
Publication of CN1592162A publication Critical patent/CN1592162A/en
Application granted granted Critical
Publication of CN100486142C publication Critical patent/CN100486142C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

This invention provides a link automatic configuration method. Each slave node searches for links in TDM frame channels transferred by the master node, automatically configurates the searched links to be the communication links between the slave and master nodes and configurates the searched link number as the address in its chain cascade network so as to make the slave node to identify its own position in the said network topology.

Description

A kind of link automatic configuration method
Technical field
The present invention relates to chain cascaded communication network technical field, be meant a kind of link automatic configuration method especially.
Background technology
Link is meant communicating to connect of setting up between two communication nodes, and by this connection, two nodes can intercom mutually.The most of digital communication mode that adopts of modern communications adopts the link of digital communication mode to be called digital communi-cations link, hereinafter to be referred as link.Figure 1 shows that chain cascaded communication network schematic diagram.This network is connected in series one or more from node (Slave) by a physical circuit by a host node (Master), and host node is as Centroid, and all are from node and its direct communication, from can not direct communication between the node.Host node and each are from existing the link of point-to-point between the node.Multilink is multiplexed on the data code stream, transmits on same single data circuit by time division multiplexing (TDM, Time Division Multiplex) technology (as the E1 technology).
In the chain cascade network, following two kinds of methods generally commonly used dispose host node and respectively from the communication link between the node.
First method is to adopt the toggle switch setting from node address, and promptly each uses the toggle switch leader to know this address of node from node.As shown in Figure 1, the address that Slave0 is set is 0, and the address of Slave1 is 1 ... set gradually each from the address of node, and make each from link of address of node correspondence, therefore, once definite, its applied link has also just been determined from the address of node.During concrete work, host node to slave node side to, Slave0 utilizes address 0 to search respective link as this link from node in the TDM frame structure, other link passes through next from node Slave1.Respectively find the link of oneself successively according to this mechanism, and use this fixing link and communicate by letter with host node from node.
In the existing chain cascade network, most of this method that adopts disposes from address of node and link, promptly in configuration or reset before the communication link between node and the host node, should be from node by reading self-contained address, discern the position of this node in network, according to making an appointment in the design, dispose the link of communicating by letter between this node and the host node then.
The defective of said method is: strict to being provided with of toggle switch, do not allow to make mistakes.But because there is the risk of makeing mistakes inevitably in artificial the setting, therefore, in case after the toggle switch setting makes mistakes, need to carrying out on-site maintenance with debug from the node location, if respectively from the geographical position wide apart of node, maintenance is just very difficult, and maintenance cost is very high.In addition, because production and processing, toggle switch itself also can have mistake fully.
Second method is to insert extraction method, promptly adopts the storehouse principle to be provided with from node address.Figure 2 shows that the schematic diagram of this method of application of prior art.Host node to slave node side to, host node 0 is mapped to position n-1 to n bar link from the position successively by the TDM technology, when first receives data from node, 0 the data link data as this node is put in fetch bit, be that link in the position 0 is this link between from the node to the host node, the data with position 1 move on to position 0 in addition, and the data of position 2 move on to position 1 ... operation successively, after the data with position n-1 move on to position n-2, these data are sent to next from node.Respectively obtain the link of oneself successively according to this mechanism from node.From node to the host node direction, certain is from node Slave m, the data from Slave m+1 that receive are carried out the time slot displacement, the data that are about to position n-2 move on to position n-1, the data of position n-3 are moved on to position n-2 ... after the data with position 0 move on to position 1, this link data from node is mapped to position 0, send these data to Slave m-1 then, like this, after each carries out n-1 displacement from node to the data of receiving, this link data from node is mapped to position 0, again these data are sent to previous from node, for m=0 is the situation of Slave0, then after carrying out n-1 displacement, directly sends these data to host node.
Use this method, respectively do not know this from the position of node network topology structure before link configuration is finished from node, after link configuration was finished, the link that passes through to be disposed obtained this there from the position of node network topology structure from host node.
The defective of said method is: respectively do not know that from node this is from the position of node network topology structure before link configuration is finished, will be after link configuration be finished, the link that passes through to be disposed obtains this there from the position of node network topology structure from host node, and this will finish the function of similar storehouse during from the topological structure of node network in configuration link and identification from node for each, promptly host node to slave node side to, each will finish the extract function of popping from node, from node to the host node direction, each will be finished pop down from node and insert function, therefore, each all will safeguard the displacement resource from node, thereby the cost of the realization of this method is higher, and the implementation complexity.
Summary of the invention
In view of this, main purpose of the present invention be to provide a kind of implementation method simple, realize the lower link automatic configuration method of cost.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of link automatic configuration method, this method may further comprise the steps:
A, be provided with chain cascaded communication network to be accessed from the node number;
B, to predefined be numbered from the identical link of number of nodes, and the link order that numbering will be set is mapped in the different passages of TDM frame successively;
C, receive the TDM frame of autonomous node from node, and judge in the first passage in the TDM frame whether have link, comprise: in link window search time that sets in advance, judge whether the data in the TDM frame passage change, if, then there is link, execution in step d in this passage of TDM frame; Otherwise, do not have link, execution in step e in this passage of TDM frame;
Link in d, this passage is set to this from the communication link between node and the host node, destroy the data structure of this link place passage then, this TDM frame is sent to next from node, next from node repeated execution of steps c, up to all find from node and host node between communication link till;
E, judge in the next passage in the TDM frame received whether have link, if, execution in step d then, otherwise repeated execution of steps e, up to the passage in the TDM frame is all judged finish till.
Preferably, the link in the passage is set to this behind the communication link between node and the host node, and the numbering of this link is set to this from the address of node.
Preferably, the described link order that numbering will be set of step b is mapped to successively in the different passages of TDM frame and is: link of mapping in each passage of TDM frame.
Preferably, described link window search time is to determine according to the transmission rate of predefined link.
Preferably, described definite method is: link window search time is smaller or equal to 64 * 10 3Bit is divided by the transmission rate of link.
Preferably, whether whether change be to change according to the bit of data in the TDM frame passage to judge to the data in the described TDM of the judgement frame passage.
Preferably, the method for the data structure of this link place passage of the described destruction of steps d is that the data in this passage all are filled to 0 or 1.
Preferably, described link is the link of being set up by the HDLC frame.
Preferably, described TDM frame is the E1 structure.
Use the present invention, each searches for link from node the passage of the TDM frame that host node sends, the link that searches is configured to this automatically from the communication link between node and the host node, and the link number that this searches is configured to this from the address of node the chain cascade network, thereby make this identify own position this network topology structure from node.Use the present invention, collocation method is simple, and does not need application class to discern respectively from node like the equipment of toggle switch, has avoided simultaneously owing to respectively bring link configuration problem difficult in maintenance from node at the geographical position wide apart.Adopt the solution of the present invention, help network operation, improved the reliability of network, and realize that cost is low.
Description of drawings
Fig. 1 is a chain cascaded communication network schematic diagram;
Fig. 2 is that the schematic diagram of extraction method setting from node address inserted in the application of prior art;
Fig. 3 is for using the network link configuration schematic diagram of one embodiment of the invention;
Fig. 4 is for using certain flow chart from the node configuration link of one embodiment of the invention.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
In digital communication, adopt specific frame structure to set up link usually, set up link as using advanced digital controlling links (HDLC, High level Data Link Control) frame structure.The length of the particular frame structure that is adopted can be regular length, as asynchronous transfer mode (ATM, AsynchronousTransfer Mode) cell, also can be variable-length, as the HDLC frame.Have certain mechanism so that receiving terminal can be discerned this frame structure in communication link, as using the link that the HDLC frame structure is set up, defined flag of frame sequence F, F is specific bit combination " 01111110 ", and all HDLC frames begin with F, also finish with F; And for example, use the link that ATM cell is set up, adopt the ATM cell head to identify ATM cell and begin.No matter adopt which kind of frame structure to set up link, full the bit that transmits on link can not be " 0 ", can not be " 1 " entirely, otherwise, the original position of frame structure can't be discerned, thereby the existence of link can't be identified.
Thinking of the present invention is: be provided with chain cascaded communication network to be accessed from the node number; To predefined be numbered from the identical link of number of nodes, and the link order that numbering will be set is mapped in the different passages of TDM frame successively; Receive the TDM frame of autonomous node from node after, at first judge in the first passage in the TDM frame whether have link, if, after then finishing the link configuration operation, this TDM frame is sent to the next one from node, and the rest may be inferred, stops after all finish from node configuration; Otherwise judge in the next passage in the TDM frame received whether have link, up to finding link or judgement to finish till all passages in the TDM frame.
Above-mentioned link configuration operation is meant: the link in the passage is set to this behind the communication link between node and the host node, the numbering of this link is set to this from the address of node, and after destroying the data structure of this link place passage, this TDM frame is sent to next from node.
Below with HDLC as a kind of frame structure of setting up link, E1 is as a kind of specific implementation of TDM frame structure, with the HDLC link maps in the E1 frame, with host node Master and from being example by the HDLC link communication between the node Slave n, specify implementation procedure of the present invention, therefore, the time slot in the E1 frame is the passage in the above-mentioned TDM frame.
In the present embodiment, whether judge in the time slot of E1 frame exists the method for link to be: from node in the link window search time Ts that sets in advance, judge whether the data in the E1 time slot 0,1 or 1,0 variation takes place, if, then in this time slot of E1 frame, there is link, otherwise do not have link in this time slot of E1 frame.
The computing formula of link window search time Ts is: Ts≤L/K, and wherein, K is the transmission rate of this link; L is 64 * 10 3Bits.
In the present embodiment, the transmission rate of every HDLC link is 64kps, and hypothesis has 10 from node.According to above setting, network topology structure as shown in Figure 3, a host node Master is with 10 from node Slave by chain cascade network mode on the single line road.As follows from the coding rule of node, host node to slave node side to, what first received the host node data is Slave 0 from node, second what receive the host node data is Slave 1 from node ... by this rule for respectively from node serial number, what last received the host node data is Slave 9 from node, respectively before the link initial setting up is finished or when resetting, do not know the node serial number of oneself, promptly do not know own position in network topology structure from node.
According to above setting, there are 10 HDLC links, link number is HDLC n, n is from 0 to 9 integer.32 time slots are arranged in the E1 frame structure, and time-gap number is TS m, m is from 0 to 31 integer, and link window search time Ts is set is 64 * 10 3Bits/64kps=1s.
In the time slot of E1 frame, mapping relations are host node: with HDLC with 10 HDLC link maps nBe mapped to TS N+1In the individual time slot, wherein, n is from 0 to 9 integer.Like this, link of mapping in each time slot forms relation one to one between link and the time slot.After host node is finished the E1 framing, this E1 frame is sent to from node.Respectively from node from the E1 frame structure that receives, select specific HDLC link as this from the communication link between node and the host node, identify simultaneously this from the position of node the chain cascade network.Its idiographic flow as shown in Figure 4.
Figure 4 shows that certain flow chart of using one embodiment of the invention from the node configuration link.
Step 401 is provided with counting variable X, makes X equal 0, and this counting variable X is an integer, and smaller or equal to 9;
Step 402 receives the E1 frame of autonomous node from node, and the X+1 time slot that obtains the E1 frame is TS X+1Data, and this time slot carried out link search;
Whether step 403 took place 0,1 or 1,0 according to the data in this time slot and changes within 1 second, judge whether there is link in this time slot, if then execution in step 407, otherwise execution in step 404;
Whether step 404, the value of judgment variable X smaller or equal to 9, if then execution in step 406, otherwise execution in step 405;
Step 405, this from node do not find the HDLC link to be used for and host node between communicate process ends;
Step 406, the value that makes counting variable X are that X adds 1, and return step 402;
Step 407, the X of E1 frame adds 1 link in the time slot and is set to this from the communication link between node and the host node, and with the link No. HDLC in this time slot xBe configured to this from the address of node, promptly this is numbered Slave x from node;
Step 408 all is filled to bit " 0 " the X+1 time slot of the E1 frame that will send from host node, and will pass through E1 frame after filling and send to nextly behind node, should finish from flow process of node configuration link.
When if host node need be closed certain bar link, only need at host node to slave node side promptly can to avoid this link automatically from node to the corresponding link data all being filled out bit " 0 " or bit " 1 ".
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1, a kind of link automatic configuration method is characterized in that, this method may further comprise the steps:
A, be provided with chain cascaded communication network to be accessed from the node number;
B, to predefined be numbered from the identical link of number of nodes, and the link order that numbering will be set is mapped in the different passages of TDM frame successively;
C, receive the TDM frame of autonomous node from node, and judge in the first passage in the TDM frame whether have link, comprise: in link window search time that sets in advance, judge whether the data in the TDM frame passage change, if, then there is link, execution in step d in this passage of TDM frame; Otherwise, do not have link, execution in step e in this passage of TDM frame;
Link in d, this passage is set to this from the communication link between node and the host node, destroy the data structure of this link place passage then, this TDM frame is sent to next from node, next from node repeated execution of steps c, up to all find from node and host node between communication link till;
E, judge in the next passage in the TDM frame received whether have link, if, execution in step d then, otherwise repeated execution of steps e, up to the passage in the TDM frame is all judged finish till.
2, method according to claim 1 is characterized in that, steps d further comprises: the link in the passage is set to this behind the communication link between node and the host node, and the numbering of this link is set to this from the address of node.
3, method according to claim 1 and 2 is characterized in that, the link order that step b is described will to be provided with numbering is mapped to successively in the different passages of TDM frame and is: link of mapping in each passage of TDM frame.
4, method according to claim 1 is characterized in that, described link window search time is to determine according to the transmission rate of predefined link.
5, method according to claim 4 is characterized in that, described definite method is: link window search time is smaller or equal to 64 * 10 3Bit is divided by the transmission rate of link.
6, method according to claim 1 is characterized in that, whether whether the data in the described TDM of the judgement frame passage change is to change according to the bit of data in the TDM frame passage to judge.
7, method according to claim 1 and 2 is characterized in that, the method for the data structure of this link place passage of the described destruction of steps d is that the data in this passage all are filled to 0 or 1.
8, method according to claim 1 is characterized in that, described link is the link of being set up by the HDLC frame.
9, method according to claim 1 is characterized in that, described TDM frame is the E1 structure.
CNB031559557A 2003-08-27 2003-08-27 Method for automatically configurating link Expired - Fee Related CN100486142C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031559557A CN100486142C (en) 2003-08-27 2003-08-27 Method for automatically configurating link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031559557A CN100486142C (en) 2003-08-27 2003-08-27 Method for automatically configurating link

Publications (2)

Publication Number Publication Date
CN1592162A CN1592162A (en) 2005-03-09
CN100486142C true CN100486142C (en) 2009-05-06

Family

ID=34598260

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031559557A Expired - Fee Related CN100486142C (en) 2003-08-27 2003-08-27 Method for automatically configurating link

Country Status (1)

Country Link
CN (1) CN100486142C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1739993A1 (en) * 2005-07-01 2007-01-03 Siemens S.p.A. Method for controlling the access to a TDMA wireless channel from nodes of a network of either linear or tree topology
CN101212244B (en) * 2006-12-29 2011-07-20 大唐移动通信设备有限公司 Method and device for adjusting identification of die-cast TD-SCDMA power amplifier
WO2008101394A1 (en) * 2007-02-13 2008-08-28 Shan Dong University Real-time synchronous method and synchronous network based on the standard ethernet
EP2782295A4 (en) * 2011-11-15 2014-11-12 Huawei Tech Co Ltd Method and device for determining time slot configuration in time division modulation (tdm) transmission
CN111966595B (en) * 2020-08-13 2024-04-05 安徽芯纪元科技有限公司 Method for positioning core in software debugging system and method for transmitting debugging message

Also Published As

Publication number Publication date
CN1592162A (en) 2005-03-09

Similar Documents

Publication Publication Date Title
US5128945A (en) Packet framing using cyclic redundancy checking
EP0993135B1 (en) Concatenation of containers in synchronous digital hierarchy network
US5072449A (en) Packet framing using cyclic redundancy checking
CN104580031B (en) POS based on multi-protocols link encapsulation technology separates frame framing device and method
CN102439923B (en) Device and method for transporting Universal service transport transitional encoding
SE443692B (en) PROCEDURE AND DEVICE FOR FRAME SYNCHRONIZATION IN A DIGITAL TDM COMMUNICATION SYSTEM
EP1248420B1 (en) Method and apparatus for mapping fast ethernet packets in SONET containers over a radio-link system
CN109743136B (en) Transmission message transmitting method, receiving method and processing device
CN104158586B (en) Switching realization method, sites and system
CN100486142C (en) Method for automatically configurating link
US6256326B1 (en) Pseudo-synchronization prevention method in SDH transmission mode, pseudo-synchronization preventing SDH transmission system, and transmitter-receiver in pseudo-synchronization preventing SDH transmission system
JPH02226926A (en) System for transmitting hdlc frame on multi-channel pcm type ring
JPH03102939A (en) Cell synchronizing system
CN101243656A (en) Combined hardware and software implementation of link capacity adjustment scheme (LCAS) in SONET
CN104184678A (en) Method for dropping frame duplicates to achieve highly-reliable seamless redundancy ring network
US8306066B2 (en) Transmission device
CN101669311B (en) Point-to-point communication in high voltage power transmisson system
US5644570A (en) Arrangement for connecting a computer to a telecommunications network, and a method for bit rate adaptation in this arrangement
EP1730865B1 (en) Automatic update of squelch tables for optical network applications
CN104184642A (en) Multistage star type switched network structure and optimizing method
JP2006525724A (en) Clock time synchronization method
EP1148672B1 (en) Apparatus and method for processing frame structured data signals
CN100452763C (en) Network unit for forwarding an Ethernet packet
CN1037815A (en) TDM data transmission system
JP2001358736A (en) Ring network system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090506

Termination date: 20200827