Base station fault processing method, base station, and computer-readable storage medium

By automatically switching the sub-base station's operating mode to single-site mode, the service interruption problem when the sub-base station malfunctions is resolved, disaster recovery capabilities are improved, and maintenance costs are reduced.

WO2026060859A1PCT designated stage Publication Date: 2026-03-26BAICELLS INTELLIGENCE TECHNOLOGY JIANGXI CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2026-03-26

AI Technical Summary

Technical Problem

When a sub-base station in a base station group malfunctions, it cannot provide services to terminal devices, has poor disaster recovery capabilities, and high maintenance costs.

Method used

By detecting faults, the sub-base station automatically switches its operating mode from sub-unit mode to single-site mode to continue providing services to terminal devices.

Benefits of technology

It improves the disaster recovery capability of base station clusters and reduces maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024142700_26032026_PF_FP_ABST
    Figure CN2024142700_26032026_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure provides a base station fault processing method, a base station, and a computer-readable storage medium. The method comprises: a sub-base station in a base station group determines its own fault and / or a master base station fault on the basis of a first situation of receiving a message from the base station group, that is, the current sub-base station cannot complete a corresponding function of a slave mode, and thus, the sub-base station switches its own working mode from the slave mode to a single-station mode, and continues to provide a service for a terminal device in the single-station mode. In this way, when determining that the sub-base station cannot complete a corresponding function of a slave mode, the sub-base station automatically switches the working mode to a single-station mode, and continues to provide a service for the terminal device, thereby improving a disaster recovery capability and reducing maintenance costs.
Need to check novelty before this filing date? Find Prior Art

Description

Method for processing base station failure, base station and computer readable storage medium

[0001] The present application claims priority from the Chinese patent application No. 202411307196.9 filed on September 19, 2024, and entitled "Method for processing base station failure, base station and computer readable storage medium", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] The present disclosure relates to the field of communication technology, and in particular, to a method for processing base station failure, a base station and a computer readable storage medium. BACKGROUND

[0003] In a communication system, a core network device is connected with a terminal device through a base station to provide corresponding services for the terminal device.

[0004] The base station can form a corresponding base station group to better provide corresponding services for the terminal device. The base station group includes a master base station and a slave base station. The master base station manages the slave base station, and the slave base station provides services for the terminal device in cooperation with the master base station.

[0005] However, if the slave base station is abnormal, it will not be able to provide services for the terminal device, and the disaster recovery capability is poor. SUMMARY

[0006] The present disclosure provides a method for processing base station failure, a base station and a computer readable storage medium to solve the problem of poor disaster recovery capability of the base station.

[0007] In a first aspect, the present disclosure provides a method for processing base station failure, applied to a base station group, the base station group including a master base station and at least one slave base station; the method comprising:

[0008] The slave base station determines the slave base station failure and / or the master base station failure according to a first condition of receiving a message from the base station group.

[0009] The slave base station switches the working mode from a slave mode to a single station mode. The slave mode refers to a working mode of interacting with a core network device for data through the master base station, and the single station mode refers to a working mode of not interacting with the core network device for data through the master base station.

[0010] In some embodiments, the slave base station determines the slave base station failure and / or the master base station failure according to a first condition of receiving a message from the base station group, comprising:

[0011] If the slave base station does not receive a first message sent by the master base station within a first preset time period, it determines the slave base station failure and / or the master base station failure.

[0012] In some embodiments, the sub base station determines the sub base station failure and / or the master base station failure according to a first condition of receiving a message from the group of base stations, comprising:

[0013] The sub base station periodically receives a heartbeat message sent by the master base station;

[0014] The sub base station determines the sub base station failure and / or the master base station failure if the sub base station does not receive the heartbeat message sent by the master base station within a second preset time period, the second preset time period being greater than or equal to the cycle time.

[0015] In some embodiments, the sub base station determines the sub base station failure and / or the master base station failure according to a first condition of receiving a message from the group of base stations, comprising:

[0016] The sub base station periodically receives a heartbeat message sent by the other base stations in a groupcast manner; the other base stations are base stations in the group of base stations except the sub base station; the heartbeat message contains device information of the other base station sending the heartbeat message;

[0017] The sub base station determines the sub base station failure and / or the master base station failure if the sub base station does not receive at least one of the heartbeat messages within a third preset time period, the third preset time period being greater than or equal to the cycle time.

[0018] In some embodiments, the method further comprises:

[0019] The sub base station determines the master base station failure if the sub base station receives at least one heartbeat message within a fourth preset time period and does not receive the heartbeat message sent by the master base station in a groupcast manner; the fourth preset time period is greater than or equal to the cycle time and less than or equal to the third preset time period.

[0020] In some embodiments, after the sub base station switches the working mode from the sub mode to the single station mode, the method further comprises:

[0021] The sub base station switches the working mode from the single station mode to the sub mode if the sub base station receives the second message sent by the master base station.

[0022] In some embodiments, after the sub base station switches the working mode from the sub mode to the single station mode, the method further comprises:

[0023] The sub base station switches the working mode from the single station mode to the sub mode if the sub base station receives the heartbeat message sent by the master base station in a continuous cycle within a fifth preset time period, the fifth preset time period being greater than the cycle time.

[0024] In some embodiments, after the sub-base station switches the operation mode from the sub-machine mode to the single station mode, the sub-base station further comprises:

[0025] generating an event record, the event record being used to indicate that the sub-base station switches the operation mode from the sub-machine mode to the single station mode.

[0026] In some embodiments, after the sub-base station switches the operation mode from the sub-machine mode to the single station mode, the sub-base station further comprises:

[0027] sending alarm information to the base station management device, the alarm information being used to indicate that the sub-base station is faulty.

[0028] In the second aspect, the disclosure provides a base station, comprising a memory and a processor, the memory stores a computer program which can run on the processor, and the processor implements the processing method of base station fault in the first aspect when executing the program.

[0029] In the third aspect, the disclosure provides a processing device of base station fault, applied to a base station group, the base station group comprising a master base station and at least one sub-base station; the device comprises:

[0030] a fault determination module, configured to determine that the sub-base station is faulty according to a first condition of receiving a message from the base station group;

[0031] an operation mode switching module, configured to switch the operation mode of the sub-base station from a sub-machine mode to a single station mode; the sub-machine mode refers to an operation mode of interacting with a core network device for data through the master base station, and the single station mode refers to an operation mode of not interacting with the core network device for data through the master base station.

[0032] In some embodiments, the fault determination module is specifically configured to:

[0033] if the first message sent by the master base station is not received within a first preset time length, it is determined that the sub-base station is faulty.

[0034] In some embodiments, the fault determination module is specifically configured to:

[0035] periodically receiving a heartbeat message sent by the master base station;

[0036] if the heartbeat message sent by the master base station is not received within a second preset time length, it is determined that the sub-base station is faulty, and the second preset time length is greater than or equal to the cycle time.

[0037] In some embodiments, the fault determination module is specifically configured to:

[0038] periodically receive heartbeat messages multicast by other base stations; the other base stations are base stations in the group of base stations except the sub-base station; the heartbeat messages contain device information of the other base stations sending the heartbeat messages;

[0039] if at least one heartbeat message is not received within a third preset time period, determine that the sub-base station is faulty, the third preset time period being greater than or equal to the period time.

[0040] In some embodiments, the fault determination module is further configured to:

[0041] if at least one heartbeat message is received within a fourth preset time period, and a heartbeat message multicast by the master base station is not received, determine that the master base station is faulty; the fourth preset time period is greater than or equal to the period time, and less than or equal to the third preset time period.

[0042] In some embodiments, the working mode switching module is further configured to:

[0043] if the second message sent by the master base station is received, switch the working mode from the single-station mode to the sub-machine mode.

[0044] In some embodiments, the working mode switching module is further configured to:

[0045] if the heartbeat message sent by the master base station in the consecutive period is received within a fifth preset time period, switch the working mode from the single-station mode to the sub-machine mode, the fifth preset time period being greater than the period time.

[0046] In some embodiments, the apparatus further comprises:

[0047] an event recording module configured to generate an event record, the event record being used to indicate that the sub-base station switches the working mode from the sub-machine mode to the single-station mode;

[0048] In some embodiments, the apparatus further comprises:

[0049] an alarm module configured to send alarm information to a base station management device, the alarm information being used to indicate that the sub-base station is faulty.

[0050] In a fourth aspect, the present disclosure provides a computer readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the base station fault processing method of the first aspect.

[0051] The method for processing base station fault, the base station and the computer readable storage medium provided by the embodiments of the present disclosure, for the sub base station in the base station group, according to the first condition of receiving the message from the base station group, determine that the self fault and / or the master base station fault, that is, the current sub base station cannot complete the corresponding function of the sub machine mode, therefore, the sub base station switches the working mode from the sub machine mode to the single station mode, and the sub base station continues to provide services for the terminal device in the single station mode. Therefore, after the sub base station determines that it cannot complete the corresponding function of the sub machine mode, the working mode is automatically switched to the single station mode, and the terminal device can continue to be served, the disaster recovery capability is improved, and the maintenance cost is reduced. BRIEF DESCRIPTION OF DRAWINGS

[0052] Fig. 1 is a structural schematic diagram of a base station group provided by an embodiment of the present disclosure;

[0053] Fig. 2 is a flowchart of a method for processing base station fault provided by an embodiment of the present disclosure;

[0054] Fig. 3 is a flowchart of another method for processing base station fault provided by an embodiment of the present disclosure;

[0055] Fig. 4 is a flowchart of another method for processing base station fault provided by an embodiment of the present disclosure;

[0056] Fig. 5 is a flowchart of another method for processing base station fault provided by an embodiment of the present disclosure;

[0057] Fig. 6 is an interaction schematic diagram of a networking method of a base station provided by an embodiment of the present disclosure;

[0058] Fig. 7 is a flowchart of a method for processing base station fault provided by an embodiment of the present disclosure;

[0059] Fig. 8 is a flowchart of a method for processing base station fault provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0060] The exemplary embodiments will be described in detail herein with reference to the attached drawings. In the following description, the same numbers refer to the same or similar elements throughout the drawings. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure. Instead, they are merely examples of apparatuses and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0061] In the present disclosure, “at least one” means one or more, and “multiple” means two or more. “And / or” describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the following three cases: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. The character “ / ” generally represents an “or” relationship between the associated objects before and after it. “At least one of the following” or similar expressions means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b or c alone can represent: a alone, b alone, c alone, combination of a and b, combination of a and c, combination of b and c, or combination of a, b and c, where a, b and c can be single or multiple. In addition, the terms “first”, “second” are only for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0062] The terms “center”, “longitudinal”, “transverse”, “upper”, “lower”, “left”, “right”, “front”, “back” and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, which is only for the convenience of describing the present disclosure and simplifying the description, and cannot be understood as indicating or implying that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present disclosure.

[0063] The terms “connected” and “connected” should be broadly understood, for example, the “connected” or “connected” of the circuit structure can mean not only physical connection, but also electrical connection or signal connection, for example, it can be directly connected, that is, physically connected, or indirectly connected through at least one intermediate element, as long as the circuit is connected, it can also be the internal connection of two elements; In addition to signal connection through the circuit, signal connection through media medium, such as radio waves, can also be referred to. For those skilled in the art, the specific meaning of the above terms in the present disclosure can be understood according to the specific circumstances.

[0064] A plurality of base stations are grouped into a base station group to work, which can solve the problem of co-channel interference, and can be applied in the field of terminal equipment such as automatic driving moving in multiple base station coverage areas. The base station group includes multiple base stations, one of which is a master base station, and the other base stations except the master base station are sub base stations. The following will be exemplarily introduced in combination with FIG. 1.

[0065] Referring to FIG. 1, FIG. 1 is a structural diagram of a base station group provided by an embodiment of the present disclosure. As shown in FIG. 1, the base station group of the present application can include a master base station 11 and two or more sub base stations. Two sub base stations are shown in FIG. 1, which are sub base station 12 and sub base station 13. As shown in FIG. 1, the master base station 11, the sub base station 12 and the sub base station 13 can be connected with the switch 14 respectively, the switch 14 is connected with the core network device, in addition, the sub base station 12 and the sub base station 13 can also be connected with the core network device through the master base station 11 respectively. The master base station 11, the sub base station 12 and the sub base station 13 can be connected with the terminal device. In the base station group, the sub base station 12 and the sub base station 13 respectively interact with the core network device through the master base station 11, and provide services for the terminal devices connected therewith respectively, for example, after the sub base station 12 establishes a connection with the terminal device, the uplink data sent by the terminal device to the sub base station 12 is sent to the core network device through the master base station 11. The core network device sends downlink data to the first sub base station 12 through the master base station 11, and the first sub base station 12 sends the downlink data to the terminal device.

[0066] Wherein, the master base station 11, the sub base station 12 and the sub base station 13 can be base stations (base transceiver station, BTS) in global system of mobile communication (GSM) or code division multiple access (CDMA), can also be base stations (NodeB, NB) in wideband code division multiple access (WCDMA), can also be evolutional node B (eNB or eNodeB) in long term evolution (LTE), or terminals or relay stations or access points that undertake the function of base stations in V2X (vehicular to everything), device-to-device communication (D2D) and machine-to-machine communication (M2M), or base stations in 5G network, such as gNB, or base stations in future 6G network, which are not limited here.

[0067] Terminal device: can refer to user equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user equipment. The terminal device can also be a satellite phone, a cellular phone, a smartphone, a wireless data card, a wireless modem, a machine type communication device, can be a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device or a wearable device, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a terminal device in a 5G network, a terminal device in a 6G network or a terminal device in a future communication network, etc. In addition, the terminal device can also be a terminal device in an internet of things (IoT) system.

[0068] The working mode of the master base station is a master mode, which refers to the function of managing the slave base stations in the base station group. The uplink data of the slave base station needs to be sent to the core network device after protocol conversion by the master base station. The downlink data sent by the core network device needs to be sent to the slave base station after protocol conversion by the master base station. The working mode of the slave base station is a slave mode, which refers to the function of working under the management of the master base station after establishing a connection with the master base station. The uplink / downlink data is received / transmitted through the master base station, thereby providing services for the terminal device.

[0069] For the base station group, in one possible implementation, the master base station and the slave base station can be determined before networking. The master base station is in communication connection with each slave base station, and each slave base station can provide services for the terminal device.

[0070] In another possible implementation, the base station group can multicast the message. The base station group can determine a master base station and a sub base station in advance, and the base station group can also exchange data in the form of multicasting the message to realize self-organization network.

[0071] For example, the sub base station can be burned with a fixed version of the sub machine program to work in the sub machine mode.

[0072] However, when the sub base station fails, the sub base station cannot work normally, and accordingly, the sub base station cannot provide services for the terminal device, so that the disaster recovery capability of the base station group is poor. When the sub base station fails, manual troubleshooting is usually required, and after troubleshooting, the sub base station can resume service, so that the maintenance cost is high.

[0073] The present disclosure provides a base station failure processing method, a base station and a computer readable storage medium. In a base station group, when a sub base station determines that the sub base station and / or the master base station fails, i.e. the sub base station cannot complete the corresponding function in the sub machine mode, the working mode of the sub base station is switched from the sub machine mode to the single station mode, wherein the sub machine mode refers to a working mode of data interaction with a core network device through a master base station, and the single station mode refers to a working mode of data interaction with a core network device without passing through a master base station. Therefore, after the sub base station determines that it cannot complete the corresponding function in the sub machine mode, the working mode is automatically and quickly switched to the single station mode, so that the sub base station can continue to provide services for the terminal device, the disaster recovery capability is improved, and the maintenance cost is reduced.

[0074] The technical solutions of the present disclosure and the beneficial effects thereof will be described in detail in specific embodiments.

[0075] Please refer to FIG. 2, which is a flowchart of a base station failure processing method provided by an embodiment of the present disclosure. As shown in FIG. 2, the method provided by the present embodiment can be applied in a base station group, which includes a master base station and at least one sub base station. The base station group can be the base station group shown in the embodiment of FIG. 1. The method provided by the present embodiment is executed by a sub base station, which can be any sub base station in the base station group. For example, the sub base station can be the sub base station 12 or the sub base station 13 shown in the embodiment of FIG. 1. The method provided by the present embodiment can include the following steps 201 and 202.

[0076] Step 201: According to a first condition of receiving a message from the base station group, determine that the sub base station and / or the master base station fails.

[0077] The first condition of receiving a message from the base station group can be the first condition of receiving a message from the master base station in the base station group, or the first condition of receiving a message from other base stations in the base station group.

[0078] The sub-base station failure refers to an abnormality of the sub-base station, which cannot complete the corresponding function in the sub-machine mode. The master base station failure refers to an abnormality of the master base station, which cannot complete the corresponding function in the master-machine mode, and thus the sub-base station connected to the master base station cannot complete the corresponding function in the sub-machine mode.

[0079] Generally, if the sub-base station works normally in the sub-machine mode, the sub-base station can receive the message from the base station group. For example, the first case of receiving the message from the base station group refers to that no message sent from the base station group is received. If no message is received from the base station group in a recent period of time, it is considered that the sub-base station is faulty and / or the master base station is faulty.

[0080] Step 202: switching the working mode from the sub-machine mode to the single-station mode.

[0081] The sub-machine mode refers to a working mode of data interaction with the core network device through the master base station, and the single-station mode refers to a working mode of data interaction with the core network device without the master base station.

[0082] In this embodiment, according to the first case of receiving the message from the base station group, the sub-base station in the base station group determines that the sub-base station is faulty and / or the master base station is faulty, that is, the current sub-base station cannot complete the corresponding function in the sub-machine mode. Therefore, the sub-base station switches the working mode from the sub-machine mode to the single-station mode, and the sub-base station continues to provide services for the terminal device in the single-station mode. Thus, after the sub-base station determines that the sub-base station cannot complete the corresponding function in the sub-machine mode, the working mode is automatically switched to the single-station mode, and the sub-base station can continue to provide services for the terminal device, which improves the disaster recovery capability and reduces the maintenance cost.

[0083] In some embodiments, the sub-base station failure can be determined in step 201 in various ways. Three ways of determining the sub-base station failure are exemplarily introduced below.

[0084] In one possible implementation, referring to FIG. 3, FIG. 3 is a flowchart of another method for processing base station failure provided by the embodiment of the present disclosure. The embodiment shown in FIG. 3 is based on the embodiment shown in FIG. 2, and further, step 201 can include step 301.

[0085] Step 301: if the first message sent by the master base station is not received within the first preset time length, it is determined that the sub-base station is faulty and / or the master base station is faulty.

[0086] The first message refers to any message sent by the master base station to the sub base station during data interaction. For example, the first message can be a configuration message or a management message sent between the master base station and the sub base station. After the master base station establishes a connection with the sub base station, the master base station sends a configuration message to the sub base station for configuring the connection, etc. During operation, the master base station also periodically sends a management message to the sub base station. The management message can also be a heartbeat message sent by the master base station.

[0087] The first preset time period is longer than the maximum time between adjacent first messages sent by the master base station. Generally, considering network latency and other conditions, in order to avoid frequent switching of the sub base station, the first preset time period can be set longer than the maximum time between adjacent first messages sent by the master base station.

[0088] In this embodiment, the master base station and the sub base station usually interact with each other. Therefore, if the sub base station does not receive the first message sent by the master base station within the first preset time period, it can be determined that the sub base station and / or the master base station is faulty. By not receiving the message from the master base station for a long time, it is determined that the sub base station cannot complete the corresponding function in the sub mode, and the working mode is automatically switched to the single station mode. The terminal device can continue to be served, the disaster tolerance capability is improved, and the maintenance cost is reduced.

[0089] Further, step 301 can be implemented in the following manner:

[0090] If the first message sent by the master base station is not received within the first preset time period, a confirmation message is sent to the master base station.

[0091] If the reply message sent by the master base station is not received within the sixth preset time period after sending the confirmation message, it is determined that the sub base station and / or the master base station is faulty.

[0092] In this embodiment, by not receiving the message from the master base station for a long time, and the master base station does not reply to the confirmation message sent by the sub base station, it is determined that the sub base station and / or the master base station is faulty. The working mode is automatically switched to the single station mode. The terminal device can continue to be served, the disaster tolerance capability is improved, and the maintenance cost is reduced.

[0093] In another possible implementation, please refer to FIG. 4, which is a flowchart of another method for processing base station failure provided by the embodiment of the present disclosure. The embodiment shown in FIG. 4 is based on the embodiment shown in FIG. 2. Further, step 201 can include steps 201a and 201b.

[0094] Step 201a, periodically receiving a heartbeat message sent by the master base station.

[0095] In this embodiment, the master base station periodically sends the heartbeat message to the slave base station, i.e., the master base station sends the master heartbeat message to the slave base station every cycle time.

[0096] In a possible implementation, during the operation, the master base station and each slave base station establish a communication connection, and the master base station periodically sends the heartbeat message to the slave base station through the communication connection, so that each slave base station in the base station group can periodically receive the heartbeat message sent by the master base station.

[0097] In another possible implementation, the base station group is a multicast group, so that each base station in the base station group can send a message by multicast, and the master base station can periodically multicast the heartbeat message to the base station group, so that each slave base station in the base station group can periodically receive the heartbeat message sent by the master base station.

[0098] Further, the heartbeat message can include the device information of the master base station. For example, the device information of the master base station can include at least one of the Internet Protocol (IP) address of the master base station, the Identity document (ID) of the master base station, and the serial number (SN code) of the master base station.

[0099] In step 201b, if the heartbeat message sent by the master base station is not received within the second preset time length, it is determined that the slave base station and / or the master base station is faulty.

[0100] In the second preset time length, the second preset time length is greater than or equal to the cycle time. The cycle time refers to the cycle time of the master base station periodically sending the heartbeat message to the slave base station.

[0101] In this embodiment, if the slave base station does not receive the heartbeat message sent by the master base station within the second preset time length after receiving the latest heartbeat message sent by the master base station, it can be determined that the slave base station and / or the master base station is faulty. In the case where the base station group includes the master base station and one slave base station, if the slave base station cannot receive the heartbeat message of the master base station, it may be that the slave base station is faulty or the master base station is faulty. Since there is only one slave base station in the base station group at this time, in order to continue to provide services for the terminal device, the slave base station can switch the working mode from the slave mode to the single station mode.

[0102] In the case that the base station group includes the master base station and two or more sub base stations, if the sub base station cannot receive the heartbeat message of the master base station, it can be that the sub base station is faulty or the master base station is faulty. If it is the sub base station itself that is faulty, the sub base station can switch the working mode from the sub mode to the single station mode. If it is the master base station itself that is faulty, the sub base station cannot provide service for the terminal device until the master base station is repaired. For this case, the sub base station can also switch the working mode from the sub mode to the single station mode. In summary, in order to continue to provide service for the terminal device, if the sub base station does not receive the heartbeat message sent by the master base station within the second preset time period after receiving the latest heartbeat message, the sub base station switches the working mode from the sub mode to the single station mode.

[0103] In this embodiment, the master base station periodically sends the heartbeat message to the sub base station. If the sub base station does not receive the heartbeat message sent by the master base station within the second preset time period, it is determined that the sub base station itself is faulty and / or the master base station is faulty. Thus, by periodically sending the heartbeat message to the sub base station, the master base station can determine the sub base station itself is faulty and / or the master base station is faulty after the heartbeat message received by the sub base station is lost. The way of determining the fault is simple and easy to implement. After the fault is determined, the sub base station can quickly switch to the single station mode to provide service for the terminal device.

[0104] Further, the step 201b can be implemented in the following way:

[0105] If the heartbeat message sent by the master base station is not received within the second preset time period, a confirmation message is sent to the master base station.

[0106] If the reply message sent by the master base station is not received within the sixth preset time period after the confirmation message is sent, it is determined that the sub base station is faulty and / or the master base station is faulty.

[0107] In this embodiment, the sub base station determines that the sub base station itself is faulty and / or the master base station is faulty by the fact that the heartbeat message sent by the master base station is not received for a long time and the confirmation message sent to the master base station is not replied. The working mode is automatically switched to the single station mode, and the sub base station can continue to provide service for the terminal device. The disaster tolerance capability is improved, and the maintenance cost is reduced.

[0108] In another possible implementation, please refer to Fig. 5. Fig. 5 is a flow diagram of another method for processing base station fault provided by the embodiment of the present disclosure. The embodiment shown in Fig. 5 is based on the embodiment shown in Fig. 2. Further, the step 201 can include the following step 2011 and step 2012.

[0109] The step 2011, periodically receiving the heartbeat message multicast by other base stations.

[0110] The heartbeat message contains device information of other base stations sending the heartbeat message. The other base stations are base stations in the base station group except the sub base station.

[0111] In the embodiment, the base station group can be a multicast group. Generally, during the operation of the base station group, the master base station establishes a communication connection with each sub base station respectively, and no communication connection is established between the sub base stations. The base stations in the base station group can multicast send messages. Therefore, the master base station can send heartbeat messages to each sub base station through the communication connection respectively, and the master base station can also multicast send heartbeat messages. Each sub base station can receive the heartbeat messages sent by the master base station through the base station group. For the sub base station, the sub base station needs to multicast send its own heartbeat message, so that other sub base stations in the base station group can receive the heartbeat message.

[0112] For example, when the base stations in the base station group send heartbeat messages, the sub base stations multicast send their own heartbeat messages. The master base station can send heartbeat messages in the following two ways. In one possible implementation, the master base station periodically sends heartbeat messages to each sub base station through the communication connection established with each sub base station respectively, so that each sub base station in the base station group can periodically receive the heartbeat messages sent by the master base station.

[0113] In another possible implementation, the master base station can also periodically multicast send heartbeat messages to the base station group, so that each sub base station in the base station group can periodically receive the heartbeat messages sent by the master base station.

[0114] Further, the heartbeat message sent by any of the above base stations can contain device information of the base station sending the heartbeat message.

[0115] For example, the device information can include at least one of the following: an IP address, an ID, and a sequence number.

[0116] Step 2012: If at least one heartbeat message is not received within a third preset time length, it is determined that the sub base station fails and / or the master base station fails.

[0117] The third preset time length is greater than or equal to the cycle time. The cycle time refers to the cycle time of the heartbeat messages periodically sent by the other base stations to the sub base station. If the cycle time of the heartbeat messages periodically sent by the master base station is different from the cycle time of the heartbeat messages periodically sent by each sub base station, the above cycle time refers to the larger one of the cycle time of the heartbeat messages periodically sent by the master base station and the cycle time of the heartbeat messages periodically sent by each sub base station.

[0118] In the embodiment, if the sub base station does not receive the heartbeat message sent by other base stations within the third preset time length after receiving the latest heartbeat message, it can be determined that the sub base station is faulty. In the case where the base station group includes a master base station and one sub base station, if the sub base station cannot receive the heartbeat message of the master base station, it may be that the sub base station is faulty or the master base station is faulty. Since there is only one sub base station in the base station group at this time, the sub base station can switch the working mode from the sub mode to the single station mode in order to continue to provide services for the terminal device.

[0119] In the case where the base station group includes a master base station and two or more sub base stations, if the sub base station cannot receive the heartbeat message of other base stations, the sub base station can consider that it is faulty, and the sub base station can switch the working mode from the sub mode to the single station mode.

[0120] In the embodiment, other base stations in the base station group periodically send heartbeat messages to the sub base station. If the sub base station does not receive any heartbeat message sent by other base stations within the third preset time length, it is determined that the sub base station is faulty and / or the master base station is faulty. Thus, by periodically sending heartbeat messages to the sub base station by other base stations, it can be determined that the sub base station is faulty and / or the master base station is faulty after the heartbeat messages received by the sub base station are lost. The way of determining the fault is simple and easy to implement. After the fault is determined, the single station mode can be quickly switched to provide services for the terminal device.

[0121] Further, step 2012 can be implemented in the following way:

[0122] If at least one heartbeat message is not received within the third preset time length, a confirmation message is sent to the master base station.

[0123] If a reply message sent by the master base station is not received within the sixth preset time length after the confirmation message is sent, it is determined that the sub base station is faulty and / or the master base station is faulty.

[0124] In the embodiment, the sub base station is determined to be faulty and / or the master base station is determined to be faulty by the fact that the sub base station does not receive the heartbeat message sent by other base stations in the base station group for a long time, and the confirmation message sent to the master base station is not replied. The working mode is automatically switched to the single station mode, and the terminal device can continue to be provided with services, the disaster recovery capability is improved, and the maintenance cost is reduced.

[0125] In some embodiments, step 2011 can further include the following step 2013.

[0126] Step 2013, if at least one heartbeat message is received within the fourth preset time length, and the heartbeat message sent by the master base station in the multicast is not received, it is determined that the master base station is faulty.

[0127] The fourth preset time length is greater than or equal to a cycle time, and less than or equal to a third preset time length. The cycle time refers to a cycle time at which the other base stations periodically send the heartbeat message to the sub base station. If the cycle time at which the master base station periodically sends the heartbeat message is different from the cycle time at which each sub base station periodically sends the heartbeat message, the above cycle time refers to a larger value between the cycle time at which the master base station periodically sends the heartbeat message and the cycle time at which each sub base station periodically sends the heartbeat message.

[0128] In the embodiment, if the sub base station can receive the heartbeat message sent by the other sub base station, but cannot receive the heartbeat message sent by the master base station, it is indicated that the master base station is faulty.

[0129] Further, if the master base station is faulty, all the sub base stations in the base station group cannot provide services for the terminal device. In a possible implementation, after determining that the master base station is faulty, the sub base station switches the working mode to the single station mode in order to provide services for the terminal device. In another possible implementation, after determining that the master base station is faulty, the sub base station can re-determine a master base station in the base station group, re-group, and provide services for the terminal device. The following will be described in detail with specific embodiments.

[0130] Further, after step 2013, the following steps 2014-2017 can also be included.

[0131] Step 2014, determining a first master base station from all the sub base stations in the current base station group according to a preset mode.

[0132] The all sub base stations in the base station group are all the sub base stations in the current base station group that can be determined by the sub base station. It can be understood that generally, all the sub base stations in the current base station group that can be determined by the sub base station are consistent with all the sub base stations in the current base station group. The all sub base stations in the base station group include the first sub base station. In the embodiment, any sub base station in the base station group performs the processing of the first sub base station.

[0133] Step 2015, determining whether the first sub base station is a second master base station.

[0134] If yes, step 2016 is performed; if no, step 2018 is performed.

[0135] Step 2016, sending a master message to the base station group.

[0136] The other sub base station sets the working mode to the sub device mode after receiving the master message from the base station group.

[0137] Further, the host message contains device information of the first master base station. In the slave mode, the slave base station needs to establish a communication connection with the master base station first. Therefore, in the slave mode, the first slave base station establishes a connection with the first master base station according to the device information of the first master base station in the host message.

[0138] For example, the device information of the first master base station can include at least one of the following: an IP address of the first master base station, an ID of the first master base station, and a serial number of the first master base station.

[0139] Step 2017: Switch the working mode to the host mode.

[0140] It should be noted that after the slave base station determines that it is the first master base station, there is no order for the execution of step 2016 and step 2017. Step 2016 can be executed first, and then step 2017 can be executed. Step 2017 can be executed first, and then step 2016 can be executed. Step 2016 and step 2017 can be executed simultaneously. The execution order of step 2016 and step 2017 is not limited in the present disclosure.

[0141] Step 2018: After receiving the host message sent by the base station group, set the working mode to the slave mode.

[0142] In actual application, each slave base station in the base station group is processed as follows: after the slave base station determines that the current master base station in the base station group is faulty, the first master base station, that is, the new master base station, is determined from all slave base stations in the base station group according to a preset mode. Since all slave base stations determine the first master base station according to the same preset mode, the first master base station determined by all slave base stations in the base station group is the same.

[0143] For each slave base station, if the slave base station determines that it is the first master base station, a host message is sent to other slave base stations in multicast mode, and the working mode of the slave base station is switched to the host mode. If the slave base station determines that it is not the first master base station, the slave base station waits to receive the host message, and after receiving the host message, the working mode of the slave base station is set to the slave mode.

[0144] The following takes the example of a base station group containing a master base station, a sub-base station 1, a sub-base station 2 and a sub-base station 3 to illustrate the interaction process of the base station group after the master base station fails, thereby realizing self-organization. Please refer to FIG. 6, which is an interaction schematic diagram of a base station networking method provided in an embodiment of the present disclosure. After detecting the failure of the master base station, the sub-base station 1, the sub-base station 2 and the sub-base station 3 all perform step 2014, that is, after determining the failure of the master base station in the base station group, a new master base station is determined from all the sub-base stations in the current base station group according to a preset mode. After performing step 2013 respectively, the sub-base station 1, the sub-base station 2 and the sub-base station 3 perform step 2014 respectively. The sub-base station 1, the sub-base station 2 and the sub-base station 3 respectively determine the first master base station according to the same preset mode, and the first master base station determined by the sub-base station 1, the sub-base station 2 and the sub-base station 3 is the same. It can be understood that for the base station group, any sub-base station may be determined as the first master base station according to the preset mode. For the convenience of description, the embodiment assumes that the sub-base station 1 is determined as the first master base station. The sub-base station 1 performs steps 2016 and 2017, that is, after determining that the sub-base station 1 is the first master base station, the sub-base station 1 multicasts a master message to the base station group and switches the working mode of the sub-base station 1 to the master mode. After receiving the master message sent by the sub-base station 1 respectively, the sub-base station 2 and the sub-base station 3 perform step 2018, that is, the working mode is switched to the sub-machine mode.

[0145] The base station networking method provided in the embodiment determines the first master base station from the current sub-base stations according to the same preset mode for each sub-base station in the base station group after detecting the failure of the current master base station, and thus the same first master base station is determined by each sub-base station. The sub-base station determined as the first master base station sends a master message to the base station group and switches the working mode of the sub-base station to the master mode, and the other sub-base stations switch the working mode to the sub-machine mode after receiving the master message. Thus, after the failure of the master base station, the base station group automatically and quickly determines a new master base station from the sub-base stations, thereby continuing to provide services for the terminal device, improving the disaster recovery capability of the base station group and reducing the maintenance cost.

[0146] Further, in a possible implementation of step 2014, steps 20141-20143 can be used to implement step 2014.

[0147] Step 20141, a first sub-machine heartbeat message is sent to the base station group.

[0148] The first sub-machine heartbeat message contains the device information of the sub-base station.

[0149] For example, the device information of the sub-base station can include at least one of the IP address of the sub-base station, the ID of the sub-base station and the serial number of the sub-base station.

[0150] Step 20142, receiving one or more second sub-machine heartbeat messages from the base station group.

[0151] The one or more second sub-machine heartbeat messages are respectively multicast by the other sub-base stations to the base station group, and each second sub-machine heartbeat message contains device information of the other sub-base station sending the second sub-machine heartbeat message.

[0152] For example, the device information of the other sub-base station can include at least one of the following: IP address of the other sub-base station, ID of the other sub-base station, and serial number of the other sub-base station.

[0153] Step 20143, determining the second master base station from all sub-base stations in the base station group according to the second sub-machine heartbeat messages received within the seventh preset time length and the device information of the sub-base station.

[0154] The seventh preset time length is a preset time length. The sub-base station starts timing when or after step 20141 is performed, and receives the second sub-machine heartbeat message within the seventh preset time length.

[0155] The sub-base station determines the device information of all sub-base stations in the current base station group according to the device information of the other sub-base station carried in each second sub-machine heartbeat message received within the seventh preset time length and the device information of the sub-base station itself.

[0156] The sub-base station can determine the first master base station according to the device information of all sub-base stations in the current base station group. For example, the sub-base station can determine the sub-base station corresponding to the maximum value in the device information of all sub-base stations in the current base station group as the first master base station, or determine the sub-base station corresponding to the minimum value in the device information of all sub-base stations in the current base station group as the first master base station, or determine the first master base station in other ways, which are not limited by the present disclosure.

[0157] In the embodiment, each sub-base station in the base station group respectively performs the following processing: after confirming the failure of the master base station, the sub-base station sends the first sub-machine heartbeat message to the base station group, and after confirming the failure of the master base station, the other sub-base station sends the second sub-machine heartbeat message to the base station group. The sub-base station can determine all sub-base stations in the current base station group according to the device information of the other sub-base station carried in the second sub-machine heartbeat message received within the seventh preset time length. The sub-base station determines the first master base station from all sub-base stations in the base station group according to the device information of all sub-base stations in the current base station group.

[0158] Further, in another possible implementation of step 2014, step 2014 can be implemented by the following step 2014a and step 2014b.

[0159] Step 2014a, determining the device information of all sub base stations in the current base station group according to the third sub machine heartbeat messages received in the latest period.

[0160] Step 2014b, determining the second master base station from all sub base stations in the current base station group according to the device information of all sub base stations in the current base station group.

[0161] The sub base station determines the device information of all sub base stations in the current base station group according to the device information of other sub base stations carried in the third sub machine heartbeat messages received in the latest period and the device information of itself.

[0162] After the sub base station determines that the master base station in the base station group fails, the sub base station can determine the second master base station according to the device information of all sub base stations in the current base station group. For example, the sub base station corresponding to the maximum value in the device information of all sub base stations in the current base station group can be determined as the first master base station, or the sub base station corresponding to the minimum value in the device information of all sub base stations in the current base station group can be determined as the first master base station, or the first master base station can be determined in other ways, which are not limited in the present disclosure.

[0163] In the embodiment, the sub base station in the base station group periodically sends the sub machine heartbeat message to the base station group, and other sub base stations periodically send the third sub machine heartbeat message to the base station group. Since the third sub machine heartbeat message can be received, it indicates that the sub base station sending the third sub machine heartbeat message is still in the base station group. Therefore, the sub base station can determine the sub base stations in the current base station group according to the third sub machine heartbeat messages received in the latest period. Thus, by periodically sending the sub machine heartbeat message to the multicast group by the sub base station, after the sub base station determines that the master base station fails, the sub base station can quickly determine the sub base stations in the current base station group according to the third sub machine heartbeat messages of the sub base stations received in the latest period, so as to quickly determine the first master base station therefrom. The way of determining the failure of the first master base station is simple and easy to implement. After the master base station fails, the sub base station can quickly determine the first master base station, so as to quickly form a self-organizing network and provide services for terminal devices.

[0164] In some embodiments, after the sub base station works in the single station mode, if the sub base station itself is repaired after failure, the working mode can be switched back to the sub machine mode. The following embodiments are described in detail.

[0165] Please refer to FIG. 7, which is a flowchart of a method for processing base station failure provided by an embodiment of the present disclosure. FIG. 7 is further based on the embodiment shown in FIG. 3, and after step 202, the following step 701 can be further included.

[0166] Step 701, if the second message sent by the master base station is received, the working mode is switched from the single station mode to the slave mode.

[0167] The second message refers to any message sent by the master base station when interacting with the slave base station. The second message can be of the same type as the first message. For example, the second message can be a configuration message or a management message sent between the master base station and the slave base station. After the master base station establishes a connection with the slave base station, the master base station sends a configuration message to the slave base station for configuring the connection, etc. During the operation, the master base station also periodically sends a management message to the slave base station, which can also be a heartbeat message sent by the master base station.

[0168] In this embodiment, after the slave base station works in the single station mode, the master base station also sends a second message to the slave base station to attempt to interact with the slave base station. If the slave base station is repaired after its own failure, the slave base station can receive the second message sent by the master base station, and at this time, the working mode can be switched from the single station mode to the slave mode to join the base station group to continue working in the slave mode. The self-repair of the slave base station can be manual repair or automatic repair.

[0169] In this embodiment, after the slave base station switches the working mode to the single station mode, the slave base station provides services for the terminal device in the single station mode. If the slave base station receives the second message sent by the master base station, it can be considered that the failure has been repaired, and the slave base station can switch the working mode from the single station mode to the slave mode, so that after the slave base station is repaired, it joins the base station group to provide services for the terminal device in the slave mode.

[0170] Please refer to FIG. 8, which is a flowchart of a method for processing base station failure provided by an embodiment of the present disclosure. The method provided by this embodiment is further based on the embodiment shown in FIG. 4 or FIG. 5 and includes the following step 801 after step 202. It can be understood that FIG. 8 is an example based on FIG. 5, which does not constitute a limitation to the present disclosure.

[0171] Step 801, if the heartbeat message sent by the master base station in the continuous period is received within the fifth preset time length, the working mode is switched from the single station mode to the slave mode.

[0172] The fifth preset time length is greater than the period time. The period time refers to the period time of the heartbeat message sent by the master base station to the slave base station periodically. For the embodiment shown in FIG. 4, the period time is the period time of the heartbeat message sent by the master base station to the slave base station periodically in step 201a. For the embodiment shown in FIG. 5, the period time is the period time of the heartbeat message sent by the master base station to the slave base station periodically in step 2011.

[0173] Further, the heartbeat message can include device information of the master base station.

[0174] In this embodiment, after the sub-base station works in the single station mode, the master base station further sends a heartbeat message to the sub-base station. If the sub-base station itself is repaired after a failure, the sub-base station can receive the heartbeat message sent by the master base station, and at this time, the working mode of the sub-base station can be switched from the single station mode to the slave mode, so that the sub-base station continues to work in the slave mode and joins the base station group.

[0175] Further, the sub-base station can re-establish a connection with the master base station according to the device information of the master base station in the heartbeat message, so as to continue to work in the slave mode.

[0176] In this embodiment, after the sub-base station switches the working mode to the single station mode, the sub-base station provides services for terminal devices in the single station mode. If the sub-base station receives the heartbeat message sent by the master base station, it can be considered that the sub-base station itself has been repaired, and the sub-base station can switch the working mode from the single station mode to the slave mode, so that after the sub-base station is repaired, the sub-base station joins the base station group and provides services for terminal devices in the slave mode.

[0177] In some embodiments, on the basis of any of the above embodiments, further comprising the following step 203 after step 202.

[0178] Step 203, generating an event record.

[0179] The event record is used to indicate that the sub-base station switches the working mode from the slave mode to the single station mode.

[0180] In this embodiment, the event record is generated according to the switching behavior of the sub-base station, which provides a basis for users to troubleshoot and repair the sub-base station, and enhances the maintainability of the base station.

[0181] In some embodiments, on the basis of any of the above embodiments, further comprising the following step 204 after step 202.

[0182] Step 204, sending alarm information to a base station management device.

[0183] The base station management device can be a device for managing the base station group, or a terminal device or a server set to receive the alarm information, and the present disclosure does not limit the alarm information.

[0184] The alarm information is used to indicate the failure of the sub-base station. The alarm information can be a message sent in the form of a data packet, a short message or an email.

[0185] In the embodiment, the alarm information is generated by the switching behavior of the sub-base station, and is sent to the base station management device to prompt the user to troubleshoot and repair the sub-base station, thereby enhancing the maintainability of the base station. The sub-base station fault is repaired in time, and better services are provided for the terminal device.

[0186] Based on the base station fault processing method described in any of the above embodiments, the disclosure embodiment further provides a computer readable storage medium, for example, a non-transitory computer readable storage medium can be a read only memory (Read Only Memory, ROM), a random access memory (Random Access Memory, RAM), a CD-ROM, a magnetic tape, a floppy disk and an optical data storage device, etc. The storage medium stores computer instructions for executing the base station fault processing method described in any of the above embodiments, which will not be described here.

[0187] A person of ordinary skill in the art can understand that all or part of the steps of the above embodiments can be completed by hardware, or by program instructing relevant hardware to complete, and the program can be stored in a computer readable storage medium, and the storage medium mentioned above can be a read only memory, a magnetic disk or an optical disk, etc.

[0188] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses or adaptations of the disclosure that are deemed to fall within the general principles of the disclosure and include commonly known or customary practice in the art. The specification and examples are to be considered exemplary only, and the true scope and spirit of the disclosure are indicated by the following claims.

Claims

1. A method of handling base station failure, the method comprising: The method is applied to a base station group, the base station group including a master base station and at least one sub base station; the method includes: The sub base station determines the sub base station failure and / or the master base station failure according to a first condition of receiving a message from the base station group; The sub base station switches the working mode from a sub mode to a single station mode; the sub mode refers to a working mode of interacting with a core network device through the master base station, and the single station mode refers to a working mode of not interacting with the core network device through the master base station.

2. The method of claim 1, wherein, The sub base station determines the sub base station failure and / or the master base station failure according to a first condition of receiving a message from the base station group, including: If the sub base station does not receive a first message sent by the master base station within a first preset time length, the sub base station determines the sub base station failure and / or the master base station failure.

3. The method of claim 1, wherein, The sub base station determines the sub base station failure and / or the master base station failure according to a first condition of receiving a message from the base station group, including: The sub base station periodically receives a heartbeat message sent by the master base station; If the sub base station does not receive the heartbeat message sent by the master base station within a second preset time length, the sub base station determines the sub base station failure and / or the master base station failure, the second preset time length being greater than or equal to a cycle time.

4. The method of claim 1, wherein, The sub base station determines the sub base station failure and / or the master base station failure according to a first condition of receiving a message from the base station group, including: The sub base station periodically receives a heartbeat message sent by other base stations in a group; the other base stations are base stations in the base station group except the sub base station; the heartbeat message contains device information of the other base stations sending the heartbeat message; If the sub base station does not receive at least one heartbeat message within a third preset time length, the sub base station determines the sub base station failure and / or the master base station failure, the third preset time length being greater than or equal to a cycle time.

5. The method of claim 4, wherein, The method further includes: If the sub base station receives at least one heartbeat message within a fourth preset time length and does not receive a heartbeat message sent by the master base station in a group, the sub base station determines the master base station failure; the fourth preset time length is greater than or equal to a cycle time and less than or equal to the third preset time length.

6. The method of claim 2, wherein, After the sub base station switches the working mode from the sub mode to the single station mode, the method further includes: If the sub base station receives a second message sent by the master base station, the sub base station switches the working mode from the single station mode to the sub mode.

7. The method according to claim 3 or 4, characterized in that, After the sub base station switches the working mode from the sub mode to the single station mode, the method further includes: If the sub base station receives the heartbeat message sent by the master base station in a continuous cycle within a fifth preset time length, the sub base station switches the working mode from the single station mode to the sub mode, the fifth preset time length being greater than the cycle time.

8. The method of claim 1, wherein, After the sub base station switches the working mode from the sub mode to the single station mode, the method further includes: Generating an event record, the event record being used to indicate that the sub base station switches the working mode from the sub mode to the single station mode; Sending alarm information to a base station management device, the alarm information being used to indicate the sub base station failure.

9. A base station comprising a memory and a processor, the memory storing a computer program executable on the processor, the computer program comprising the steps of: The processor implements the method of any one of claims 1 to 8 when executing the program.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program implements the method of any one of claims 1 to 8 when executed by the processor.

Citation Information

Patent Citations

  • Implementation method of base station login network access of digital cluster communication system

    CN101808322A

  • PDT same frequency simulcasting group establishing method, communication method, related device, and system

    CN106961672A

  • Data interaction method and device, and cluster base station

    CN109362095A

  • Mobile communication system, master base station and slave base station

    CN1620161A

  • Wireless base station, slave station and wireless communication method

    JP2002016540A