Method and device for updating equipment information in base station system and electronic device
By using synchronous parameters to detect equipment information differences in the base station system, incremental or full updates are achieved, which solves the problem of low efficiency of equipment information update and improves the efficiency and accuracy of equipment information update.
Patent Information
- Application Number
- CN202510407020.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-01
- Publication Date
- 2025-07-11
AI Technical Summary
In the prior art, the efficiency of updating equipment information in the base station system is low, especially in scenarios where equipment information is frequently changed or networking mode is frequently changed. Incremental updates may lead to incomplete topological information and affect system performance.
By receiving the update request from the information storage device, the synchronization parameters of the information storage device and the information collection device are used to detect the update operation to be performed, and only the target device information that is different from the device information currently stored in the base station system is transmitted, and the device information is updated by incremental update or full update.
It improves the efficiency of updating equipment information, avoids redundant transmission and information loss, and ensures the accuracy and consistency of equipment information.
Smart Images

Figure CN120302319A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technologies, and in particular, to a method and apparatus for updating device information in a base station system, a storage medium, and an electronic device. Background Art
[0002] In the related art, the traditional full-update method requires providing the complete information of all communication devices whenever the system requests an update regardless of whether the device information has changed, which may consume a large amount of resources and result in low efficiency of updating device information; while the incremental update method only updates the changed device information, but in scenarios where the device information changes frequently or the networking mode changes frequently in a short period of time, it may cause frequent updates of topological information, affecting system performance. At the same time, after the system is abnormally restarted, using the incremental update method may result in incomplete topological information, leading to low efficiency of updating device information.
[0003] In view of the problem of low efficiency in updating device information in the related art, no effective solution has been proposed yet. Summary of the Invention
[0004] Embodiments of the present application provide a method and apparatus for updating device information in a base station system, a storage medium, and an electronic device, so as to at least solve the problem of low efficiency in updating device information in the related art.
[0005] According to an embodiment of the present application, a method for updating device information in a base station system is provided. The information acquisition device includes a processor and a communication interface. The information acquisition device allows multiple communication devices to be connected through the communication interface to form a base station system. The method is applied to the processor and includes: receiving an information update request sent by an information storage device, where the information storage device is used to store device information of communication devices in the base station system, and the information update request is used to request an update of the device information stored in the information storage device; responding to the information update request, and detecting a currently pending update operation of the information storage device according to a first synchronization parameter of the information storage device and a second synchronization parameter of the information acquisition device, where the synchronization parameter is used to indicate the currently allowed information synchronization method of the corresponding device; in the case where it is detected that the currently pending update operation of the information storage device is an incremental update operation, obtaining target device information in the base station system that is different from the device information currently stored in the information storage device, where the incremental update operation is used to update the changed device information in the base station system to the information storage device; and transmitting the target device information to the information storage device, where the information storage device is used to update the currently stored device information according to the target device information.
[0006] In an exemplary embodiment, detecting the update operation currently to be performed by the information storage device according to the first synchronization parameter of the information storage device and the second synchronization parameter of the information acquisition device includes: when the currently allowed information synchronization modes indicated by the first synchronization parameter and the second synchronization parameter are both incremental synchronization, determining that the update operation currently to be performed by the information storage device is the incremental update operation; when the currently allowed information synchronization mode indicated by the first synchronization parameter is full synchronization, and / or when the currently allowed information synchronization mode indicated by the second synchronization parameter is full synchronization, determining that the update operation currently to be performed by the information storage device is the full update operation, where the full update operation is used to update all the device information of the communication device in the base station system to the information storage device.
[0007] In an exemplary embodiment, before detecting the update operation currently to be performed by the information storage device according to the first synchronization parameter of the information storage device and the second synchronization parameter of the information acquisition device, the method further includes: detecting the first operating state of the information storage device, the second operating state of the information acquisition device, and the information transmission state between the information storage device and the information acquisition device; when it is detected that the first operating state indicates that there is a fault in the information storage device during operation, setting the first synchronization parameter to indicate that the currently allowed information synchronization mode is the full synchronization; when it is detected that the second operating state indicates that there is a fault in the information acquisition device during operation, setting the second synchronization parameter to indicate that the currently allowed information synchronization mode is the full synchronization; when the information transmission state indicates that the information storage device and the information acquisition device have not transmitted device information before, setting the first synchronization parameter to indicate that the currently allowed information synchronization mode is the full synchronization, and setting the second synchronization parameter to indicate that the currently allowed information synchronization mode is the full synchronization; when the first operating state indicates that the information storage device is operating normally, the second operating state indicates that the information acquisition device is operating normally, and the information transmission state indicates that the information storage device and the information acquisition device have transmitted device information before, setting the first synchronization parameter and the second synchronization parameter to indicate that the currently allowed information synchronization mode is the incremental synchronization.
[0008] In an exemplary embodiment, each of the communication interfaces allows connection to multiple network formations, and each network formation consists of one or more communication devices with topological connections in the base station system. Obtaining the target device information that is different from the device information currently stored in the information storage device in the base station system includes: detecting the change type of the device information under each communication interface included in the information collection device; when detecting that the change type is a network formation change, detecting whether the first stable duration of the network formation change meets the first transmission condition; when detecting that the first stable duration meets the first transmission condition, determining the device information of all the communication devices under the target network formation currently accessing the target communication interface as the target device information, where the network formation change refers to a change in the network formation accessed by the communication interface; when detecting that the change type is a device change, detecting whether the network formation to which the target communication device with the device change belongs is a valid network formation; when the network formation to which the target communication device belongs is the valid network formation, detecting whether the second stable duration of the device change meets the second transmission condition; when detecting that the second stable duration meets the second transmission condition, determining the current device information of the target communication device as the target device information; when the network formation to which the target communication device belongs is an invalid network formation, prohibiting the determination of the current device information of the target communication device as the target device information, where the device change refers to a situation where the network formation accessed by the communication interface has not changed, but the device information of the communication devices in the network formation connected to the communication interface has changed, the valid network formation is the network formation currently accessed by the communication interface, and the invalid network formation is the network formation connected to the communication interface but not accessed by the communication interface.
[0009] In an exemplary embodiment, detecting the change type of the device information under each communication interface included in the information collection device includes: detecting whether the device type of the communication device directly accessed by each communication interface has changed; when detecting that the device type of the communication device directly accessed by the target communication interface has changed, determining that the detected change type is the network formation change; when detecting that the device information of the communication devices under the network formation accessed by the target communication interface has changed, but the device type of the communication device directly connected to the target communication interface has not changed, determining that the detected change type is the device change.
[0010] In an exemplary embodiment, detecting whether the first stable duration for detecting the network formation change meets the first transmission condition includes: detecting whether the first stable duration is greater than a first duration threshold; and when it is detected that the first stable duration is greater than the first duration threshold, determining that the first stable duration meets the first transmission condition. Detecting whether the second stable duration for detecting the device change meets the second transmission condition includes: detecting whether the second stable duration is greater than a second duration threshold; and when it is detected that the second stable duration is greater than the second duration threshold, determining that the second stable duration meets the second transmission condition.
[0011] In an exemplary embodiment, obtaining target device information in the base station system that is different from the device information currently stored in the information storage device includes: collecting the device information of each communication device in the base station system to obtain reference device information; screening out the target device information that is different from the device information currently stored in the information storage device from the reference device information; or obtaining the target device information from the storage space corresponding to the information collection device, where the storage space is used to store the device information that has changed in the base station system after the information collection device last transmitted the device information to the information storage device.
[0012] According to another embodiment of the embodiments of the present application, there is also provided a device information update device. The information collection device includes a processor and a communication interface. The information collection device allows multiple communication devices to be connected through the communication interface to form a base station system. The device is applied to the processor and includes: a receiving module, configured to receive an information update request sent by an information storage device, where the information storage device is used to store the device information of communication devices in the base station system, and the information update request is used to request an update of the device information stored in the information storage device; a response module, configured to respond to the information update request and detect the update operation currently to be performed by the information storage device according to a first synchronization parameter of the information storage device and a second synchronization parameter of the information collection device, where the synchronization parameter is used to indicate the information synchronization method currently allowed by the corresponding device; an obtaining module, configured to, when it is detected that the update operation currently to be performed by the information storage device is an incremental update operation, obtain target device information in the base station system that is different from the device information currently stored in the information storage device, where the incremental update operation is used to update the device information with changes in the base station system to the information storage device; and a transmission module, configured to transmit the target device information to the information storage device, where the information storage device is used to update the currently stored device information according to the target device information.
[0013] According to another aspect of the embodiments of the present application, there is also provided a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the method for updating device information in the above base station system when running.
[0014] According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the above processor executes the method for updating device information in the above base station system through the computer program.
[0015] In the embodiments of the present application, according to the received information update request, by synchronizing the parameters of the information storage device and the information collection device, the currently to-be-executed update operation is judged. When it is detected that an incremental update operation is to be executed, only the device information in the base station system that is different from the device information currently stored in the information storage device is transmitted to the information storage device, and the information storage device updates the currently stored device information only according to this part of the different device information. By the above method, it can be ensured that according to the synchronization parameters of the information storage device and the information collection device, the currently to-be-executed update operation is correctly detected, and then the device information matching the determined update operation is transmitted to the information storage device. On the one hand, it can avoid the problem of low update efficiency of device information caused by redundant transmission when all device information in the base station system is transmitted to the storage device when a full update operation does not need to be executed in the related art. On the other hand, it can avoid the problem of missing device information when only the device information in the base station system that is different from the device information currently stored in the information storage device is transmitted to the information storage device when a full update operation needs to be executed. Therefore, by adopting the above technical solution, the problems such as low update efficiency of device information in the related art are solved, and the technical effect of improving the update efficiency of device information is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present application and used together with the specification to explain the principles of the present application.
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the accompanying drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.
[0018] Figure 1 It is a schematic diagram of the hardware environment of a method for updating device information in a base station system according to an embodiment of the present application;
[0019] Figure 2 It is a flowchart of a method for updating device information in a base station system according to an embodiment of the present application;
[0020] Figure 3 It is a schematic diagram of device topology under an optional RRU networking according to an embodiment of the present application;
[0021] Figure 4 It is a schematic diagram of device topology under an optional EU networking according to an embodiment of the present application;
[0022] Figure 5 It is a schematic diagram of device topology under an optional AU networking according to an embodiment of the present application;
[0023] Figure 6 It is a schematic diagram of the connection of an optional communication device according to an embodiment of the present application Figure 1 ;
[0024] Figure 7 It is a schematic diagram of the connection of an optional communication device according to an embodiment of the present application Figure 2 ;
[0025] Figure 8 It is a schematic flowchart of the first update of an optional webLMT topology diagram according to an embodiment of the present application;
[0026] Figure 9 It is a schematic flowchart of an optional device parameter change according to an embodiment of the present application;
[0027] Figure 10 It is a schematic flowchart of an optional network change according to an embodiment of the present application;
[0028] Figure 11 It is a schematic diagram of the processing process of updating an optional webLMT topology diagram according to an embodiment of the present application;
[0029] Figure 12 It is a schematic diagram of the topology result of the first update of an optional webLMT topology diagram according to an embodiment of the present application;
[0030] Figure 13 It is a schematic diagram of the topology result when an optional device parameter changes according to an embodiment of the present application;
[0031] Figure 14 It is a schematic diagram of the topology result when an optional network changes according to an embodiment of the present application;
[0032] Figure 15 It is a block diagram of the structure of a device information update device according to an embodiment of the present application. Detailed implementation manners
[0033] To enable those skilled in the art to better understand the solution of this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts shall fall within the protection scope of this application.
[0034] It should be noted that the terms "first", "second", etc. in the specification, claims and the above-mentioned drawings of this application are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of this application described here can be implemented in an order different from those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0035] The method embodiments provided by the embodiments of this application can be executed in a computer terminal, a device terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 is a schematic diagram of the hardware environment of a method for updating device information in a base station system according to an embodiment of this application. As Figure 1 shown, the computer terminal may include one or more ( Figure 1 only one is shown in the figure) processors 102 (the processor 102 may include, but is not limited to, processing devices such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. In an exemplary embodiment, the above computer terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those of ordinary skill in the art can understand that Figure 1 the structure shown is only schematic and does not limit the structure of the above computer terminal. For example, the computer terminal may further include more or fewer components than those Figure 1 shown in the figure, or have the same functions as those Figure 1 shown in the figure or different configurations with more functions than those Figure 1 shown in the figure.
[0036] The memory 104 can be used to store computer programs, such as software programs and modules of application software, such as the computer program corresponding to the message push sending method in the embodiments of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some instances, the memory 104 may further include a memory remotely disposed relative to the processor 102, and these remote memories can be connected to the computer terminal through a network. Examples of the above network include but are not limited to the Internet, enterprise intranet, local area network, mobile communication network, and combinations thereof.
[0037] The transmission device 106 is used to receive or send data via a network. Specific examples of the above network may include a wireless network provided by a communication provider of the computer terminal. In one instance, the transmission device 106 includes a network adapter (Network Interface Controller, abbreviated as NIC), which can be connected to other network devices through a base station and thus communicate with the Internet. In one instance, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0038] In this embodiment, a method for updating device information in a base station system is provided, which is applied to the above computer terminal. Figure 2 It is a flowchart of a method for updating device information in a base station system according to an embodiment of the present application, as Figure 2 shown. The information collection device includes a processor and a communication interface. The information collection device allows multiple communication devices to be connected through the communication interface to form a base station system. The method is applied to the processor, and this process includes the following steps:
[0039] Step S202, receiving an information update request sent by an information storage device, where the information storage device is used to store device information of communication devices in the base station system, and the information update request is used to request an update of the device information stored in the information storage device;
[0040] Step S204, in response to the information update request, detecting a currently pending update operation of the information storage device according to a first synchronization parameter of the information storage device and a second synchronization parameter of the information collection device, where the synchronization parameter is used to indicate the currently allowed information synchronization method of the corresponding device;
[0041] Step S206, when it is detected that the current update operation to be performed on the information storage device is an incremental update operation, obtain the target device information in the base station system that is different from the device information currently stored in the information storage device, where the incremental update operation is used to update the device information with changes in the base station system to the information storage device;
[0042] Step S208, transmit the target device information to the information storage device, where the information storage device is used to update the currently stored device information according to the target device information.
[0043] Through the above steps, according to the received information update request, by using the synchronization parameters of the information storage device and the information collection device, judge the current update operation to be performed. When it is detected that an incremental update operation is to be performed, only transmit the device information in the base station system that is different from the device information currently stored in the information storage device to the information storage device. The information storage device only updates the currently stored device information according to this part of the different device information. By the above method, it can be ensured that according to the synchronization parameters of the information storage device and the information collection device, the current update operation to be performed is correctly detected, and then the device information matching the determined update operation is transmitted to the information storage device. On the one hand, it can avoid the problem of low update efficiency of device information caused by redundant transmission when all device information in the base station system is transmitted to the storage device when a full update operation does not need to be performed in the related art. On the other hand, it can avoid the problem of missing device information caused by only transmitting the device information in the base station system that is different from the device information currently stored in the information storage device to the information storage device when a full update operation needs to be performed. Therefore, by adopting the above technical solution, the problems such as low update efficiency of device information in the related art are solved, and the technical effect of improving the update efficiency of device information is achieved.
[0044] In the technical solution provided in the above step S202, the information storage device can be but is not limited to being used to store the device information of communication devices in the base station system and to view the device information of communication devices in the current base station system. For example, the information storage device can be but is not limited to including webLMT (Web-based Local Maintenance Tool, network-based local maintenance terminal).
[0045] Optionally, in this embodiment, the information collection device may, but is not limited to, be used to collect the device information of communication devices in the base station system. For example, the information collection device may, but is not limited to, include a BBU (Baseband Unit), and the processor may, but is not limited to, be deployed on the information collection device. The processor may, but is not limited to, be used to perform the operation of collecting the device information of communication devices in the base station system. Further, the processor may run an OAM (Operation, Administration, and Maintenance) system to execute the above steps S202 - S208 through the OAM system.
[0046] Optionally, in this embodiment, the information collection device may, but is not limited to, include multiple communication interfaces. When the information collection device is a BBU, the optical fiber interface (optical port) on the BBU may, but is not limited to, be the above communication interface. Each communication interface may, but is not limited to, be connected to multiple communication devices to form a base station system. The communication devices may, but is not limited to, include communication devices of different device types. For example, the communication devices may, but is not limited to, include RRU (Remote Radio Unit), AU (Access Unit), EU (Expansion Unit), and so on.
[0047] In the technical solution provided in the above step S204, the information update request may, but is not limited to, include the first synchronization parameter of the information storage device.
[0048] Optionally, in this embodiment, the first synchronization parameter and the second synchronization parameter may, but are not limited to, be the same or different. For example, if the first synchronization parameter and the second synchronization parameter are the same, it indicates that the currently allowed information synchronization methods of the corresponding devices are the same. If the first synchronization parameter and the second synchronization parameter are different, it indicates that the currently allowed information synchronization methods of the corresponding devices are different.
[0049] In an exemplary embodiment, the update operation to be currently executed by the information storage device can be detected according to the first synchronization parameter of the information storage device and the second synchronization parameter of the information acquisition device in the following ways, but not limited thereto: when the currently allowed information synchronization methods indicated by the first synchronization parameter and the second synchronization parameter are both incremental synchronization, it is determined that the update operation to be currently executed by the information storage device is the incremental update operation; when the currently allowed information synchronization method indicated by the first synchronization parameter is full synchronization, and / or when the currently allowed information synchronization method indicated by the second synchronization parameter is full synchronization, it is determined that the update operation to be currently executed by the information storage device is the full update operation, where the full update operation is used to update all the device information of the communication device in the base station system to the information storage device.
[0050] Optionally, in this embodiment, the value of the synchronization parameter can be represented in binary form, that is, 0 and 1. When the value of the synchronization parameter is 0, it indicates that the currently allowed information synchronization method is incremental synchronization. When the value of the synchronization parameter is 1, it indicates that the currently allowed information synchronization method is full synchronization.
[0051] Optionally, in this embodiment, when it is detected that the update operation to be currently executed by the information storage device is the full update operation, all the device information of the communication device in the base station system is obtained; all the device information is transmitted to the information storage device, where the information storage device is used to delete all the currently stored device information and store all the device information according to all the device information of the communication device in the base station system.
[0052] Through the embodiments of the present application, through the indication of the first synchronization parameter and the second synchronization parameter, it is possible to dynamically determine whether to execute an incremental update operation or a full update operation, achieving the efficiency, real-time performance, and data integrity of device information update.
[0053] In an exemplary embodiment, before detecting an update operation to be currently executed by the information storage device based on, but not limited to, a first synchronization parameter of the information storage device and a second synchronization parameter of the information acquisition device: detect a first operating state of the information storage device, a second operating state of the information acquisition device, and an information transmission state between the information storage device and the information acquisition device; in a case where the first operating state is detected to indicate that there is a fault during the operation of the information storage device, set the first synchronization parameter to indicate that the currently allowed information synchronization method is full synchronization; in a case where the second operating state is detected to indicate that there is a fault during the operation of the information acquisition device, set the second synchronization parameter to indicate that the currently allowed information synchronization method is full synchronization; in a case where the information transmission state indicates that device information has not been transmitted between the information storage device and the information acquisition device before, set the first synchronization parameter to indicate that the currently allowed information synchronization method is full synchronization, and set the second synchronization parameter to indicate that the currently allowed information synchronization method is full synchronization; in a case where the first operating state is detected to indicate that the information storage device is operating normally, the second operating state is detected to indicate that the information acquisition device is operating normally, and the information transmission state is detected to indicate that device information has been transmitted between the information storage device and the information acquisition device before, set the first synchronization parameter and the second synchronization parameter to indicate that the currently allowed information synchronization method is incremental synchronization.
[0054] Optionally, in this embodiment, the operating state may include, but is not limited to, that the corresponding device is operating normally or has a fault, and the first operating state and the second operating state may be the same or different. For example, in a case where both the first operating state and the second operating state are detected to indicate that the corresponding devices have faults, set the first synchronization parameter and the second synchronization parameter to indicate that the currently allowed information synchronization method is full synchronization; in a case where the first operating state is detected to indicate that there is a fault during the operation of the information storage device and the second operating state is detected to indicate that the information acquisition device is operating normally, set the first synchronization parameter to indicate that the currently allowed information synchronization method is full synchronization, and set the second synchronization parameter to indicate that the currently allowed information synchronization method is incremental synchronization.
[0055] Optionally, in this embodiment, the information transmission state may include, but is not limited to, indicating that device information has been transmitted between the information storage device and the information acquisition device before, or indicating that device information has not been transmitted between the information storage device and the information acquisition device before.
[0056] Through the embodiments of the present application, by detecting the operating states of the information storage device and the information collection device and the information transmission state between the two, the information synchronization method can be adjusted according to the actual operating conditions of the devices. When a device failure is detected or information has not been transmitted previously, the full synchronization mode will be switched to ensure the integrity and accuracy of the information. When the devices are operating normally and information has been transmitted previously, an incremental synchronization operation will be performed to transmit only the changed device information, effectively reducing resource occupancy and improving the efficiency of information update.
[0057] In the technical solution provided in step S206 above, the target device information may include, but is not limited to, single device information or multiple device information.
[0058] Optionally, in this embodiment, the number of target device information that is different from the device information currently stored in the information storage device in the base station system may include, but is not limited to, 0. For example, in the base station system, if all communication devices remain stable and no changes occur for a period of time, the processor will identify an update situation of "0 device information". At this time, a special response message indicating no change or no update information may be sent to the information storage device, but is not limited to this.
[0059] Optionally, in this embodiment, the target device information that is different from the device information currently stored in the information storage device in the base station system may include, but is not limited to, addition, modification, or deletion of device information.
[0060] Optionally, in this embodiment, a query status field (equivalent to a synchronization parameter) may be added, such as getStatus; the webLMT (equivalent to the information storage device) side is the query request identifier (equivalent to the first synchronization parameter), and the OAM (equivalent to the processor) side is the query response identifier (equivalent to the second synchronization parameter).
[0061] (1) When the process is queried or responds for the first time after startup, the value of this field is 1;
[0062] (2) For exceptions, if either party restarts during the interaction between webLMT and OAM, by modifying the field information, if restarted, the topology data in the response is full data to ensure the normal operation of the topology function.
[0063] Through the embodiments of the present application, for the incremental query system, a query status field (equivalent to a synchronization parameter) is added for topology data exception protection, avoiding the loss of topology information caused by incremental query or response after a certain process restarts, and improving the accuracy and consistency of device information update in the pico base station system.
[0064] In an exemplary embodiment, each of the communication interfaces allows connection to multiple network formations. Each network formation is composed of one or more communication devices with topological connections in the base station system. The target device information that is different from the device information currently stored in the information storage device in the base station system can be obtained in the following ways, which are not limited to: detecting the change type of the device information under each communication interface included in the information collection device; when detecting that the change type is a network formation change, detecting whether the first stable duration of the network formation change meets the first transmission condition; when detecting that the first stable duration meets the first transmission condition, determining the device information of all the communication devices in the target network formation currently accessing the target communication interface as the target device information, where the network formation change refers to a change in the network formation accessed by the communication interface; when detecting that the change type is a device change, detecting whether the network formation to which the target communication device with the device change belongs is a valid network formation; when the network formation to which the target communication device belongs is the valid network formation, detecting whether the second stable duration of the device change meets the second transmission condition; when detecting that the second stable duration meets the second transmission condition, determining the current device information of the target communication device as the target device information; when the network formation to which the target communication device belongs is an invalid network formation, prohibiting the determination of the current device information of the target communication device as the target device information, where the device change refers to that the network formation accessed by the communication interface has not changed, but the device information of the communication devices in the network formation connected to the communication interface has changed, the valid network formation is the network formation currently accessed by the communication interface, and the invalid network formation is the network formation connected to the communication interface but not accessed by the communication interface.
[0065] Optionally, in this embodiment, when the network formed by the target communication device is an invalid network, the current device information of the target communication device can be directly stored in the topology information of the corresponding network of the information collection device. The topology information of the invalid network can be stored in the reference storage space of the information collection device. The reference storage space and the storage space for storing the target device information are different spaces. However, it is prohibited to determine the current device information of the target communication device as the target device information. For example, at the same moment, communication interface 1 is connected to both the RRU network and the AU network, but only the RRU network is accessed through communication interface 1. At this time, the communication devices under the RRU network are valid devices, and the communication devices under the AU network are invalid devices. If it is detected that the change type of the communication device under the AU network is a device change, the changed device information is directly stored in the topology information of the corresponding network of the information collection device, but this changed device information will not be transmitted to the information storage device. The information collection device can record all device information changes (regardless of whether the communication device is valid in the current network mode), but when synchronizing with the information storage device, the information collection device will only transmit the change records related to the current valid network to avoid the information storage device from processing redundant or irrelevant device information.
[0066] Optionally, in this embodiment, when the topology device configuration information changes (equivalent to device change), the OAM (equivalent to the processor) processes according to the configured network. If the changed information is a device in the current network (equivalent to a valid device), the change content needs to be recorded and then the topology information maintained by the OAM is updated. Otherwise, the topology information maintained by the OAM is directly updated.
[0067] Optionally, in this embodiment, each communication interface allows multiple networks to be connected. The multiple networks are different. For example, network 1 is the RRU network and network 2 is the AU network. At the same moment, 1 communication interface can be connected to multiple networks, but only 1 network can be accessed. For example, at the same moment, communication interface 1 is connected to both the RRU network and the AU network, but only the RRU network is accessed through communication interface 1.
[0068] Through the embodiments of the present application, when a network change is detected, it is detected whether the stable duration of the network change meets the first transmission condition to ensure that the device information is updated after the network change is stable, ensuring the real-time nature of network topology management. When a device change is detected, it is detected whether the stable duration of the device change meets the second transmission condition, also ensuring that the information is updated after the device change is stable, avoiding high-frequency updates triggered by frequent configuration changes.
[0069] In an exemplary embodiment, the change type of the device information under each communication interface included in the information collection device can be detected, but is not limited to, by the following methods: detecting whether the device type of the communication device directly connected to each communication interface has changed; in the case where it is detected that the device type of the communication device directly connected to the target communication interface has changed, determining that the detected change type is the network formation change; in the case where it is detected that the device information of the communication device under the network formation accessed by the target communication interface has changed, but the device type of the communication device directly connected to the target communication interface has not changed, determining that the detected change type is the device change.
[0070] Optionally, in this embodiment, the network formation change can include, but is not limited to, a change in the device type of the communication device directly connected to the target communication interface. For example, the device type of the communication device directly connected to communication interface 1 changes from the RRU device type to the AU device type.
[0071] Optionally, in this embodiment, Figure 3 is an optional schematic diagram of the device topology under the RRU network formation according to an embodiment of the present application. The device type of the connected device configured for the optical port of the BBU (equivalent to the information collection device) (equivalent to the communication interface) determines the optical port network formation, as Figure 3 shown. The optical ports 1 to 4 are configured for the RRU network formation, and the optical ports 1 and 2 are connected to the RRU device (equivalent to the communication device). Figure 4 is an optional schematic diagram of the device topology under the EU network formation according to an embodiment of the present application. As Figure 4 shown, when the device type of the connected device configured for all the optical ports of the BBU is modified to EU, the topology structure is as follows: the optical ports 1 to 4 of the BBU are configured for the EU network formation, and the optical ports 1 and 4 are connected to the EU device. The EU devices connected to the optical ports 1 and 4 further access the RRU device through their own ports. Figure 5 is an optional schematic diagram of the device topology under the AU network formation according to an embodiment of the present application. As Figure 5 shown, when the device type of the connected device configured for all the optical ports of the BBU is modified to AU, the topology structure is as follows: the optical ports 1 to 4 of the BBU are configured for the AU network formation, and the optical port 1 is connected to the AU1 device, and the optical port 4 is connected to the AU2 device. The AU1 device accesses the RRU1 device through its own port 1 and accesses the RRU2 device through its own port 8. The AU2 device accesses the RRU3 device through its own port 1 and accesses the EU1 device through its own port 2. The EU1 device accesses the RRU4 device through its own port 1. When it is necessary to support the hybrid network formation, the device type corresponding to the optical port can be modified accordingly.
[0072] In an exemplary embodiment, the first stable duration of the network formation change can be detected, but not limited to, in the following manner to determine whether it meets the first transmission condition: detecting whether the first stable duration is greater than a first duration threshold; in the case where it is detected that the first stable duration is greater than the first duration threshold, determining that the first stable duration meets the first transmission condition; the second stable duration of the device change can be detected, but not limited to, in the following manner to determine whether it meets the second transmission condition: detecting whether the second stable duration is greater than a second duration threshold; in the case where it is detected that the second stable duration is greater than the second duration threshold, determining that the second stable duration meets the second transmission condition.
[0073] Optionally, in this embodiment, in the case where it is detected that the first stable duration is less than or equal to the first duration threshold, the device information of all communication devices under the target network formation currently accessing the target communication interface is not determined as the target device information, and the first stable duration is continuously detected until the first stable duration is greater than the first duration threshold; in the case where it is detected that the second stable duration is less than or equal to the second duration threshold, the current device information of the target communication device is not determined as the target device information, and the second stable duration is continuously detected until the second stable duration is greater than the second duration threshold.
[0074] Optionally, in this embodiment, the first duration threshold and the second duration threshold can be set, but not limited to, according to the specific communication environment and service requirements, and the first duration threshold and the second duration threshold can be the same or different, but not limited to this.
[0075] Optionally, in this embodiment, during the detection process of any stable duration, in the case where either the information acquisition device or the information storage device fails, the exception protection process will be automatically triggered to send the full device information to ensure the consistency and integrity of the information.
[0076] Through the embodiments of the present application, when the device information changes, a time threshold is set. If there are multiple changes in a short period of time, the topology data will only be updated after the time period ends, which can avoid high-frequency updates triggered by frequent configuration changes.
[0077] In an exemplary embodiment, the target device information different from the device information currently stored in the information storage device in the base station system may be obtained, but not limited to, in the following manner: collecting the device information of each communication device in the base station system to obtain reference device information; screening out the target device information different from the device information currently stored in the information storage device from the reference device information; or obtaining the target device information from the storage space corresponding to the information collection device, where the storage space is used to store the device information that has changed in the base station system after the information collection device last transmitted the device information to the information storage device.
[0078] Optionally, in this embodiment, extracting the key data (equivalent to the device information of each communication device) of the topology device (equivalent to each communication device in the base station system) may include, but not limited to: extracting the device routing address, change type, device name, device status, etc.; when the above key data changes, it is regarded as the device information of the corresponding topology device changes. For radio frequency devices, add cell number and cell status fields; the explanations of related fields are as follows:
[0079] (1) Device routing address: Use the device routing to describe the connection relationship between devices. Taking the BBU device (equivalent to the information collection device) as the root node, the optical ports (equivalent to communication ports) connecting between devices form the routing information of the device. Figure 6 It is an optional schematic diagram of the connection of communication devices according to an embodiment of the present application Figure 1 , such as Figure 6 shown, the routing address of the BBU device is 0, and the RRU is connected under the BBU optical port 1, then the routing address of the RRU is 1; Figure 7 It is an optional schematic diagram of the connection of communication devices according to an embodiment of the present application Figure 2 , such as Figure 7 shown, the routing address of the AU device connected under the BBU optical port 1 is 1, and the routing address of the RRU device connected under the AU optical port 1 is 1.1.
[0080] (2) Change type: "add" is used when adding a device, "del" for deletion, and "mod" for change. The field name may be, but not limited to, ChangeType.
[0081] (3) Device type: The base station device is BBU, the expansion units are divided into EU and AU devices, and the radio frequency unit is RRU device;
[0082] (4) Device name: Used to distinguish devices of the same type. Each device has a unique identification name. The BBU device can be uniquely named BBU, and other devices can be distinguished by device type + number.
[0083] (5) Device Status: Identifies the current status of the device. 0 - Offline, 1 - Online, 2 - Alarm. Depending on different statuses, webLMT (equivalent to an information storage device) can display them in different colors. For example, but not limited to, when the device icon color is green, it indicates the device is online; when the device icon color is red, it indicates the device is offline; when the device icon color is orange, it indicates the device has an alarm. It should be noted that different device statuses can be distinguished by other different colors, and this application does not limit this.
[0084] (6) Cell Information: Cell information includes Cell ID (Identification) and cell operating status; the cell operating status 0 means unavailable, and 1 means available.
[0085] In the technical solution provided in step S208 above, when the number of target device information is greater than or equal to 1, the information storage device can update the currently stored device information according to the target device information; when the number of target device information is equal to 0, the information storage device does not update the currently stored device information.
[0086] To better understand the process of updating the above device information, the following further describes the update process of the above device information in combination with optional embodiments, but it is not used to limit the technical solutions of the embodiments of this application.
[0087] In the technical solution of the embodiments of this application, when webLMT (equivalent to an information storage device) makes an initial query, OAM (equivalent to a processor) returns based on the full amount of the network configuration. During operation, when querying, OAM returns incrementally based on the network configuration. Optionally, the process of updating device information can include, but is not limited to, the following steps:
[0088] Step S1, collect initial topology information;
[0089] Step S2, update the webLMT topology diagram for the first time;
[0090] Step S3, maintain changes to topology information;
[0091] Step S4, update the webLMT topology diagram.
[0092] In the technical solution provided in the above step S1, collecting the initial topology information may but is not limited to including, after the OAM (equivalent to the processor) is started, setting the local query response identifier (equivalent to the second synchronization parameter) getStatus to "1"; collecting the parameter information (equivalent to device information) required for drawing the topology, including the device routes, device types, device names, device statuses, etc. of all devices; storing according to the network configuration classification, and for each device during initialization loading, the value of the ChangeType field is "add"; adding the cell number and cell status parameters for radio frequency devices (i.e., the device type is RRU).
[0093] In the technical solution provided in the above step S2, Figure 8 is a schematic flow diagram of the first update of an optional webLMT topology diagram according to an embodiment of the present application, as Figure 8 shown. The first update of the webLMT topology diagram may but is not limited to including: after the webLMT (equivalent to the information storage device) is started up, setting the local query request identifier (equivalent to the first synchronization parameter) getStatus to "1"; when querying the topology, the OAM determines the optical port (equivalent to the communication interface) network configuration, and summarizes and responds with the full topology information of the corresponding network configuration; then setting the local query response identifier getStatus to "0"; after the webLMT receives the returned message, stores it in the maintained map in the manner of key value being the device route and value being <parameter name, parameter value>, and then draws the topology diagram, and sets the local query request identifier getStatus to "0".
[0094] In the technical solution provided in the above step S3, the topology information change maintenance may but is not limited to including device parameter changes (equivalent to device changes) and optical port network configuration changes.
[0095] Figure 9 is a schematic flow diagram of an optional device parameter change according to an embodiment of the present application, as Figure 9 shown. The process of device parameter change may but is not limited to including the following steps:
[0096] Step S311, during the operation of the OAM, monitor the change of device information (S311-1). When detecting a device parameter change (S311-2), if it is a valid device corresponding to the optical port network configuration, that is, if the device with the change is a device under the current network configuration (S311-3), temporarily store the changed information and start calculating the change duration; otherwise, directly execute step S313.
[0097] Step S312, if the parameter has not changed again after exceeding the time threshold (S312-1), and when getStatus is "0" at this time, that is, in the incremental response mode (S312-2), then the changed device is identified and recorded in the network configuration memory corresponding to the optical port according to the following rules, otherwise this part of the identification is not recorded (S312-3): 1) When adding a device, ChangeType is add, and the information is all the information of the newly added device; 2) When deleting a device, ChangeType is del, and the information is the device route; 3) When the device parameter changes, ChangeType is mod, and the information is the device route and the changed parameter.
[0098] Step S313, according to the optical port corresponding to the changed device, obtain the network configuration mode, and update the changed information to the topology information of the corresponding network configuration of OAM.
[0099] Figure 10 It is a schematic diagram of an optional network configuration change process according to an embodiment of the present application, as Figure 10 shown, the process of optical port network configuration change may include but is not limited to the following steps:
[0100] Step S321, during the operation of OAM, monitor the change of device information (S321-1). When it is detected that the optical port network configuration changes (S321-2), start counting the change duration.
[0101] Step S322, after the change meets the time threshold (S322-1), and in the incremental response mode (S322-2), send a network configuration change notification message to webLMT, carrying the optical port number and the full topology information under the new network configuration of the changed optical port (S322-3); otherwise, do not process (S322-4).
[0102] Step S323, when webLMT receives the network configuration change message, clear the full data under this optical port (S323-1), update the topology information maintained locally and update the topology structure, that is, update the topology map maintained with the topology data notified by OAM, and then update the topology information of this optical port (S323-2).
[0103] In the technical solution provided in the above step S4, Figure 11 It is a schematic diagram of an optional processing process for updating the webLMT topology map according to an embodiment of the present application, as Figure 11 shown, the update of the webLMT topology map may include but is not limited to the following steps:
[0104] When webLMT queries the topology information again, send a topology update request to OAM, carrying the query request identification field getStatus:
[0105] Step S41: Determine whether it is a full - volume query mode. If it is not a full - volume query mode, that is, if the getStatus field of the webLMT query request identifier is "0" and webLMT is an incremental query, then execute Step S42; if it is a full - volume query mode, that is, the getStatus field of the webLMT query request identifier is "1" and it is the first query of webLMT, then execute Step S44;
[0106] Step S42: OAM determines whether the local query response identifier getStatus is in the full - volume response mode; if it is in the full - volume response mode, that is, OAM determines that the local query response identifier getStatus is "1", indicating that it is the first response to the topology query for OAM, then execute Step S44; if it is not in the full - volume response mode, that is, OAM determines that the local query response identifier getStatus is "0" and OAM is an incremental response, then execute Step S43;
[0107] Step S43: According to the query response identifier and the statistical topology change information, form a response message and send a response message back to webLMT, that is, set the getStatus field of the response message to "0", add the change information recorded in Step S312 - 3 to the interface and return it to webLMT. After the response is completed, clear the statistical topology change information, that is, clear the recorded topology change information in Step S312 - 3;
[0108] Step S44: Clear the statistical topology change information, that is, clear the change information recorded in Step S312 - 3; according to the query response identifier and the statistical topology change information, form a response message, that is, set the getStatus field of the response message to "1", and return the full - volume topology information based on the configured optical port networking mode; set the post - query response identifier to incremental response, that is, set getStatus to "0";
[0109] Step S45: When webLMT receives the response message from OAM, that is, when receiving the topology update response, determine whether it is in the full - volume response mode, that is, determine whether the value of getStatus is "1";
[0110] Step S46: If it is determined to be in the full - volume response mode, that is, the value of getStatus is "1", then clear the topology data in the local map and store the topology information in the response, that is, update the new topology information in the local map;
[0111] Step S47: If it is determined not to be in the full - volume response mode, that is, the value of getStatus is "0", update the locally stored topology nodes, that is, update the change information to the maintained map;
[0112] Step S48: Update the webLMT topology diagram.
[0113] The following describes the update process of the above device information in combination with a specific example.
[0114] Optionally, Figure 12 It is a schematic diagram of the first update topology result of an optional webLMT topology diagram according to an embodiment of the present application. The OAM acquisition status: getStatus = 1, corresponding to the full topology data response. The collected data includes a set of device information, and the detailed topology change information of each device is as follows:
[0115] Routing information: 0; change type: add; device type: BBU; device name: BBU; device status: 1;
[0116] The second device information: routing information: 1; change type: add; device type: RRU; device name: RRU1; device status: 0; cell information: cell ID: 1; cell status: 0;
[0117] The third device information: routing information: 2; change type: add; device type: RRU; device name: RRU2; device status: 1; cell information: cell ID: 2; cell status: 1.
[0118] As Figure 12 shown, webLMT stores all device information according to all device information of communication devices in the base station system queried. Optical port 1 is connected to the RRU1 device, and optical port 2 is connected to the RRU2 device. The RRU1 device is in an offline state, and the RRU2 device is in an online state. For example, the icon of the RRU1 device can be filled with red to indicate that the RRU1 device is in an offline state, and the icon of the RRU2 device can be filled with green to indicate that the RRU2 device is in an online state.
[0119] Optionally, Figure 13 It is a schematic diagram of the topology result when device parameters are changed according to an embodiment of the present application. When the status of the RRU1 device becomes online and webLMT queries again, the OAM acquisition status: getStatus = 0, corresponding to the incremental topology data response, and the result returned is as follows:
[0120] Routing information: 1; change type: mod; device status: 1.
[0121] As Figure 13 shown, webLMT updates the topology diagram according to the received device information with changes, and indicates that the status of the RRU1 device changes from offline to online by changing the filling color of the RRU1 icon in the topology diagram. For example, the filling color of the RRU1 icon changes from red to green, indicating that the status of the RRU1 device changes from offline to online.
[0122] Optionally, Figure 14 It is a schematic diagram of the topology result when the networking changes according to an embodiment of the present application. When the networking of optical port 1 changes from RRU networking to AU networking, the obtained status is: getStatus = 0, corresponding to the incremental topology data response, and the following change notification information is sent to webLMT:
[0123] Optical port number: 1;
[0124] Routing information: 1; Change type: add; Device type: AU; Device name: AU1; Device status: 1;
[0125] Routing information: 1.1; Change type: add; Device type: RRU; Device name: RRU1; Device status: 1.
[0126] As Figure 14 shown, webLMT updates the topology diagram according to the received networking with changes. When the networking accessed by optical port 1 changes to AU networking, the full amount of data under this optical port 1 is directly cleared, and the topology information of optical port 1 is updated and maintained with the topology data notified by OAM. After the networking change, optical port 1 accesses AU1 device, and port 1 of AU1 device accesses RRU1 device.
[0127] Through the above implementation manners, the function of adaptively completing the topology structure management according to the networking mode configured for the customer application scenario is realized; an incremental update mechanism is adopted to ensure that only the changed parts are updated when the configuration changes; a frequency removal operation is added to the update mechanism to reduce the interaction frequency and ensure that the parameter updates are valid and consistent data; when the networking mode changes, webLMT is actively notified to update the topology information to ensure the real-time of the networking topology management; for the incremental change update mechanism, an exception protection process is added to ensure the consistency and integrity of the topology data after the process restarts abnormally, effectively improving the efficiency of device information update.
[0128] Through the description of the above implementation manners, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation manner. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc), including several instructions for causing a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of the various embodiments of the present application.
[0129] Figure 15 It is a structural block diagram of a device information update device according to an embodiment of the present application. AsFigure 15 As shown, the information collection device includes a processor and a communication interface. The information collection device allows multiple communication devices to be connected through the communication interface to form a base station system. The device applied to the processor includes:
[0130] A receiving module 1002, configured to receive an information update request sent by an information storage device, where the information storage device is used to store device information of communication devices in the base station system, and the information update request is used to request an update of the device information stored in the information storage device;
[0131] A response module 1004, configured to respond to the information update request, and detect a currently pending update operation of the information storage device according to a first synchronization parameter of the information storage device and a second synchronization parameter of the information collection device, where the synchronization parameter is used to indicate the currently allowed information synchronization method of the corresponding device;
[0132] An obtaining module 1006, configured to obtain target device information that is different from the device information currently stored in the information storage device in the base station system when it is detected that the currently pending update operation of the information storage device is an incremental update operation, where the incremental update operation is used to update the device information with changes in the base station system to the information storage device;
[0133] A transmission module 1008, configured to transmit the target device information to the information storage device, where the information storage device is used to update the currently stored device information according to the target device information.
[0134] According to the information update request received in the above embodiments, by synchronizing the parameters of the information storage device and the information acquisition device, the currently pending update operation is determined. When it is detected that an incremental update operation is to be performed, only the device information in the base station system that is different from the device information currently stored in the information storage device is transmitted to the information storage device. The information storage device updates the currently stored device information only based on this part of the different device information. By the above method, it can be ensured that according to the synchronization parameters of the information storage device and the information acquisition device, the currently pending update operation is correctly detected, and then the device information matching the determined update operation is transmitted to the information storage device. On the one hand, it can avoid the problem of low update efficiency of device information caused by redundant transmission in the related art when a full-scale update operation does not need to be performed, that is, all device information in the base station system is transmitted to the storage device. On the other hand, it can avoid the problem of missing device information caused by only transmitting the device information in the base station system that is different from the device information currently stored in the information storage device to the information storage device when a full-scale update operation needs to be performed. Therefore, by adopting the above technical solution, the problems such as low update efficiency of device information in the related art are solved, and the technical effect of improving the update efficiency of device information is achieved.
[0135] In an exemplary embodiment, the response module includes:
[0136] The first determination unit is configured to determine that the currently pending update operation of the information storage device is the incremental update operation when the currently allowed information synchronization methods indicated by the first synchronization parameter and the second synchronization parameter are both incremental synchronization;
[0137] The second determination unit is configured to determine that the currently pending update operation of the information storage device is a full-scale update operation when the currently allowed information synchronization method indicated by the first synchronization parameter is full-scale synchronization, and / or when the currently allowed information synchronization method indicated by the second synchronization parameter is full-scale synchronization, where the full-scale update operation is used to update all the device information of the communication devices in the base station system to the information storage device.
[0138] In an exemplary embodiment, the device further includes:
[0139] The detection module is configured to detect the first operating state of the information storage device, the second operating state of the information acquisition device, and the information transmission state between the information storage device and the information acquisition device before detecting the currently pending update operation of the information storage device according to the first synchronization parameter of the information storage device and the second synchronization parameter of the information acquisition device;
[0140] A first setting module, configured to, when detecting that the first operating state indicates that there is a fault in the information storage device during operation, set the first synchronization parameter to indicate that the currently allowed information synchronization method is full synchronization;
[0141] A second setting module, configured to, when detecting that the second operating state indicates that there is a fault in the information collection device during operation, set the second synchronization parameter to indicate that the currently allowed information synchronization method is full synchronization;
[0142] A third setting module, configured to, when the information transmission state indicates that the information storage device and the information collection device have not transmitted device information before, set the first synchronization parameter to indicate that the currently allowed information synchronization method is full synchronization, and set the second synchronization parameter to indicate that the currently allowed information synchronization method is full synchronization;
[0143] A fourth setting module, when the first operating state indicates that the information storage device is operating normally, the second operating state indicates that the information collection device is operating normally, and the information transmission state indicates that the information storage device and the information collection device have transmitted device information before, set the first synchronization parameter and the second synchronization parameter to indicate that the currently allowed information synchronization method is incremental synchronization.
[0144] In an exemplary embodiment, each of the communication interfaces allows multiple network formations to be connected, and each network formation is composed of one or more communication devices with topological connections in the base station system. The obtaining module includes:
[0145] A detection unit, configured to detect the change type of the device information under each communication interface included in the information collection device;
[0146] A first processing unit, configured to, when detecting that the change type is a network formation change, detect whether a first stable duration of the network formation change meets a first transmission condition; when detecting that the first stable duration meets the first transmission condition, determine the device information of all the communication devices under the target network formation currently accessing the target communication interface as the target device information, where the network formation change refers to a change in the network formation accessed by the communication interface;
[0147] A second processing unit, configured to, when detecting that the change type is a device change, detect whether the network where the target communication device with the device change belongs is a valid network; when the network where the target communication device belongs is the valid network, detect whether the second stable duration of the device change meets the second transmission condition; when detecting that the second stable duration meets the second transmission condition, determine the current device information of the target communication device as the target device information; when the network where the target communication device belongs is an invalid network, prohibit determining the current device information of the target communication device as the target device information, where the device change means that the network accessed by the communication interface has not changed, but the device information of the communication device in the network connected by the communication interface has changed, the valid network is the network currently accessed by the communication interface, and the invalid network is the network connected to the communication interface but not accessed by the communication interface.
[0148] In an exemplary embodiment, the detection unit is configured to:
[0149] Detect whether the device type of the communication device directly accessed by each communication interface has changed;
[0150] When detecting that the device type of the communication device directly accessed by the target communication interface has changed, determine that the detected change type is the network change;
[0151] When detecting that the device information of the communication device under the network accessed by the target communication interface has changed, but the device type of the communication device directly connected to the target communication interface has not changed, determine that the detected change type is the device change.
[0152] In an exemplary embodiment, the first processing unit is configured to:
[0153] Detect whether the first stable duration is greater than the first duration threshold; when detecting that the first stable duration is greater than the first duration threshold, determine that the first stable duration meets the first transmission condition;
[0154] The second processing unit is configured to:
[0155] Detect whether the second stable duration is greater than the second duration threshold; when detecting that the second stable duration is greater than the second duration threshold, determine that the second stable duration meets the second transmission condition.
[0156] In an exemplary embodiment, the obtaining module further includes:
[0157] A third processing unit, configured to collect the device information of each communication device in the base station system to obtain reference device information; screen out target device information that is different from the device information currently stored in the information storage device from the reference device information; alternatively, an obtaining unit, configured to obtain the target device information from the storage space corresponding to the information collection device, where the storage space is used to store the device information that has changed in the base station system after the information collection device last transmitted the device information to the information storage device.
[0158] An embodiment of the present application further provides a storage medium, which includes a stored program, where the above program executes the method of any one of the above when running.
[0159] Optionally, in this embodiment, the above storage medium may be set to store program code for performing the following steps:
[0160] S51, receiving an information update request sent by an information storage device, where the information storage device is used to store the device information of communication devices in the base station system, and the information update request is used to request an update of the device information stored in the information storage device;
[0161] S52, in response to the information update request, detecting an update operation to be currently performed by the information storage device according to a first synchronization parameter of the information storage device and a second synchronization parameter of the information collection device, where the synchronization parameter is used to indicate the currently allowed information synchronization method of the corresponding device;
[0162] S53, when it is detected that the update operation to be currently performed by the information storage device is an incremental update operation, obtaining target device information that is different from the device information currently stored in the information storage device in the base station system, where the incremental update operation is used to update the device information with changes in the base station system to the information storage device;
[0163] S54, transmitting the target device information to the information storage device, where the information storage device is used to update the currently stored device information according to the target device information.
[0164] An embodiment of the present application further provides an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0165] Optionally, the above electronic device may further include a transmission device and an input / output device, where the transmission device is connected to the above processor, and the input / output device is connected to the above processor.
[0166] Optionally, in this embodiment, the above-mentioned processor may be set to execute the following steps through a computer program:
[0167] S61, receive an information update request sent by an information storage device, where the information storage device is used to store device information of communication devices in the base station system, and the information update request is used to request an update of the device information stored in the information storage device;
[0168] S62, in response to the information update request, detect a currently pending update operation of the information storage device according to a first synchronization parameter of the information storage device and a second synchronization parameter of the information acquisition device, where the synchronization parameter is used to indicate the currently allowed information synchronization method of the corresponding device;
[0169] S63, when it is detected that the currently pending update operation of the information storage device is an incremental update operation, obtain target device information in the base station system that is different from the device information currently stored in the information storage device, where the incremental update operation is used to update the device information with changes in the base station system to the information storage device;
[0170] S64, transmit the target device information to the information storage device, where the information storage device is used to update the currently stored device information according to the target device information.
[0171] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: various media that can store program codes such as USB flash drives, read-only memories (ROM), random access memories (RAM), external hard drives, magnetic disks, or optical discs.
[0172] Optionally, specific examples in this embodiment may refer to the examples described in the above-mentioned embodiments and optional implementation manners, and will not be elaborated herein.
[0173] Obviously, those skilled in the art should understand that the various modules or steps of the present application described above can be implemented by a general-purpose computing device. They can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. Optionally, they can be implemented by program codes executable by the computing device. Thus, they can be stored in a storage device and executed by the computing device. And in some cases, the steps shown or described can be executed in a sequence different from that here, or they can be separately fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module for implementation. In this way, the present application is not limited to any specific combination of hardware and software.
[0174] The above are only the preferred embodiments of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present application, several improvements and modifications can still be made, and these improvements and modifications should also be regarded as the protection scope of the present application.
Claims
1. A method for updating device information in a base station system, characterized in that, The information collection device includes a processor and a communication interface. The information collection device allows multiple communication devices to be connected through the communication interface to form a base station system. The method is applied to the processor and includes: Receiving an information update request sent by an information storage device, where the information storage device is used to store device information of communication devices in the base station system, and the information update request is used to request an update of the device information stored in the information storage device; Responding to the information update request, and detecting an update operation currently to be executed by the information storage device according to a first synchronization parameter of the information storage device and a second synchronization parameter of the information collection device, where the synchronization parameter is used to indicate the currently allowed information synchronization method of the corresponding device; When it is detected that the update operation currently to be executed by the information storage device is an incremental update operation, obtaining target device information in the base station system that is different from the device information currently stored in the information storage device, where the incremental update operation is used to update the device information with changes in the base station system to the information storage device; Transmitting the target device information to the information storage device, where the information storage device is used to update the currently stored device information according to the target device information.
2. The method according to claim 1, wherein The detecting the update operation currently to be executed by the information storage device according to the first synchronization parameter of the information storage device and the second synchronization parameter of the information collection device includes: When the currently allowed information synchronization methods indicated by the first synchronization parameter and the second synchronization parameter are both incremental synchronization, determining that the update operation currently to be executed by the information storage device is the incremental update operation; When the currently allowed information synchronization method indicated by the first synchronization parameter is full synchronization, and / or the currently allowed information synchronization method indicated by the second synchronization parameter is full synchronization, determining that the update operation currently to be executed by the information storage device is a full update operation, where the full update operation is used to update all the device information of the communication devices in the base station system to the information storage device.
3. The method according to claim 2, wherein Before the detecting the update operation currently to be executed by the information storage device according to the first synchronization parameter of the information storage device and the second synchronization parameter of the information collection device, the method further includes: Detecting a first operating state of the information storage device, a second operating state of the information collection device, and an information transmission state between the information storage device and the information collection device; When it is detected that the first operating state is used to indicate that the information storage device has a fault during operation, setting the first synchronization parameter to indicate that the currently allowed information synchronization method is the full synchronization; When it is detected that the second operating state is used to indicate that the information collection device has a fault during operation, setting the second synchronization parameter to indicate that the currently allowed information synchronization method is the full synchronization; When the information transmission state is used to indicate that the information storage device and the information acquisition device have not transmitted device information before, set the first synchronization parameter to indicate that the currently allowed information synchronization method is the full synchronization, and set the second synchronization parameter to indicate that the currently allowed information synchronization method is the full synchronization; When the first operating state is used to indicate that the information storage device is operating normally, the second operating state is used to indicate that the information acquisition device is operating normally, and the information transmission state is used to indicate that the information storage device and the information acquisition device have transmitted device information before, set the first synchronization parameter and the second synchronization parameter to indicate that the currently allowed information synchronization method is the incremental synchronization.
4. The method according to claim 1, wherein Each communication interface allows multiple network formations to be connected, and each network formation consists of one or more communication devices with topological connections in the base station system. Obtaining the target device information that is different from the device information currently stored in the information storage device in the base station system includes: Detecting the change type of the device information under each communication interface included in the information acquisition device; When it is detected that the change type is a network formation change, detecting whether the first stable duration of the network formation change meets the first transmission condition; when it is detected that the first stable duration meets the first transmission condition, determine the device information of all the communication devices under the target network formation currently accessing the target communication interface as the target device information, where the network formation change refers to a change in the network formation accessed by the communication interface; When it is detected that the change type is a device change, detecting whether the network formation to which the target communication device with the device change belongs is a valid network formation; when the network formation to which the target communication device belongs is the valid network formation, detecting whether the second stable duration of the device change meets the second transmission condition; when it is detected that the second stable duration meets the second transmission condition, determine the current device information of the target communication device as the target device information; when the network formation to which the target communication device belongs is an invalid network formation, prohibit determining the current device information of the target communication device as the target device information, where the device change refers to that the network formation accessed by the communication interface has not changed, but the device information of the communication devices in the network formation connected to the communication interface has changed, the valid network formation is the network formation currently accessed by the communication interface, and the invalid network formation is the network formation connected to the communication interface but not accessed by the communication interface.
5. The method according to claim 4, wherein The detecting the change type of the device information under each communication interface included in the information acquisition device includes: Detecting whether the device type of the communication device directly accessed by each communication interface has changed; When it is detected that the device type of the communication device directly accessed by the target communication interface has changed, determine that the detected change type is the network formation change; When it is detected that the device information of the communication device under the network formed by the target communication interface has changed, but the device type of the communication device directly connected to the target communication interface has not changed, it is determined that the detected change type is the device change.
6. The method according to claim 4, wherein the detection of whether the first stable duration of the network change meets the first transmission condition includes: detecting whether the first stable duration is greater than the first duration threshold; when it is detected that the first stable duration is greater than the first duration threshold, it is determined that the first stable duration meets the first transmission condition; the detection of whether the second stable duration of the device change meets the second transmission condition includes: detecting whether the second stable duration is greater than the second duration threshold; when it is detected that the second stable duration is greater than the second duration threshold, it is determined that the second stable duration meets the second transmission condition.
7. The method according to claim 1, characterized in that The obtaining of the target device information in the base station system that is different from the device information currently stored in the information storage device includes: collecting the device information of each communication device in the base station system to obtain reference device information; screening out the target device information that is different from the device information currently stored in the information storage device from the reference device information; or, obtaining the target device information from the storage space corresponding to the information collection device, where the storage space is used to store the device information that has changed in the base station system after the information collection device last transmitted the device information to the information storage device.
8. An update device for device information, characterized in that, The information collection device includes a processor and a communication interface. The information collection device allows multiple communication devices to be connected through the communication interface to form a base station system. The apparatus is applied to the processor and includes: a receiving module, configured to receive an information update request sent by an information storage device, where the information storage device is used to store the device information of communication devices in the base station system, and the information update request is used to request an update of the device information stored in the information storage device; a response module, configured to respond to the information update request and detect the update operation to be currently executed by the information storage device according to the first synchronization parameter of the information storage device and the second synchronization parameter of the information collection device, where the synchronization parameter is used to indicate the information synchronization method currently allowed by the corresponding device; an obtaining module, configured to obtain the target device information in the base station system that is different from the device information currently stored in the information storage device when it is detected that the update operation to be currently executed by the information storage device is an incremental update operation, where the incremental update operation is used to update the device information with changes in the base station system to the information storage device; a transmission module, configured to transmit the target device information to the information storage device, where the information storage device is used to update the currently stored device information according to the target device information.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when running, executes the method according to any one of claims 1 to 7.
10. An electronic device, comprising a memory and a processor, characterized in that, A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 7 through the computer program.