CN104427544B - Detect router between whether direct-connected method and router - Google Patents
Detect router between whether direct-connected method and router Download PDFInfo
- Publication number
- CN104427544B CN104427544B CN201310410738.0A CN201310410738A CN104427544B CN 104427544 B CN104427544 B CN 104427544B CN 201310410738 A CN201310410738 A CN 201310410738A CN 104427544 B CN104427544 B CN 104427544B
- Authority
- CN
- China
- Prior art keywords
- code stream
- detection
- router
- receiving end
- detection code
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000001514 detection method Methods 0.000 claims abstract description 305
- 230000004044 response Effects 0.000 claims description 94
- 230000003287 optical effect Effects 0.000 claims description 15
- 238000000605 extraction Methods 0.000 claims description 3
- 230000005611 electricity Effects 0.000 claims 1
- 238000004891 communication Methods 0.000 abstract description 16
- 239000000284 extract Substances 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 10
- 238000007689 inspection Methods 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012360 testing method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000005389 magnetism Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses between a kind of detection router whether direct-connected method and router, be related to the communications field.The described method includes: receiving end router receives transmitting terminal router transmitted stream, the transmitting terminal router transmitted stream includes detection code stream;Receiving end router extracts the first numerical value from the first predetermined position of the code stream received, the detection identifier of first numerical value and detection code stream is compared, whether the code stream received according to comparing result judgement is detection code stream, if so, judging direct-connected between transmitting terminal router and receiving end router;Otherwise, judge to be provided with third network element device between receiving end router and transmitting terminal router;Wherein, when being provided with third network element device between receiving end router and transmitting terminal router, detection code stream is abandoned by third network element device.The present invention improve detection two routers between whether the accuracy of direct-connected method.
Description
Technical field
The present invention relates between field of communication technology more particularly to a kind of detection router whether direct-connected method and routing
Device.
Background technique
Currently, with the deployment and development of the communication services such as 3G and LTE, IPRAN(Internet Protocol Radio
Access Network, Internet protocol wireless access network) network built extensively.It is frequently utilized that when IPRAN network construction old
Communication equipment, such as interchanger.Equipment in IPRAN network generally passes through U2000 network management and manages, and U2000 passes through LLDP
(Link Layer Discovery Protocol, Link Layer Discovery Protocol) message discovery topology, but due to microwave, wavelength-division,
The equipment transparent transmission LLDP message such as interchanger, therefore U2000 can not have found between two routers with the presence or absence of microwave, wavelength-division, friendship
It the equipment such as changes planes.In addition, router in double layer network also can transparent transmission LLDP message, therefore can not also be sent out by U2000 network management
It is existing.When IPRAN network breaks down, such as packet loss, the problems such as clock is asynchronous, it generally requires between two routers of detection
It is whether direct-connected, and then carry out fault location.But since U2000 network management can not find the equipment component in IPRAN network, this
Just difficulty is brought to fault location.
The method of facility information on existing collection failure path is lower station prospecting or believes by the equipment that client provides
Breath.Lower station prospecting is namely manually reconnoitred by testing staff to scene along communication line, and then detects two routers
Between it is whether direct-connected.By the facility information that client provides, generally refer to reconstruct to obtain when IPRAN network is based on old communication network
When, two routings can be detected according to the facility information of the old communication network of the user logging as old communication network provider
It is whether direct-connected between device.
Lower station is reconnoitred, manually lower station is needed, takes a long time, and since communication line is generally apart from remote, prospecting
Result precision is lower;The facility information provided for client is many times also not accurate enough.Therefore, two roads of existing detection
By between device, whether direct-connected method accuracy is low.
Summary of the invention
In order to solve the above-mentioned technical problem, the embodiment of the present invention provide between a kind of detection router whether direct-connected method
And router, with improve detection two routers between whether the accuracy of direct-connected method.Specific technical solution is as follows:
In a first aspect, provide between a kind of detection router whether direct-connected method, which comprises
Receive transmitting terminal router transmitted stream;
Judge whether the code stream received is detection code stream;
If the code stream received is detection code stream, it is determined that direct-connected with the transmitting terminal router.
With reference to first aspect, in the first possible implementation of the first aspect, the code stream for judging to receive
It whether is detection code stream, comprising:
The first numerical value is extracted from the first predetermined position of the code stream received;
The detection identifier of first numerical value and the pre-stored detection code stream is compared, according to comparing result
Judge whether the code stream received is detection code stream.
With reference to first aspect, in the second possible implementation of the first aspect, if the code stream received is inspection
Code stream is surveyed, the frame format of the detection code stream modifies to obtain by the frame format to auto-negotiation information coding, and the inspection
The detection identifier for surveying code stream corresponds to the reserved bit of the auto-negotiation information coding.
With reference to first aspect, in a third possible implementation of the first aspect, the code stream for judging to receive
Before whether being detection code stream, further includes:
Second value is extracted from the second predetermined position of the code stream received;
Judge whether the second value is identical as the detection verifying password of the pre-stored detection code stream, if phase
Together, execute whether the code stream that the judgement receives is the step of detecting code stream;
Otherwise, the code stream received is abandoned.
The third possible implementation with reference to first aspect, in the 4th kind of possible implementation of first aspect
In, if the code stream received is detection code stream, the frame format of the detection code stream passes through the frame lattice to auto-negotiation information coding
Formula modifies to obtain, and the detection verifying password of the detection code stream corresponds to the reserved bit of the auto-negotiation information coding.
With reference to first aspect, in the fifth possible implementation of the first aspect, the determination and the transmitting terminal
After router is direct-connected, further includes:
The corresponding response code stream of the detection code stream is sent to the transmitting terminal router.
The 5th kind of possible implementation with reference to first aspect, in the 6th kind of possible implementation of first aspect
In, the frame format of the response code stream modifies to obtain by the frame format to auto-negotiation information coding, and the answer code
Stream includes response identifier, and the response identifier corresponds to the reserved bit of the auto-negotiation information coding.
Second aspect, provide between a kind of detection router whether direct-connected method, which comprises
Detection code stream is sent to receiving end router;
Judge whether to receive the correspondence response code stream for detecting code stream that the receiving end router returns;
If receiving the response code stream for the correspondence detection code stream that the receiving end router returns, it is determined that with institute
It is direct-connected to state receiving end router;
Wherein, the response code stream is fed back after the receiving end router receives the detection code stream.
It is in the first possible implementation of the second aspect, described to judge whether to receive institute in conjunction with second aspect
After the response code stream of the correspondence detection code stream for stating the return of receiving end router, further includes:
If not receiving the response code stream for the correspondence detection code stream that the receiving end router returns, it is determined that with
Third network element device is provided between the receiving end router, the detection code stream is abandoned by the third network element device.
In conjunction with second aspect, in a second possible implementation of the second aspect, the first of the detection code stream is pre-
Positioning is set to the detection identifier for identifying the detection code stream for the receiving end router, the frame lattice of the detection code stream
Formula modifies to obtain by the frame format to auto-negotiation information coding, and described in the detection identifier correspondence of the detection code stream
The reserved bit of auto-negotiation information coding.
In conjunction with second aspect, in the third possible implementation of the second aspect, the second of the detection code stream is pre-
Positioning is set to for verifying password, the frame of the detection code stream for the detection of detection code stream described in the receiving end router authentication
Format modifies to obtain by the frame format to auto-negotiation information coding, and the detection verifying password of the detection code stream is corresponding
The reserved bit of the auto-negotiation information coding.
In conjunction with second aspect, in the fourth possible implementation of the second aspect, the frame format of the response code stream
It modifies to obtain by the frame format to auto-negotiation information coding, and the response code stream includes response identifier, the sound
Identifier is answered to correspond to the reserved bit of the auto-negotiation information coding.
The third aspect, provides a kind of receiving end router, and the receiving end router includes:
Receiving module, for receiving transmitting terminal router transmitted stream;
Judgment module, for judging whether the code stream received is detection code stream;
Determining module, the code stream for receiving when judgement are detection code streams, it is determined that straight with the transmitting terminal router
Even.
In conjunction with the third aspect, in the first possible implementation of the third aspect, the judgment module, for from connecing
The first numerical value is extracted in first predetermined position of the code stream received, by first numerical value and the pre-stored detection code stream
Detection identifier compares, and whether the code stream received according to comparing result judgement is detection code stream.
In conjunction with the third aspect, in the second possible implementation of the third aspect, if what receiving module received
Code stream is detection code stream, and the frame format of the detection code stream modifies to obtain by the frame format to auto-negotiation information coding,
And the detection identifier of the detection code stream corresponds to the reserved bit of the auto-negotiation information coding.
In conjunction with the third aspect, in the third possible implementation of the third aspect, the receiving end router is also wrapped
It includes:
Extraction module, for extracting second value from the second predetermined position of the code stream received;
The judgment module, be also used to judge the second value whether with it is pre-stored it is described detection code stream detection
It is identical to verify password, if identical, executes whether the code stream that the judgement receives is the step of detecting code stream;Otherwise, it loses
Abandon the code stream received.
In the third possible implementation in conjunction with the third aspect, in the 4th kind of possible implementation of the third aspect
In, if the code stream that the receiving module receives is detection code stream, the frame format of the detection code stream is by believing auto-negotiation
The frame format of breath coding modifies to obtain, and the detection verifying password of the detection code stream corresponds to the auto-negotiation information coding
Reserved bit.
In conjunction with the third aspect, in the 5th kind of possible implementation of the third aspect, the receiving end router is also wrapped
It includes:
Respond module, for sending the response code stream of the corresponding detection code stream to the transmitting terminal router.
In conjunction with the 5th kind of possible implementation of the third aspect, in the 6th kind of possible implementation of the third aspect
In, the frame format for the response code stream that the respond module is sent is modified by the frame format to auto-negotiation information coding
It arrives, and the response code stream includes response identifier, the response identifier corresponds to the reserved bit of the auto-negotiation information coding.
Fourth aspect, provides a kind of transmitting terminal router, and the transmitting terminal router includes:
Sending module, for sending detection code stream to receiving end router;
Judgment module receives the correspondence sound for detecting code stream that the receiving end router returns for judging whether
Answer code stream;
Determining module, for receiving the response for the correspondence verification code stream that the receiving end router returns when judgement
When code stream, determination is direct-connected with the receiving end router;
Wherein, the response code stream is fed back after the receiving end router receives the detection code stream.
In conjunction with fourth aspect, in the first possible implementation of the fourth aspect, the determining module is also used to sentence
When the disconnected response code stream for not receiving the correspondence detection code stream that the receiving end router returns, the determining and receiving end
Third network element device is provided between router, the detection code stream is abandoned by the third network element device.
In conjunction with fourth aspect, in the second possible implementation of the fourth aspect, the inspection that the sending module is sent
First predetermined position of survey code stream is the detection identifier for identifying the detection code stream for the receiving end router, described
The frame format of detection code stream modifies to obtain by the frame format to auto-negotiation information coding, and the detection of the detection code stream
Identifier corresponds to the reserved bit of the auto-negotiation information coding.
In conjunction with fourth aspect, in the third possible implementation of the fourth aspect, the inspection that the sending module is sent
The second predetermined position for surveying code stream is for verifying password, institute for the detection of detection code stream described in the receiving end router authentication
The frame format for stating detection code stream is modified by the frame format to auto-negotiation information coding, and the detection code stream
Detection verifying password corresponds to the reserved bit of the auto-negotiation information coding.
In conjunction with fourth aspect, in the fourth possible implementation of the fourth aspect, if the judgment module judges
The correspondence response code stream for examining code stream that the receiving end router returns is received, then the frame format of the response code stream
It modifies to obtain by the frame format to auto-negotiation information coding, and the response code stream includes response identifier, the sound
Identifier is answered to correspond to the reserved bit of the auto-negotiation information coding.
Technical solution provided in an embodiment of the present invention has the benefit that
By sending detection code stream between two known receiving end routers and transmitting terminal router, and according to reception
Whether end router receives detection code stream, and whether transmitting terminal router receives the mode of response code stream to judge two routings
It is whether direct-connected between device, thus improve between two routers of detection whether the accuracy of direct-connected method, and then can mention
The accuracy of high IPRAN fault location.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 be the embodiment of the present invention one provide a kind of detection router between whether direct-connected method flow diagram;
Fig. 2 be between another detection router that the embodiment of the present invention one provides whether direct-connected method flow diagram;
Fig. 3 be between a kind of detection router provided by Embodiment 2 of the present invention whether direct-connected method flow diagram;
Fig. 4 is the structural schematic diagram for the first receiving end router that the embodiment of the present invention three provides;
Fig. 5 is the structural schematic diagram for second of receiving end router that the embodiment of the present invention three provides;
Fig. 6 is the structural schematic diagram for the third receiving end router that the embodiment of the present invention three provides;
Fig. 7 is a kind of structural schematic diagram for transmitting terminal router that the embodiment of the present invention four provides;
Fig. 8 is a kind of structural schematic diagram for router that the embodiment of the present invention five provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical solution in the embodiment of the present invention is explicitly described, it is clear that described embodiment is the present invention
A part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having
Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
With reference to the accompanying drawings and examples, specific embodiments of the present invention will be described in further detail.Implement below
Example is not intended to limit the scope of the invention for illustrating the present invention.
Embodiment one
The embodiment of the invention provides between a kind of detection router whether direct-connected method, with receiving end router detection
Between router whether for direct-connected angle, as shown in Figure 1, which comprises
101: receiving transmitting terminal router transmitted stream;
102: judging whether the code stream received is detection code stream;
Judge whether the code stream received is detection code stream, including but not limited to:
The first numerical value is extracted from the first predetermined position of the code stream received;
The detection identifier of first numerical value and pre-stored detection code stream is compared, judges to receive according to comparing result
To code stream whether be detection code stream.
103: if the code stream received is detection code stream, it is determined that direct-connected with transmitting terminal router.
Further, if the code stream received is detection code stream, the frame format for detecting code stream passes through to auto-negotiation information
The frame format of coding modifies to obtain, and the detection identifier for detecting code stream corresponds to the reserved bit of auto-negotiation information coding.
Further, before judging whether the code stream received is detection code stream, further include but be not limited to:
Second value is extracted from the second predetermined position of the code stream received;
Judge whether second value is identical as the detection verifying password of pre-stored detection code stream, if identical, executes
The step of whether code stream received is detection code stream judged;
Otherwise, the code stream received is abandoned.
Specifically, if the code stream received is detection code stream, the frame format for detecting code stream includes but is not limited to pass through pair
The frame format of auto-negotiation information coding modifies to obtain, and the detection verifying password for detecting code stream corresponds to auto-negotiation information coding
Reserved bit.
Further, it is determined that with transmitting terminal router it is direct-connected after, further include but be not limited to:
The corresponding response code stream of detection code stream is sent to transmitting terminal router.
Wherein, the frame format for responding code stream includes but is not limited to be modified by the frame format to auto-negotiation information coding
It obtains, and responding code stream includes response identifier, response identifier corresponds to the reserved bit of auto-negotiation information coding.
By between transmitting terminal router detection router whether for direct-connected angle, as shown in Fig. 2, method includes:
201: sending detection code stream to receiving end router;
202: judging whether to receive the response code stream of the corresponding detection code stream of receiving end router return;
203: if receiving the response code stream of the corresponding detection code stream of receiving end router return, it is determined that with receiving end
Router is direct-connected;
Wherein, response code stream is fed back after receiving end router receives detection code stream.
Further, judge whether after receiving the corresponding response code stream for detecting code stream that receiving end router returns,
Further include but be not limited to:
If not receiving the response code stream of the corresponding detection code stream of receiving end router return, it is determined that with receiving end road
By being provided with third network element device between device, detection code stream is abandoned by third network element device.
Further, the first predetermined position for detecting code stream includes but is not limited to be for identifying inspection for receiving end router
Survey code stream detection identifier, detect code stream frame format include but is not limited to by the frame format to auto-negotiation information coding into
The detection identifier that row modification obtains, and detects code stream corresponds to the reserved bit of auto-negotiation information coding.
Further, the second predetermined position for detecting code stream includes but is not limited to be for examining for receiving end router authentication
Password is verified in the detection for surveying code stream, and the frame format for detecting code stream is modified by the frame format to auto-negotiation information coding
The detection verifying password for arriving, and detecting code stream corresponds to the reserved bit of auto-negotiation information coding.
Further, the frame format for responding code stream includes but is not limited to be carried out by the frame format to auto-negotiation information coding
Modification obtains, and responding code stream includes response identifier, and response identifier corresponds to the reserved bit of auto-negotiation information coding.
Method provided in an embodiment of the present invention, by sending detection code stream between two known routers, and according to connecing
Whether receiving end router receives detection code stream, and whether transmitting terminal router receives the mode of response code stream to judge two roads
By whether direct-connected between device, thus improve between two routers of detection whether the accuracy of direct-connected method, and then can be with
Improve the accuracy of IPRAN fault location.
Embodiment two
The embodiment of the invention provides between a kind of detection router whether direct-connected method, in conjunction with above-described embodiment one
Content, as shown in figure 3, method provided in this embodiment includes:
301: transmitting terminal router sends detection code stream to receiving end router.
Wherein, receiving end router and transmitting terminal router are the routers that can be found by the network management of IPRAN network, are
Two known routers.Whether the detection code stream that transmitting terminal router is sent to receiving end router is direct-connected for detecting the two,
The detection code stream includes but is not limited to be based on detection identifier to distinguish over existing agreement code stream, be can be a kind of customized
Code stream can also realize that the present embodiment is not defined detection code stream based on the reserved bit of existing agreement code stream.It is preferred that
Ground in the present embodiment, detects code stream based on the reserved bit in power port auto-negotiation information coding or optical port auto-negotiation information coding
It realizes, that is to say, that the frame format for detecting code stream passes through to power port auto-negotiation information coding or optical port auto-negotiation information coding
Frame format modify to obtain, and the detection identifier for detecting code stream corresponds to power port auto-negotiation information coding or optical port is self tuning
The reserved bit of quotient's information coding.
Table 1 is power port auto-negotiation information coding base page frame structure, wherein A7 are reserved bit;Table 2 is power port auto-negotiation
Information coding additional page frame structure, wherein U5~U10 are reserved bit.When transmitting terminal router and receiving end router pass through
When network connection, detection code stream can be realized based on the reserved bit of power port auto-negotiation information coding, can use above-mentioned A7, U5
One in~U10 or multidigit realization.For example, can by being set as 1(for above-mentioned A7 0) it be defaulted as detection
The detection identifier of code stream, can also be by being disposed as 1 for U5, U6 and U7 tri- as the detection mark of detection code stream
Symbol.
For simplicity, the present embodiment only using A7 as detection code stream detection identifier the case where be illustrated.
When the frame head for the code stream that router receives when receiving end is identical as the frame head of code stream of power port auto-negotiation information coding, from A7
The first numerical value is extracted in corresponding first predetermined position in position, and the first numerical value may be 1 or 0, indicates to receive when the first numerical value is 1
To code stream be detection code stream indicate that the code stream received is common power port auto-negotiation information coding when the first numerical value is 0
Code stream.
Table 1
S0 | S1 | S2 | S3 | S4 | A0 | A1 | A2 | A3 | A4 | A5 | A6 | A7 | RF | ACK | NP |
Table 2
U0 | U1 | U2 | U3 | U4 | U5 | U6 | U7 | U8 | U9 | U10 | T | Ack2 | MP | Ack | NP |
For optical port auto-negotiation information coding, 0~4 and 9~11 is reserved bit in frame structure, is similar to
It modifies to obtain the frame format of detection code stream above by the frame format to power port auto-negotiation information coding, when transmitting terminal routes
It, can be by modifying to obtain to optical port auto-negotiation information coding frame structure when device is connected with receiving end router by optical fiber
Detect the frame format of code stream, i.e. inspection of one or more reserved bit as detection code stream in selection power port auto-negotiation information coding
Survey identifier.The case where its implementation is modified with the frame format to power port auto-negotiation information coding is similar, herein not
It repeats again.
In addition, transmitting terminal router and receiving end router by being pre-configured with, can send with recognition detection code stream,
Transmitting terminal router and receiving end router can be specifically pre-configured with by order line.Meanwhile testing staff can be with
Transmitting terminal router, which is triggered, by order line sends detection code stream to receiving end router.
302: receiving end router receives transmitting terminal router transmitted stream.
For the step, the present embodiment receiving end router is not received the mode of transmitting terminal router transmitted stream into
Row limits, since receiving end router and transmitting terminal router pass through network connection, receiving end router can pass through network
Receive transmitting terminal router transmitted stream.In addition, transmitting terminal router transmitted stream can be for detecting whether direct-connected
Detection code stream, or existing agreement code stream, the transmitting terminal that the present embodiment does not receive receiving end router route
The type of device transmitted stream is defined.
303: whether the code stream that router judgement in receiving end receives is detection code stream, if so, executing step 304.
Wherein, transmitting terminal router transmitted stream in addition to that can be for detecting whether other than direct-connected detection code stream, also
It can be existing agreement code stream.If having third network element device between receiving end router and transmitting terminal router, and send out
Sending end router transmitted stream is detection code stream, then since third network element device is can not to be sent out by the network management of IPRAN network
Router etc. in existing network element device, such as interchanger, microwave equipment, wave-division device and double layer network, third network element are set
It is standby due to can not recognition detection code stream, thus after the detection code stream that sends of transmitting terminal router is sent to third network element device,
Third network element device will abandon it, and receiving end router also can not just receive the detection code of transmitting terminal router transmission
Stream.But if there is third network element device between receiving end router and transmitting terminal router, and the transmission of transmitting terminal router
Code stream is existing agreement code stream, then third network element device can identify it, and forward it to receiving end router.
There is no third network element device, i.e. receiving end router and transmitting terminal road between fruit receiving end router and transmitting terminal router for another example
Be by device it is direct-connected, then no matter transmitting terminal router, which sends detection, code stream or sends existing agreement code stream, receiving end routing
Device can receive to obtain.
To sum up, receiving end router can not directly determine it and connect after receiving transmitting terminal router transmitted stream
The code stream received is detection code stream or other agreement code streams, and therefore, receiving end router is receiving transmitting terminal router hair
Whether the needs sent judge whether the code stream is detection code stream, thus straight with transmitting terminal router according to judging result determination
Even.
Whether the code stream received about the judgement of receiving end router is the mode for detecting code stream, and the present embodiment is not made specifically
Limit, be specifically including but not limited to: receiving end router extracts the first numerical value from the first predetermined position of the code stream received;It will
The detection identifier of first numerical value and pre-stored detection code stream compares, and is according to the code stream that comparing result judgement receives
No is detection code stream.Wherein, the present embodiment is not defined specific location of first predetermined position in code stream.
Further, if the code stream received is detection code stream, the frame format of the detection code stream is by believing auto-negotiation
The detection identifier that the frame format of breath coding modifies to obtain, and detects code stream corresponds to the reserved bit of auto-negotiation information coding.
Therefore, which can correspond to the reserved bit of auto-negotiation information coding, and receiving end router is received by extracting
To code stream in correspond to the numerical value of reserved bit of auto-negotiation information coding and pass through after the first numerical value extracted
It is compared with the detection identifier of pre-stored detection code stream, if unanimously, it is determined that the code stream received is inspection
Survey code stream.
Certainly, in addition to whether the code stream that above-mentioned judgement receives is to detect the mode of code stream, other judgements can also be taken
Mode, the present embodiment are not especially limited this.
Preferably, it is contemplated that the format of other custom protocols may or phase identical as the detection format of code stream
It is similar, for example, other custom protocols also choose the position A7 in power port auto-negotiation coding base page as its identifier, in order to keep away
Exempt from receiving end router and the code stream of other custom protocols is mistakenly identified as the detection code stream, transmitting terminal router is also to reception
Router is held to send detection verifying password, receiving end router is apprised of detection verifying password in advance, and receiving end router is from connecing
The second value and detection verifying password that the second predetermined position (position of corresponding detection verifying password) of the code stream received is extracted
To comparison, if identical, further judge the code stream received with the presence or absence of detection identifier;If second value and detection
Password difference is verified, even if there is detection identifier in the code stream received, nor detection code stream, therefore also just no longer need to judge
The code stream received is with the presence or absence of detection identifier.By above-mentioned design, detection code can be misidentified to avoid receiving end router
Stream, thus can be further improved the accuracy of testing result, improve the accuracy of IPRAN fault location.Also, in order to more
The case where being effectively prevented from misrecognition, detection verifying password are generally multidigit, can be stored in the deposit of receiving end router
In the reserved bit of device, it can also be stored in newly-increased register, the present embodiment is not especially limited this.
304: router determination in receiving end is direct-connected with transmitting terminal router, and it is corresponding to send detection code stream to transmitting terminal router
Response code stream.
For the step, it is whether direct-connected between two routers for determining to detect code stream, thus works as receiving end router
After determining the transmitting terminal router transmitted stream received for detection code stream, that is, it can determine direct-connected with transmitting terminal router.
It further, can determine to make transmitting terminal router also direct-connected with receiving end router, method provided in this embodiment exists
Receiving end router further includes sending detection code stream to transmitting terminal router to correspond to after determining and transmitting terminal router is direct-connected
Response code stream process.
Wherein, response code stream is generally corresponding with the detection format of code stream, and can be identified by transmitting terminal router.
Therefore, when detecting code stream using the reserved bit in auto-negotiation information coding as detection identifier, response code stream can be with self tuning
One or more reserved bits identifier in response that identifier occupies is not detected in quotient's information coding, such as when detection code stream
When using the position A7 in power port auto-negotiation coding base page as detection identifier, response code stream can be encoded attached with power port auto-negotiation
Add the position U5 in page identifier in response, U5~U7 in additional page can also be encoded based on power port auto-negotiation collectively as sound
Answer identifier.
Similar, when detection code stream indicates using one or more reserved bits in optical port auto-negotiation information coding as detection
Fu Shi, response code stream can be based on the one or more reserved bits for not being detected identifier occupancy in optical port auto-negotiation information coding
Identifier in response, about the format of response code stream, the present embodiment is not especially limited.
305: transmitting terminal router judges whether to receive the answer code of the corresponding detection code stream of receiving end router return
Stream, if so, step 306 is executed, if not, executing step 307.
For the step, since receiving end router is receiving the detection code stream of transmitting terminal transmission, and judge it for inspection
It surveys after code stream, receiving end router can return to the response code stream of corresponding detection code stream, therefore, transmitting terminal to transmitting terminal router
Router is receiving receiving end router transmitted stream, and judge the code stream for response code stream after, that is, can determine whether and connect
Whether receiving end router is direct-connected.Judge whether to receive the correspondence detection code of receiving end router return about transmitting terminal router
The mode of the response code stream of stream, the present embodiment are not especially limited.When it is implemented, received with the judgement of receiving end router
Code stream whether be detect code stream principle it is identical.For example, transmitting terminal router is in the code stream for receiving the return of receiving end router
It afterwards, can be by extracting the numerical value in the predetermined position of code stream received, and by the mark of itself and pre-stored response code stream
Symbol is compared, if unanimously, it is determined that the code stream received is response code stream.
Certainly, transmitting terminal router judges whether to receive the correspondence of receiving end router return except through aforesaid way
Outside the response code stream for detecting code stream, other judgment modes can also be used, the present embodiment is not especially limited this.
306: the determination of transmitting terminal router is direct-connected with receiving end router, and process terminates.
For the step, since response code stream corresponds to detection code stream, and code stream is detected for detecting whether direct-connected, due to
The judgement of transmitting terminal router receives the response code stream of receiving end router return, and therefore, transmitting terminal router is determined and received
Hold router direct-connected.
307: transmitting terminal router is determining to be provided with third network element device between the router of receiving end, and process terminates.
For the step, since response code stream corresponds to detection code stream, and code stream is detected for detecting whether direct-connected, because
This, if the judgement of transmitting terminal router does not receive the response code stream of receiving end router return, transmitting terminal router is determined
Third network element device is provided between the router of receiving end, the detection code stream sent to receiving end router is by third network element
Equipment abandons.
Method provided in this embodiment, by sending detection code stream between two known routers, and according to receiving end
Whether router receives detection code stream, and whether transmitting terminal router receives the mode of response code stream to judge two routers
Between it is whether direct-connected, thus improve between two routers of detection whether the accuracy of direct-connected method, and then can be improved
The accuracy of IPRAN fault location.
Embodiment three
The embodiment of the invention provides a kind of receiving end router, structure is as shown in figure 4, the receiving end router packet
It includes:
Receiving module 41, for receiving transmitting terminal router transmitted stream;
Judgment module 42, for judging whether the code stream received is detection code stream;
Determining module 43, the code stream for receiving when judgement are detection code streams, it is determined that direct-connected with transmitting terminal router.
As a kind of preferred embodiment, judgment module 42, for extracting the from the first predetermined position of the code stream received
The detection identifier of first numerical value and pre-stored detection code stream is compared, judges to receive according to comparing result by one numerical value
To code stream whether be detection code stream.
The frame of code stream is detected if the code stream that receiving module 41 receives is detection code stream as a kind of preferred embodiment
Format modifies to obtain by the frame format to auto-negotiation information coding, and the detection identifier for detecting code stream corresponds to auto-negotiation
The reserved bit of information coding.
As a kind of preferred embodiment, referring to Fig. 5, receiving end router further include:
Extraction module 44, for extracting second value from the second predetermined position of the code stream received;
Judgment module 42, be also used to judge second value whether with it is pre-stored detection code stream detection verify password phase
Together, if it is identical, execute whether the code stream that judgement receives is the step of detecting code stream;Otherwise, the code stream received is abandoned.
The frame of code stream is detected if the code stream that receiving module 41 receives is detection code stream as a kind of preferred embodiment
Format modifies to obtain by the frame format to auto-negotiation information coding, and detect code stream detection verifying password correspond to it is self tuning
The reserved bit of quotient's information coding.
As a kind of preferred embodiment, referring to Fig. 6, the receiving end router further include:
Respond module 45, for sending the response code stream of corresponding detection code stream to transmitting terminal router.
As a kind of preferred embodiment, the frame format for the response code stream that respond module 45 is sent is by compiling auto-negotiation information
The frame format of code modifies to obtain, and responding code stream includes response identifier, and response identifier corresponds to auto-negotiation information coding
Reserved bit.
Receiving end router provided in this embodiment, by judging whether the code stream received is detection code stream, to determine
It is whether no direct-connected with transmitting terminal router, thus improve detection two routers between whether the accuracy of direct-connected method,
And then the accuracy of IPRAN fault location can be improved.
Example IV
The embodiment of the invention provides a kind of transmitting terminal routers, as shown in fig. 7, the transmitting terminal router includes:
Sending module 71, for sending detection code stream to receiving end router;
Judgment module 72, the answer code of the corresponding detection code stream for judging whether to receive the return of receiving end router
Stream;
Determining module 73, the response code stream of the corresponding verification code stream for receiving router return in receiving end when judgement
When, determination is direct-connected with receiving end router;
Wherein, response code stream is fed back after receiving end router receives detection code stream.
As a kind of preferred embodiment, determining module 73 is also used to pair for judging not receiving the return of receiving end router
When should detect the response code stream of code stream, it is provided with third network element device between determining and receiving end router, detection code stream is by the
Three network element devices abandon.
As a kind of preferred embodiment, the first predetermined position of the detection code stream that sending module 71 is sent is for for receiving
The detection identifier of router recognition detection code stream is held, the frame format for detecting code stream passes through the frame format to auto-negotiation information coding
The detection identifier modified to obtain, and detect code stream corresponds to the reserved bit of auto-negotiation information coding.
As a kind of preferred embodiment, the second predetermined position of the detection code stream that sending module 71 is sent is for for receiving
The detection of router authentication detection code stream is held to verify password, the frame format for detecting code stream passes through the frame lattice to auto-negotiation information coding
What formula was modified, and the detection verifying password for detecting code stream corresponds to the reserved bit of auto-negotiation information coding.
As a kind of preferred embodiment, if it is determined that module 72 judges that receiving the corresponding of receiving end router return examines
The response code stream of code stream, the then frame format for responding code stream modify to obtain by the frame format to auto-negotiation information coding, and
Responding code stream includes response identifier, and response identifier corresponds to the reserved bit of auto-negotiation information coding.
Transmitting terminal router provided in this embodiment by sending detection code stream to receiving end router, and passes through judgement
Whether the mode of the response code stream of the corresponding detection code stream of receiving end router return is received to judge and receiving end router
It is whether direct-connected, thus improve between detection router whether the accuracy of direct-connected method, and then IPRAN failure can be improved
The accuracy of positioning.
Embodiment five
The embodiment of the invention provides a kind of router, which can be realized based on computer system, Fig. 1, figure
2, method shown in Fig. 3 can be realized based on the router of computer system.Fig. 8 is shown based on computer system come real
The structural schematic diagram of existing router.Router in the present embodiment may include: processor 81, memory 82 and communication interface
83, in which:
If the router is receiving end router, communication interface 83 is used for and transmitting terminal router communication.And with hair
The message (as shown in Figure 1, 2, 3) of interaction is sent and received by communication interface 83 between sending end router.
Specifically, communication interface 83 is for receiving transmitting terminal router transmitted stream;Memory 82 is for storing program
Instruction;Processor 81 is used for after receiving transmitting terminal router transmitted stream, and the program stored in memory 82 is called to refer to
It enables, performs the following operations:
Receive transmitting terminal router transmitted stream;
Judge whether the code stream received is detection code stream;
If the code stream received is detection code stream, it is determined that direct-connected with transmitting terminal router.
Further, it can also carry out following operation: when judging whether the code stream received is detection code stream, from what is received
Extract the first numerical value in first predetermined position of code stream;
The detection identifier of first numerical value and pre-stored detection code stream is compared, judges to receive according to comparing result
To code stream whether be detection code stream.
Further, it can also carry out following operation: if the code stream received is detection code stream, detecting the frame format of code stream
It modifies to obtain by the frame format to auto-negotiation information coding, and the detection identifier for detecting code stream corresponds to auto-negotiation information
The reserved bit of coding.
Further, it can also carry out following operation: before judging whether the code stream received is detection code stream, from receiving
Code stream the second predetermined position extract second value;
Judge whether second value is identical as the detection verifying password of pre-stored detection code stream, if identical, executes
The step of whether code stream received is detection code stream judged;
Otherwise, the code stream received is abandoned.
Wherein, if the code stream received is detection code stream, the frame format for detecting code stream includes but is not limited to by certainly
The frame format of negotiation information coding modifies to obtain, and the detection verifying password for detecting code stream corresponds to auto-negotiation information coding
Reserved bit.
Further, it can also carry out following operation: after determining and transmitting terminal router is direct-connected, being sent out to transmitting terminal router
The corresponding response code stream of code stream is surveyed in inspection.
Wherein, the frame format for responding code stream includes but is not limited to be modified by the frame format to auto-negotiation information coding
It obtains, and responding code stream includes response identifier, response identifier corresponds to the reserved bit of auto-negotiation information coding.
Specifically, processor 81 can be central processing unit (central processing unit, CPU), dedicated integrated
Circuit (application-specific integrated circuit, ASIC) etc..Wherein, the router in the present embodiment
It can also include bus 84.It can be connected and communicated by bus 84 between processor 81, memory 82 and communication interface 83.Its
In, memory 82 may include: random access memory (random access memory, RAM), read-only memory (read-
Only memory, ROM), disk etc. has the entity of store function;
Processor 81 can be also used for executing each step of transmitting terminal router description in Fig. 2, Fig. 3 in embodiment of the method,
This will not be detailed here for the embodiment of the present invention.
In addition, transmitting terminal router is identical with the hardware configuration of receiving end router, communication interface 83 can also be to other
Router sends code stream, and receives the response code stream of other routers transmission;Processor 81 can be according to whether receive
Response code stream judge participate in test two routers between it is whether direct-connected, details are not described herein.
It is provided in this embodiment to detect code stream by sending between two known routers, and according to receiving end router
Whether detection code stream is received, and whether transmitting terminal router receives the mode of response code stream to judge to be between two routers
It is no direct-connected, thus improve between two routers of detection whether the accuracy of direct-connected method, and then can be improved IPRAN therefore
Hinder the accuracy of positioning.
It will be recognized by those of ordinary skill in the art that the possibility implementation of various aspects of the invention or various aspects
It can be embodied as system, method or computer program product.Therefore, each aspect of the present invention or various aspects
Possible implementation can use complete hardware embodiment, complete software embodiment (including firmware, resident software etc.), or
The form of the embodiment of integration software and hardware aspect, collectively referred to herein as " circuit ", " module " or " system ".In addition,
The possibility implementation of each aspect of the present invention or various aspects can use the form of computer program product, computer journey
Sequence product refers to the computer readable program code of storage in computer-readable medium.
Computer-readable medium can be computer-readable signal media or computer readable storage medium.Computer can
Read storage medium including but not limited to electronics, magnetism, optics, electromagnetism, infrared or semiconductor system, equipment perhaps device or
It is above-mentioned any appropriately combined, such as random access memory (RAM), read-only memory (ROM), the read-only storage of erasable programmable
Device (EPROM or flash memory), optical fiber, portable read-only memory (CD-ROM).
Processor in computer reads the computer readable program code of storage in computer-readable medium, so that place
Reason device is able to carry out function action specified in the combination of each step or each step in flow charts;It generates and implements in block diagram
Each piece or each piece of combination specified in function action device.
Computer readable program code can execute on the user's computer completely, part is held on the user's computer
Row, as individual software package, part on the user's computer and part on the remote computer, or completely long-range
It is executed on computer or server.It is also noted that in some alternative embodiments, each step or frame in flow charts
Each piece of function of indicating may not be occurred by the sequence indicated in figure in figure.For example, depending on related function, show in succession
Two steps or two blocks out may be actually executed substantially concurrently or these blocks sometimes may be by with opposite suitable
Sequence executes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (17)
1. between a kind of detection router whether direct-connected method, which is characterized in that the described method includes:
Receive transmitting terminal router transmitted stream;
Judge whether the code stream received is detection code stream;Wherein, the frame format of the detection code stream passes through to power port auto-negotiation
The frame format of information coding modifies to obtain, and the detection identifier of the detection code stream corresponds to the power port auto-negotiation information and compiles
The reserved bit of code;Alternatively, the frame format of the detection code stream is modified by the frame format to optical port auto-negotiation information coding
It obtains, the detection identifier of the detection code stream corresponds to the reserved bit of the optical port auto-negotiation information coding;
If the code stream received is detection code stream, it is determined that direct-connected with the transmitting terminal router;
The corresponding response code stream of the detection code stream is sent to the transmitting terminal router.
2. the method as described in claim 1, which is characterized in that described to judge whether the code stream received is detection code stream, packet
It includes:
The first numerical value is extracted from the first predetermined position of the code stream received;
The detection identifier of first numerical value and the pre-stored detection code stream is compared, is judged according to comparing result
Whether the code stream received is detection code stream.
3. the method as described in claim 1, which is characterized in that it is described judge the code stream that receives whether be detection code stream it
Before, further includes:
Second value is extracted from the second predetermined position of the code stream received;
Judge whether the second value is identical as the detection verifying password of the pre-stored detection code stream, if identical,
Execute whether the code stream that the judgement receives is the step of detecting code stream;
Otherwise, the code stream received is abandoned.
4. method as claimed in claim 3, which is characterized in that if the code stream received is detection code stream, the detection code
The frame format of stream modifies to obtain by the frame format to auto-negotiation information coding, and the detection verifying of the detection code stream is close
The reserved bit of the corresponding auto-negotiation information coding of code.
5. the method as described in claim 1, which is characterized in that the frame format of the response code stream is by compiling auto-negotiation information
The frame format of code modifies to obtain, and the response code stream includes response identifier, described in the response identifier is corresponding certainly
The reserved bit of negotiation information coding.
6. between a kind of detection router whether direct-connected method, which is characterized in that the described method includes:
Detection code stream is sent to receiving end router;Wherein, the frame format of the detection code stream passes through to power port auto-negotiation information
The frame format of coding modifies to obtain, and the detection identifier of the detection code stream corresponds to the power port auto-negotiation information coding
Reserved bit;Alternatively, the frame format of the detection code stream modifies to obtain by the frame format to optical port auto-negotiation information coding,
The detection identifier of the detection code stream corresponds to the reserved bit of the optical port auto-negotiation information coding;
Judge whether to receive the correspondence response code stream for detecting code stream that the receiving end router returns;
If not receiving the response code stream for the correspondence detection code stream that the receiving end router returns, it is determined that with it is described
Third network element device is provided between the router of receiving end, the detection code stream is abandoned by the third network element device;
If receiving the response code stream for the correspondence detection code stream that the receiving end router returns, it is determined that connect with described
Receiving end router is direct-connected;
Wherein, the response code stream is fed back after the receiving end router receives the detection code stream.
7. method as claimed in claim 6, which is characterized in that the first predetermined position of the detection code stream is for described in confession
Receiving end router identifies the detection identifier of the detection code stream.
8. method as claimed in claim 6, which is characterized in that the second predetermined position of the detection code stream is for described in confession
Password is verified in the detection that code stream is detected described in the router authentication of receiving end, described in the detection verifying password of the detection code stream is corresponding
The reserved bit of auto-negotiation information coding.
9. method as claimed in claim 6, which is characterized in that the frame format of the response code stream is by compiling auto-negotiation information
The frame format of code modifies to obtain, and the response code stream includes response identifier, described in the response identifier is corresponding certainly
The reserved bit of negotiation information coding.
10. a kind of receiving end router, which is characterized in that the receiving end router includes:
Receiving module, for receiving transmitting terminal router transmitted stream;
Judgment module, for judging whether the code stream received is detection code stream;Wherein, the frame format of the detection code stream passes through
The frame format of power port auto-negotiation information coding is modified to obtain, the detection identifier of the detection code stream corresponds to the power port
The reserved bit of auto-negotiation information coding;Alternatively, the frame format of the detection code stream passes through the frame to optical port auto-negotiation information coding
Format modifies to obtain, and the detection identifier of the detection code stream corresponds to the reserved bit of the optical port auto-negotiation information coding;
Determining module, the code stream for receiving when judgement are detection code streams, it is determined that direct-connected with the transmitting terminal router;
Wherein, the receiving end router further include:
Respond module, for sending the response code stream of the corresponding detection code stream to the transmitting terminal router.
11. receiving end router as claimed in claim 10, which is characterized in that the judgment module, for from receiving
The first numerical value is extracted in first predetermined position of code stream, by the detection mark of first numerical value and the pre-stored detection code stream
Will symbol compares, and whether the code stream received according to comparing result judgement is detection code stream.
12. receiving end router as claimed in claim 10, which is characterized in that the receiving end router further include:
Extraction module, for extracting second value from the second predetermined position of the code stream received;
The judgment module, is also used to judge whether the second value is verified with the pre-stored detection for detecting code stream
Password is identical, if identical, executes whether the code stream that the judgement receives is the step of detecting code stream;Otherwise, discarding connects
The code stream received.
13. receiving end router as claimed in claim 12, which is characterized in that if the code stream that the receiving module receives
It is detection code stream, the frame format of the detection code stream modifies to obtain by the frame format to auto-negotiation information coding, and institute
The detection verifying password for stating detection code stream corresponds to the reserved bit of the auto-negotiation information coding.
14. receiving end router as claimed in claim 10, which is characterized in that the response code stream that the respond module is sent
Frame format modifies to obtain by the frame format to auto-negotiation information coding, and the response code stream includes response identifier,
The response identifier corresponds to the reserved bit of the auto-negotiation information coding.
15. a kind of transmitting terminal router, which is characterized in that the transmitting terminal router includes:
Sending module, for sending detection code stream to receiving end router;Wherein, the frame format of the detection code stream passes through to electricity
The frame format of mouth auto-negotiation information coding modifies to obtain, and it is self tuning that the detection identifier of the detection code stream corresponds to the power port
The reserved bit of quotient's information coding;Alternatively, the frame format of the detection code stream passes through the frame format to optical port auto-negotiation information coding
It modifies to obtain, the detection identifier of the detection code stream corresponds to the reserved bit of the optical port auto-negotiation information coding;
Judgment module receives the correspondence answer code for detecting code stream that the receiving end router returns for judging whether
Stream;
Determining module, for receiving the answer code for the correspondence detection code stream that the receiving end router returns when judgement
When stream, determination is direct-connected with the receiving end router;
Wherein, the response code stream is fed back after the receiving end router receives the detection code stream;
Wherein, the determining module is also used to judge do not receive the correspondence detection code that the receiving end router returns
When the response code stream of stream, determining that third network element device is provided between the receiving end router, the detection code stream is by institute
State the discarding of third network element device.
16. transmitting terminal router as claimed in claim 15, which is characterized in that the detection code stream that the sending module is sent
First predetermined position is the detection identifier for identifying the detection code stream for the receiving end router.
17. transmitting terminal router as claimed in claim 15, which is characterized in that the detection code stream that the sending module is sent
Second predetermined position is for verifying password, the detection code for the detection of detection code stream described in the receiving end router authentication
The detection verifying password of stream corresponds to the reserved bit of the auto-negotiation information coding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310410738.0A CN104427544B (en) | 2013-09-10 | 2013-09-10 | Detect router between whether direct-connected method and router |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310410738.0A CN104427544B (en) | 2013-09-10 | 2013-09-10 | Detect router between whether direct-connected method and router |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104427544A CN104427544A (en) | 2015-03-18 |
CN104427544B true CN104427544B (en) | 2019-08-27 |
Family
ID=52975233
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310410738.0A Expired - Fee Related CN104427544B (en) | 2013-09-10 | 2013-09-10 | Detect router between whether direct-connected method and router |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104427544B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1849779A (en) * | 2003-09-11 | 2006-10-18 | 摩托罗拉公司 | Method and apparatus for discovering neighbors within a piconet communication system |
CN1866863A (en) * | 2005-11-03 | 2006-11-22 | 华为技术有限公司 | Vicinage finding method and system for network apparatus |
CN1878110A (en) * | 2006-07-12 | 2006-12-13 | 华为技术有限公司 | Directly connected network promulgating method and system |
CN102014024A (en) * | 2010-12-03 | 2011-04-13 | 福建星网锐捷网络有限公司 | Method, system and device for detecting network intercept of direct-connecting link and network equipment |
CN102075364A (en) * | 2011-01-31 | 2011-05-25 | 杭州华三通信技术有限公司 | Method and equipment for determining direct link |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100474823C (en) * | 2002-11-14 | 2009-04-01 | 华为技术有限公司 | A method for transferring connection state of Ethernet port |
US7515551B2 (en) * | 2005-01-18 | 2009-04-07 | Cisco Technology, Inc. | Techniques for reducing adjacencies in a link-state network routing protocol |
-
2013
- 2013-09-10 CN CN201310410738.0A patent/CN104427544B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1849779A (en) * | 2003-09-11 | 2006-10-18 | 摩托罗拉公司 | Method and apparatus for discovering neighbors within a piconet communication system |
CN1866863A (en) * | 2005-11-03 | 2006-11-22 | 华为技术有限公司 | Vicinage finding method and system for network apparatus |
CN1878110A (en) * | 2006-07-12 | 2006-12-13 | 华为技术有限公司 | Directly connected network promulgating method and system |
CN102014024A (en) * | 2010-12-03 | 2011-04-13 | 福建星网锐捷网络有限公司 | Method, system and device for detecting network intercept of direct-connecting link and network equipment |
CN102075364A (en) * | 2011-01-31 | 2011-05-25 | 杭州华三通信技术有限公司 | Method and equipment for determining direct link |
Also Published As
Publication number | Publication date |
---|---|
CN104427544A (en) | 2015-03-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101826989B (en) | Method and device for treating fault | |
US8307441B2 (en) | Log-based traceback system and method using centroid decomposition technique | |
CN105490884B (en) | A kind of VXLAN tunnel detection method and device | |
CN106936661A (en) | A kind of network monitoring method, apparatus and system | |
CN101605063A (en) | Network fault positioning system and method | |
CN101174975A (en) | Periodic line fault location method and system in Ethernet | |
CN106772490B (en) | RTK differential data transmission method and device and receiver | |
CN101505250B (en) | Detection method, detection system and VPN for public network LSP | |
CN104993993A (en) | Message processing method, device, and system | |
US20150381446A1 (en) | Detecting and Measuring Network Route Reconvergence Using In-Band Data Probes | |
CN112994839A (en) | Flexible Ethernet overhead multiframe receiving method, device, equipment and medium | |
CN105812198A (en) | Method and device for bridged network end-to-end monitoring | |
US9893979B2 (en) | Network topology discovery by resolving loops | |
CN104168322A (en) | Vehicle-mounted terminal data transmission method, application server, client-side and user terminal | |
CN104427544B (en) | Detect router between whether direct-connected method and router | |
CN101098212B (en) | Method and system for detection of inconsistent data in communications networks | |
US9667439B2 (en) | Determining connections between disconnected partial trees | |
US20160344591A1 (en) | Determining Connections of Non-External Network Facing Ports | |
CN101527681B (en) | Method for processing uplink message, device and system thereof | |
CN104935556B (en) | A kind of network security processing method, apparatus and system | |
CN104125605B (en) | A kind of implementation method and device for asking to set up WIFI connections | |
CN109150707B (en) | Routing path analysis method and device | |
CN111064748A (en) | Cross-area positioning data anti-spoofing system based on network structure detection | |
CN106059850A (en) | Link abnormity detection method, system, apparatus, and chip in IS-IS network | |
CN113518034B (en) | Method, device, equipment and storage medium for route detection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
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: 20190827 |