CN108696398B - Communication loopback fault detection method and device in a kind of communication network - Google Patents

Communication loopback fault detection method and device in a kind of communication network Download PDF

Info

Publication number
CN108696398B
CN108696398B CN201710217649.2A CN201710217649A CN108696398B CN 108696398 B CN108696398 B CN 108696398B CN 201710217649 A CN201710217649 A CN 201710217649A CN 108696398 B CN108696398 B CN 108696398B
Authority
CN
China
Prior art keywords
communication
interchanger
terminal
address
address table
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
CN201710217649.2A
Other languages
Chinese (zh)
Other versions
CN108696398A (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.)
Hainan Qiantang Shilian Information Technology Co.,Ltd.
Original Assignee
Visionvera Information Technology 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201710217649.2A priority Critical patent/CN108696398B/en
Publication of CN108696398A publication Critical patent/CN108696398A/en
Application granted granted Critical
Publication of CN108696398B publication Critical patent/CN108696398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/18Loop-free operations

Abstract

The embodiment of the invention provides the communication loopback fault detection methods and device in a kind of communication network, which comprises obtains the address table of interchanger;The corresponding physical address for preserving each communicating terminal of the address table and the communication interface with the communication of each communicating terminal;Determine in the address record log exist corresponding to different communication interfaces the same target physical address, and determine the communication network there is currently communication loopback failure;The target communication terminal indicated to the target physical address sends communication loopback fault cues notice, to indicate that the target communication terminal and interchanger pause communicate.According to embodiments of the present invention, it is ensured that the communication traffic of communication network operates normally.

Description

Communication loopback fault detection method and device in a kind of communication network
Technical field
The present invention relates to view networking technology fields, more particularly to the communication loopback fault detection side in a kind of communication network Communication loopback fault detection means and a kind of communication loopback failure in communication network in method, a kind of communication network The interchanger of detection.
Background technique
Currently, with the fast development of the network technology, the two-way communications such as video conference, video teaching user life, Work, study etc. are widely available.In the network architecture for the communication network for carrying out the two-way communications such as video conference, video teaching In, usually with region zones formed a tree-shaped physical network, for example, central area be provided with a central server and Center switch, then center switch is responsible for being communicated with the secondary switch of multiple ownership different zones, secondary exchange Machine connects multiple communicating terminals and secondary servers again, thus by the interchanger of each level realize secondary servers, in it is genuinely convinced Data interaction is realized between business device, each communicating terminal.
However, applicant it has been investigated that, the same communicating terminal may be connected due to mistake in practical application To multiple switch or register communicating terminal MAC Address (physical address) when input error cause different communicating terminals Using reasons such as identical MAC Address, cause the communication network that communication loopback failure occurs.When communication loopback occurs for communication network When failure, the object of mistake may be sent data between communicating terminal, between communicating terminal and server, so as to cause It is unable to operate normally communication traffic.
Summary of the invention
The technical problem to be solved is that the communication loopback fault detections provided in a kind of communication network for the embodiment of the present invention Communication loopback fault detection means, a kind of communication loopback failure inspection in communication network in method, a kind of communication network The interchanger of survey.
To solve the above-mentioned problems, the present invention provides the communication loopback fault detection method in a kind of communication network, institutes Stating communication network includes at least one interchanger and multiple communicating terminals, and the interchanger includes for logical with the communicating terminal Multiple communication interfaces of news, which comprises
Obtain the address table of interchanger;The corresponding physical address for preserving each communicating terminal of the address table and With the communication interface of each communicating terminal communication;
Determine the same target physical address existed in the address record log corresponding to different communication interfaces, and Determining the communication network, there is currently communication loopback failures;
The target communication terminal indicated to the target physical address sends communication loopback fault cues notice, to indicate It states target communication terminal and interchanger pause communicates.
Optionally, the method also includes:
Communication loopback fault cues notice is sent to the interchanger, to indicate that the interchanger and the target communication are whole End pause communication.
Optionally, the address table includes the address table updated, and the determination is in the address record log In correspond to different communication interfaces the same target physical address include:
Search each physical address communication interface corresponding in the address table of update;
If some physical address is corresponding with different communication interfaces, for the target physical by some physical address tag Location.
Optionally, the address table includes the address table of each period, and the determination is remembered in the address Exist in record log and includes: corresponding to the same target physical address of different communication interfaces
Search each physical address corresponding communication interface in the address table of each period;
It is the object by some physical address tag if the corresponding communication interface of some physical address is different Manage address.
Optionally, the address table for obtaining interchanger includes:
The address table upload function module of the interchanger is called, and indicates the address table upload function mould The address table is sent to communication loopback fault detection server by block.
Optionally, the address table for obtaining interchanger further include:
When the address table upload function module failure for calling the interchanger, then local long-range control mould is called Block;
The address table is extracted from the interchanger using the remote control module.
To solve the above-mentioned problems, the present invention also provides the communication loopback fault detection method in a kind of communication network, The method is applied to interchanger, and the communication network includes at least one interchanger and multiple communicating terminals, the interchanger Including multiple communication interfaces for being communicated with the communicating terminal, which comprises
Obtain the address table of interchanger;The corresponding physical address for preserving each communicating terminal of the address table with The communication interface that each communicating terminal is accessed;
Determine the same target physical address existed in the address record log corresponding to different communication interfaces, and Determining the communication network, there is currently communication loopback failures;
The target communication terminal indicated to the target physical address sends communication loopback fault cues notice, to indicate It states target communication terminal and interchanger pause communicates.
Optionally, the communicating terminal includes that data send terminal and data receiving terminal, and the communication interface includes number According to receiving interface and data transmission interface, before the address table for obtaining interchanger, the method also includes:
It obtains the data and sends the communication data that terminal is sent to the data receiver interface;The communication data carries The data send the physical address of terminal and the data receiving terminal;
According to the physical address of the data receiving terminal, the communication data is sent using the data transmission interface To the data receiving terminal;
The data are sent into terminal and the data receiver interface, and, the data receiving terminal and the data Transmission interface, correspondence are stored in the address table.
To solve the above-mentioned problems, the present invention also provides the communication loopback fault detection means in a kind of communication network, The communication network includes at least one interchanger and multiple communicating terminals, the interchanger include for the communicating terminal Multiple communication interfaces of communication, described device include:
Address table obtains module, for obtaining the address table of interchanger;The address table is corresponding to be saved There are the physical address of each communicating terminal and the communication interface with the communication of each communicating terminal;
Fault determination module exists in the address record log corresponding to the same of different communication interfaces for determining A target physical address, and determine the communication network there is currently communication loopback failure;
Notification module, the target communication terminal for indicating to the target physical address send communication loopback fault cues Notice, to indicate that the target communication terminal and interchanger pause communicate.
To solve the above-mentioned problems, the present invention also provides a kind of communication loopback fault detections in communication network Interchanger, the communication network include at least one interchanger and multiple communicating terminals, the interchanger include for it is described Multiple communication interfaces of communicating terminal communication, the interchanger include:
Address table obtains module, for obtaining the address table of interchanger;The address table is corresponding to be saved There are the physical address of each communicating terminal and the communication interface with the communication of each communicating terminal;
Fault determination module exists in the address record log corresponding to the same of different communication interfaces for determining A target physical address, and determine the communication network there is currently communication loopback failure;
Notification module, the target communication terminal for indicating to the target physical address send communication loopback fault cues Notice, to indicate that the target communication terminal and interchanger pause communicate.
Compared with prior art, the embodiment of the present invention includes following advantages:
According to embodiments of the present invention, by searching for the same physical address for corresponding to different communication interfaces, determine current In the presence of communication loopback failure, and correspondingly, pause target communication terminal is communicated with interchanger, to avoid because communicating loopback The Communications such as data transmission fault caused by failure ensure that the communication traffic of communication network can operate normally.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the invention;
Fig. 2 is a kind of hardware structural diagram of node server of the invention;
Fig. 3 is a kind of hardware structural diagram of access switch of the invention;
Fig. 4 is the hardware structural diagram that a kind of Ethernet association of the invention turns gateway;
Fig. 5 is the step process of the communication loopback fault detection method in a kind of communication network of the embodiment of the present invention one Figure;
Fig. 6 is the step process of the communication loopback fault detection method in a kind of communication network of the embodiment of the present invention two Figure;
Fig. 7 is the structural block diagram of the communication loopback fault detection means in a kind of communication network of the embodiment of the present invention three;
Fig. 8 is a kind of knot of interchanger for the communication loopback fault detection in communication network of the embodiment of the present invention four Structure block diagram;
Fig. 9 is a kind of schematic diagram of hard loopback failure of the invention;
Figure 10 is the schematic diagram that a kind of flexi-ring of the invention returns failure;
Figure 11 is a kind of loopback fault detection system schematic diagram of the invention;
Figure 12 is a kind of structural schematic diagram of communication loopback fault detection server of the invention;
Figure 13 is a kind of structural schematic diagram of loopback information collecting server of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
Firstly the need of explanation, present invention could apply to regard in the communication network of networking.It is network Development depending on networking Important milestone, be a real-time network, can be realized HD video real-time Transmission, push numerous Internet applications to high definition Video, high definition are face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or Computer realizes that high-definition quality video plays.
Embodiment in order to enable those skilled in the art to better understand the present invention is introduced to depending on networking below:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type The seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type " Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal. Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 embodiment of the present invention can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or National net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet; And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) port if meeting the following conditions It is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, including The operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown) Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table) Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module 302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met, It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet; If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier (stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in embodiments of the present invention:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1) It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded: 1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and, Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module 402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking mesh way address of measured data packet DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410 (2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, according to the view of packet networking mesh if there is Bao Ze Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server. Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes, payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA SA Reserved Payload CRC
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address, Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages 64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment System, introduces parameter in embodiments of the present invention: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into 0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN) Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA SA Reserved Label Payload CRC
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position Set is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic of view networking, one of the core concepts of the embodiments of the present invention is proposed, it then follows regard the association of networking View, judges whether physical address drifts about.So-called drift is that some physical address connects in some period and some communication Mouth communication is communicated again with another communication interface in another period, or is communicated simultaneously from different communication interfaces.When There is the drift of physical address, that is, can determine that there is communication loopback failure in view networking.More specific scheme will be in embodiment one In be illustrated.
Embodiment one
Fig. 5 shows the step of communication loopback fault detection method in a kind of communication network of the embodiment of the present invention one stream Cheng Tu mainly provides the communication loopback fault detection in a kind of communication network from the angle of communication loopback fault detection server Method, the communication network include at least one interchanger and multiple communicating terminals, and the interchanger includes for leading to described Multiple communication interfaces of terminal called are interrogated, the method can specifically comprise the following steps:
Step 101, the address table of interchanger is obtained;The corresponding object for preserving each communicating terminal of the address table Manage address and the communication interface with the communication of each communicating terminal.
In practical application, it may cause the communication network that communication loopback failure occurs due to various reasons depending on networking.Wherein, Communication loopback failure includes that hard loopback failure and flexi-ring return failure.
Fig. 9 shows a kind of schematic diagram of hard loopback failure of the invention.It can be seen that due to artificial connection error Or hardware fault, communicating terminal 01 is connected to secondary switch 01 and secondary switch 02 simultaneously, when 01 He of communicating terminal When communicating terminal 02 carries out the communication traffic of video conference etc., there are two communications between communicating terminal 01 and communicating terminal 02 Path, respectively " communication of the communication interface 01- center switch of communicating terminal 01- secondary switch 01- center switch connects Mouth 03- secondary switch 02- communicating terminal 02 " and " communication interface of communicating terminal 01- secondary switch 03- center switch The communication interface 03- secondary switch 02- communicating terminal 02 " of 02- center switch.It causes logical there are two between communicating terminal The reason of interrogating path is depending on there are physics loop, " communicating terminal 01- secondary switch 01- center switch-secondary is handed in networking It changes planes 03- communicating terminal 01 ".Therefore, when carrying out video conference, what communicating terminal 01 issued will pass through respectively depending on networking data Two communication paths reach communicating terminal 02, to cause view networking data discontinuous, the video in video conference then will appear Situations such as Caton, frame-skipping.
Figure 10 shows the schematic diagram that a kind of flexi-ring of the invention returns failure.It can be seen that in view networking, there are two The communicating terminal of identical MAC Address, to cause soft to gain failure.It is communicated since view networking is mainly determined according to MAC Address Two communicating terminals may be considered the same communicating terminal 01 depending on networking, when one of communicating terminal 01 exists by terminal When carrying out video conference, another communicating terminal 01 can also receive the data of video conference, cause view networking data flow direction The object of mistake.In addition there are a kind of reasons to cause soft to gain failure.Specifically, since communicating terminal needs first in server Upper registration could enjoy communication traffic, and actual communication is not present eventually when registering MAC Address for communicating terminal 03 in user End 03, and user fills in the MAC Address of communicating terminal 01 due to clerical mistake, so as to cause identical there are two in view networking MAC Address.
In order to realize the detection to communication loopback failure, several communication links can be disposed in the communication network depending on networking etc. Fault detection server is returned, communication loopback fault detection server can be deployed with communication loopback fault detection program, by communicating Loopback fault detection program periodically obtains the address table of several interchangers and is analyzed, and judges whether occur physically The drift of location.
It should be further noted that interchanger needs to be remembered according to address when the data to communicating terminal are forwarded Record table determines the object of forwarding.It specifically, can be from communication data when interchanger receives the communication data of some communicating terminal Communications protocol in learn the target communication terminal for needing to receive the communication data and its physical address.
Interchanger searches whether to have existed the MAC Address of the communicating terminal in address table.If not on ground In the record sheet of location, exchange opportunity broadcast transmission, target communication on all movable communication interfaces by the communication data received If terminal is online, the communication data can be obtained by the active communicators interface connected and return to confirmation message, for same Sample gets the non-targeted communicating terminal of communication data, then can abandon the communication data.
Interchanger can accordingly protect the MAC Address of target communication terminal communication interface corresponding with target communication terminal There are in address table.
In practical application, the address table of interchanger can also carry out quiet other than above-mentioned dynamic learning mode The mode of state being manually specified.For example, when the MAC Address for specifying some communicating terminal some VLAN can be being specified The MAC Address that some communication interface of (Virtual Local Area Network, virtual LAN) receives.Table 1 is shown A kind of example of address table:
Vlan Mac Address Type Ports
2 0013.1a2f.0680 DYNAMIC Fa0/1
3 0013.1a2f.0681 DYNAMIC Fa0/2
Table 1
It can be seen in table 1 that address table can correspond to the MAC Address of the number, communicating terminal of preserving Vlan, obtain The mode of MAC Address and the number of communication interface.
Optionally, the step 101 includes:
Sub-step S11, calls the address table upload function module of the interchanger, and indicates the address table The address table is sent to communication loopback fault detection server by upload function module.
In the specific implementation, can realize the acquisition of address table by way of calling functional modules.For example, using Snmp protocol (Simple Network Management Potocol, Simple Network Management Protocol) obtains, using " 1.3.6.1.2.1.17.4.3.1.1 " this Mib oid obtains address table, by SNMP communication module is dealt into interchanger On.Wherein, SNMP is made of the standard of one group of network management, includes an application layer protocol (Application Layer Protocol), database model (Database Schema) and one group of resource object.The agreement can support Network Management Department Whether system has monitoring the equipment being connected on network and any causes the case where managing upper concern.With pipe in SNMP message Variable is managed to describe the management object in interchanger (some application function).For the management object in unique identification interchanger, SNMP identifies management object with hierarchical structure nomenclature scheme.Entire hierarchical structure indicates management just as one tree, the node of tree Object indicates some Mib oid.
Optionally, the step 101 includes:
Sub-step S12 is then called local remote when the address table upload function module failure for calling the interchanger Process control module;
Sub-step S13 extracts the address table using the remote control module from the interchanger.
After using snmp protocol failure, address table can be carried out using Telnet agreement (remote control protocol) It obtains.Wherein, Telnet agreement is a member in TCP/IP protocol suite, be Internet telnet service standard agreement and Major way.It provides the ability for completing distance host work on the local computer for user.In the electricity of terminal user Telnet program is used on brain, is connected to server with it.Terminal user can input order in Telnet program, these Order can be run on the server, just as inputting directly on the console of server.It locally can just can control clothes Business device.
In practical application, the mode that Telnet agreement also can be directly used obtains address table.In addition, this field skill Art personnel can obtain address table from interchanger using various ways.
Step 102, the same object existed in the address record log corresponding to different communication interfaces is determined Manage address, and determine the communication network there is currently communication loopback failure.
Optionally, the address table includes the address table updated, and the determination is in the address record log In correspond to different communication interfaces the same target physical address include:
Sub-step S31 searches each physical address communication interface corresponding in the address table of update;
Some physical address tag is described if some physical address is corresponding with different communication interfaces by sub-step S32 Target physical address.
In the specific implementation, communication interface corresponding to each physical address can be searched in address table, if looked into It finds some physical address and is corresponding with multiple and different communication interfaces, then can be target physical by the physical address tag Address, at the same can be determined that current communication network there is communication loopback failure.
The address table includes the address table of each period, and the determination is in the address record log Include: in the presence of the same target physical address for corresponding to different communication interfaces
Sub-step S41 searches each physical address corresponding communication interface in the address table of each period;
Sub-step S42, if the corresponding communication interface difference of some physical address, is by some physical address tag The target physical address.
In the specific implementation, interchanger can be collected each since address table regularly updates address table The address table of period, and search corresponding communication in the address table of each period for each physical address and connect Mouthful.If the same physical address is corresponding with not in the same address table or multiple address tables in different time periods The physical address tag can be target physical address, while can be determined that current communication network is deposited by same communication interface In communication loopback failure.
Step 103, the target communication terminal of Xiang Suoshu target physical address instruction sends communication loopback fault cues notice, To indicate that the target communication terminal and interchanger pause communicate.
When discovery communication network in occur communication loopback failure, can using target physical address indicate communicating terminal as Target communication terminal, and communication loopback fault cues notice is sent to target communication terminal, to indicate the target communication terminal Suspend with the interchanger and communicates.
Optionally, the method also includes:
Communication loopback fault cues notice is sent to the interchanger, to indicate that the interchanger and the target communication are whole End pause communication.
When occurring communication loopback failure in discovery communication network, communication loopback failure can also be sent to corresponding interchanger Prompt notice, to indicate that interchanger and target communication terminal pause communicate.
Communication loopback fault cues notice can be the message being arranged according to certain predetermined format.As the following table 2 shows one The schematic diagram of kind communication loopback fault cues notice.As seen from the table, prompt notice may include packet header and the packet for having data packet The information such as time, the IP address of interchanger, the physical address of communicating terminal, the communication interface that tail, notice generate.
Packet header Length Alarm time Interchanger ip Mac Former port New port Packet tail
4 bytes 2 bytes 4 bytes 4 bytes 6 bytes 1 byte 1 byte 4 bytes
0xFFFFFFFF 0xEEEEEEEE
Table 2
In practical application, loopback information collecting server can be set in communication network, it will by the way of udp protocol Communication loopback fault cues notice is sent to the loopback information collecting server.Loopback information collecting server can be for notice Issue alarm prompt sound.Figure 11 shows a kind of loopback fault detection system schematic diagram of the invention.It can be seen that communication link Fault detection server is returned to obtain address table from the interchanger depending on networking and analyze when there are communication links for forward sight networking Failure is returned, and corresponding communication loopback fault cues notice is sent to by loopback information collecting server by udp protocol.
It should be noted that being said for depending on networking to technical solution of the present invention in embodiments of the present invention It is bright.It is appreciated that in communication network similar with the network architecture of view networking, for example, local area network, it is equally possible to which there are logical Loopback failure is interrogated, therefore, technical solution provided in an embodiment of the present invention can be applied in local area network, to solve communication loopback The problem of failure.
According to embodiments of the present invention, by searching for the same physical address for corresponding to different communication interfaces, determine current In the presence of communication loopback failure, and correspondingly, pause target communication terminal is communicated with interchanger, to avoid because communicating loopback The Communications such as data transmission fault caused by failure ensure that the communication traffic of communication network can operate normally.
Embodiment two
Fig. 6 shows the step of communication loopback fault detection method in a kind of communication network of the embodiment of the present invention two stream Cheng Tu mainly provides the communication loopback fault detection method in a kind of communication network, the communication network from the angle of interchanger Including at least one interchanger and multiple communicating terminals, the interchanger includes multiple logical for communicating with the communicating terminal Communication interface, the method can specifically comprise the following steps:
Step 201, the address table of interchanger is obtained;The corresponding object for preserving each communicating terminal of the address table The communication interface that reason address and each communicating terminal are accessed.
It should be noted that the embodiment of the present invention can be applied in the interchanger of view networking.In the specific implementation, interchanger It can call and be stored in local address table, to judge whether the drift for physical address occur by analyzing address table It moves, and accordingly determines currently whether occur communicating loopback failure.
Optionally, the communicating terminal includes that data send terminal and data receiving terminal, and the communication interface includes number According to receiving interface and data transmission interface, before the address table for obtaining interchanger, the method also includes:
It obtains the data and sends the communication data that terminal is sent to the data receiver interface;The communication data carries The data send the physical address of terminal and the data receiving terminal;
According to the physical address of the data receiving terminal, the communication data is sent using the data transmission interface To the data receiving terminal;
The data are sent into terminal and the data receiver interface, and, the data receiving terminal and the data Transmission interface, correspondence are stored in the address table.
In the specific implementation, terminal can be sent using the communicating terminal of currently transmitted data as data, and will currently receive The communicating terminal of data is as data receiving terminal.It, correspondingly, can be according to current hair for the communication interface of interchanger Communication interface is defined as data receiver interface and data transmission interface by the state for sending or receiving data.
After some communication data is sent to interchanger by some data receiver interface of interchanger by data transmission terminal, Interchanger can get the physical address that data send terminal and data receiving terminal from the communication data.Interchanger can be with According to the physical address of data receiving terminal, corresponding data transmission interface is called, communication data is sent to data receiver end End.Meanwhile data are sent into terminal and data receiving interface, and, data receiving terminal and data transmission interface are accordingly protected There are in address table.
Step 202, the same object existed in the address record log corresponding to different communication interfaces is determined Manage address, and determine the communication network there is currently communication loopback failure.
Step 203, the target communication terminal of Xiang Suoshu target physical address instruction sends communication loopback fault cues notice, To indicate that the target communication terminal and interchanger pause communicate.
According to embodiments of the present invention, by searching for the same physical address for corresponding to different communication interfaces, determine current In the presence of communication loopback failure, and correspondingly, pause target communication terminal is communicated with interchanger, to avoid because communicating loopback The Communications such as data transmission fault caused by failure ensure that the communication traffic of communication network can operate normally.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
In order to which those skilled in the art deeply understand the present invention, said below with reference to the specific example of Figure 12 and Figure 13 It is bright.Figure 12 shows a kind of structural schematic diagram for communicating loopback fault detection server of the present invention.It can be seen that communication loopback Fault detection server may include multiple modules, and the processing that each module is carried out is as follows:
Xml document parsing module: use xml document as configuration file, configuration file storage is interchanger to be obtained Essential information, including the mostly upper time take a mac table, the address ip of interchanger, snmp protocol massages group name, snmp order Waiting time, number of retries, port, telnet login name, password, telnet command-line prompt accord with (such as<H3C>).
Wherein, the xml configuration file format of snmp agreement is as follows:
Wherein, the xml configuration file format of Telnet agreement is as follows:
Mac table obtains module: the mac address table of timing acquisition interchanger, and fixed time interval comes from configuration file, default 30 Second.
Oid parsing module: parsing " 1.3.6.1.2.1.17.4.3.1.1 " this oid issues interchanger and obtains interchanger Mac table;The oid that interchanger returns is parsed, the address mac and port are therefrom obtained.
Snmp communication module: being responsible for and switch communication.
Canonical parsing module: telnet inquires interchanger mac, return the result is that textual form, needs to parse text, this Invention parses text using regular expression.It uses this ([0-9a-fA-F] { 4 }) (([/ s:-] [0-9a-fA-F] { 4 }) { 2 }) .* ([0-9] [/] [0-9]+) regular expression obtains mac-port value pair.
Telnet communication module: being responsible for and switch communication, using 2 threads, is responsible for for one sending to interchanger Telnet order is responsible for for one receiving the telnet bidding protocol that interaction machine returns.
Comparison module: comparing 2 mac address tables, it is found that same mac on different port, then has mac drift, group At alarm information, it is put into the message queue of alarm sending module.
Wherein, in relatively mac address table, the mac table of interaction machine, structure can be stored using the map data type of stl It is as follows:
Map<ip, pair<mac, port>>, using the ip of interchanger as key, using mac and port value to as value.
Alert sending module: as soon as monitoring message queue, discovery are had message to take out, are sent to and are disappeared using udp socket Cease collection procedure.
Wherein, by above-mentioned multiple modules, testing process below may be implemented:
S1, starting detection program, reads in xml configuration file, by the configuration information read-in programme of interchanger;
S2, Mac table obtain the mac table of module timing acquisition interchanger, and time interval can match, and configure in xml configuration file In;
S3, obtain mac address table first use snmp agreement to obtain, using " 1.3.6.1.2.1.17.4.3.1.1 " this Oid obtains mac address table, is dealt on interchanger by snmp communication module;
S4 reuses the reacquisition of Telnet agreement when snmp protocol failure;
After the acquisition of S5, Mac address table comes up, is compared by the mac table with last time, find the mac of drift;
S6, the mac that will be drifted about are sent to collection procedure according to the alarm information format of definition.
Figure 13 shows a kind of structural schematic diagram of loopback information collecting server of the present invention.It can be seen that loopback is believed It includes multiple modules that breath, which collects server, and the processing that each module is carried out is as follows:
Alarm receiving module: it receives loopback detection program and pushes the alarm information to come, using udp socket, select Realize multichannel I/O multiplexing.
Warning analysis module: the alarm information received is parsed, is put into database.Database uses mysql5.5.It will solution In the MacFlapping table for the alarm deposit LoopDetection database analysed.
It alerts sound module: while storage, sound module is sent in this alarm, issues alarm sound.
Embodiment three
Corresponding with embodiment one, the embodiment of the present invention three additionally provides the communication loopback fault detection in a kind of communication network Device, the device can be applied particularly to communication loopback fault detection server.Fig. 7 shows one kind of the embodiment of the present invention three The structural block diagram of communication loopback fault detection means in communication network, the communication network includes at least one interchanger and more A communicating terminal, the interchanger include multiple communication interfaces for communicating with the communicating terminal, and described device specifically may be used To include following module:
Address table obtains module 701, for obtaining the address table of interchanger;The address table is corresponding to be protected There are the physical address of each communicating terminal and the communication interface with the communication of each communicating terminal;
Fault determination module 702 exists in the address record log corresponding to different communication interfaces for determining The same target physical address, and determine the communication network there is currently communication loopback failure;
Notification module 703, the target communication terminal for indicating to the target physical address send communication loopback failure Prompt notice, to indicate that the target communication terminal and interchanger pause communicate.
Optionally, described device further include:
Interchanger notification module, for sending communication loopback fault cues notice to the interchanger, to indicate the friendship It changes planes to suspend with the target communication terminal and communicate.
Optionally, the address table includes the address table updated, and the fault determination module 702 includes:
First communication interface searches submodule, corresponding in the address table of update for searching each physical address Communication interface;
First object physical address tag submodule will if being corresponding with different communication interfaces for some physical address Some physical address tag is the target physical address.
Optionally, the address table includes the address table of each period, and the fault determination module 702 wraps It includes:
Second communication interface searches submodule, divides in the address table of each period for searching each physical address Not corresponding communication interface;
Second target physical address marks submodule, if different for the corresponding communication interface of some physical address, It is then the target physical address by some physical address tag.
Optionally, the address table acquisition module 701 includes:
Upload function module calls submodule, for calling the address table upload function module of the interchanger, and Indicate that the address table is sent to communication loopback fault detection server by the address table upload function module.
Optionally, the address table acquisition module 701 includes:
Remote control module calls submodule, for when the address table upload function module mistake for calling the interchanger It loses, then calls local remote control module;
Address table extracting sub-module, for being extracted describedly from the interchanger using the remote control module Location record sheet.
According to embodiments of the present invention, by searching for the same physical address for corresponding to different communication interfaces, determine current In the presence of communication loopback failure, and correspondingly, pause target communication terminal is communicated with interchanger, to avoid because communicating loopback The Communications such as data transmission fault caused by failure ensure that the communication traffic of communication network can operate normally.
Example IV
Corresponding with embodiment two, the embodiment of the present invention four additionally provides a kind of communication loopback failure in communication network The interchanger of detection.Fig. 8 shows a kind of communication loopback fault detection in communication network of the embodiment of the present invention four The structural block diagram of interchanger, the communication network include at least one interchanger and multiple communicating terminals, and the interchanger 800 wraps Multiple communication interfaces for communicating with the communicating terminal are included, the interchanger 800 can specifically include following module:
Address table obtains module 801, for obtaining the address table of interchanger;The address table is corresponding to be protected There is the physical address of each communicating terminal and communication interface that each communicating terminal is accessed.
Fault determination module 802 exists in the address record log corresponding to different communication interfaces for determining The same target physical address, and determine the communication network there is currently communication loopback failure.
Notification module 803, the target communication terminal for indicating to the target physical address send communication loopback failure Prompt notice, to indicate that the target communication terminal and interchanger pause communicate.
Optionally, the communicating terminal includes that data send terminal and data receiving terminal, and the communication interface includes number According to receiving interface and data transmission interface, before the address table for obtaining interchanger, the interchanger 800 is also wrapped It includes:
Communication data obtains module, sends the communication that terminal is sent to the data receiver interface for obtaining the data Data;The communication data carries the physical address that the data send terminal and the data receiving terminal;
Communication data forwarding module is sent for the physical address according to the data receiving terminal using the data The communication data is sent to the data receiving terminal by interface;
Address table preserving module is used to the data sending terminal and the data receiver interface, and, it is described Data receiving terminal and the data transmission interface, correspondence are stored in the address table.
According to embodiments of the present invention, by searching for the same physical address for corresponding to different communication interfaces, determine current In the presence of communication loopback failure, and correspondingly, pause target communication terminal is communicated with interchanger, to avoid because communicating loopback The Communications such as data transmission fault caused by failure ensure that the communication traffic of communication network can operate normally.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
In a typical configuration, the computer equipment includes one or more processors (CPU), input/output Interface, network interface and memory.Memory may include the non-volatile memory in computer-readable medium, random access memory The forms such as device (RAM) and/or Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is to calculate The example of machine readable medium.Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be with Realize that information is stored by any method or technique.Information can be computer readable instructions, data structure, the module of program or Other data.The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, CD-ROM are read-only Memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or Other magnetic storage devices or any other non-transmission medium, can be used for storage can be accessed by a computing device information.According to Herein defines, and computer-readable medium does not include non-persistent computer readable media (transitory media), such as The data-signal and carrier wave of modulation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Technical solution provided by the present invention is described in detail above, specific case used herein is to this hair Bright principle and embodiment is expounded, method of the invention that the above embodiments are only used to help understand and its Core concept;At the same time, for those skilled in the art, according to the thought of the present invention, in specific embodiment and application There will be changes in range, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (10)

1. the communication loopback fault detection method in a kind of communication network, which is characterized in that the communication network includes at least one A interchanger and multiple communicating terminals, the interchanger include multiple communication interfaces for communicating with the communicating terminal, institute The method of stating includes:
Obtain the address table of interchanger;The corresponding physical address for preserving each communicating terminal of the address table and with it is each The communication interface of communicating terminal communication;
It determines the same target physical address existed in the address table corresponding to different communication interfaces, and determines institute Stating communication network, there is currently communication loopback failures;
The target communication terminal indicated to the target physical address sends communication loopback fault cues notice, to indicate the mesh It marks communicating terminal and interchanger pause communicates.
2. the method according to claim 1, wherein the method also includes:
Communication loopback fault cues notice is sent to the interchanger, to indicate that the interchanger and the target communication terminal are temporary Stop communicating.
3. the method according to claim 1, wherein the address table include update address table, The determination includes: corresponding to the same target physical address of different communication interfaces in the address table
Search each physical address communication interface corresponding in the address table of update;
It is the target physical address by some physical address tag if some physical address is corresponding with different communication interfaces.
4. the method according to claim 1, wherein the address table includes the address note of each period Table is recorded, the determination has the same target physical address packet corresponding to different communication interfaces in the address table It includes:
Search each physical address corresponding communication interface in the address table of each period;
If the corresponding communication interface of some physical address is different, for the target physical by some physical address tag Location.
5. the method according to claim 1, wherein the address table for obtaining interchanger includes:
The address table upload function module of the interchanger is called, and indicates that the address table upload function module will The address table is sent to communication loopback fault detection server.
6. according to the method described in claim 5, it is characterized in that, the address table for obtaining interchanger further include:
When the address table upload function module failure for calling the interchanger, then local remote control module is called;
The address table is extracted from the interchanger using the remote control module.
7. the communication loopback fault detection method in a kind of communication network, which is characterized in that the method is applied to interchanger, institute Stating communication network includes at least one interchanger and multiple communicating terminals, and the interchanger includes for logical with the communicating terminal Multiple communication interfaces of news, which comprises
Obtain the address table of interchanger;The corresponding physical address for preserving each communicating terminal of the address table leads to each The communication interface that news terminal is accessed;
It determines the same target physical address existed in the address table corresponding to different communication interfaces, and determines institute Stating communication network, there is currently communication loopback failures;
The target communication terminal indicated to the target physical address sends communication loopback fault cues notice, to indicate the mesh It marks communicating terminal and interchanger pause communicates.
8. the method according to the description of claim 7 is characterized in that the communicating terminal includes that data transmission terminal and data connect Terminal is received, the communication interface includes data receiver interface and data transmission interface, is recorded in the address for obtaining interchanger Before table, the method also includes:
It obtains the data and sends the communication data that terminal is sent to the data receiver interface;Described in the communication data carries The physical address of data transmission terminal and the data receiving terminal;
According to the physical address of the data receiving terminal, the communication data is sent to by institute using the data transmission interface State data receiving terminal;
The data are sent into terminal and the data receiver interface, and, the data receiving terminal and the data are sent Interface, correspondence are stored in the address table.
9. the communication loopback fault detection means in a kind of communication network, which is characterized in that the communication network includes at least one A interchanger and multiple communicating terminals, the interchanger include multiple communication interfaces for communicating with the communicating terminal, institute Stating device includes:
Address table obtains module, for obtaining the address table of interchanger;The address table is corresponding to be preserved respectively The physical address of communicating terminal and the communication interface communicated with each communicating terminal;
Fault determination module, for determining the same target existed in the address table corresponding to different communication interfaces Physical address, and determine the communication network there is currently communication loopback failure;
Notification module, it is logical that the target communication terminal for indicating to the target physical address sends communication loopback fault cues Know, to indicate that the target communication terminal and interchanger pause communicate.
10. a kind of interchanger for the communication loopback fault detection in communication network, which is characterized in that the communication network packet At least one interchanger and multiple communicating terminals are included, the interchanger includes multiple communications for communicating with the communicating terminal Interface, the interchanger include:
Address table obtains module, for obtaining the address table of interchanger;The address table is corresponding to be preserved respectively The communication interface that the physical address of communicating terminal and each communicating terminal are accessed;
Fault determination module, for determining the same target existed in the address table corresponding to different communication interfaces Physical address, and determine the communication network there is currently communication loopback failure;
Notification module, it is logical that the target communication terminal for indicating to the target physical address sends communication loopback fault cues Know, to indicate that the target communication terminal and interchanger pause communicate.
CN201710217649.2A 2017-04-05 2017-04-05 Communication loopback fault detection method and device in a kind of communication network Active CN108696398B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710217649.2A CN108696398B (en) 2017-04-05 2017-04-05 Communication loopback fault detection method and device in a kind of communication network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710217649.2A CN108696398B (en) 2017-04-05 2017-04-05 Communication loopback fault detection method and device in a kind of communication network

Publications (2)

Publication Number Publication Date
CN108696398A CN108696398A (en) 2018-10-23
CN108696398B true CN108696398B (en) 2019-06-28

Family

ID=63841978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710217649.2A Active CN108696398B (en) 2017-04-05 2017-04-05 Communication loopback fault detection method and device in a kind of communication network

Country Status (1)

Country Link
CN (1) CN108696398B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519082A (en) * 2019-08-05 2019-11-29 视联动力信息技术股份有限公司 A kind of management method and device regarding networked devices
CN110971484A (en) * 2019-11-15 2020-04-07 西安海的电子科技有限公司 Signal detection method in communication process
CN112689113A (en) * 2020-12-16 2021-04-20 武汉氪细胞网络技术有限公司 Video answering system based on real-time audio and video technology

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859411A (en) * 2006-03-18 2006-11-08 华为技术有限公司 Method for detecting communication device link ringback and communication device
JP2007334474A (en) * 2006-06-13 2007-12-27 Olympus Corp Fault analysis assistance device and fault analysis assistance method
CN102594616A (en) * 2011-11-23 2012-07-18 国家计算机网络与信息安全管理中心 Network security detection method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118371B (en) * 2009-12-30 2013-10-09 华为技术有限公司 Method, device and system for controlling network traffic switch
US9497119B2 (en) * 2014-05-22 2016-11-15 International Business Machines Corporation Supporting access control list rules that apply to TCP segments belonging to ‘established’ connection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859411A (en) * 2006-03-18 2006-11-08 华为技术有限公司 Method for detecting communication device link ringback and communication device
JP2007334474A (en) * 2006-06-13 2007-12-27 Olympus Corp Fault analysis assistance device and fault analysis assistance method
CN102594616A (en) * 2011-11-23 2012-07-18 国家计算机网络与信息安全管理中心 Network security detection method and device

Also Published As

Publication number Publication date
CN108696398A (en) 2018-10-23

Similar Documents

Publication Publication Date Title
CN108023910A (en) A kind of terminal monitoring method and system based on regarding networking
CN108965912B (en) A kind of method, client and the server of video data processing
CN108075920A (en) A kind of management method and system regarding networked terminals
CN108882008B (en) A kind of method and apparatus of data conversion
CN108965224A (en) A kind of method and apparatus of video on demand
CN107888401B (en) A kind of method and system of real time monitoring view networked terminals cpu busy percentage
CN108965040A (en) A kind of business monitoring method and device of view networking
CN108206752A (en) A kind of management method and device regarding networked devices
CN108880850A (en) A kind of method and apparatus regarding networked terminals fault detection
CN110493351A (en) A kind of view networking cut-in method, device, equipment and storage medium
CN109889420A (en) Method and device for business processing
CN109818776A (en) Micro services module exception localization method and device
CN110087064A (en) A kind of detection method of monitor terminal, system and a kind of device and storage medium
CN109617956A (en) A kind of data processing method and device
CN108881895A (en) A kind of malfunction elimination method and apparatus based on view networking
CN108632233B (en) A kind of alarming check method and apparatus
CN108307212A (en) A kind of file order method and device
CN108696398B (en) Communication loopback fault detection method and device in a kind of communication network
CN108234178A (en) A kind of method and apparatus for being managed collectively menu file
CN109284265A (en) A kind of date storage method and system
CN109617830A (en) A kind of method and apparatus regarding real time demonstration business in networking
CN110519072A (en) A kind of method for inspecting, system and device
CN110048903A (en) A kind of association turns gateway status monitoring method and device
CN109151519A (en) A kind of configuration distribution method and system based on view networking
CN110505107A (en) A kind of monitoring method and view networking management system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100000 Dongcheng District, Beijing, Qinglong Hutong 1, 1103 house of Ge Hua building.

Applicant after: Video Link Power Information Technology Co., Ltd.

Address before: 100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113

Applicant before: BEIJING VISIONVERA INTERNATIONAL INFORMATION TECHNOLOGY CO., LTD.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201230

Address after: 570105 room 1201, Central International Plaza, 77 Binhai street, Longhua District, Haikou City, Hainan Province

Patentee after: Hainan Qiantang Shilian Information Technology Co.,Ltd.

Address before: 100000 Dongcheng District, Beijing, Qinglong Hutong 1, 1103 house of Ge Hua building.

Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right