CN101465767B - Alarm detection method and device for medium gateway network interface - Google Patents
Alarm detection method and device for medium gateway network interface Download PDFInfo
- Publication number
- CN101465767B CN101465767B CN2009100005199A CN200910000519A CN101465767B CN 101465767 B CN101465767 B CN 101465767B CN 2009100005199 A CN2009100005199 A CN 2009100005199A CN 200910000519 A CN200910000519 A CN 200910000519A CN 101465767 B CN101465767 B CN 101465767B
- Authority
- CN
- China
- Prior art keywords
- network interface
- interface board
- alarm
- state
- mode
- 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
Images
Landscapes
- Maintenance And Management Of Digital Transmission (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a medium gateway network interface alarm detection method and a device thereof. The method includes that: after receiving the issued allocation order, a network interface board judges its own active-standby state; if the network interface board is a standby network interface board, the network interface board is arranged to prohibit transmission, and the working mode of its own gateway and the working mode of a corresponding gateway of a data device in butt joint with the network interface board are arranged to be forced megabyte full-duplex modes; the network port status of the standby network interface board is detected, and an alarm is sent out or recovered according to the change of the detected network port status. The method and the system can realize fault alarm detection of the standby network interface board under current networking mode, realize detection alarm when a fault occurs in the connection of netting twines and realize alarm recovery when the network cable connection is recovered.
Description
Technical field
The present invention relates to the media gateway technical field, relate in particular to a kind of method and device of medium gateway network interface alarm detection.
Background technology
Media gateway is as telecom carrier-class device, be in next-generation communication network (Next GenerationNetwork, abbreviation NGN) Access Layer in, finish audio medium stream from TDM (Time DivisionMultiplex, time division multiplexing) form is to the conversion of IP (Internet Protocol, Internet Protocol) packet.Dispose network interface board at medium gateway internal, Ethernet interface links to each other with the data equipment (as 3 layer switch) of bearer network to going out.In order to guarantee the media gateway carrier level reliability, network interface board generally adopts active/standby mode, and each network interface board externally provides N network interface (concrete N value can externally provide the difference of bandwidth capacity to dispose according to media gateway).Easy for describing, here hypothesis is main is 1 with the network interface on the network interface board, network interface on the backup network interface board is 1 ', media business takes over seamlessly when guaranteeing masterslave switchover, 1 and 1 ' IP address and MAC (Media AccessControl to the bearer network exposure, medium access control) address is the same on data configuration, in order to guarantee that both IP and MAC Address do not conflict under specific networking condition, make media gateway that service normally externally is provided, need do network interface to 1 ' by software and close processing, be that DOWN falls standby network interface, it is to be finished with network interface 1 by main that regular traffic provides.
At medium gateway internal, network interface 1 and 1 ' manages as call resources, need carry out real-time detection to 1 and 1 ' state.If 1 breaks down, need switch to 1 ' fast; Otherwise if 1 ' break down, though the business that do not influence this moment does not need to switch, the alarm that needs to produce network interface 1 ' DOWN is in non-main-apparatus protection mode at present with prompting user media gateway and moves, and is in sub-health state, needs the human intervention solution.But under above-mentioned networking mode, 1 ' for satisfy networking requirement by software initiatively DOWN fall, therefore, the state that detect this moment must be DOWN, and be normally or disconnect regardless of the netting twine connection, so the alarm of this moment is insignificant, can not truly reflect the actual working state of network interface; But if do not realize measuring ability, connecting at netting twine under the situation about breaking down again can't early warning, and this is unallowed for carrier-class equipment.
In sum, have following defective in the prior art: the alarm detection of existing standby network interface 1 ' can not truly reflect the actual working state of network interface, thereby can't realize that the fault warning of medium network interface detects.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of method and device of medium gateway network interface alarm detection, detects with the fault warning that realizes backup network interface board network interface under the particular group net mode.
In order to address the above problem, the invention provides a kind of method of medium gateway network interface alarm detection, comprising:
After network interface board is received the configuration order that issues, judge the activestandby state of self, if the backup network interface board, then be set to send and forbid, and the mode of operation of self network interface and be set to force 100,000,000 full-duplex modes with the mode of operation of the corresponding network interface of the data equipment of its butt joint;
Detect the network interface state of described backup network interface board, and send alarm or recover alarm according to the variation of detected described network interface state.
Further, said method also can have following characteristics: when the network interface state of described backup network interface board becomes DOWN by UP, send alarm to NM server; When the network interface state of described backup network interface board becomes UP by DOWN, send alarm clearing to NM server.
Further, said method also can have following characteristics: described method is provided with a certification mark, only after enabling described certification mark, issues described configuration order.
Further, said method also can have following characteristics: receiving described configuration order, when judging the activestandby state of self, if the main network interface board of using, then the mode of operation of self network interface is set to force 100,000,000 full-duplex modes.
Further, said method also can have following characteristics: at described backup network interface board and with when the mode of operation of the corresponding network interface of the data equipment of its butt joint is set to force 100,000,000 full-duplex modes, close the line preface adaptation function of described data equipment.
Further, said method also can have following characteristics: when described backup network interface board with main switch with network interface board after, described backup network interface board and describedly mainly carry out following setting according to the variation of self activestandby state with network interface board:
New master is set to force 100,000,000 full-duplex modes with the mode of operation of network interface board self network interface; The mode of operation of the corresponding network interface of the mode of operation of new backup network interface board self network interface and the data equipment of butt joint is set to force 100,000,000 full-duplex modes, and self is set to send and forbids.
Further, said method also can have following characteristics: described network interface state becomes DOWN by UP and comprises: the netting twine physical connection of described backup network interface board becomes connection by disconnection.
Further, said method also can have following characteristics: described method is provided with network interface state-detection timer, detects the network interface state of described backup network interface board termly according to the timing cycle of described timer.
The present invention also provides a kind of device of medium gateway network interface alarm detection, comprise: the data configuration module, module is set and detects alarm module, described data configuration module and described detection alarm module all link to each other with network interface board, the described module that is provided with is arranged in described network interface board, wherein:
Described data configuration module is used for distribution configuration command to described network interface board;
The described module that is provided with, be used for after described network interface board is received described configuration order, judge the activestandby state of described network interface board, if backup network interface board, then be set to send and forbid, and the mode of operation of its network interface and be set to force 100,000,000 full-duplex modes with the mode of operation of the corresponding network interface of the data equipment of its butt joint;
Described detection alarm module is used to detect the network interface state of described backup network interface board, and when the network interface state when described backup network interface board becomes DOWN by UP, sends alarm to NM server; When the network interface state of described backup network interface board becomes UP by DOWN, send alarm clearing to NM server.
Further, said apparatus also can have following characteristics: the described module that is provided with is after receiving described configuration order, when judging the activestandby state of described network interface board, if the master uses network interface board, then the mode of operation of its network interface is set to force 100,000,000 full-duplex modes.
Description of drawings
Fig. 1 is the networking schematic diagram of the inventive method;
Fig. 2 is the alarm detection method flow diagram of the embodiment of the invention;
Fig. 3 is the schematic diagram of the alarm detecting device of the embodiment of the invention.
Embodiment
The core of the technical solution used in the present invention is:
The certification mark (can be configured by the data configuration module of integrated circuit board) of an overall situation of configuration carries out fault detect if desired, then by this configuration open detection function, and passes through software inhouse Automatic Program distribution configuration command to network interface board;
After network interface board receives configuration order, judge self activestandby state: if standby, then preserve certification mark, judge then whether certification mark is enabled, in this way, then call BSP (Board SupportPackage, plate level support package) interface is provided with the mode of operation of Ethernet PHY (physical layer) chip for forbidding transmission, the mode of operation that network interface is set simultaneously is for forcing 100,000,000 full duplexs, and, also need to be set to force 100,000,000 full-duplex modes with the corresponding network interface on the data equipment of network interface board butt joint, and closed line preface adaptation function; Otherwise,, the network interface mode of operation is set for forcing 100,000,000 full duplexs if main usefulness is then preserved certification mark.
Through after above-mentioned the setting, backup network interface board network interface can normally receive the physical signalling that data equipment sends, and at this moment, the network interface state that the software in the integrated circuit board will detect the backup network interface board is UP; But owing to forbid sending, the corresponding network interface on the data equipment is the physical signalling that does not receive the backup network interface board, and therefore, the state of the corresponding network interface on the data equipment shows as DOWN all the time.Be referred to as unidirectional UP method among the present invention.
By this method, under existing networking mode, can realize the fault detect alarm of backup network interface board, under connecting by the situation that normally becomes fault, network (as extracts netting twine, the netting twine physical connection disconnects), then the software network interface state that can detect the backup network interface board becomes DOWN, sends alarm; Otherwise, when connecting software, network becomes just often by fault, and software can detect recovery, and cancellation alarm (being set to history alarm as this alarm).
Below in conjunction with the drawings and specific embodiments the present invention is described in further detail.
As shown in Figure 1, main network interface board 1 and the backup network interface board 1 ' used docks with data equipment respectively, and corresponding with the data number of the corresponding network interface of data equipment of opposite end, as main with network interface board 1 corresponding data 1, backup network interface board 1 ' corresponding data 1 '.
Be illustrated in figure 2 as one embodiment of the present of invention, specifically comprise the steps:
As by network management interface, to select to enable unidirectional UP function, this step is in order to open fault detection capability;
When network interface working state when normally becoming fault, when promptly the network interface state becomes DOWN by UP, then send and alarm NM server; Otherwise, when network interface working state by fault recovery for just often, when promptly the network interface state becomes UP by DOWN, then send alarm clearing to NM server.
In addition, when network interface board generation masterslave switchover, network interface board will be reset according to the variation of self activestandby state, and its concrete operations are with step 203.
The present invention has solved backup network interface board 1 ' and can't realize the problem that fault warning detects by adopting above-mentioned unidirectional UP method, provides simple solution for media gateway provides carrier-class alarm detection demand.
The medium gateway network interface alarm detection device of the embodiment of the invention mainly comprises: the data configuration module, module is set and detects alarm module, as shown in Figure 3, the data configuration module of present embodiment and detection alarm module all link to each other with network interface board, module is set is arranged in network interface board, wherein, the effect of each module is as follows:
The data configuration module is used for distribution configuration command to network interface board;
Module is set, be used for after network interface board is received described configuration order, judge the activestandby state of network interface board, if backup network interface board, then be set to send and forbid, and the mode of operation of its network interface and be set to force 100,000,000 full-duplex modes (also will close the line preface adaptation function of data equipment) with the mode of operation of the corresponding network interface of the data equipment of its butt joint knownly;
Detect alarm module, be used to detect the network interface state of backup network interface board, and when the network interface state when the backup network interface board becomes DOWN by UP, send alarm to NM server; When the network interface state of backup network interface board becomes UP by DOWN, send alarm clearing to NM server.
Further, above-mentioned data configuration module can also dispose the certification mark of an overall situation, carries out fault detect if desired, then by this configuration open detection function, and passes through software inhouse Automatic Program distribution configuration command to network interface board.
In addition, module is set after receiving configuration order, when judging the activestandby state of described network interface board, if the master uses network interface board, then the mode of operation of its network interface is set to force 100,000,000 full-duplex modes.
In addition, detect alarm module network interface state-detection timer can also be set, detect the network interface state of backup network interface board according to the timing cycle of this timer termly.
Claims (10)
1. the method for a medium gateway network interface alarm detection is characterized in that, comprising:
After network interface board is received the configuration order that issues, judge the activestandby state of self, if the backup network interface board, then be set to send and forbid, and the mode of operation of self network interface and be set to force 100,000,000 full-duplex modes with the mode of operation of the corresponding network interface of the data equipment of its butt joint;
Detect the network interface state of described backup network interface board, and send alarm or recover alarm according to the variation of detected described network interface state.
2. the method for claim 1 is characterized in that, when the network interface state of described backup network interface board becomes DOWN by UP, sends alarm to NM server; When the network interface state of described backup network interface board becomes UP by DOWN, send alarm clearing to NM server.
3. the method for claim 1 is characterized in that, described method is provided with a certification mark, only after enabling described certification mark, issues described configuration order.
4. the method for claim 1 is characterized in that, receiving described configuration order, when judging the activestandby state of self, if the main network interface board of using, then the mode of operation of self network interface is set to force 100,000,000 full-duplex modes.
5. the method for claim 1, it is characterized in that, at described backup network interface board and with when the mode of operation of the corresponding network interface of the data equipment of its butt joint is set to force 100,000,000 full-duplex modes, close the line preface adaptation function of described data equipment.
6. as claim 1 or 4 described methods, it is characterized in that, when described backup network interface board with main switch with network interface board after, described backup network interface board and describedly mainly carry out following setting according to the variation of self activestandby state with network interface board:
New master is set to force 100,000,000 full-duplex modes with the mode of operation of network interface board self network interface; The mode of operation of the corresponding network interface of the mode of operation of new backup network interface board self network interface and the data equipment of butt joint is set to force 100,000,000 full-duplex modes, and self is set to send and forbids.
7. method as claimed in claim 2 is characterized in that, described network interface state becomes DOWN by UP and comprises: the netting twine physical connection of described backup network interface board becomes disconnection by connection.
8. as each described method of claim 1 to 5, it is characterized in that described method is provided with network interface state-detection timer, detect the network interface state of described backup network interface board according to the timing cycle of described timer termly.
9. the device of a medium gateway network interface alarm detection, it is characterized in that, comprise: the data configuration module, module is set and detects alarm module, described data configuration module and described detection alarm module all link to each other with network interface board, the described module that is provided with is arranged in described network interface board, wherein:
Described data configuration module is used for distribution configuration command to described network interface board;
The described module that is provided with, be used for after described network interface board is received described configuration order, judge the activestandby state of described network interface board, if backup network interface board, then be set to send and forbid, and the mode of operation of its network interface and be set to force 100,000,000 full-duplex modes with the mode of operation of the corresponding network interface of the data equipment of its butt joint;
Described detection alarm module is used to detect the network interface state of described backup network interface board, and when the network interface state when described backup network interface board becomes DOWN by UP, sends alarm to NM server; When the network interface state of described backup network interface board becomes UP by DOWN, send alarm clearing to NM server.
10. device as claimed in claim 9, it is characterized in that, the described module that is provided with is after receiving described configuration order, when judging the activestandby state of described network interface board, if the master uses network interface board, then the mode of operation of its network interface is set to force 100,000,000 full-duplex modes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100005199A CN101465767B (en) | 2009-01-14 | 2009-01-14 | Alarm detection method and device for medium gateway network interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100005199A CN101465767B (en) | 2009-01-14 | 2009-01-14 | Alarm detection method and device for medium gateway network interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101465767A CN101465767A (en) | 2009-06-24 |
CN101465767B true CN101465767B (en) | 2011-09-21 |
Family
ID=40806142
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009100005199A Expired - Fee Related CN101465767B (en) | 2009-01-14 | 2009-01-14 | Alarm detection method and device for medium gateway network interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101465767B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106230815B (en) * | 2016-07-29 | 2019-05-07 | 杭州迪普科技股份有限公司 | A kind of control method and device of alarm log |
CN110336688B (en) * | 2019-05-09 | 2020-11-13 | 重庆八戒电子商务有限公司 | Alarm system detection method and device, computing equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1327328A (en) * | 2000-08-01 | 2001-12-19 | 华为技术有限公司 | Data communication system capable of smoothly expanding capacity |
CN101127569A (en) * | 2007-09-13 | 2008-02-20 | 中兴通讯股份有限公司 | Device for single board to realize protection switching with multiple 1000M optical port |
-
2009
- 2009-01-14 CN CN2009100005199A patent/CN101465767B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1327328A (en) * | 2000-08-01 | 2001-12-19 | 华为技术有限公司 | Data communication system capable of smoothly expanding capacity |
CN101127569A (en) * | 2007-09-13 | 2008-02-20 | 中兴通讯股份有限公司 | Device for single board to realize protection switching with multiple 1000M optical port |
Non-Patent Citations (1)
Title |
---|
JP特开2005-5959A 2005.01.06 |
Also Published As
Publication number | Publication date |
---|---|
CN101465767A (en) | 2009-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101365169B (en) | Routing control implementing method, system, media gateway and media gateway controller | |
RU2466505C2 (en) | Method, device and system of communication for protection of alarm transfer | |
JP4765892B2 (en) | Data transmission method, data transmission apparatus, and data transmission system for performing multilink bundle control | |
CN101483570B (en) | Method, system and device for preventing looped network temporary loop circuit of relaying link | |
US20140050078A1 (en) | Communication interruption time reduction method in a packet communication network | |
CN101340346A (en) | Ring control method and apparatus of Ethernet looped network system | |
CN102064981A (en) | Bidirectional forwarding detection (BFD) method and system | |
CN101459926A (en) | Method, network element equipment and network system for service data transmission guarantee | |
CN103686854A (en) | Method and device for controlling AP | |
CN101909006A (en) | BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof | |
CN101668094B (en) | Active/standby changeover method and system | |
CN101790110B (en) | Device and method for coordinating and recovering automatic protection switching operation | |
CN101465767B (en) | Alarm detection method and device for medium gateway network interface | |
CN101330410B (en) | Far-end loopback test method, system and exchange | |
CN101997748A (en) | Method and system for blocking protocol message on sub-ring control channel without virtual channel | |
CN101848165B (en) | The method recovered after controlling interrupted communication link and interface board | |
CN101202677A (en) | Method and device for detecting link | |
CN103780443A (en) | Router switching method and system, integration monitoring platform, and network management system | |
CN103248508A (en) | Port protecting method, device and system | |
CN102217359B (en) | Interface unit for base station control system and detecting method thereof | |
JP2008177710A (en) | Media service system, media service device, and lan redundancy method used therefor | |
CN112751740B (en) | ERPS subring resource release method, system, server and storage medium | |
CN101183921A (en) | Method and apparatus for guaranteeing continuousness of service stream | |
CN103780444A (en) | Loop automatic detection device and method in EoC network | |
CN100334845C (en) | Method for detecting link failure between media getway and media gatway controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190203 Address after: Da Delaware, USA Patentee after: Open Invention Network Co.,Ltd. Address before: 518057 Department of law, Zhongxing building, South hi tech Industrial Park, Nanshan District hi tech Industrial Park, Guangdong, Shenzhen Patentee before: ZTE Corp. |
|
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: 20110921 Termination date: 20220114 |