CN100473199C - A method for realizing base station power failure alarm - Google Patents
A method for realizing base station power failure alarm Download PDFInfo
- Publication number
- CN100473199C CN100473199C CNB2005100902016A CN200510090201A CN100473199C CN 100473199 C CN100473199 C CN 100473199C CN B2005100902016 A CNB2005100902016 A CN B2005100902016A CN 200510090201 A CN200510090201 A CN 200510090201A CN 100473199 C CN100473199 C CN 100473199C
- Authority
- CN
- China
- Prior art keywords
- base station
- power
- alarm
- power failure
- message
- 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
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种断电告警的实现方法,包括下述步骤:基站断电时电源模块产生断电告警信号,基站的处理模块收到该断电告警信号后将预先定义好的断电告警报文写入通讯芯片,所述通讯芯片将所述断电告警报文发送到基站控制器;基站控制器获取所述断电告警报文后生成特定格式的断电告警信息,并上报所述断电告警信息。本发明方法使用现有的物理链路主动可多次发送特定的断电告警信息,提高了系统的实时性、可靠性和抗干扰能力,响应速度高。同时本发明具有接口简单、消息定义灵活、扩展功能强、成本低等特点,成功解决了现有技术中高可靠性、高响应速度、低成本无法兼顾的问题。
The invention discloses a method for realizing a power failure alarm, which comprises the following steps: when a base station is powered off, a power supply module generates a power failure alarm signal, and the processing module of the base station sends a predefined power failure alarm signal to The message is written into the communication chip, and the communication chip sends the power failure warning message to the base station controller; the base station controller generates power failure warning information in a specific format after obtaining the power failure warning message, and reports the power failure warning message. Power failure warning information. The method of the invention uses the existing physical link to actively send specific power failure alarm information multiple times, improves the real-time performance, reliability and anti-interference ability of the system, and has high response speed. At the same time, the invention has the characteristics of simple interface, flexible message definition, strong expansion function and low cost, and successfully solves the problem of high reliability, high response speed and low cost in the prior art.
Description
技术领域 technical field
本发明涉及一种断电告警的实现方法,尤其涉及基站系统中断电告警的上报方法。The invention relates to a method for realizing a power failure alarm, in particular to a reporting method for a base station system power failure alarm.
背景技术 Background technique
在现代的基站管理中,要求实现断电告警的功能,以便区分基站是断电故障还是其它线路原因导致通信故障。一般基站电源在断电时会给出断电信号,并维持供电100ms至500ms时间,基站必须在这段时间内,把断电告警报文可靠地上报给基站控制器。In modern base station management, it is required to implement the function of power failure alarm, so as to distinguish whether the base station is a power failure failure or other line reasons causing communication failure. Generally, the power supply of the base station will give a power-off signal when it is powered off, and maintain the power supply for 100ms to 500ms. The base station must reliably report the power-off warning message to the base station controller during this period.
现有的断电告警一般有以下几种实现方法:The existing power failure alarm generally has the following implementation methods:
第一种方法是使用通信芯片内部的寄存器位实现断电告警。当基站断电瞬间,基站与基站控制器间的通信仍然完好,通过修改基站侧物理通信芯片的一个或多个寄存器比特位,通信芯片会把这些比特信息通过物理链路传到对端芯片,并保存到其特定寄存器中,而后由基站控制器软件检测这些数据,实现断电告警。由于一般可使用的比特位很少,且所传递的信息完全依靠物理链路实现,使用该种方法极易受到干扰,而且,可靠性较低。The first method is to use the internal register bits of the communication chip to realize power failure alarm. When the base station is powered off, the communication between the base station and the base station controller is still intact. By modifying one or more register bits of the physical communication chip on the base station side, the communication chip will transmit these bit information to the opposite chip through the physical link. And save it in its specific register, and then the base station controller software detects these data to realize power failure alarm. Since generally few bits are available, and the transmitted information is completely implemented by physical links, this method is extremely susceptible to interference and has low reliability.
第二种方法是由通信芯片实现断电告警。某些通信芯片在对端发送异常时会自动更新一些状态信息,当基站断电后,基站控制器的通信芯片会自动报告异常,基站控制器通过检测这些异常,实现断电告警。由于断电和掉线这两种情况对通信芯片的影响基本是相同的,通信芯片一般很难区分是断电还是掉线,可靠性较低。The second method is to realize the power failure alarm by the communication chip. Some communication chips will automatically update some status information when the opposite end sends an abnormality. When the base station is powered off, the communication chip of the base station controller will automatically report the abnormality. The base station controller will realize the power failure alarm by detecting these abnormalities. Because the two situations of power failure and disconnection have basically the same impact on the communication chip, it is generally difficult for the communication chip to distinguish whether it is power failure or disconnection, and its reliability is low.
第三种是由上层协议实现断电告警。基站在收到断电信号后,通知上层协议,由上层协议生成一个断电告警报文再通过物理链路传递到基站控制器。由于基站收到断电信号后,要经过上层协议的封装,再通过物理链路传递,使得上报延迟比较大,在电源的维持时间不能保证的情况下,经常会造成断电告警信息来不及上报,导致断电告警信息丢失。The third is to realize the power failure alarm by the upper layer protocol. After the base station receives the power-off signal, it notifies the upper-layer protocol, and the upper-layer protocol generates a power-off warning message and then transmits it to the base station controller through the physical link. After the base station receives the power-off signal, it needs to be encapsulated by the upper-layer protocol and then transmitted through the physical link, which makes the reporting delay relatively large. When the maintenance time of the power supply cannot be guaranteed, it often causes the power-off alarm information to be reported too late. The power failure warning information will be lost.
发明内容 Contents of the invention
本发明要解决的技术问题是提供一种响应速度快、可靠性高的基站断电告警的实现方法。The technical problem to be solved by the present invention is to provide a method for realizing a base station power failure alarm with fast response speed and high reliability.
为了解决上述技术问题,本发明基本的设计思想是:基站软件接收到断电告警信号后,通过现有的通信链路迅速上报一预先定义好的、特定的断电告警报文,由基站控制器识别并上报断电告警。In order to solve the above-mentioned technical problems, the basic design concept of the present invention is: after the base station software receives the power-off alarm signal, it reports a pre-defined and specific power-off alarm message rapidly through the existing communication link, and is controlled by the base station. The device recognizes and reports a power failure alarm.
基于上述设计思想,本发明提供了一种基站断电告警的实现方法,包括下述步骤:Based on the design idea above, the present invention provides a method for realizing a base station power failure alarm, comprising the following steps:
(a)基站断电时电源模块产生断电告警信号,基站的处理模块收到该断电告警信号后将预先定义好的断电告警报文写入通讯芯片,所述通讯芯片将所述断电告警报文发送到基站控制器;(a) When the base station is powered off, the power supply module generates a power failure alarm signal. After receiving the power failure alarm signal, the processing module of the base station writes the predefined power failure alarm text into the communication chip, and the communication chip writes the power failure alarm message into the communication chip. Send the alarm message to the base station controller;
(b)基站控制器获取所述断电告警报文后生成特定格式的断电告警信息,并上报所述断电告警信息。(b) The base station controller generates power failure warning information in a specific format after obtaining the power failure warning message, and reports the power failure warning information.
进一步地,上述方法还可具有以下特点:基站发送所述断电告警报文时,采用多次重复发送,直至基站掉电。Furthermore, the above method may also have the following characteristics: when the base station sends the power-off warning message, it uses repeated sending for many times until the base station is powered off.
进一步地,上述方法还可具有以下特点:将所述断电告警报文定义为具有和一般通信报文不同的报文长度和数据。Further, the above-mentioned method may also have the following features: the power-off warning message is defined to have a message length and data different from that of a general communication message.
进一步地,上述方法还可具有以下特点:所述基站的电源模块是通过中断方式将所述断电告警信号通知所述基站的处理模块的。Further, the above method may also have the following features: the power supply module of the base station notifies the processing module of the base station of the power failure alarm signal by way of interruption.
进一步地,上述方法还可具有以下特点:所述步骤(b)可进一步分为以下步骤:Further, the above method can also have the following characteristics: the step (b) can be further divided into the following steps:
(b1)基站控制器的处理模块从基站控制器侧的通信芯片获取所述断电告警报文;(b1) The processing module of the base station controller obtains the power-off alarm message from the communication chip on the side of the base station controller;
(b2)基站控制器的处理模块识别收到的报文是否为断电告警报文,如果是,执行步骤(b3),否则,进行正常的通信报文处理,结束;(b2) Whether the processing module of the base station controller identifies whether the received message is a power-off alarm message, if yes, step (b3) is performed, otherwise, normal communication message processing is carried out, and the end is completed;
(b3)基站控制器的处理模块向基站网管上报断电告警信息。(b3) The processing module of the base station controller reports the power failure alarm information to the network management of the base station.
进一步地,上述方法还可具有以下特点:步骤(b3)中,所述基站控制器的处理模块重新生成特定格式的断电告警消息,上报给所述基站网管。Furthermore, the above method may also have the following features: in step (b3), the processing module of the base station controller regenerates a power failure warning message in a specific format and reports it to the network management of the base station.
采用本发明实现的断电告警,可以使用现有的物理链路主动多次发送特定的断电告警信息,有效缩短了设计和开发周期,并提高了系统的实时性、可靠性和抗干扰能力,响应速度高。同时本发明具有接口简单、消息定义灵活、扩展功能强、成本低等特点,成功解决了现有技术中高可靠性、高响应速度、低成本无法兼顾的问题。The power failure alarm realized by the present invention can use the existing physical link to actively send specific power failure alarm information multiple times, which effectively shortens the design and development cycle, and improves the real-time performance, reliability and anti-interference ability of the system , high response speed. At the same time, the invention has the characteristics of simple interface, flexible message definition, strong expansion function and low cost, and successfully solves the problem of high reliability, high response speed and low cost in the prior art.
附图说明 Description of drawings
图1是本发明实施例基站断电告警的原理图。FIG. 1 is a schematic diagram of a base station power failure alarm according to an embodiment of the present invention.
图2是本发明实施例断电告警实现方法的流程图。Fig. 2 is a flowchart of a method for implementing a power failure alarm according to an embodiment of the present invention.
具体实施方式 Detailed ways
下面结合附图和实施例对本发明作进一步的详细描述:Below in conjunction with accompanying drawing and embodiment the present invention will be described in further detail:
图1是本实施例基站断电告警的原理图,图中示出了基站108、基站控制器111和基站网管114等设备及其相关的模块,路径101是断电告警信息的传送路径。FIG. 1 is a schematic diagram of a base station power failure alarm in this embodiment. The figure shows
如图2所示,本实施例断电告警实现方法的流程包括以下步骤:As shown in Figure 2, the flow of the method for implementing a power failure alarm in this embodiment includes the following steps:
步骤110,当基站108断电时,基站电源110产生一个断电告警信号,并通过中断109通知嵌入式处理器107;
基站系统要求基站在断电后,基站电源还能够维持几百毫秒的供电,来保证断电告警报文的传送。The base station system requires that after the base station is powered off, the power supply of the base station can maintain power supply for hundreds of milliseconds to ensure the transmission of the power failure alarm message.
步骤120,基站108的嵌入式处理器107接收到此中断信号后,在中断处理程序中,直接通过通信总线106给通信芯片105写入预先定义好的断电告警报文;
为了尽量减轻基站控制器接收处理的负担,对断电告警报文要求能够很快的得到识别,因此断电告警报文是与一般通信报文不同的特定报文,如长度加数据的方式,断电告警报文具有和一般通信报文不同的报文长度和数据,来保证基站控制器快速地、可靠地识别。In order to reduce the burden of receiving and processing of the base station controller as much as possible, the power-off warning message needs to be quickly identified, so the power-off warning message is a specific message different from the general communication message, such as the length plus data, The power failure warning message has a different message length and data from the general communication message to ensure fast and reliable identification by the base station controller.
步骤130,基站的通信芯片105把断电告警报文通过通信链路104发送到基站控制器111的通信芯片103;
所有这些工作都要求在几百毫秒的电源维持时间内完成,为了提高可靠性,通信芯片可进行多次重复发送,直至基站掉电。All these tasks are required to be completed within the power supply maintenance time of hundreds of milliseconds. In order to improve reliability, the communication chip can perform multiple repeated transmissions until the base station is powered off.
步骤140,基站控制器111的嵌入式处理器112通过通信总线102从通信芯片103获取断电告警报文;
步骤150,嵌入式处理器112首先进行断电告警报文的识别,如果是断电告警报文,执行步骤160,否则,执行步骤170;
步骤160,嵌入式处理器112生成特定格式的断电告警信息,通过通信链路113上报给基站网管114,结束;
由于基站上报的断电告警报文具有特殊的长度和数据,因此,一般基站控制器需要重新生成特定格式的断电告警消息向网管上报。当然,基站控制器也可以透传基站所上报的断电告警报文。Since the power-off warning message reported by the base station has a special length and data, the general base station controller needs to regenerate a power-off warning message in a specific format to report to the network management. Of course, the base station controller can also transparently transmit the power failure warning message reported by the base station.
步骤170,进行正常的通信报文处理,结束。
可以看出,采用本发明方法来实现断电告警,可以使用现有的物理链路主动多次发送特定的断电告警信息,有效缩短了设计和开发周期,并提高了系统的实时性、可靠性和抗干扰能力,响应速度高。同时本发明具有接口简单、消息定义灵活、扩展功能强、成本低等特点,成功解决了现有技术中高可靠性、高响应速度、低成本无法兼顾的问题。It can be seen that by adopting the method of the present invention to realize the power failure alarm, the existing physical link can be used to actively send specific power failure alarm information multiple times, which effectively shortens the design and development cycle, and improves the real-time performance and reliability of the system. High performance and anti-interference ability, high response speed. At the same time, the invention has the characteristics of simple interface, flexible message definition, strong expansion function and low cost, and successfully solves the problem of high reliability, high response speed and low cost in the prior art.
上面尽管参照实施例对所公开的涉及一种断电告警的实现方法进行了特别描述,以上描述的实施例是说明性的而不是限制性的,在不脱离本发明的精神和范围的情况下,所有的变化和修改都在本发明的范围之内。Although the disclosed implementation method related to a power failure alarm has been specifically described above with reference to the embodiments, the embodiments described above are illustrative rather than restrictive, without departing from the spirit and scope of the present invention , all changes and modifications are within the scope of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100902016A CN100473199C (en) | 2005-08-10 | 2005-08-10 | A method for realizing base station power failure alarm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100902016A CN100473199C (en) | 2005-08-10 | 2005-08-10 | A method for realizing base station power failure alarm |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1913689A CN1913689A (en) | 2007-02-14 |
CN100473199C true CN100473199C (en) | 2009-03-25 |
Family
ID=37722417
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100902016A Expired - Fee Related CN100473199C (en) | 2005-08-10 | 2005-08-10 | A method for realizing base station power failure alarm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100473199C (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101951622A (en) * | 2010-09-16 | 2011-01-19 | 新邮通信设备有限公司 | Radio remote unit power-off alarm processing method and system |
CN102036279A (en) * | 2010-12-06 | 2011-04-27 | 华为技术有限公司 | Alarm report method, base transceiver station and base station system |
CN102625329A (en) * | 2011-01-30 | 2012-08-01 | 鼎桥通信技术有限公司 | Remote radio unit (RRU) brownout detection method and RRU |
CN102307367A (en) * | 2011-08-18 | 2012-01-04 | 大唐移动通信设备有限公司 | Communication equipment and power failure alarming method |
CN103209430B (en) * | 2012-01-17 | 2017-10-27 | 中兴通讯股份有限公司 | A kind of detection process method and device of empty power fail warning |
CN102742118B (en) * | 2012-03-06 | 2015-07-22 | 华为终端有限公司 | Method for power-off alarm and electrical gateway |
CN109756373B (en) * | 2019-01-07 | 2022-02-01 | 烽火通信科技股份有限公司 | Communication equipment power failure warning method and system |
-
2005
- 2005-08-10 CN CNB2005100902016A patent/CN100473199C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1913689A (en) | 2007-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2015503864A5 (en) | ||
CN106844162A (en) | Storage server cabinet management system and method based on BMC | |
CN104734911A (en) | CAN bus network management test system and method | |
CN102394796A (en) | Link time delay detection method, source terminal, destination terminal and system | |
CN108107827A (en) | A kind of SRIO control methods based on the soft core of ZYNQ platforms | |
CN106487721B (en) | The network equipment and for the message forwarding method in the network equipment | |
CN100473199C (en) | A method for realizing base station power failure alarm | |
CN105117319A (en) | Method for realizing real-time monitoring of multi-channel MDIO (Management Data Input Output) devices based on FPGA | |
CN109768907A (en) | A kind of CAN bus baud rate self-adapting setting method | |
CN106502952B (en) | A kind of PCIE device goes offline safely design method | |
US8428208B2 (en) | Control circuit, information processing device, and method of controlling information processing device | |
CN103095703A (en) | Method and equipment and system for achieving data interaction between network and serial port | |
CN106354594A (en) | Fault-tolerance method and device of multi-controller communication, and NTB facility | |
CN108647131A (en) | Output system of running log | |
KR20120126873A (en) | System for Dynamic Analysis of Embedded Software of Vehicle using UDS | |
CN201846346U (en) | Dual-redundancy heat switching system of controller area network (CAN) bus | |
CN107342789A (en) | A kind of group-net communication method of cable anti-theft monitoring system | |
CN110687854B (en) | PA bus controller and PA bus control system | |
CN102916864A (en) | Ethernet bridge and intelligent link method thereof | |
CN106919479B (en) | Real-time log recording method of embedded device controller | |
CN102693166B (en) | Method, device and system for processing information | |
WO2024139743A1 (en) | Network interface card, single board, electronic device, and service switchover method | |
CN102724144B (en) | Self-adaptive gateway device and data transmission method thereof | |
CN118796749A (en) | Communication method and device between BMC and BIOS | |
CN104639582B (en) | Method for the gateway and the forwarding of vehicle network signal of the forwarding of vehicle network signal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090325 Termination date: 20190810 |