Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
In order to solve the problem of the prior art, embodiments of the present invention provide a method, an apparatus, a device, and a medium for managing status data of a radio remote unit. First, a method for managing status data of a remote radio unit according to an embodiment of the present invention is described below.
Fig. 1 is a flowchart illustrating a method for managing status data of a remote radio unit according to an embodiment of the present invention. As shown in fig. 1, the method includes:
s101, when a radio remote unit RRU accesses to a network, establishing a time chain of the RRU according to the access time point of the RRU, wherein the starting time point of the time chain is the access time point of the RRU.
And S102, recording the state of the RRU as a working state on a time chain.
S103, when the RRU exits the network, setting the ending time point of the time chain as the network exiting time point of the RRU, and modifying the state of the RRU on the time chain into a non-working state.
The state data management method of the RRU of the embodiment of the invention records the state of the RRU on the time chain of the RRU when the RRU is connected to the network and modifies the state of the RRU when the RRU is disconnected from the network, thereby realizing the state storage of the RRU which changes. In the prior art, snapshot storage is periodically performed on the RRU state, that is, all the acquired RRU states are stored after the RRU is networked. The embodiment of the invention is different from the prior art, and not all the acquired RRU states are stored, thereby reducing the storage space and the computing resource occupied by the RRU state data on the premise of ensuring that the RRU state data is not lost. As the RRU state data is less, the retrieval and updating efficiency of the RRU state data is improved, and the response speed of the system is ensured.
After the embodiment of the invention is adopted, the storage space is saved by more than 5 times compared with the existing storage mode. For example, a certain province has 50 thousands of RRUs, and the states of the 50 thousands of RRUs are collected every 4 hours, and a 4T space is needed to store the states of all the collected 50 thousands of RRUs in a year. After the existing storage mode is adopted, only about 500G of storage space is needed to store the states of the 50 ten thousand RRUs. The RRU state data stored in the embodiment of the invention is less, so that the retrieval efficiency can be improved by more than 2 times.
In an embodiment of the present invention, after the RRU is networked, the method for managing status data of the remote radio unit further includes:
if the RRU performs network cutover, setting the ending time point of the time chain as the time point of the RRU performing network cutover, and creating another time chain of the RRU, wherein the starting time point of the another time chain is the time point of the RRU performing network cutover; and recording the state of the RRU as a working state on the other time chain.
In the state data management method for the remote radio unit according to the embodiment of the present invention, if the RRU performs the network cutover, the two RRUs physically belong to the same RRU but have two roles in the network with respect to the RRU before the network cutover and the RRU after the network cutover. Therefore, another time chain is established for the RRU which is cut by the network, and the state of the RRU with the changed role in the network is recorded on the time chain, so that the state of the RRU is effectively managed.
In an embodiment of the present invention, the method for managing status data of a remote radio unit further includes:
when the RRU exits the network, setting the ending time point of another time chain as the network exiting time point of the RRU, and modifying the state of the RRU on the other time chain into a non-working state.
In an embodiment of the present invention, the method for managing status data of a remote radio unit further includes:
periodically collecting state data of the RRU; if the state data of the RRU is not acquired in the previous period and the state data of the RRU is acquired in the current period, determining that the RRU is accessed to the network; and if the state data of the RRU is acquired in the previous period and the state data of the RRU is not acquired in the current period, determining that the RRU exits the network.
In an embodiment of the present invention, the method for managing status data of a remote radio unit further includes:
and recording the information of the cell served by the RRU network access station on the time chain.
For example, the name or cell identifier of the cell served by the RRU network access point is recorded on the time chain.
It should be noted that the time chain records the network access time of the RRU, the working state of the RRU, and the information of the cell served by the RRU accessing the network, and when the RRU leaves the network, the time chain also records the network leaving time of the RRU.
In one embodiment of the invention, the ending time point of the time chain is empty when the time chain is created.
It should be added that, if the RRU performs network cutover, and creates another time chain for the RRU, the ending time point of the another time chain is also empty.
In one embodiment of the invention, the time chain is stored in an Operation and Maintenance Center (OMC) that is used to manage the RRUs.
The embodiment of the invention provides another state data management method for a radio remote unit, which comprises the following steps:
(1) establishing a network access time point (StartTime) and a network exit time point (EndTime) in a table structure of a database RRU, wherein a time range between the network access time point and the network exit time point represents an effective time range of the RRU. And warehousing each RRU time chain to be managed by the OMC during initial acquisition, wherein the starting time point of each RRU time chain is the network access time point of the RRU, and the ending time point of the RRU time chain is empty (such as NULL), namely starting the time chain.
(2) If the state of the RRU is acquired in the last acquisition period and the state of the RRU is not acquired in the acquisition period, determining that the RRU exits the network, ending the RRU time chain, namely directly setting the ending time point of the RRU time chain as the network exiting time point of the RRU, wherein the network exiting time point refers to the time point for determining that the RRU exits the network.
(3) If the state of the RRU is not acquired in the previous acquisition period and the state of the RRU is acquired in the current acquisition period, determining that a new RRU is accessed to the network, newly adding an RRU time chain, namely directly adding an RRU record, and setting the starting time point of the newly added RRU time chain as the access time point of the RRU, wherein the access time point refers to the time point of determining the new RRU to be accessed to the network. The end time point of the newly added RRU time chain is NULL.
(4) If the field of a certain RRU changes, which indicates that the RRU performs network cutover, the time chain of the RRU is split, namely, the ending time point of the RRU time chain before the network cutover is set as the time point when the field of the RRU which is currently acquired changes, then an RRU time chain is newly added, the newly added RRU time chain records RRU data after the network cutover, the starting time point of the newly added RRU time chain is the time point when the field of the RRU which is acquired changes, and the ending time point of the newly added RRU time chain is NULL.
The following describes the examples of the present invention in Table 1.
TABLE 1
| RRU ID
|
Status of RRU
|
Cell served by RRU
|
Starting point in time
|
End time point
|
| RRU1
|
Not working
|
Cell 1
|
2015-4-1
|
2015-4-2
|
| RRU2
|
Work by
|
Cell 2
|
2015-4-1
|
2015-4-3
|
| RRU3
|
Work by
|
Cell 3
|
2015-4-1
|
2015-4-3
|
| RRU4
|
Work by
|
Cell 4
|
2015-4-2
|
NULL
|
| RRU1
|
Work by
|
Cell 1
|
2015-4-2
|
NULL
|
| RRU2
|
Work by
|
Cell 22
|
2015-4-3
|
NULL |
RRU1 enters the network at 2015-4-1, the cell served by RRU1 is cell 1 when entering the network, RRU1 leaves the network at 2015-4-2, and the data in row 2 in Table 1 is the time chain of RRU 1. The RRU1 re-enters the network at 2015-4-2, the cell served by the RRU1 during network entry is cell 1, and the data in row 6 in table 1 is the time chain for the RRU1 to re-enter the network.
RRU2 enters the network at 2015-4-1, the cell served by RRU2 when entering the network is cell 2, and the data in row 3 in table 1 is the time chain of RRU 2. Network cutover occurs at 2015-4-3 by RRU2, the cell served by RRU2 is switched from cell 2 to cell 22, and the data in row 7 in table 1 is the time chain after network cutover by RRU 2.
Fig. 2 is a schematic structural diagram illustrating a status data management apparatus of a remote radio unit according to an embodiment of the present invention. As shown in fig. 2, the apparatus 200 includes:
a first creating module 201, configured to create a time chain of the RRU according to a network access time point of the RRU when the remote radio unit RRU is networked, where a starting time point of the time chain is the network access time point of the RRU.
The first recording module 202 is configured to record a state of the RRU as a working state on a time chain.
The first setting module 203 is configured to set an end time point of the time chain as a network exit time point of the RRU when the RRU exits the network.
A first modifying module 204, configured to modify the state of the RRU to be an inactive state on the time chain.
In one embodiment of the present invention, the apparatus 200 further comprises:
and the second setting module is used for setting the ending time point of the time chain as the time point of the RRU for network cutover after the RRU is connected to the network and the RRU performs network cutover.
And the second establishing module is used for establishing another time chain of the RRU, and the starting time point of the another time chain is the time point of network cutover of the RRU.
And the second recording module is used for recording the state of the RRU as a working state on the other time chain.
In one embodiment of the present invention, the apparatus 200 further comprises:
and the third setting module is used for setting the ending time point of the other time chain as the network quitting time point of the RRU when the RRU quits the network.
And the second modification module is used for modifying the state of the RRU into a non-operating state on the other time chain.
In one embodiment of the present invention, the apparatus 200 further comprises:
and the acquisition module is used for periodically acquiring the state data of the RRU.
And the network access determining module is used for determining that the RRU is accessed to the network when the state data of the RRU is not acquired in the previous period and the state data of the RRU is acquired in the current period.
And the network quitting determining module is used for determining that the RRU quits the network when the state data of the RRU is acquired in the previous period and the state data of the RRU is not acquired in the current period.
In one embodiment of the present invention, the apparatus 200 further comprises:
and the third recording module is used for recording the information of the cell served by the RRU network access station on the time chain.
In one embodiment of the invention, the ending time point of the time chain is empty when the time chain is created.
In one embodiment of the invention, the time chain is stored in an operation and maintenance center OMC, which is used to manage the RRUs.
Fig. 3 is a schematic diagram illustrating a hardware structure of an apparatus for managing a remote radio unit according to an embodiment of the present invention.
As shown in fig. 3, an apparatus for managing a remote radio unit may include a processor 301 and a memory 302 storing computer program instructions.
In particular, the processor 301 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured as one or more Integrated circuits implementing embodiments of the present invention.
Memory 302 may include mass storage for data or instructions. By way of example, and not limitation, memory 302 may include a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, tape, or Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 302 may include removable or non-removable (or fixed) media, where appropriate. The memory 302 may be internal or external to the integrated gateway disaster recovery device, where appropriate. In a particular embodiment, the memory 302 is a non-volatile solid-state memory. In a particular embodiment, the memory 302 includes Read Only Memory (ROM). Where appropriate, the ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory or a combination of two or more of these.
The processor 301 reads and executes the computer program instructions stored in the memory 302 to implement the state data management method of any one of the remote radio units in the above embodiments.
In one example, the apparatus for managing a remote radio unit may further include a communication interface 303 and a bus 310. As shown in fig. 3, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 to complete communication therebetween.
The communication interface 303 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiment of the present invention.
Bus 310 may include hardware, software, or both to couple the components of the device for managing the remote radio unit to each other. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hypertransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 310 may include one or more buses, where appropriate. Although specific buses have been described and shown in the embodiments of the invention, any suitable buses or interconnects are contemplated by the invention.
The apparatus for managing a remote radio unit may execute the method for managing state data of a remote radio unit in the embodiment of the present invention, so as to implement the method and the apparatus for managing state data of a remote radio unit described with reference to fig. 1 and fig. 2.
In addition, in combination with the state data management method of the remote radio unit in the foregoing embodiment, an embodiment of the present invention may provide a computer storage medium to implement. The computer storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement the method for managing status data of a remote radio unit in any of the above embodiments.
It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this patent describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
As described above, only the specific embodiments of the present invention are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered within the scope of the present invention.