CN101442765B - Method and apparatus for implementing link connectivity detection - Google Patents

Method and apparatus for implementing link connectivity detection Download PDF

Info

Publication number
CN101442765B
CN101442765B CN2007101778547A CN200710177854A CN101442765B CN 101442765 B CN101442765 B CN 101442765B CN 2007101778547 A CN2007101778547 A CN 2007101778547A CN 200710177854 A CN200710177854 A CN 200710177854A CN 101442765 B CN101442765 B CN 101442765B
Authority
CN
China
Prior art keywords
winding
banner word
module
frame
multichannel
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
Application number
CN2007101778547A
Other languages
Chinese (zh)
Other versions
CN101442765A (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN2007101778547A priority Critical patent/CN101442765B/en
Publication of CN101442765A publication Critical patent/CN101442765A/en
Application granted granted Critical
Publication of CN101442765B publication Critical patent/CN101442765B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

The invention provides a method for implementing link verification. The transmitting terminal transmits the data frame of certain quantity added with corresponding loop flag word to receiving terminal, and simultaneously detects if the received data frame comprises self-added loop flag word. The invention simultaneously provides a device for implementing link detection. The method and device can implement simply and quickly link detection and implements simultaneous detection for uplink and downlink.

Description

A kind of method and device of realizing that connectivity of link detects
Technical field
The present invention relates to connectivity of link detection technique in the GSM, relate in particular to a kind of method and device of realizing that connectivity of link detects.
Background technology
In GSM, because the requirement of system configuration, communication system network is made up of several far-end equipment (RE, Remote Equipment) and a remote equipment controller (REC, Remote Equipment Control) that is positioned at this locality usually.Wherein, modal communication system network topological structure is that chain shown in Figure 1 connects.As shown in Figure 1, this communication system is by an above RE, be respectively RE0, RE1 ..., REn etc., directly or through other RE be connected to REC indirectly through optical fiber or cable, RE receives REC control, and and REC between transmission data mutually.Exist the RE of subordinate through the upstream data passage of higher level RE between each RE to REC transmission data, and REC send via the downlink data channel of higher level RE to the RE of subordinate transmission data.Wherein, said higher level RE is meant comparatively speaking the RE near REC, and the RE of subordinate is comparatively speaking away from the RE of REC; Near for the RE of REC, its upper level is REC for, and the RE of subordinate does not have the RE of subordinate.Said upstream data passage is called up link, and said downlink data channel is called down link.
In the installation of equipment such as above-mentioned RE and REC, maintenance process, need to detect between REC and the RE, whether RE be communicated with normal with link between the RE.For the link that is connected by optical fiber, detection method is: send the light signal of certain intensity at the transmitting terminal of link, the intensity of the light signal that receives in the receiving terminal measurement of link judges by the intensity of received light signal whether link is normal.For the link that is connected by cable, its detection method is: the transmitting terminal at link sends the signal of telecommunication, at the receiving terminal use oscilloscope measurement reception waveform of link, whether judges correctly by received waveform whether link is normal.Wherein, said transmitting terminal can be REC or RE, and said receiving terminal also can be REC or RE.
Above-mentioned two kinds of methods that detect connectivity of link need the detecting unit of the receiving optical signals or the signal of telecommunication, have increased system requirements; Simultaneously, said method can only detect the up link of two equipment rooms or a link in the down link at every turn, can not detect the up-down bidirectional link simultaneously; In addition, certain detection node that this method can only be chosen receiving terminal detects, and often can not complete detection cover data send the whole link that exports to the Data Receiving inlet; And this method will cause human and material resources inconvenience greatly under two equipment distance situation far away that needs detect.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method and device of realizing that connectivity of link detects, can realize the detection of connectivity of link simply, quickly, and detection when can realize up link and down link.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of method that realizes that connectivity of link detects, this method comprises:
A, transmitting terminal send the Frame that some is added with corresponding winding banner word to the receiving terminal of configuration;
B, transmitting terminal detect in the Frame that receives whether have the winding banner word that self adds when sending said Frame.
Wherein, this method further comprises:
Receiving terminal detects in the Frame that receives whether have corresponding winding banner word; When detecting the said Frame that is added with the winding banner word, with the said complete transmitting terminal that sends it back of Frame that is added with the winding banner word.
This method further comprises:
Transmitting terminal is outwards exported the testing result that detection obtains with a definite form.
Step B further comprises:
Transmitting terminal starts timing device when sending first and be added with the Frame of winding banner word;
Accordingly, said detection is: in the time that timing device sets, detect.
After receiving terminal detected the Frame that is added with said winding banner word, this method further comprised: the port that receiving terminal self is connected with transmitting terminal is set to the external loopback pattern.
The said detection of step B is specially:
When transmitting terminal carries out the forward detection of connectivity, detect whether there is descending winding banner word in the received uplink data frames;
When transmitting terminal carries out reverse detection of connectivity, detect whether there is up winding banner word in the received downlink data frame.
Said receiving terminal detects and is specially:
Detect whether there is up winding banner word in the received uplink data frames, or whether have descending winding banner word in the received downlink data frame.
Said transmitting terminal is remote equipment controller REC, and said receiving terminal is remote equipment RE; Perhaps,
Said transmitting terminal is RE, and said receiving terminal is REC or RE.
Said timing device is a timer.
The present invention provides a kind of device of realizing that connectivity of link detects simultaneously, and this device comprises configuration module, data processing module, multichannel selection module and banner word detection module, wherein,
Configuration module is used to dispose the receiving terminal of detection of connectivity, and said configuration information is sent to data processing module and descending multichannel is selected module;
Data processing module; Be used for according to the banner word position of the corresponding interpolation winding of the said configuration information banner word that receives to some Frames; The said Frame that is added with the winding banner word is sent to multichannel select module; And when sending the said Frame of first frame, transmit control signal to the banner word detection module;
Multichannel is selected module, be used to receive the said Frame that is added with the winding banner word after, said Frame is sent to the receiving terminal that is disposed;
The banner word detection module is used for after receiving the control signal that data processing module sends, and in setting-up time, detects whether there is the winding banner word that self sends in the received Frame.
Wherein, the banner word detection module is further used for: testing result is sent to data processing module;
Accordingly, data processing module is further used for: the said testing result that will receive is outwards exported with a definite form.
Data processing module further comprises:
The testing result output module is used to receive said testing result, and said testing result is outwards exported with a definite form.
The banner word detection module is further used for: detect whether there is corresponding winding banner word in the received Frame; When detecting corresponding winding banner word; Send the setting control signal and select module to multichannel; When said winding banner word detect less than after, send the signal of removing controls and select module to multichannel;
Accordingly, multichannel selects module to be further used for: after receiving said setting control signal, the corresponding port that is connected with transmitting terminal is set to the external loopback pattern, and the Frame that is added with the winding banner word that receives is sent it back transmitting terminal; After receiving the said signal of removing controls, with the external loopback pattern cancellation of said port.
Said banner word detection module comprises winding testing result detection module and winding Mark Detection module, wherein,
Winding testing result detection module; Be used for after receiving the control signal that data processing module sends; In setting-up time, detect whether there is the winding banner word that self sends in the received Frame, and testing result is sent to data processing module or testing result output module;
Winding Mark Detection module; Be used for detecting received Frame and whether have corresponding winding banner word; When detecting corresponding winding banner word; Send to set control signal and select module to multichannel, when said winding banner word detect less than after, send the signal of removing controls and select module to multichannel.
Said winding Mark Detection module comprises up winding Mark Detection module and descending winding Mark Detection module, wherein,
Up winding Mark Detection module; Be used for detecting received uplink data frames and whether have up winding banner word; When detecting up winding banner word; Send to set control signal and select module to multichannel, when said winding banner word detect less than after, send the signal of removing controls and select module to multichannel;
Descending winding Mark Detection module; Be used for detecting received downlink data frame and whether have descending winding banner word; When detecting descending winding banner word; Send to set control signal and select module to multichannel, when said descending winding banner word detect less than after, send the signal of removing controls and select module to multichannel.
Said multichannel selects module to comprise up multichannel selection module and descending multichannel selection module, wherein,
Up multichannel is selected module, is used for the uplink data frames that is added with up winding banner word that receives is sent to the receiving terminal that is disposed; After also being used to receive the said setting control signal that the banner word detection module sends; The corresponding port that is connected with transmitting terminal is set to the external loopback pattern; The Frame that is added with the winding banner word that receives is sent it back transmitting terminal; After receiving the said signal of removing controls, with the external loopback pattern cancellation of said port;
Descending multichannel is selected module, be used to receive the downlink data frame that is added with descending winding banner word after, said downlink data frame is sent to the receiving terminal that is disposed; After also being used to receive the said setting control signal that the banner word detection module sends; The corresponding port that is connected with transmitting terminal is set to the external loopback pattern; The Frame that is added with the winding banner word that receives is sent it back transmitting terminal; After receiving the signal of removing controls, with the external loopback pattern cancellation of said port.
Said multichannel selects module to comprise up multichannel selection module and descending multichannel selection module, wherein,
Up multichannel is selected module, is used for the uplink data frames that is added with up winding banner word that receives is sent to the receiving terminal that is disposed; After also being used to receive the said setting control signal that winding Mark Detection module sends; The corresponding port that is connected with transmitting terminal is set to the external loopback pattern; The Frame that is added with the winding banner word that receives is sent it back transmitting terminal; After receiving the signal of removing controls, with the external loopback pattern cancellation of said port;
Descending multichannel is selected module, be used to receive the downlink data frame that is added with descending winding banner word after, said downlink data frame is sent to the receiving terminal that is disposed; After also being used to receive the said setting control signal that winding Mark Detection module sends; The corresponding port that is connected with transmitting terminal is set to the external loopback pattern; The Frame that is added with the winding banner word that receives is sent it back transmitting terminal; After receiving the signal of removing controls, with the external loopback pattern cancellation of said port.
Said multichannel selects module to comprise up multichannel selection module and descending multichannel selection module, wherein,
Up multichannel is selected module, is used for the uplink data frames that is added with up winding banner word that receives is sent to the receiving terminal that is disposed; After also being used to receive the said setting control signal that descending winding Mark Detection module sends; The corresponding port that is connected with transmitting terminal is set to the external loopback pattern; The Frame that is added with the winding banner word that receives is sent it back transmitting terminal; After receiving the signal of removing controls, with the external loopback pattern cancellation of said port;
Descending multichannel is selected module, be used to receive the downlink data frame that is added with descending winding banner word after, said downlink data frame is sent to the receiving terminal that is disposed; After also being used to receive the said setting control signal that up winding Mark Detection module sends; The corresponding port that is connected with transmitting terminal is set to the external loopback pattern; The Frame that is added with the winding banner word that receives is sent it back transmitting terminal; After receiving the signal of removing controls, with the external loopback pattern cancellation of said port.
Method and device that realization connectivity of link provided by the present invention detects; In Frame, add the winding banner word,, utilize equipment itself to send, receive the function of data in order to detect the connectedness of link; Equipment is not had special hardware requirement, saved the detection cost.
Transmitting terminal of the present invention adds corresponding winding banner word and sends to receiving terminal in Frame; Receiving terminal sends it back transmitting terminal with said Frame after detecting said winding banner word automatically; Transmitting terminal is through detecting whether there is the winding banner word that self adds in the Frame that receives in setting-up time; Can judge the connective situation of link, realization is simple, convenient, has saved the man power and material; And the Frame that is added with the winding banner word that receiving terminal sends only when uplink downlink normal connection simultaneously, just can return receiving terminal, and receiving terminal just can detect said winding banner word, therefore, detects when having realized up link and down link.
Description of drawings
Fig. 1 is the chain-type topological structure sketch map of communication system network;
Fig. 2 realizes the method flow sketch map that connectivity of link detects between REC and the RE0;
Fig. 3 realizes the method flow sketch map that connectivity of link detects between RE0 and the REC;
Fig. 4 is for realizing the REC structural representation of method for detecting connectivity according to the invention;
Fig. 5 is for realizing the RE structural representation of method for detecting connectivity according to the invention.
Embodiment
Basic thought of the present invention is: when carrying out detection of connectivity, the Frame that transmitting terminal will be added with the winding banner word sends to receiving terminal, simultaneously, in setting-up time, detects whether there is the winding banner word that self adds in the Frame that receives; When link normally is communicated with; Receiving terminal receives and detects immediately said Frame; And said Frame beamed back transmitting terminal; And transmitting terminal is with in setting-up time, detecting the winding banner word that self adds, if link is unusual, transmitting terminal is with detecting the winding banner word that adds less than self in setting-up time.
Below be described with reference to the accompanying drawings the realization that connectivity of link among the present invention detects through specific embodiment.
Fig. 2 is a method flow sketch map of realizing the connectivity of link detection between REC and the RE0, comprises the two-part handling process of REC and RE0, and wherein, REC is a transmitting terminal, and the handling process of REC comprises step 201~203; RE0 is a receiving terminal, and the handling process of RE0 comprises step 211 and step 212.Concrete, the handling process of transmitting terminal REC is:
Step 201: dispose the receiving terminal that carries out detection of connectivity at transmitting terminal, transmitting terminal is filled into the banner word position in some Frames with corresponding winding banner word, and the Frame with said some sends to receiving terminal continuously afterwards.
Configuration REC is the transmitting terminal of detection of connectivity, and RE0 is the receiving terminal of detection of connectivity, and the downlink data frame that REC will be added with the some of descending winding banner word sends to RE0 through down link continuously.
Wherein, Said configuration is accomplished by the personnel that detect, and in the practical application of this method, can realize said configuration through the mode that configuration interface is provided for the testing staff; Be limited to the implementation that configuration interface is provided but have more than, can also use other can realize the method for said configuration.
Wherein, according to the sending direction of Frame, can be divided into uplink data frames and downlink data frame, corresponding winding banner word is divided into up winding banner word and descending winding banner word.In practical application, can stipulate different up winding banner words and descending winding banner word, distinguishing, such as: stipulate that up winding banner word is 0xC0, descending winding banner word is 0xCF, and during non-detection status, the banner word in the Frame is 0x00.Wherein, the corresponding winding banner word of said interpolation is: in uplink data frames, add up winding banner word, be used for transmitting terminal and carry out reverse detection of connectivity; In downlink data frame, add descending winding banner word, be used for transmitting terminal and carry out the forward detection of connectivity.
Wherein, reverse detection of connectivity be by the RE of subordinate as transmitting terminal, its higher level's RE or REC are as the detection of connectivity of receiving terminal, hereafter is an inverse detection; The forward detection of connectivity be by higher level's RE or REC as transmitting terminal, the RE of subordinate of transmitting terminal is as the detection of connectivity of receiving terminal, hereafter is that forward detects.
Wherein, the Frame of said some is at least two Frames.
Step 202: when sending first Frame that has the winding banner word, transmitting terminal starts timing device, and begins to detect the Frame that has the winding banner word that whether exists self to send in the Frame that receives.
When first has the Frame of descending winding banner word in transmission, start timing device, and begin to detect whether have the Frame that has descending winding banner word in the uplink data frames that receives.
Wherein, said timing device can be timer, is used to set the duration that transmitting terminal detects the winding banner word of self setting.When timer in set time, when transmitting terminal failed in the Frame that receives, to detect the set winding banner word of transmitting terminal, transmitting terminal was judged in the uplink downlink with receiving terminal and is had fault.Here, can go out the return time of Frame, on the basis of estimated time, suitably increase certain hour afterwards, generally can unify to be set to 1s as the time that timing device is set according to the actual transmissions distance estimations.
If transmitting terminal normally is communicated with the uplink downlink of receiving terminal, then in the timer setting-up time, transmitting terminal will detect the winding banner word that self sends in the Frame that receives; If there is certain fault in the uplink downlink of transmitting terminal and receiving terminal, then in the timer setting-up time, transmitting terminal can not detect the Frame that has the winding banner word that self sends.
In the present embodiment, if REC can detect the Frame that has descending winding banner word in setting-up time, explain that then REC all normally is communicated with uplink downlink between the RE0; If REC fails in setting-up time, to detect the Frame that has descending winding banner word, then explain in the uplink downlink between REC and the RE0 to have fault, can not normally be communicated with.
Said detection changes as the case may be to some extent, and for example in the present embodiment, the detection between REC and the RE0 is that forward detects, and then transmitting terminal REC need detect whether there is descending winding banner word in the uplink data frames that receives when detecting; If be made as the inverse detection between RE0 and the REC, then transmitting terminal RE0 adds up winding banner word in the uplink data frames that needs to send, and therefore, this moment, transmitting terminal RE0 need detect whether there is up winding banner word in the downlink data frame that receives.
Wherein, specifically how to realize belonging to known technology, repeat no more here for the detection of winding banner word in the Frame that receives.
Step 203: the testing result that obtains in the step 202 is outwards exported.
Said testing result is divided into and detects the winding banner word and do not detect the winding banner word, no matter be any testing result, transmitting terminal is all outwards exported through a definite form.The concrete outwards said testing result of output of which kind of form of using can be set according to practical situations, for example, can be through the printing of software control platform, the indication of LED lamp etc., certainly, different detection result will adopt different method for expressing, repeat no more here.
After the said testing result output, the testing staff can confirm the connectivity of link situation of transmitting terminal and receiving terminal through testing result.
Wherein, step 203 is an optional step.
Below introduce the handling process of receiving terminal RE0, wherein, suppose that transmitting terminal REC normally is communicated with uplink downlink between the receiving terminal RE0, at this moment, this handling process comprises:
Step 211: receiving terminal detects in the Frame that receives whether have corresponding winding banner word; If transmitting terminal all normally is communicated with the uplink downlink of receiving terminal; Then receiving terminal receives and detects immediately the said Frame that is added with the winding banner word; Afterwards, the port that is connected with transmitting terminal of receiving terminal is set to the external loopback pattern.The Frame that said external loopback pattern is used for receiving terminal is received is complete sends it back transmitting terminal.
Wherein, the external loopback pattern of receiving terminal lasts till that always receiving terminal detects less than till the winding banner word in the Frame of its reception.
Said RE0 receives and detects received Frame; If REC normally is communicated with down link between the RE0; Then RE0 receives and detects immediately and is added with descending winding banner word in the said downlink data frame, and afterwards, the port that RE0 is connected with REC is set to the external loopback pattern.
Here; No matter be REC or RE; In its work, all detect in self received Frame always and whether have corresponding winding banner word; Be specially and detect in the uplink data frames that receives whether have up winding banner word, whether have descending winding banner word in the downlink data frame that receives.Therefore, have corresponding winding banner word in the Frame that is received, explain that then the pairing transmitting terminal of received Frame is carrying out detection of connectivity, and the REC or the RE that detect the winding banner word are the receiving terminal of detection of connectivity in case detect.
Step 212: the complete transmitting terminal that sends it back of the Frame that is added with the winding banner word that receiving terminal will receive.
Wherein, the downlink data frame that is added with descending winding banner word that RE0 receives is will be through the up link between REC and the RE0 complete returns REC.
Thereby when transmitting terminal normally is communicated with the uplink downlink of receiving terminal, transmitting terminal can detect in setting-up time and have the winding banner word of self setting in the Frame that receives.
Realize between described REC of above-mentioned Fig. 2 and the RE0 that the method flow that connectivity of link detects is not limited in the connectivity of link detection between REC and the RE0; It can be expanded; Promptly can be with REn and RE (n+1) respectively as transmitting terminal and receiving terminal, wherein n >=0, and n is an integer.
The described REC of above-mentioned Fig. 2 is a transmitting terminal, and RE0 is that the detection of connectivity of receiving terminal belongs to forward and detects, and the method for the invention is equally applicable to inverse detection, promptly respectively with REn and RE (n-1) as transmitting terminal and receiving terminal, wherein n >=1, and n is an integer.In addition, also applicable to RE0 as transmitting terminal, REC is as the inverse detection of receiving terminal.
Fig. 3 realizes the method flow sketch map that connectivity of link detects between RE0 and the REC, as shown in Figure 3, this method is similar with the said method of Fig. 2; Its difference is: transmitting terminal is RE0, and receiving terminal is REC, and the winding banner word that the RE0 end is added is up winding banner word; Accordingly; RE0 needs to detect in the downlink data frame whether have up winding banner word in testing process, the said method of other processing and Fig. 2 is similar, repeats no more here.
Fig. 4 is for realizing the REC structural representation of method for detecting connectivity according to the invention, and is as shown in Figure 4, and REC comprises configuration module 410, data processing module 420, multichannel selection module 430, banner word detection module 440 and testing result output module 450, wherein,
Configuration module 410 is used to dispose the receiving terminal of detection of connectivity, and said configuration information is sent to data processing module 420 and multichannel is selected module 430.
Data processing module 420; Be used for adding the Frame of corresponding winding banner word to some according to the said configuration information that receives; And the Frame that will be added with the winding banner word sends to multichannel selection module 430; And when transmission first frame is added with the Frame of winding banner word, transmit control signal to banner word detection module 440.
When REC shown in Fig. 4 did not carry out detection of connectivity, the Frame that data processing module 420 directly will send sent to multichannel and selects module 430.Banner word when the banner word position in the said Frame is non-detection status, the 0x00 that for example gives an example in the step 201.
Wherein, owing to the transmitting terminal of REC as detection of connectivity, at this moment, receiving terminal one is decided to be RE0, so the corresponding winding banner word of said interpolation must be in downlink data frame, to add descending winding banner word.
Multichannel is selected module 430, is used for after receiving the said Frame that is added with the winding banner word, said Frame being sent to the receiving terminal that is disposed.
Wherein, said control signal is used for controlled flag word detection module and starts timing device, and the detection of the winding banner word that in setting-up time, carries out self adding.
Multichannel is selected module 430; After also being used to receive the setting control signal that banner word detection module 440 sends; The port that is connected with transmitting terminal is set to the external loopback pattern; Thereby the Frame that is added with up winding banner word that will receive sends it back transmitting terminal through down link, or after being used to receive the signal of removing controls that banner word detection module 440 sends, the external loopback pattern of cancellation port.At this moment, REC is as the receiving terminal of detection of connectivity.
When the REC shown in Fig. 4 did not carry out detection of connectivity, multichannel selected module 430 that data processing module 420 data sent frames are sent to corresponding receiving terminal.At this moment, the port that is connected with transmitting terminal is in the state of external loopback pattern cancellation.Same, when multichannel selected module 430 transmissions to be added with the Frame of winding banner word, the port that REC is connected with transmitting terminal was in the state of external loopback pattern cancellation.
Banner word detection module 440; When being used to receive the control signal that data processing module 420 sends, start timing device, in setting-up time, detect in the Frame that receives; Whether there is the winding banner word that self adds; And said testing result sent to testing result output module 450, when banner word detection module 440 was accomplished above-mentioned functions, REC was as transmitting terminal.At this moment, banner word detection module 440 is specially and detects in the uplink data frames that receives whether have descending winding banner word.
Banner word detection module 440 also is used for detecting received Frame and whether is added with corresponding winding banner word, if detect said winding banner word, then transmits control signal and selects module 430 to multichannel.If after send setting control signal, in testing process, in the time of no longer detecting said winding banner word, send the signal of removing controls and select module 430 to multichannel.
Wherein, because REC can only receive uplink data frames through up link, therefore, the corresponding winding banner word of the detection here is: detect in the uplink data frames that receives whether have up winding banner word.When detecting up winding banner word, explain that RE0 is carrying out reverse detection of connectivity, REC is a receiving terminal.Wherein, Said setting control signal is used to control the port that multichannel selects module 430 to be connected with transmitting terminal and is set to the external loopback pattern; Thereby the Frame that is added with up winding banner word that will receive sends it back transmitting terminal through down link, and the said signal of removing controls is used to control multichannel and selects the external loopback pattern cancellation of module 430 with set port.
Wherein, timing device can be realized by timer.
Above-mentioned banner word detection module 440 also can be realized by two modules, is respectively up winding Mark Detection module and winding testing result detection module, wherein,
Winding testing result detection module; When being used to receive the control signal that data processing module 420 sends; Start timing device; In setting-up time, detect in the Frame that receives, whether have the winding banner word of self setting, and said testing result is sent to testing result output module 450.
Up winding Mark Detection module; Be used for detecting through the received Frame of up link whether be added with corresponding winding banner word,, then send and set control signal to multichannel selection module 430 if detect corresponding winding banner word; If after sending the setting control signal; In testing process, in the time of no longer detecting corresponding winding banner word, send the signal of removing controls and select module 430 to multichannel.
Testing result output module 450 is used for the said testing result that receives is outwards exported with a definite form.
A said definite form can be for through the printing of software control platform, the indication of LED lamp etc., and certainly, different detection result will adopt different method for expressing, repeat no more here.
Wherein, Testing result output module 450 also can be integrated in the data processing module 420; At this moment; Banner word detection module 440 or winding testing result detection module send to data processing module 420 with testing result, receive said testing result by data processing module 420, and said testing result is outwards exported with a definite form.
Wherein, in above-mentioned module, testing result output module 450 is optional module.
Fig. 5 is for realizing the RE structural representation of method for detecting connectivity according to the invention, and this RE both can be used as transmitting terminal, also can be used as receiving terminal, both can carry out forward and detect, and also can carry out inverse detection.As shown in Figure 5, this RE comprises configuration module 510, data processing module 520, multichannel selection module 530, banner word detection module 540 and testing result output module 550, wherein,
Configuration module 510 is identical with configuration module 410 functions and annexation among the REC shown in Fig. 4.
Data processing module 520; Be used for adding the Frame of corresponding winding banner word to some according to the said configuration information that receives; And the Frame that will be added with the winding banner word sends to multichannel selection module 530; And when transmission first frame is added with the Frame of winding banner word, transmit control signal to banner word detection module 540.
When RE shown in Fig. 5 did not carry out detection of connectivity, the Frame that data processing module 520 directly will send sent to multichannel and selects module 530.Banner word when the banner word position in the said Frame is non-detection status, the 0x00 that for example gives an example in the step 201.
When RE carried out the forward detection, the corresponding winding banner word of said interpolation was: in the downlink data frame that need send, add descending winding banner word; When RE carried out inverse detection, the corresponding winding banner word of said interpolation was: in the uplink data frames that need send, add up winding banner word.
Multichannel is selected module 530; Similar with multichannel selection module 430 functions and annexation among the REC shown in Fig. 4; Difference is: multichannel selects 430 of modules to need to accomplish the downlink data frame relevant treatment, and multichannel selects module 530 then also need accomplish the relevant treatment of uplink data frames.
Therefore; Multichannel selects module 530 to be realized by two modules; Be respectively up multichannel and select module and descending multichannel to select module, as RE during as transmitting terminal, two functions that module realized are basic identical with multichannel selection module 530; Difference is that up multichannel selection module is used to carry out the operation of up related data, and descending multichannel selects module to be used to carry out the operation of descending related data.As RE during as receiving terminal; Up multichannel selects module to be used for when banner word detection module 540 detects the downlink data frame that transmits through down link and has descending winding banner word; The port that is connected with transmitting terminal is set to the external loopback pattern; Thereby the downlink data frame that is added with descending winding banner word that will receive sends it back transmitting terminal through up link, and at this moment, RE carries out the receiving terminal that forward detects as its upper level RE (its higher level is REC when RE is RE0); Descending multichannel selects module to be used for when banner word detection module 540 detects the uplink data frames that transmits through up link and has up winding banner word; The port that is connected with transmitting terminal is set to the external loopback pattern; Thereby the Frame that is added with up winding banner word that will receive sends it back transmitting terminal through down link; At this moment, RE carries out the receiving terminal of inverse detection as its next stage RE.
When the RE shown in Fig. 5 did not carry out detection of connectivity, multichannel selected module 530 that data processing module 520 data sent frames are sent to corresponding receiving terminal.At this moment, the port that is connected with transmitting terminal is in the state of external loopback pattern cancellation.Same, when multichannel selected module 530 transmissions to be added with the Frame of winding banner word, the port that REC is connected with transmitting terminal was in the state of external loopback pattern cancellation.
Banner word detection module 540; Similar with the function and the annexation of banner word detection module 440 among the REC shown in Fig. 4; Its difference is: the transmitting terminal that REC can only detect as forward, so 440 of banner word detection modules need to detect in the received uplink data frames whether have descending winding banner word, and RE both can be used as the transmitting terminal that forward detects; Also can be used as the transmitting terminal of inverse detection; Therefore, when transmitting terminal that RE detects as forward, banner word detection module 540 detects in the uplink data frames that receives whether have descending winding banner word; And as RE during as the transmitting terminal of inverse detection, banner word detection module 540 detects in the downlink data frame that receives whether have up winding banner word.Same; REC is not during as transmitting terminal; 440 of banner word detection modules need to detect in the uplink data frames that receives whether have up winding banner word; And RE is during as transmitting terminal, and banner word detection module 540 also need detect whether there is descending winding banner word in the downlink data frame that receives.
Wherein, timing device can be realized by timer.
Wherein, banner word detection module 540 can be realized by two modules, is respectively winding Mark Detection module and winding testing result detection module, wherein,
Winding testing result detection module; When being used to receive the control signal that data processing module 520 sends, start timing device, detect in the Frame that receives; Whether there is the winding banner word that self adds, and said testing result is sent to testing result output module 550.Its essence is: when this RE and the RE of subordinate carry out the forward detection of connectivity, in the uplink data frames that receives, detect whether there is descending winding banner word; When this RE and higher level RE carry out reverse detection of connectivity, in the downlink data frame that receives, detect whether there is up winding banner word.
Wherein, Winding testing result detection module can realize that difference is through two identical modules of function physically; A winding testing result detection module is used for when RE carries out the forward detection; Whether detection exists descending winding banner word in the uplink data frames that receives, and another winding testing result detection module is used for when RE carries out inverse detection, detects in the downlink data frame that receives, whether to have up winding banner word.
Winding Mark Detection module; Be used for detecting received Frame and whether be added with corresponding winding banner word,, then send and set control signal to multichannel selection module 530 if detect corresponding winding banner word; If after sending the setting control signal; In testing process, in the time of no longer detecting said winding banner word, send the signal of removing controls and select module 530 to multichannel.
Wherein, the setting control signal is identical with aforesaid corresponding control signal function with the signal of removing controls.The essence that winding Mark Detection module detects is: detect whether be added with up winding banner word in the uplink data frames that receives, and in the downlink data frame that receives, detect whether be added with descending winding banner word.If detect and be added with up winding banner word in the uplink data frames; The RE of subordinate that this RE then is described carries out reverse detection of connectivity with this RE, and this RE is a receiving terminal, then sends and sets control signal to multichannel selection module 530; The port that is connected with the RE of subordinate is set to the external loopback pattern; Until when in uplink data frames, detecting, send the signal of removing controls and select module 530, cancel set external loopback pattern to multichannel less than up winding banner word.Same, when detecting descending winding banner word in the downlink data frame that is receiving, explain that the higher level RE of this RE carries out the forward detection of connectivity with this RE, this RE is a receiving terminal, its processing method is similar with said method, repeats no more here.
Wherein winding Mark Detection module also can realize through two modules; Be respectively up winding detection module and descending winding detection module; Wherein, up winding detection module is used for detecting the uplink data frames that receives and whether is added with up winding banner word, and carries out handled; Descending winding detection module is used for detecting the downlink data frame that receives and whether is added with descending winding banner word, and carries out handled.Processing procedure wherein is identical with above-mentioned winding Mark Detection module, repeats no more here.
In Fig. 5, only provided the annexation when banner word detection module 540 is realized with the mode of a module; And the annexation when realizing with the mode of four modules; In practical application; The implementation of banner word detection module 540 is a lot, for example can be divided into winding testing result detection module, up winding Mark Detection module and three parts of descending winding Mark Detection module, perhaps is divided into winding testing result detection module, two parts of winding Mark Detection module; Perhaps be divided into two winding testing result detection modules and three parts of winding Mark Detection module or the like, its annexation is according to circumstances done adaptability revision.
Testing result output module 550, function and annexation are identical with testing result output module 450 among Fig. 4.Simultaneously, testing result output module 550 also can be integrated in the data processing module 520.
In above-mentioned module, testing result output module 550 is optional module.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.

Claims (15)

1. method that realizes that connectivity of link detects is characterized in that the processing of transmitting terminal comprises:
A, transmitting terminal send the Frame that some is added with corresponding winding banner word to the receiving terminal of configuration;
B, transmitting terminal detect in the Frame that receives whether have the winding banner word that self adds when sending said Frame,
The processing of receiving terminal comprises:
Receiving terminal detects in the Frame that receives whether have corresponding winding banner word; When detecting the said Frame that is added with the winding banner word; With the said complete transmitting terminal that sends it back of Frame that is added with the winding banner word; And after detecting the Frame that is added with said winding banner word at receiving terminal, the port that receiving terminal self is connected with transmitting terminal is set to the external loopback pattern.
2. the method that realization connectivity of link according to claim 1 detects is characterized in that this method further comprises:
Transmitting terminal is outwards exported the testing result that detection obtains with a definite form.
3. the method that realization connectivity of link according to claim 1 and 2 detects is characterized in that step B further comprises:
Transmitting terminal starts timing device when sending first and be added with the Frame of winding banner word;
Accordingly, said detection is: in the time that timing device sets, detect.
4. the method that realization connectivity of link according to claim 1 and 2 detects is characterized in that the said detection of step B is specially:
When transmitting terminal carries out the forward detection of connectivity, detect whether there is descending winding banner word in the received uplink data frames;
When transmitting terminal carries out reverse detection of connectivity, detect whether there is up winding banner word in the received downlink data frame.
5. the method that realization connectivity of link according to claim 1 and 2 detects is characterized in that, said receiving terminal detects and is specially:
Detect whether there is up winding banner word in the received uplink data frames, or whether have descending winding banner word in the received downlink data frame.
6. the method that realization connectivity of link according to claim 1 and 2 detects is characterized in that,
Said transmitting terminal is remote equipment controller REC, and said receiving terminal is remote equipment RE; Perhaps,
Said transmitting terminal is RE, and said receiving terminal is REC or RE.
7. the method that realization connectivity of link according to claim 3 detects is characterized in that said timing device is a timer.
8. a device of realizing that connectivity of link detects is characterized in that, this device comprises configuration module, data processing module, multichannel selection module and banner word detection module, wherein,
Configuration module is used to dispose the receiving terminal of detection of connectivity, and configuration information is sent to data processing module and multichannel is selected module;
Data processing module; Be used for according to the banner word position of the corresponding interpolation winding of the said configuration information banner word that receives to some Frames; The said Frame that is added with the winding banner word is sent to multichannel select module; And when transmission first frame is added with the Frame of winding banner word, transmit control signal to the banner word detection module;
Multichannel is selected module, be used to receive the said Frame that is added with the winding banner word after, said Frame is sent to the receiving terminal that is disposed;
The banner word detection module is used for after receiving the control signal that data processing module sends, and in setting-up time, detects whether there is the winding banner word that self sends in the received Frame,
The banner word detection module is further used for: detect whether there is corresponding winding banner word in the received Frame; When detecting corresponding winding banner word; Send the setting control signal and select module to multichannel; When said winding banner word detect less than after, send the signal of removing controls and select module to multichannel;
Accordingly, multichannel selects module to be further used for: after receiving said setting control signal, the corresponding port that is connected with transmitting terminal is set to the external loopback pattern, and the Frame that is added with the winding banner word that receives is sent it back transmitting terminal; After receiving the said signal of removing controls, with the external loopback pattern cancellation of said port.
9. the device that realization connectivity of link according to claim 8 detects is characterized in that,
The banner word detection module is further used for: testing result is sent to data processing module;
Accordingly, data processing module is further used for: the said testing result that will receive is outwards exported with a definite form.
10. the device that realization connectivity of link according to claim 9 detects is characterized in that data processing module further comprises:
The testing result output module is used to receive said testing result, and said testing result is outwards exported with a definite form.
11. the device that realization connectivity of link according to claim 8 detects is characterized in that said banner word detection module comprises winding testing result detection module and winding Mark Detection module, wherein,
Winding testing result detection module; Be used for after receiving the control signal that data processing module sends; In setting-up time, detect whether there is the winding banner word that self sends in the received Frame, and testing result is sent to data processing module or testing result output module;
Winding Mark Detection module; Be used for detecting received Frame and whether have corresponding winding banner word; When detecting corresponding winding banner word; Send to set control signal and select module to multichannel, when said winding banner word detect less than after, send the signal of removing controls and select module to multichannel.
12. the device that realization connectivity of link according to claim 11 detects is characterized in that said winding Mark Detection module comprises up winding Mark Detection module and descending winding Mark Detection module, wherein,
Up winding Mark Detection module; Be used for detecting received uplink data frames and whether have up winding banner word; When detecting up winding banner word; Send to set control signal and select module to multichannel, when said winding banner word detect less than after, send the signal of removing controls and select module to multichannel;
Descending winding Mark Detection module; Be used for detecting received downlink data frame and whether have descending winding banner word; When detecting descending winding banner word, send and establish control signal and select module to multichannel; When said descending winding banner word detect less than after, send the signal of removing controls and select module to multichannel.
13. the device that realization connectivity of link according to claim 8 detects is characterized in that, said multichannel selects module to comprise up multichannel selection module and descending multichannel selection module, wherein,
Up multichannel is selected module, is used for the uplink data frames that is added with up winding banner word that receives is sent to the receiving terminal that is disposed; After also being used to receive the said setting control signal that the banner word detection module sends; The corresponding port that is connected with transmitting terminal is set to the external loopback pattern; The Frame that is added with the winding banner word that receives is sent it back transmitting terminal; After receiving the said signal of removing controls, with the external loopback pattern cancellation of said port;
Descending multichannel is selected module, be used to receive the downlink data frame that is added with descending winding banner word after, said downlink data frame is sent to the receiving terminal that is disposed; After also being used to receive the said setting control signal that the banner word detection module sends; The corresponding port that is connected with transmitting terminal is set to the external loopback pattern; The Frame that is added with the winding banner word that receives is sent it back transmitting terminal; After receiving the signal of removing controls, with the external loopback pattern cancellation of said port.
14. the device that realization connectivity of link according to claim 11 detects is characterized in that, said multichannel selects module to comprise up multichannel selection module and descending multichannel selection module, wherein,
Up multichannel is selected module, is used for the uplink data frames that is added with up winding banner word that receives is sent to the receiving terminal that is disposed; After also being used to receive the said setting control signal that winding Mark Detection module sends; The corresponding port that is connected with transmitting terminal is set to the external loopback pattern; The Frame that is added with the winding banner word that receives is sent it back transmitting terminal; After receiving the signal of removing controls, with the external loopback pattern cancellation of said port;
Descending multichannel is selected module, be used to receive the downlink data frame that is added with descending winding banner word after, said downlink data frame is sent to the receiving terminal that is disposed; After also being used to receive the said setting control signal that winding Mark Detection module sends; The corresponding port that is connected with transmitting terminal is set to the external loopback pattern; The Frame that is added with the winding banner word that receives is sent it back transmitting terminal; After receiving the signal of removing controls, with the external loopback pattern cancellation of said port.
15. the device that realization connectivity of link according to claim 12 detects is characterized in that, said multichannel selects module to comprise up multichannel selection module and descending multichannel selection module, wherein,
Up multichannel is selected module, is used for the uplink data frames that is added with up winding banner word that receives is sent to the receiving terminal that is disposed; After also being used to receive the said setting control signal that descending winding Mark Detection module sends; The corresponding port that is connected with transmitting terminal is set to the external loopback pattern; The Frame that is added with the winding banner word that receives is sent it back transmitting terminal; After receiving the signal of removing controls, with the external loopback pattern cancellation of said port;
Descending multichannel is selected module, be used to receive the downlink data frame that is added with descending winding banner word after, said downlink data frame is sent to the receiving terminal that is disposed; After also being used to receive the said setting control signal that up winding Mark Detection module sends; The corresponding port that is connected with transmitting terminal is set to the external loopback pattern; The Frame that is added with the winding banner word that receives is sent it back transmitting terminal; After receiving the signal of removing controls, with the external loopback pattern cancellation of said port.
CN2007101778547A 2007-11-21 2007-11-21 Method and apparatus for implementing link connectivity detection Active CN101442765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101778547A CN101442765B (en) 2007-11-21 2007-11-21 Method and apparatus for implementing link connectivity detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101778547A CN101442765B (en) 2007-11-21 2007-11-21 Method and apparatus for implementing link connectivity detection

Publications (2)

Publication Number Publication Date
CN101442765A CN101442765A (en) 2009-05-27
CN101442765B true CN101442765B (en) 2012-02-29

Family

ID=40726973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101778547A Active CN101442765B (en) 2007-11-21 2007-11-21 Method and apparatus for implementing link connectivity detection

Country Status (1)

Country Link
CN (1) CN101442765B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721269B (en) * 2014-12-05 2020-02-14 中兴通讯股份有限公司 Ethernet ring network protection method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1283350A (en) * 1998-09-28 2001-02-07 株式会社东芝 Method and system for detecting failure of railway network
CN1859221A (en) * 2005-08-04 2006-11-08 上海华为技术有限公司 Method for detecting E1/T1 connection error

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1283350A (en) * 1998-09-28 2001-02-07 株式会社东芝 Method and system for detecting failure of railway network
CN1859221A (en) * 2005-08-04 2006-11-08 上海华为技术有限公司 Method for detecting E1/T1 connection error

Also Published As

Publication number Publication date
CN101442765A (en) 2009-05-27

Similar Documents

Publication Publication Date Title
CN101588588B (en) Radio base station system, control apparatus, and radio apparatus
CN103312411A (en) Method and device for detecting fault of optical fiber link
CN100450249C (en) Near-end maintenance radio frequency remote module method
FI97669C (en) A method of monitoring a subscriber device function as well as a subscriber network element
KR101185971B1 (en) Communication system, test device, communication device, communication method, and test method
CN104137454A (en) Wireless communication system and radio frequency device
CN102457884B (en) Wireless network test system, method and device
JP4761941B2 (en) PON system and test method thereof
CN101902769B (en) Single board wireless debugging method and device
CN106160852A (en) The network system of a kind of transmission equipment and remote upgrade method thereof
CN102067524B (en) Communication apparatus at subscriber home
CN101442765B (en) Method and apparatus for implementing link connectivity detection
CN1885750B (en) Far-end RF module and its method for transmitting signal
CN103780302B (en) Control link changing method, device and RRU device in two fine transmission system
CN101989932B (en) RS485-based automatic error detection method
US20100209116A1 (en) Optical transmission system, optical end terminal equipment, and optical repeater equipment
CN101902764A (en) SIM/UIM card-free wireless signal testing device
CN102347798B (en) Optical signal transmission method, equipment and transmission systemof optical signal
CN1140083C (en) Passive light network transmission system and its delay control method
CN108667536A (en) A kind of test method and device for analog signal communication system
CN102811138A (en) Method and device for detecting information of remote equipment
JP2008109177A (en) Onu loop-back testing method in epon system, and onu with loop-back testing function
EP2833592B1 (en) Communication system, transmission device, circuit control device, circuit condition monitoring method and non-temporary computer-readable medium storing a program
CN101826918B (en) Test method, unit, system, single plate and backing plate of optical transport network electric crossing unit
CN104852764A (en) System and method for detecting ONT abnormal luminescence with OLT in PON 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