CN117389789A - Power-down information storage and reporting method and system for O-RU equipment - Google Patents

Power-down information storage and reporting method and system for O-RU equipment Download PDF

Info

Publication number
CN117389789A
CN117389789A CN202311678053.4A CN202311678053A CN117389789A CN 117389789 A CN117389789 A CN 117389789A CN 202311678053 A CN202311678053 A CN 202311678053A CN 117389789 A CN117389789 A CN 117389789A
Authority
CN
China
Prior art keywords
power failure
power
information
reporting
equipment
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.)
Granted
Application number
CN202311678053.4A
Other languages
Chinese (zh)
Other versions
CN117389789B (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.)
Sichuan Hengwan Technology Co Ltd
Original Assignee
Sichuan Hengwan 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 Sichuan Hengwan Technology Co Ltd filed Critical Sichuan Hengwan Technology Co Ltd
Priority to CN202311678053.4A priority Critical patent/CN117389789B/en
Publication of CN117389789A publication Critical patent/CN117389789A/en
Application granted granted Critical
Publication of CN117389789B publication Critical patent/CN117389789B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0787Storage of error reports, e.g. persistent data storage, storage using memory protection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0796Safety measures, i.e. ensuring safe condition in the event of error, e.g. for controlling element
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1805Append-only file systems, e.g. using logs or journals to store data
    • G06F16/1815Journaling file systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method and a system for storing and reporting power failure information of O-RU equipment, comprising the following steps: s1, continuously performing power failure monitoring, and regularly recording current working state information; s2, when the power failure is monitored, temporarily storing power failure warning information in a memory; if the power is turned off, the power is recovered in time, S3 is carried out, and if the power is continuously turned off, S4 is carried out; s3, writing the power failure warning information temporarily stored in the memory into NORFLASH, generating a power failure warning generation message and a power failure warning disappearance message, and entering S1 after reporting; s4, after the equipment is powered on again and restarted, acquiring a reset reason, generating a power failure alarm generation message and a power failure alarm disappearance message into the NORFLASH, reporting the messages, and entering S1. Under the condition of being compatible with the operation of the existing Linux file system, the invention realizes all alarm reporting functions without increasing hardware cost due to the addition of a special power failure information recording hardware unit and a power failure auxiliary power supply.

Description

Power-down information storage and reporting method and system for O-RU equipment
Technical Field
The invention relates to the field of wireless access networks, in particular to a method and a system for storing and reporting power failure information of O-RU equipment.
Background
The ORAN technology is a revolutionary technology of wireless communication networks that motivates 4G/5G communication network devices to move from custom, closed design to generalized, platform and white-box designs. The O-RU equipment is radio frequency front end remote equipment in the ORAN network, and has the characteristics of wide deployment range and huge quantity compared with other ORAN network equipment, so that the O-RU equipment is particularly focused on hardware platform and white box design, and the equipment cost is reduced as much as possible so as to improve the market competitiveness of products; the O-RU equipment often adopts a single-chip NORFLASH to store software, configuration, alarm and various record information; NORFLASH has the characteristics of high reliability and difficult change of information record, and is widely used for program storage of various electronic devices. However, the erase-write speed of the NORFLASH chip is slow, which generally requires several tens of ms; the O-RU equipment has higher power consumption, and in order to save the space and the cost of a power supply module, the design of equipment power-down protection is generally shorter, and the power-down protection time is only designed for a plurality of milliseconds.
In order to pursue development speed and efficiency, the software of the O-RU device generally adopts a Linux operating system and various open source software. The operating system can shield the bottom hardware drive, and the virtualized and logical bottom hardware is operated in a pure application layer software mode; taking the case of NORFLASH, the Linux operating system divides NORFLASH into partitions, where the partition that records various log information becomes a file partition. The Linux operating system records various necessary log information in real time in a file operating mode, so that the system can still inquire related information after power failure or restarting; the log information writing can be finally converted into NORFLASH operation through an operating system, firstly, the NORFLASH corresponding sector (region) is erased, and then new information is written; the relevant operation time will be greater than the erase write time of the norflah, on the order of tens of ms.
MPLANE is a management interface between ODU and O-RU defined by the ora standard; after the O-RU software checks the power failure condition of the equipment, the O-RU software tries to report the 'power supply fault' information through the MPLANE to inform the O-RU that the power failure occurs; the time length of the process is in the order of seconds; when the O-RU equipment is powered down, the expected general software processing flow is shown in fig. 1, and the expected processing result is as follows:
1) After power failure occurs, the O-RU equipment timely records relevant information generated by power failure alarm and can be queried after reset; 2) After the power failure occurs, the O-RU device reports a power failure alarm to a manager in the network through the MPLANE plane.
However, the processing flow is feasible in software principle, but has serious shortages due to the limitation of hardware conditions, and the power failure warning record and reporting function of the equipment can not be basically realized. There are the following disadvantages: 1) The internal power-down protection time of the O-RU equipment power supply is less than 10 milliseconds, and software alarm processing and reporting flows cannot be supported; 2) The erasing and writing time of the sector in the NORFLASH is tens of milliseconds, so that normal recording operation of a Linux file system cannot be realized, and local alarm information cannot be recorded; 3) The NORFLASH is powered down and enters an abnormal voltage area to perform erasure writing, so that the NORFLASH content is easy to be abnormal and even lost, and the equipment cannot be started; 4) The processing time of reporting alarm information on the network by the MPLANE is in the second level, so that normal reporting of the alarm can not be realized; the common method for solving the problems is to increase the power-down protection time of the power supply, add additional fast recording hardware components, bypass the Linux file system to operate NORFLASH and the like; these methods are not effective in solving the above-mentioned time problems encountered by power failure.
Disclosure of Invention
Aiming at the problems existing in the prior art, the O-RU equipment power supply power failure information storage and reporting method and system are provided, all functions are realized under the condition of being compatible with the operation of the existing Linux file system by matching the NORFLASH file system with a memory, and the hardware cost is not increased by adding a special power failure information recording hardware unit and a power failure auxiliary power supply.
The first aspect of the invention provides a method for storing and reporting power failure information of an O-RU device, which comprises the following steps:
step S1, when equipment works normally, power failure monitoring is continuously carried out, and working state information is recorded in a power failure file in a NORFLASH file system at regular intervals;
step S2, when the power failure is monitored, temporarily storing power failure warning information in a memory; if the power supply is powered down, the power supply is recovered in time, the step S3 is carried out, and if the power supply is continuously powered down, the step S4 is carried out;
step S3, writing the power failure warning information temporarily stored in the memory into the NORFLASH file system, generating a power failure warning generation message and a power failure warning disappearance message, and entering step S1 after reporting;
and S4, after the equipment is powered on again and restarted, acquiring a reset reason, generating a power failure alarm generation message and a power failure alarm disappearance message in the NORFLASH file system, reporting the power failure alarm disappearance message, and entering the step S1.
Further, the power-down information file includes:
current working state: the method comprises two states of 0 and 1 and recording time, wherein 0 is a default value, and 1 is normal operation; periodically recording by the device;
the current reset cause: the method comprises three states of 0, 1, 2 and 3, wherein 0 is a default value, 1 is power-on reset, 2 is software reset, and 3 is watchdog reset; recorded by the device software prior to restart.
Furthermore, the O-RU equipment is provided with a hardware circuit power-down protection for ensuring continuous power supply for the equipment after the equipment power supply is powered down.
Further, the specific process of step S2 includes: when the power supply is powered down, the high-power-consumption equipment is turned off, and the power supply power-down alarm generation information is recorded and written into the memory.
Further, in step S2, a power failure indication is triggered by a hardware interrupt mode.
Further, the specific process of step S3 includes:
step S3.1, writing the power failure alarm generated information temporarily stored in the memory into the NORFLASH file system;
s3.2, generating a power failure alarm generation message, wherein the content comprises a power failure alarm generation event and generation time, and reporting the power failure alarm generation event and the generation time through a software Mplane plane interface of O-RU equipment;
s3.3, generating a power failure warning vanishing message, wherein the content comprises a power failure warning vanishing event and vanishing time, and reporting the power failure warning vanishing event and vanishing time through a software Mplane interface of the O-RU equipment; step S1 is entered.
Further, the specific process of step S4 includes:
s4.1, powering up the equipment again, and restarting the equipment;
step S4.2, acquiring a reset reason, judging whether hardware power-down reset is performed, if yes, entering step S4.3, otherwise, entering step S4.6;
step S4.3, writing the current reset reason in the power-off information file;
s4.4, reading time information recorded last time in the power failure information file, and generating a power failure alarm generation message, wherein the content comprises a power failure alarm generation event and generation time, and the generation time is the read time information; reporting a power failure alarm generation message through a software Mplane plane interface of the O-RU equipment;
s4.5, generating a power failure alarm generation message, wherein the content comprises a power failure alarm disappearance event and generation time, and the generation time is the current time information; reporting a power-down alarm vanishing message through a software Mplane plane interface of the O-RU equipment; step S1 is entered;
and S4.6, reporting other reset reasons, and proceeding to the step S1.
Further, in the step S4.2, the reset factor is determined by a CPU hardware reset reason register and a power-down information file in the O-RU device.
The invention provides an O-RU equipment power supply power failure information storage and reporting system, which comprises a CPU, an input voltage monitoring module, NORFLASH and a memory;
the CPU is respectively connected with the input voltage monitoring module and the NORFLASH and the memory to realize the O-RU equipment power supply power failure information storage and reporting method;
the input voltage monitoring module is used for monitoring whether power failure occurs or not;
the NORLASH is used for storing the power failure information file and the power failure warning information of the power failure power supply;
and the memory is used for temporarily storing power failure warning information.
Compared with the prior art, the beneficial effects of adopting the technical scheme are as follows:
1) No extra special hardware design is needed, and the existing low-cost generalized O-RU hardware structure is compatible;
2) Compatible with the existing NORFLASH file system of Linux, the bottom software does not need to be changed;
3) The O-RU can realize correct recording of relevant information of power failure warning;
4) The O-RU can realize that the power failure warning information is normally reported by the MPLANE.
Drawings
Fig. 1 is an ideal power down process flow.
Fig. 2 is a schematic diagram of a method for storing and reporting power failure information of an O-RU device according to the present invention.
Fig. 3 is a schematic diagram of an application scenario according to an embodiment of the invention.
Fig. 4 is a flowchart of a power-down information storage and reporting method in an embodiment of the invention.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar modules or modules having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application. On the contrary, the embodiments of the present application include all alternatives, modifications, and equivalents as may be included within the spirit and scope of the appended claims.
Referring to fig. 2, in this embodiment, a method for storing and reporting power failure information of an O-RU device is provided, including:
step S1, when equipment works normally, power failure monitoring is continuously carried out, and current working state information is recorded in a power failure file in a NORFLASH file system at regular intervals;
step S2, when the power failure is monitored, temporarily storing power failure warning information in a memory; if the power supply is powered down, the power supply is recovered in time, the step S3 is carried out, and if the power supply is continuously powered down, the step S4 is carried out;
step S3, writing the power failure warning information temporarily stored in the memory into the NORFLASH file system, generating a power failure warning generation message and a power failure warning disappearance message, and entering step S1 after reporting;
and S4, after the equipment is powered on again and restarted, acquiring a reset reason, generating a power failure alarm generation message and a power failure alarm disappearance message into the NORFLASH file system, reporting the messages, and entering the step S1.
Specifically, in this embodiment, the power-down information file is constructed as follows:
current working state: the power supply comprises two states of 0 and 1 and recording time, wherein 0 is a default value, and 1 is normal operation of the power supply; periodically recording by the device;
the current reset cause: the method comprises three states of 0, 1, 2 and 3, wherein 0 is a default value, 1 is power-on reset, 2 is software reset, and 3 is watchdog reset; recorded by the device software prior to restart. In some embodiments, the device software may define more states based on its own circumstances.
It should be noted that, the O-RU device is provided with a hardware power-down protection, and during the duration of the hardware power-down protection, the O-RU device may continue to operate, and is mainly used for saving important information, but cannot support complete reporting of the alarm message.
Specifically, the specific process of step S2 includes: when the power supply is powered down, the equipment firstly controls to close the high-power-consumption function, so that a small amount of electric energy stored in the internal capacitor of the equipment is prolonged as much as possible, for example, the PA and the digital signal processing module in the equipment are closed; and recording power failure alarm generation information, writing the power failure alarm generation information into a memory for temporary storage, wherein the power failure alarm generation information comprises a power failure alarm generation event and a current time stamp.
In one embodiment, to ensure that the device quickly handles power down, a hardware interrupt is used to trigger a power down indication.
In this embodiment, if the power is restored within the monitored time, the step of executing the step S3 is performed to report the alarm, and the specific process of the step S3 includes:
step S3.1, writing the power failure alarm generated information temporarily stored in the memory into the NORFLASH file system;
s3.2, generating a power failure alarm generation message, wherein the content comprises a power failure alarm generation event and generation time, and reporting the power failure alarm generation event and the generation time through a software Mplane plane interface of O-RU equipment;
s3.3, generating a power failure warning vanishing message, wherein the content comprises a power failure warning vanishing event and vanishing time, and reporting the power failure warning vanishing event and vanishing time through a software Mplane interface of the O-RU equipment; step S1 is entered. Finally, if the power is continuously turned off, executing the step described in the step S4 to report the alarm, wherein the specific process of the step S4 comprises the following steps:
s4.1, powering up the equipment again, and restarting the equipment;
step S4.2, acquiring a reset reason, judging whether hardware power-down reset is performed, if yes, entering step S4.3, otherwise, entering step S4.6; the reset source is determined by a hardware reset reason register and a record of a power-down information file in the hardware circuit;
step S4.3, writing the current reset reason in the power-off information file;
s4.4, reading time information recorded last time in the power failure information file, and generating a power failure alarm generation message, wherein the content comprises a power failure alarm generation event and generation time, and the generation time is the read time information; reporting a power failure alarm generation message through a software Mplane plane interface of the O-RU equipment;
s4.5, generating a power failure alarm generation message, wherein the content comprises a power failure alarm disappearance event and generation time, and the generation time is the current time information; reporting a power-down alarm vanishing message through a software Mplane plane interface of the O-RU equipment; and S4.6, judging and processing other reset reasons by the equipment, reporting the other reset reasons, and entering into the step S1.
Fig. 3 shows an application scenario of the O-RU device power failure information storage and reporting method according to the present invention, where,
an input voltage monitoring circuit in the O-RU equipment monitors the input voltage range in real time, generates a low-voltage alarm signal after the voltage is lower than a low-voltage threshold value, and informs a CPU in the ORU equipment; after the voltage exceeds the low-voltage recovery threshold, generating a low-voltage alarm vanishing signal and informing a main CPU; the voltage monitoring circuit is a mature technology and will not be described in detail here;
the power failure monitoring module running on the CPU in the O-RU equipment is responsible for monitoring the voltage alarm generation and disappearance states in real time, and records information into the DDR memory or NORLASH power failure information file by the method in the patent; after the power-down monitoring module finds a power-down alarm or a disappearance event of the power supply, the power-down alarm production and disappearance event of the power supply is sent to the Mplane module under the condition that the power supply of the equipment is available; the provided O-RU equipment power supply power-down information storage and reporting method is realized by a power-down monitoring module;
after the Mplane module acquires the message, the message is sent to the remote ODU equipment through a standard network protocol, so that the remote O-DU equipment can acquire the working state of the O-RU equipment in time; the Mplane interface, protocol and message format are defined by the ORAN standard and will not be described in detail herein;
the following is a complete description of the flow of the method for storing and reporting the power failure information of the O-RU device provided by the present invention with reference to fig. 3 and fig. 4. The method comprises the following steps:
step1, entering a power failure monitoring module, setting the current working state in a power failure information file to be 1, indicating that the power failure information file is in a normal working state, and recording current time information.
Step2, periodically monitoring whether a power failure condition occurs (in one embodiment, the time interval is set to be 1 minute), and triggering a power failure instruction by adopting a hardware interrupt mode in the embodiment in order to ensure that equipment rapidly processes power failure; if the power supply is powered down, the process goes to Step3, otherwise, the process goes to Step1.
Step3, turning off high power consumption equipment, such as PA and digital signal processing module inside the equipment.
Step4, writing power failure warning information into the DDR memory for temporary storage, wherein the power failure warning information comprises a power failure warning generation event and a current time stamp.
Step5, continuously monitoring whether the power-down indication disappears, and if so, switching to Step6; if not, the device continues to power down until it is restarted again, turning to Step10.
Step6, writing the temporarily stored alarm information in the memory into NORFLASH; generating a power failure alarm generation message, wherein the content comprises a power failure alarm generation event and generation time, and sending the power failure alarm generation event and the generation time to the Mplane;
step7, generating a power failure alarm vanishing message, wherein the content comprises a power failure alarm vanishing event and vanishing time, and sending the power failure alarm vanishing event and vanishing time to the Mplane. In this embodiment, the vanishing time is the current time.
After receiving the power failure alarm generation information, the Step8 and software Mplane plane generates a 'Power supply fault' generation message, and reports the message to the O-DU or SMO device through an MPALNE plane interface in the O-RU network interface.
Step9, after receiving the power failure alarm generation information, the software Mplane plane generates a 'Power supply fault' vanishing message, and reports the message to the O-DU or SMO device through an MPALNE plane interface in the O-RU network interface; continuing back to Step2, monitoring continues.
Step10, the device is powered on again and restarted.
Step11, the device reads the reset information and analyzes the reset reason. The reset reasons in this embodiment include: and the CPU hardware reset reason register is used for storing the current working state and the current reset reason in the NORFLASH power failure information file.
Step12, determine if the current reset is a hardware power down reset? The judging conditions of the power-down reset are as follows: current operating state=1, current reset reason=0; the hardware reset reason register indicates power-on reset; hardware power-down reset is adopted to meet the judgment condition, and Step14 is performed; otherwise go to Step13.
Step13, judging and processing other reset reasons; after completion, the process proceeds to Step18.
Step14, setting the current reset reason to 1.
Step15, reading the time information recorded last time in the power failure warning information file, generating a power failure warning generation message, writing the power failure warning generation message into the NORFLASH, wherein the content comprises a power failure warning generation event and the read time information, and sending the power failure warning generation event and the read time information to the Mplane module; and generating a power failure alarm generating message, writing NORFLASH, wherein the content comprises a power failure alarm disappearance event and current time information, and sending the power failure alarm disappearance event and the current time information to the Mplane module.
Step16, after receiving the power failure alarm generation message, the software Mplane plane generates a Power supply fault generated message, and reports the message to an O-DU or SMO device through an MPALNE plane interface in the O-RU uplink interface;
step17, after receiving a power failure warning vanishing event, the software Mplane plane generates a 'Power supply fault' vanishing message, and reports the message to an O-DU or SMO device through an MPALNE plane interface in the O-RU network interface; the software re-records the power-down event after the power-down reset and notifies the management equipment in the network;
step18, setting the current reset reason to 0, and subsequently starting a new power-down monitoring module to change to Step1;
in particular, according to embodiments of the present application, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts.
It should be noted that, the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-Only Memory (ROM), an erasable programmable read-Only Memory (Erasable Programmable Read Only Memory, EPROM), flash Memory, an optical fiber, a portable compact disc read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Where each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present application may be implemented by means of software, or may be implemented by means of hardware, and the described units may also be provided in a processor. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
As another aspect, the present application also provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device performs the O-RU device power-down information storage and reporting method described in the foregoing embodiments.
As another aspect, the present application also provides a computer-readable medium that may be contained in the electronic device described in the above embodiment; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs, which when executed by one of the electronic devices, cause the electronic device to implement the O-RU device power-down information storage and reporting method described in the foregoing embodiments.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit, in accordance with embodiments of the present application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a usb disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a touch terminal, or a network device, etc.) to perform the method according to the embodiments of the present application.
It should be noted that, in the description of the embodiments of the present invention, unless explicitly specified and limited otherwise, the terms "disposed," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; may be directly connected or indirectly connected through an intermediate medium. The specific meaning of the above terms in the present invention will be understood in detail by those skilled in the art; the accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Although embodiments of the present application have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the application, and that variations, modifications, alternatives, and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the application.

Claims (9)

  1. The method for storing and reporting the power failure information of the O-RU equipment is characterized by comprising the following steps:
    step S1, when equipment works normally, power failure monitoring is continuously carried out, and current working state information is recorded in a power failure file in a NORFLASH file system at regular intervals;
    step S2, when the power failure is monitored, temporarily storing power failure warning information in a memory; if the power supply is powered down, the power supply is recovered in time, the step S3 is carried out, and if the power supply is continuously powered down, the step S4 is carried out;
    step S3, writing the power failure warning information temporarily stored in the memory into the NORFLASH file system, generating a power failure warning generation message and a power failure warning disappearance message, and entering step S1 after reporting;
    and S4, after the equipment is powered on again and restarted, acquiring a reset reason, generating a power failure alarm generation message and a power failure alarm disappearance message in the NORFLASH file system, reporting the power failure alarm disappearance message, and entering the step S1.
  2. 2. The method for storing and reporting power-down information of an O-RU device according to claim 1, wherein the power-down information file includes:
    current working state: the method comprises two states of 0 and 1 and recording time, wherein 0 is a default value, and 1 is normal operation; periodically recording by the device;
    the current reset cause: the method comprises three states of 0, 1, 2 and 3, wherein 0 is a default value, 1 is power-on reset, 2 is software reset, and 3 is watchdog reset; recorded by the device software prior to restart.
  3. 3. The method for storing and reporting power-down information of an O-RU device according to claim 1 or 2, wherein the O-RU device is provided with a hardware circuit power-down protection for ensuring continuous power supply to the device after the power of the device is lost.
  4. 4. The method for storing and reporting power-down information of an O-RU device according to claim 1, wherein the specific process of step S2 includes: when the power supply is powered down, the high-power-consumption equipment is turned off, and the power supply power-down alarm generation information is recorded and written into the memory.
  5. 5. The method for storing and reporting power-down information of an O-RU device according to claim 1, wherein in step S2, a power-down indication is triggered by a hardware interrupt mode.
  6. 6. The method for storing and reporting power-down information of an O-RU device according to claim 1, wherein the specific process of step S3 includes:
    step S3.1, writing the power failure alarm generated information temporarily stored in the memory into the NORFLASH file system;
    s3.2, generating a power failure alarm generation message, wherein the content comprises a power failure alarm generation event and generation time, and reporting the power failure alarm generation event and the generation time through a software Mplane plane interface of O-RU equipment;
    s3.3, generating a power failure warning vanishing message, wherein the content comprises a power failure warning vanishing event and vanishing time, and reporting the power failure warning vanishing event and vanishing time through a software Mplane interface of the O-RU equipment; step S1 is entered.
  7. 7. The method for storing and reporting power-down information of an O-RU device according to claim 2, wherein the specific process of step S4 includes:
    s4.1, powering up the equipment again, and restarting the equipment;
    step S4.2, acquiring a reset reason, judging whether hardware power-down reset is performed, if yes, entering step S4.3, otherwise, entering step S4.6;
    step S4.3, writing the current reset reason in the power-off information file;
    s4.4, reading time information recorded last time in the power failure information file, and generating a power failure alarm generation message, wherein the content comprises a power failure alarm generation event and generation time, and the generation time is the read time information; reporting a power failure alarm generation message through a software Mplane plane interface of the O-RU equipment;
    s4.5, generating a power failure alarm generation message, wherein the content comprises a power failure alarm disappearance event and generation time, and the generation time is the current time information; reporting a power-down alarm vanishing message through a software Mplane plane interface of the O-RU equipment; step S1 is entered;
    and S4.6, reporting other reset reasons, and proceeding to the step S1.
  8. 8. The method for storing and reporting power-down information of an O-RU device according to claim 7, wherein in step S4.2, the reset factor is determined by a CPU hardware reset reason register and a power-down information file in the O-RU device.
  9. 9.O-RU equipment power supply power-down information storage and reporting system is characterized by comprising a CPU, an input voltage monitoring module, NORFLASH and a memory;
    the CPU is respectively connected with the input voltage monitoring module and the NORFLASH and the memory to realize the O-RU equipment power failure information storage and reporting method according to any one of claims 1-8;
    the input voltage monitoring module is used for monitoring whether power failure occurs or not;
    the NORLASH is used for storing the power failure information file and the power failure warning information of the power failure power supply;
    and the memory is used for temporarily storing power failure warning information.
CN202311678053.4A 2023-12-08 2023-12-08 Power-down information storage and reporting method and system for O-RU equipment Active CN117389789B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311678053.4A CN117389789B (en) 2023-12-08 2023-12-08 Power-down information storage and reporting method and system for O-RU equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311678053.4A CN117389789B (en) 2023-12-08 2023-12-08 Power-down information storage and reporting method and system for O-RU equipment

Publications (2)

Publication Number Publication Date
CN117389789A true CN117389789A (en) 2024-01-12
CN117389789B CN117389789B (en) 2024-03-08

Family

ID=89463393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311678053.4A Active CN117389789B (en) 2023-12-08 2023-12-08 Power-down information storage and reporting method and system for O-RU equipment

Country Status (1)

Country Link
CN (1) CN117389789B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159634A (en) * 2007-10-25 2008-04-09 中兴通讯股份有限公司 Alarm recovery message reporting method
CN101431763A (en) * 2007-11-09 2009-05-13 中兴通讯股份有限公司 Method and apparatus for implementing base station power-down alarm by using interrupt
CN101951622A (en) * 2010-09-16 2011-01-19 新邮通信设备有限公司 Radio remote unit power-off alarm processing method and system
CN102307367A (en) * 2011-08-18 2012-01-04 大唐移动通信设备有限公司 Communication equipment and power failure alarming method
CN102870100A (en) * 2012-06-30 2013-01-09 华为技术有限公司 Data buffer device, data storage system and method
CN103064800A (en) * 2013-01-04 2013-04-24 浪潮电子信息产业股份有限公司 Power failure protection system and implementation method thereof
CN103209097A (en) * 2013-04-03 2013-07-17 大唐移动通信设备有限公司 Communication equipment and power failure alarm method thereof
WO2016192212A1 (en) * 2015-06-01 2016-12-08 中兴通讯股份有限公司 Method and apparatus for processing power down warning information of optical network unit onu
CN107507405A (en) * 2017-09-22 2017-12-22 烽火通信科技股份有限公司 Reduce the method and system of power fail warning handling duration
CN109684176A (en) * 2018-12-26 2019-04-26 广东浪潮大数据研究有限公司 A kind of report method of warning information, system and associated component
CN110677286A (en) * 2019-09-24 2020-01-10 京信通信系统(中国)有限公司 Power failure alarm monitoring method, device and system
CN111130821A (en) * 2018-10-30 2020-05-08 中国移动通信有限公司研究院 Power failure alarm method, processing method and device
CN112256499A (en) * 2020-08-28 2021-01-22 苏州浪潮智能科技有限公司 Power failure monitoring method and device, electronic equipment and computer readable storage medium
CN112714010A (en) * 2020-12-07 2021-04-27 大连市共进科技有限公司 Network topology management method, device, expansion unit and storage medium
CN114980191A (en) * 2022-05-19 2022-08-30 阿里云计算有限公司 Information processing method, device, storage medium and program product
WO2023191683A1 (en) * 2022-04-01 2023-10-05 Telefonaktiebolaget Lm Ericsson (Publ) Availability handling in a wireless communication system
CN116963135A (en) * 2023-09-20 2023-10-27 四川恒湾科技有限公司 O-RU power failure alarm reporting method, device and system

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159634A (en) * 2007-10-25 2008-04-09 中兴通讯股份有限公司 Alarm recovery message reporting method
CN101431763A (en) * 2007-11-09 2009-05-13 中兴通讯股份有限公司 Method and apparatus for implementing base station power-down alarm by using interrupt
CN101951622A (en) * 2010-09-16 2011-01-19 新邮通信设备有限公司 Radio remote unit power-off alarm processing method and system
CN102307367A (en) * 2011-08-18 2012-01-04 大唐移动通信设备有限公司 Communication equipment and power failure alarming method
CN102870100A (en) * 2012-06-30 2013-01-09 华为技术有限公司 Data buffer device, data storage system and method
CN103064800A (en) * 2013-01-04 2013-04-24 浪潮电子信息产业股份有限公司 Power failure protection system and implementation method thereof
CN103209097A (en) * 2013-04-03 2013-07-17 大唐移动通信设备有限公司 Communication equipment and power failure alarm method thereof
CN106301544A (en) * 2015-06-01 2017-01-04 中兴通讯股份有限公司 The processing method and processing device of optical network unit ONU power fail warning information
WO2016192212A1 (en) * 2015-06-01 2016-12-08 中兴通讯股份有限公司 Method and apparatus for processing power down warning information of optical network unit onu
CN107507405A (en) * 2017-09-22 2017-12-22 烽火通信科技股份有限公司 Reduce the method and system of power fail warning handling duration
CN111130821A (en) * 2018-10-30 2020-05-08 中国移动通信有限公司研究院 Power failure alarm method, processing method and device
CN109684176A (en) * 2018-12-26 2019-04-26 广东浪潮大数据研究有限公司 A kind of report method of warning information, system and associated component
CN110677286A (en) * 2019-09-24 2020-01-10 京信通信系统(中国)有限公司 Power failure alarm monitoring method, device and system
CN112256499A (en) * 2020-08-28 2021-01-22 苏州浪潮智能科技有限公司 Power failure monitoring method and device, electronic equipment and computer readable storage medium
CN112714010A (en) * 2020-12-07 2021-04-27 大连市共进科技有限公司 Network topology management method, device, expansion unit and storage medium
WO2023191683A1 (en) * 2022-04-01 2023-10-05 Telefonaktiebolaget Lm Ericsson (Publ) Availability handling in a wireless communication system
CN114980191A (en) * 2022-05-19 2022-08-30 阿里云计算有限公司 Information processing method, device, storage medium and program product
CN116963135A (en) * 2023-09-20 2023-10-27 四川恒湾科技有限公司 O-RU power failure alarm reporting method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张少波;徐广辉;田小锋;赵峰荣;: "基于NandFLASH高可靠自恢复实时文件系统", 计算机工程与科学, vol. 34, no. 06, pages 169 - 173 *

Also Published As

Publication number Publication date
CN117389789B (en) 2024-03-08

Similar Documents

Publication Publication Date Title
US9489213B2 (en) Shutdown method, startup method, and communication terminal
US11150714B2 (en) Storage device and method for powering storage device
CN104090527A (en) Power-down protection device
US8237399B2 (en) System and method for controlling charging process of an electronic device
KR20180117549A (en) Intelligent backup capacitor management
CN101826060A (en) Method and device for protecting power failure data of solid state disk
EP3667504B1 (en) Storage medium management method, device and readable storage medium
CN107247647B (en) BBU working state detection method and system in memory system
WO2017045419A1 (en) Method and apparatus for controlling the powering-on of terminal
US11942608B2 (en) Device battery and unmanned aerial vehicle
CN105389525A (en) Management method and system for blade server
CN105446916A (en) USB bus state switching method and apparatus
CN104850182A (en) Circuit structure applied to embedded system and power-fail protection method
CN117389789B (en) Power-down information storage and reporting method and system for O-RU equipment
CN107026759A (en) The firmware and its development approach of a kind of remote management BBU modules based on BMC
JP5814825B2 (en) Storage device and storage method
CN111525644A (en) Battery management system and battery management method
JP4411014B2 (en) Computer and power supply backup method thereof
CN203133817U (en) Multifunctional safe mobile hard disk
CN110362448A (en) A kind of GPU management-control method and relevant apparatus
CN112506686A (en) Method and device for realizing log system of DCS (distributed control system) controller
CN104680087A (en) Blade server hot plugging control circuit and device
CN114537146A (en) Vehicle control method and device, electronic equipment and storage medium
CN103412531B (en) A kind of bus control method and device
CN113608604A (en) Loongson processor-based computer power management system, method, medium, and device

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
GR01 Patent grant
GR01 Patent grant