Request sending method, base station connection method, device, equipment and storage medium
By assigning unique identity codes and SCTP heartbeat parameters to base stations, the signaling storm problem caused by simultaneous registration of base stations is solved, and the time discretization of base station connection requests and the improvement of user experience are realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA MOBILE GROUP ANHUI
- Filing Date
- 2022-02-21
- Publication Date
- 2026-07-10
AI Technical Summary
When a core network element experiences a systemic failure, a large number of base stations simultaneously initiate registrations with backup network elements, leading to a signaling storm and impacting user experience.
By assigning a unique identity code and SCTP heartbeat parameters to each base station, the heartbeat cycle of different base stations is determined, avoiding simultaneous connection requests from base stations, and a whitelist mechanism is used to prioritize connection requests from important base stations.
It achieves time discretization of base station connection requests, avoids signaling storms, and improves user experience and core network processing efficiency.
Smart Images

Figure CN116684895B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of communications, and particularly relates to a request sending method, a base station connection method, an apparatus, a device, and a storage medium. Background Technology
[0002] With the development of society, the control scale of core network elements over control plane network elements has further expanded.
[0003] The enhanced processing power of a single network element undoubtedly significantly reduces the construction and maintenance costs for operators. However, the architecture of a single network element also brings negative impacts in extreme scenarios, as follows:
[0004] 1. When a systemic failure occurs in the core network itself, a large number of users will initiate registration with the backup network element at the same time, which can easily create a signaling storm in the control plane network element.
[0005] 2. When a systemic failure occurs in the core network, a large number of users in the region may initiate registration with the backup network element at the same time, which can easily create a signaling storm in the control plane network element. Summary of the Invention
[0006] This invention provides a request sending method, a base station connection method, an apparatus, a device, and a storage medium, which can avoid signaling storms and improve user experience.
[0007] In a first aspect, embodiments of the present invention provide a request sending method, applied to any one of multiple base stations connected to the same core network, the method comprising:
[0008] Obtain the identity code corresponding to the base station and the Flow Control Transmission Protocol (SCTP) heartbeat parameters between the base station and the core network side. Among the multiple base stations, each base station has a different identity code.
[0009] Based on the identity code and SCTP heartbeat parameters, the first heartbeat period for the base station to send heartbeat signaling to the core network is determined, so that the first heartbeat period corresponding to each of the multiple base stations is different.
[0010] Based on the first heartbeat cycle, a heartbeat signaling is sent to the core network side;
[0011] If no response signaling is received from the core network side, a connection establishment request is sent to the core network side.
[0012] In some implementations, the first heartbeat cycle for the base station to send heartbeat signaling to the core network side is determined based on the identity code, specifically including:
[0013] Obtain the SCTP heartbeat parameters between the base station and the core network side;
[0014] The remainder of the ratio of the identity code to a preset constant is used as the discrete value;
[0015] The first heartbeat cycle is determined based on discrete values and SCTP heartbeat parameters.
[0016] In some implementations, the method further includes, before sending heartbeat signaling to the core network side based on the first heartbeat cycle:
[0017] Send the base station identifier to the core network side; so that the core network side can determine whether the base station identifier exists in the preset whitelist, and if the determination result is yes, send the second heartbeat cycle to the base station; if the determination result is no, send the signaling that the base station identifier does not exist in the preset whitelist to the base station.
[0018] Based on the first heartbeat cycle, heartbeat signaling is sent to the core network side, specifically including:
[0019] Upon receiving the second heartbeat cycle from the core network side, a heartbeat signaling message is sent to the core network side based on the second heartbeat cycle.
[0020] If the base station's identifier is not in the preset whitelist, a heartbeat signal is sent to the core network side based on the first heartbeat cycle; the second heartbeat cycle is shorter than the first heartbeat cycle.
[0021] Secondly, embodiments of the present invention provide a base station connection method, applied to the core network side, the method comprising:
[0022] The identifier of the base station sent by the receiving base station;
[0023] Determine if the base station's identifier exists in the preset whitelist;
[0024] If the judgment result is yes, a second heartbeat cycle is sent to the base station so that the base station sends heartbeat signaling to the core network side based on the second heartbeat cycle.
[0025] If the judgment result is negative, a signaling message indicating that the base station's identifier does not exist in the preset whitelist is sent to the base station, so that the base station sends a heartbeat signaling message to the core network side based on the first heartbeat cycle; the first heartbeat cycle is determined by the base station based on the base station's corresponding identity code and the Flow Control Transmission Protocol (SCTP) heartbeat parameters; the second heartbeat cycle is shorter than the first heartbeat cycle;
[0026] A connection is established with the base station based on a connection request sent by the base station, wherein the connection request is sent by the base station when it has not received a response signaling from the core network side for the heartbeat signaling.
[0027] In some implementations, establishing a connection with a base station based on a connection request specifically includes:
[0028] Obtain the number of base stations that have established connections with the core network side within the first preset time period;
[0029] If the number of base stations with established connections is less than a first preset threshold, obtain the number of base stations with no established connections corresponding to the core network side;
[0030] If the total number of base stations without established connections exceeds the second preset threshold, connections will be established with a preset number of base stations within the second preset time period following the first preset time period. The preset number is determined based on the number of base stations that established connections with the core network side within the first preset time period.
[0031] In some implementations, the base station connection method further includes:
[0032] If the number of base stations that have not established a connection with the core network side is less than the second preset threshold, a connection is established with all base stations that sent the connection request within the second preset time period after the first preset interval.
[0033] Thirdly, embodiments of the present invention provide a request sending apparatus, applied to any one of a plurality of base stations connected to the same core network, the apparatus comprising:
[0034] The acquisition module is used to acquire the identity code corresponding to the base station and the Flow Control Transmission Protocol (SCTP) heartbeat parameters between the base station and the core network side. Among the multiple base stations, each base station has a different identity code.
[0035] The determination module is used to determine the first heartbeat period for the base station to send heartbeat signaling to the core network side based on the identity code and SCTP heartbeat parameters, so that the first heartbeat period corresponding to each of the multiple base stations is different;
[0036] The first transmitting module is used to send heartbeat signaling to the core network side based on the first heartbeat cycle;
[0037] The second sending module is used to send a connection establishment request to the core network side if no response signaling is received from the core network side.
[0038] In some implementations, the determining module specifically includes:
[0039] The acquisition unit is used to acquire the Flow Control Transmission Protocol (SCTP) heartbeat parameters between the base station and the core network side;
[0040] The first determining unit is used to take the remainder of the ratio of the identity code to a preset constant as a discrete value;
[0041] The second determining unit is used to determine the first heartbeat cycle based on discrete values and SCTP heartbeat parameters.
[0042] In some embodiments, the request sending device further includes:
[0043] The fifth sending module is used to send the base station identifier to the core network side before sending heartbeat signaling to the core network side based on the first heartbeat cycle; so that the core network side can determine whether the base station identifier exists in the preset whitelist, and if the determination result is yes, send the second heartbeat cycle to the base station, and if the determination result is no, send the signaling that the base station identifier does not exist in the preset whitelist to the base station.
[0044] The first sending module also includes:
[0045] The first transmitting unit is used to transmit heartbeat signaling to the core network side based on the second heartbeat cycle when it receives the second heartbeat cycle transmitted by the core network side.
[0046] The second sending unit is used to send heartbeat signaling to the core network side based on the first heartbeat cycle when the received base station identifier does not exist in the preset whitelist; the second heartbeat cycle is shorter than the first heartbeat cycle.
[0047] Fourthly, embodiments of the present invention provide a base station connection device, which is applied to the core network side, and the device includes:
[0048] The receiving module is used to receive the base station identifier sent by the base station;
[0049] The judgment module is used to determine whether the base station's identifier exists in the preset whitelist;
[0050] The third sending module is used to send a second heartbeat cycle to the base station when the judgment result is yes, so that the base station sends heartbeat signaling to the core network side based on the second heartbeat cycle;
[0051] The fourth sending module is used to send a signaling message to the base station that the base station's identifier does not exist in the preset whitelist when the judgment result is negative, so that the base station sends a heartbeat signaling message to the core network side based on the first heartbeat cycle; the first heartbeat cycle is determined by the base station based on the base station's corresponding identity code and the Flow Control Transmission Protocol (SCTP) heartbeat parameters; the second heartbeat cycle is shorter than the first heartbeat cycle;
[0052] The first connection module is used to establish a connection with the base station based on a connection request sent by the base station, wherein the connection request is sent by the base station when it has not received a response signaling from the core network side for the heartbeat signaling.
[0053] In some implementations, the first connection module specifically includes:
[0054] The first acquisition unit is used to acquire the number of base stations that have established connections with the core network side within a first preset time period;
[0055] The second acquisition unit is used to acquire the number of base stations that have not been connected to the core network side when the number of base stations with established connections is less than a first preset threshold.
[0056] The connection unit is used to establish connections with a preset number of base stations within a second preset time period after a first preset time period when the total number of base stations without connections exceeds a second preset threshold. The preset number is determined based on the number of base stations that have established connections with the core network side within the first preset time period.
[0057] In some embodiments, the base station connection device further includes:
[0058] The second connection module is used to establish connections with all base stations that sent connection requests within a second preset time period after the first preset interval, when the number of base stations that have not established connections with the core network side is less than a second preset threshold.
[0059] Fifthly, embodiments of this application provide a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement the steps of the request sending method or base station connection method as described in any of the embodiments of the first or third aspects.
[0060] Sixthly, embodiments of this application provide a computer program product in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform steps of the request sending method or base station connection method as described in any of the embodiments of the first or third aspects.
[0061] The request sending method, base station connection method, apparatus, device, and storage medium of this invention can obtain the identity code corresponding to the base station, determine the first heartbeat period for the base station to send heartbeat signaling to the core network side based on the identity code corresponding to the base station and the SCTP heartbeat parameters between the base station and the core network side, and send a connection establishment request to the core network side if the base station does not receive a response signaling based on the heartbeat signaling from the core network side. Therefore, since each base station has a different identity code, the first heartbeat period determined by each base station based on the aforementioned identity code and SCTP heartbeat parameters is also different. This results in different base stations sending heartbeat parameters to the core network side based on different periods, causing the time at which the base station becomes aware of a fault on the core network side to vary. Consequently, the time at which different base stations send connection establishment requests to the core network side is discretized, which can avoid signaling storms and improve user experience. Attached Figure Description
[0062] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments of the present invention will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0063] Figure 1 A schematic diagram illustrating an example of a request transmission and base station connection scenario provided in this application is shown;
[0064] Figure 2 A flowchart illustrating an embodiment of the request sending method provided in this application is shown;
[0065] Figure 3 A flowchart illustrating an embodiment of the base station connection method provided in this application is shown;
[0066] Figure 4 A schematic diagram of the structure of an embodiment of the request sending apparatus provided in this application is shown;
[0067] Figure 5 A schematic diagram of the structure of an embodiment of the base station connection device provided in this application is shown;
[0068] Figure 6 A schematic diagram of the hardware structure of an embodiment of the electronic device provided in this application is shown. Detailed Implementation
[0069] The features and exemplary embodiments of various aspects of the present invention will now be described in detail. To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely intended to explain the present invention and not to limit the present invention. For those skilled in the art, the present invention can be practiced without some of these specific details. The following description of the embodiments is merely to provide a better understanding of the present invention by illustrating examples of the invention.
[0070] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
[0071] Currently, base stations and core networks typically use the heartbeat keep-alive mechanism in the SCTP protocol to confirm whether each other is in normal working order. However, the SCTP parameters set by current wireless base stations are uniform, which means that different base stations become aware of core network failures at the same time. Therefore, after different base stations become aware of core network failures at the same time, they will send reconnection requests to the core network at the same time, causing the core network to receive a large number of reconnection requests at the same time, resulting in a signaling storm on the core network side.
[0072] To address the problems of existing technologies, embodiments of the present invention provide a request sending method, a base station connection method, an apparatus, a device, and a storage medium. This request sending method and base station connection method can be applied to, for example... Figure 1 In the architecture shown, specifically combined Figure 1 Please provide a detailed explanation.
[0073] Figure 1 A schematic diagram illustrating an example of the request sending and base station connection scenario provided in this application is shown.
[0074] like Figure 1 As shown, in the request sending method and base station 20 connection method scenario, there are at least one core network side 10 and multiple base stations 20. Base station 20 sends heartbeat signaling to core network side 10 based on SCTP heartbeat parameters. Upon receiving the heartbeat signaling, core network side 10 sends a response signaling to the corresponding base station 20 based on the aforementioned heartbeat signaling. If base station 20 receives the response signaling, it determines that core network side 10 is in normal operating condition. If base station 20 does not receive the response signaling from core network side 10, it can be determined that core network side 10 has failed, and base station 20 then sends a connection establishment request to core network side 10.
[0075] Based on the above application scenarios, the following will combine... Figures 2 to 3The request sending method and base station connection method provided in the embodiments of this application will be described in detail. It should be noted that the execution subject of the request sending method provided in the embodiments of this application is any one of multiple base stations connected to the same core network side.
[0076] Figure 2 A flowchart illustrating an embodiment of the request sending method provided in this application is shown. It should be noted that the above request sending method is applied to the aforementioned base station. Figure 2 As shown, the request sending method may include the following steps:
[0077] S210. Obtain the identity code corresponding to the base station and the Flow Control Transmission Protocol (SCTP) heartbeat parameters between the base station and the core network side. Among the multiple base stations, each base station has a different identity code.
[0078] S220. Based on the identity code and SCTP heartbeat parameters, determine the first heartbeat period for the base station to send heartbeat signaling to the core network side, so that the first heartbeat period corresponding to each of the multiple base stations is different;
[0079] S230. Send heartbeat signaling to the core network side based on the first heartbeat cycle;
[0080] S240. If no response signaling is received from the core network side, a connection establishment request is sent to the core network side.
[0081] Therefore, by obtaining the identification code corresponding to the base station, and based on the identification code and the SCTP heartbeat parameters between the base station and the core network, the first heartbeat period for the base station to send heartbeat signaling to the core network is determined. If the base station does not receive a response signaling from the core network based on the heartbeat signaling, the base station sends a connection establishment request to the core network. Since each base station has a different identification code, the first heartbeat period determined by each base station based on the identification code and SCTP heartbeat parameters is also different. This results in different base stations sending heartbeat parameters to the core network based on different periods, leading to different times when the base station becomes aware of a fault on the core network. This discretization of the time when different base stations send connection establishment requests to the core network avoids signaling storms and improves user experience.
[0082] In some implementations, in S210, the identification code corresponding to the base station may include the base station's ID, wherein each base station has a unique identification code. The SCTP heartbeat parameters may include the period at which the base station sends heartbeat signaling to the core network. Specifically, during the transmission of heartbeat signaling between the base station and the core network, it is important to determine whether there are different data transmission periods in the transmission channel.
[0083] In specific examples, on SCTP coupled links, when data transmission is present, the data can be used as heartbeat signaling to determine the reachability of the peer node. When no data transmission is present, heartbeat data can be used as heartbeat signaling to determine the reachability of the peer node.
[0084] In some implementations, S220 may specifically include:
[0085] Obtain the SCTP heartbeat parameters between the base station and the core network side;
[0086] The remainder of the ratio of the identity code to a preset constant is used as the discrete value;
[0087] The first heartbeat cycle is determined based on discrete values and SCTP heartbeat parameters.
[0088] In some implementations, the preset constant may include any constant value, which can be customized by the user.
[0089] In some specific examples, the base station's coding value is EB, and the selected preset constant value is M. Then, the obtained discrete value K is the remainder of the ratio of EB to M. Then, the obtained SCTP heartbeat parameter value is T, and the first heartbeat period can be the sum of T and K.
[0090] In some implementations, in S230, sending a heartbeat signaling message to the core network side based on the first heartbeat cycle may specifically include sending a heartbeat signaling message to the core network side every other heartbeat cycle, with the first heartbeat cycle as the time interval.
[0091] In some implementations, in S240, the core network side may include a core network and a backup core network. If a core network failure occurs, it may be repaired within a short time, at which point the base station sends a connection establishment request to the core network side. If the core network is not repaired within a short time, the base station sends a connection establishment request to the backup core network.
[0092] In some implementations, if a base station does not receive a response signaling from the core network side, it can determine that a fault has occurred on the core network side.
[0093] In some embodiments, prior to S230, the request sending method may further include:
[0094] Send the base station identifier to the core network side; so that the core network side can determine whether the base station identifier exists in the preset whitelist, and if the determination result is yes, send the second heartbeat cycle to the base station; if the determination result is no, send the signaling that the base station identifier does not exist in the preset whitelist to the base station.
[0095] Based on the first heartbeat cycle, heartbeat signaling is sent to the core network side, specifically including:
[0096] Upon receiving the second heartbeat cycle from the core network side, a heartbeat signaling message is sent to the core network side based on the second heartbeat cycle.
[0097] If the base station's identifier is not in the preset whitelist, a heartbeat signal is sent to the core network side based on the first heartbeat cycle; the second heartbeat cycle is shorter than the first heartbeat cycle.
[0098] In some implementations, the identifier of a base station may include at least one of the following: base station parameters, address number, and base station name that distinguish the base station from other base stations.
[0099] In some implementations, the base stations in the preset whitelist may include high-priority base stations or base stations covering important tasks.
[0100] Therefore, by sending a second heartbeat cycle shorter than the first heartbeat cycle to the whitelisted base stations, the whitelisted base stations can detect the core network failure in a shorter time after it occurs. This allows the whitelisted base stations to send connection establishment requests to the core network in a shorter time, thus ensuring priority connection for the whitelisted base stations and improving the user experience.
[0101] Figure 3 This application provides a schematic flowchart of an embodiment of the base station connection method, which can be applied to the core network side, such as... Figure 3 As shown, the base station connection method may include the following steps:
[0102] S310, Receive the base station identifier sent by the base station;
[0103] S320. Determine whether the base station's identifier exists in the preset whitelist;
[0104] S330. If the judgment result is yes, send a second heartbeat cycle to the base station so that the base station sends heartbeat signaling to the core network side based on the second heartbeat cycle.
[0105] S340. If the judgment result is negative, send a signaling message to the base station indicating that the base station's identifier does not exist in the preset whitelist, so that the base station sends a heartbeat signaling message to the core network side based on the first heartbeat cycle; the first heartbeat cycle is determined by the base station based on the base station's corresponding identity code and the Flow Control Transmission Protocol (SCTP) heartbeat parameters; the second heartbeat cycle is shorter than the first heartbeat cycle.
[0106] S350. Establish a connection with the base station based on the connection request sent by the base station, wherein the connection request is sent by the base station when it has not received a response signaling from the core network side for the heartbeat signaling.
[0107] Therefore, since a whitelist is pre-set, and the identity of the acquired base station is used to determine whether a base station is on the pre-set whitelist, if the base station is determined to be on the whitelist, a second heartbeat cycle is sent to the base station. This allows the base station to send heartbeat signaling to the core network side at a shorter time than the first heartbeat cycle. This enables whitelisted base stations to learn of core network failures faster than base stations not on the whitelist, and consequently, allows whitelisted base stations to send connection establishment requests more quickly. This ensures that whitelisted base stations can re-establish connections with the core network side more quickly after a core network failure. This guarantees that base stations covering important services can prioritize establishing connections with the core network side, creating a differentiated speed for the core network to reconnect base stations and improving the user experience. In addition, when it is determined that the base station is not in the whitelist, a signaling message indicating that the base station's identifier does not exist in the whitelist is sent to the base station. This allows the base station to determine the first heartbeat cycle based on the base station's identity code and SCTP heartbeat parameters. Since each base station has the same identity code, different base stations send heartbeat parameters to the core network side based on different cycles. This results in different times when the base station becomes aware of the fault on the core network side. Consequently, the time when different base stations send connection establishment requests to the core network side is discrete, which can avoid the generation of signaling storms and improve user experience.
[0108] In some implementations, S310 may specifically include: the identifier of the base station transmitted through the coupled link established by the core network side via SCTP. The identifier of the base station has been described in detail in the above embodiments and will not be repeated here.
[0109] In some implementations, in S320, the preset whitelist may include a whitelist that is user-defined.
[0110] In some implementations, S330 and S340 have been described in detail in the above embodiments, and will not be repeated here.
[0111] In some implementations, S350 may specifically include:
[0112] Obtain the number of base stations that have established connections with the core network side within the first preset time period;
[0113] If the number of base stations with established connections is less than a first preset threshold, obtain the number of base stations with no established connections corresponding to the core network side;
[0114] If the total number of base stations without established connections exceeds the second preset threshold, connections will be established with a preset number of base stations within the second preset time period following the first preset time period. The preset number is determined based on the number of base stations that established connections with the core network side within the first preset time period.
[0115] If the number of base stations that have not established a connection with the core network side is less than the second preset threshold, a connection is established with all base stations that sent the connection request within the second preset time period after the first preset interval.
[0116] In some implementations, the first preset time period may include a user-defined time period. For example, the first heartbeat period is a discrete value determined based on the ratio of the base station's identity code to a preset constant. Since the remainder of the ratio will be within the range of 0 to the preset constant, the discrete value will also be within the range of 0 and the preset constant. Therefore, the first heartbeat period determined based on the discrete value and the SCTP parameters will also be within a certain range. The first preset time period may include a time period obtained within the range of the first heartbeat period.
[0117] In some implementations, as described above, within a first preset time period, base stations whose first heartbeat cycles fall within this time period will send connection establishment requests to the core network. In this case, due to the large number of base stations sending connection establishment requests, congestion may occur on the core network side, causing some base stations among those sending connection establishment requests to fail to establish connections successfully.
[0118] In some implementations, the first preset threshold may include a preset threshold determined based on the total number of base stations that send connection establishment requests within a first preset time period. For example, if the total number of base stations that send connection establishment requests within the first preset time period is M, the first preset threshold may be 0.8M.
[0119] In some implementations, the second preset threshold may include a preset threshold determined based on the number of base stations that successfully establish connections within a first preset time period.
[0120] In some specific examples, since the first heartbeat period determined based on discrete values and SCTP parameters can fall within a known interval, this interval can be divided to obtain a first preset time period. Within this time period, the number of base stations sending connection establishment requests, the number of successfully established connections, and the number of base stations corresponding to the core network that have not yet established connections are obtained. If the number of successfully established connections exceeds a first preset threshold within the first preset time period, it is determined that no congestion has occurred on the core network side. Then, it is determined whether the number of base stations corresponding to the core network that have not yet established connections exceeds a second preset threshold. If it does not exceed this threshold, it is determined that even if all base stations corresponding to the core network that have not yet established connections were to establish connections, congestion would not occur on the core network side. If the number of successfully established connections does not exceed the first preset threshold, congestion is determined to have occurred on the core network side. In this case, it is necessary to control the number of base stations establishing connections with the core network side within the second preset time period.
[0121] Therefore, by dividing the time into a first preset time period and then obtaining the number of base stations that successfully established connections with the core network side within the first preset time period, the number of base stations that established connections with the core network side in the time period after the first preset time period can be determined. This allows control over the number of base stations that established connections with the core network side in different time periods, thereby preventing congestion on the core network side due to establishing connections with too many base stations, which would lead to a longer connection time between the core network side and the base stations, and improving the efficiency of establishing connections between base stations and the core network side.
[0122] It should be noted that the application scenarios described in the above-disclosed embodiments are for the purpose of more clearly illustrating the technical solutions of the present disclosure embodiments, and do not constitute a limitation on the technical solutions provided by the present disclosure embodiments. As those skilled in the art will know, with the emergence of new application scenarios, the technical solutions provided by the present disclosure embodiments are also applicable to similar technical problems.
[0123] Based on the same inventive concept, this application also provides a request sending device, applied to any one of multiple base stations connected to the same core network, as described below. Figure 4 The request sending apparatus provided in the embodiments of this application will be described in detail.
[0124] Figure 4 A schematic diagram of an embodiment of the request sending apparatus provided in this application is shown, as follows: Figure 4 As shown, the request sending device 400 may include:
[0125] The acquisition module 401 acquires the identity code corresponding to the base station and the Flow Control Transmission Protocol (SCTP) heartbeat parameters between the base station and the core network side. Among the multiple base stations, each base station has a different identity code.
[0126] The determination module 402 is used to determine the first heartbeat period for the base station to send heartbeat signaling to the core network side based on the identity code and SCTP heartbeat parameters, so that the first heartbeat period corresponding to each of the multiple base stations is different.
[0127] The first transmitting module 403 is used to send heartbeat signaling to the core network side based on the first heartbeat cycle;
[0128] The second sending module 404 is used to send a connection establishment request to the core network side if no response signaling is received from the core network side.
[0129] Therefore, by obtaining the identification code corresponding to the base station, and based on the identification code and the SCTP heartbeat parameters between the base station and the core network, the first heartbeat period for the base station to send heartbeat signaling to the core network is determined. If the base station does not receive a response signaling from the core network based on the heartbeat signaling, the base station sends a connection establishment request to the core network. Since each base station has a different identification code, the first heartbeat period determined by each base station based on the identification code and SCTP heartbeat parameters is also different. This results in different base stations sending heartbeat parameters to the core network based on different periods, leading to different times when the base station becomes aware of a fault on the core network. This discretization of the time when different base stations send connection establishment requests to the core network avoids signaling storms and improves user experience.
[0130] In some implementations, the determining module 402 may specifically include:
[0131] The acquisition unit can be used to acquire the Flow Control Transmission Protocol (SCTP) heartbeat parameters between the base station and the core network side;
[0132] The first determining unit can be used to take the remainder of the ratio of the identity code to a preset constant as a discrete value;
[0133] The second determining unit can be used to determine the first heartbeat cycle based on discrete values and SCTP heartbeat parameters.
[0134] In some embodiments, the request sending device may further include:
[0135] The fifth sending module can be used to send the base station identifier to the core network side before sending heartbeat signaling to the core network side based on the first heartbeat cycle; so that the core network side can determine whether the base station identifier exists in the preset whitelist, and if the determination result is yes, send the second heartbeat cycle to the base station, and if the determination result is no, send the signaling that the base station identifier does not exist in the preset whitelist to the base station.
[0136] The first transmitting module 403 also includes:
[0137] The first transmitting unit can be used to send heartbeat signaling to the core network side based on the second heartbeat cycle when it receives the second heartbeat cycle sent by the core network side.
[0138] The second sending unit can be used to send heartbeat signaling to the core network side based on the first heartbeat cycle when the received base station identifier does not exist in the preset whitelist; the second heartbeat cycle is shorter than the first heartbeat cycle.
[0139] Therefore, by sending a second heartbeat cycle shorter than the first heartbeat cycle to the whitelisted base stations, the whitelisted base stations can detect the core network failure in a shorter time after it occurs. This allows the whitelisted base stations to send connection establishment requests to the core network in a shorter time, thus ensuring priority connection for the whitelisted base stations and improving the user experience.
[0140] Based on the same inventive concept, this application also provides a base station connection device. The device is applied to the core network side, and the following describes its application in conjunction with... Figure 5 The base station connection device 500 provided in the embodiments of this application will be described in detail.
[0141] Figure 5 A schematic diagram of an embodiment of the base station connection device provided in this application is shown.
[0142] like Figure 5 As shown, the base station connection device 500 may include:
[0143] The receiving module 501 is used to receive the base station identifier sent by the base station;
[0144] The judgment module 502 is used to determine whether the base station's identifier exists in the preset whitelist;
[0145] The third sending module 503 is used to send a second heartbeat cycle to the base station when the judgment result is yes, so that the base station sends heartbeat signaling to the core network side based on the second heartbeat cycle;
[0146] The fourth sending module 504 is used to send a signaling message to the base station that the base station's identifier does not exist in the preset whitelist when the judgment result is negative, so that the base station sends a heartbeat signaling message to the core network side based on the first heartbeat cycle; the first heartbeat cycle is determined by the base station based on the base station's corresponding identity code and the Flow Control Transmission Protocol (SCTP) heartbeat parameters; the second heartbeat cycle is shorter than the first heartbeat cycle;
[0147] The first connection module 505 is used to establish a connection with the base station based on a connection request sent by the base station, wherein the connection request is sent by the base station when it has not received a response signaling from the core network side for the heartbeat signaling.
[0148] Therefore, since a whitelist is pre-set, and the identity of the acquired base station is used to determine whether a base station is on the pre-set whitelist, if the base station is determined to be on the whitelist, a second heartbeat cycle is sent to the base station. This allows the base station to send heartbeat signaling to the core network side at a shorter time than the first heartbeat cycle. This enables whitelisted base stations to learn of core network failures faster than base stations not on the whitelist, and consequently, allows whitelisted base stations to send connection establishment requests more quickly. This ensures that whitelisted base stations can re-establish connections with the core network side more quickly after a core network failure. This guarantees that base stations covering important services can prioritize establishing connections with the core network side, creating a differentiated speed for the core network to reconnect base stations and improving the user experience. In addition, when it is determined that the base station is not in the whitelist, a signaling message indicating that the base station's identifier does not exist in the whitelist is sent to the base station. This allows the base station to determine the first heartbeat cycle based on the base station's identity code and SCTP heartbeat parameters. Since each base station has the same identity code, different base stations send heartbeat parameters to the core network side based on different cycles. This results in different times when the base station becomes aware of the fault on the core network side. Consequently, the time when different base stations send connection establishment requests to the core network side is discrete, which can avoid the generation of signaling storms and improve user experience.
[0149] In some implementations, the first connection module 505 may specifically include:
[0150] The first acquisition unit can be used to acquire the number of base stations that have established connections with the core network side within a first preset time period;
[0151] The second acquisition unit can be used to acquire the number of base stations that have not been connected to the core network side when the number of base stations with established connections is less than a first preset threshold.
[0152] The connection unit can be used to establish connections with a preset number of base stations within a second preset time period after a first preset time period when the total number of base stations without connections exceeds a second preset threshold. The preset number is determined based on the number of base stations that have established connections with the core network side within the first preset time period.
[0153] In some embodiments, the base station connection device 500 may further include:
[0154] The second connection module can be used to establish a connection with all base stations that sent connection requests within a second preset time period after the first preset interval, when the number of base stations that have not established a connection with the core network side is less than a second preset threshold.
[0155] Therefore, by dividing the time into a first preset time period and then obtaining the number of base stations that successfully established connections with the core network side within the first preset time period, the number of base stations that established connections with the core network side in the time period after the first preset time period can be determined. This allows control over the number of base stations that established connections with the core network side in different time periods, thereby preventing congestion on the core network side due to establishing connections with too many base stations, which would lead to a longer connection time between the core network side and the base stations, and improving the efficiency of establishing connections between base stations and the core network side.
[0156] Figure 6 A schematic diagram of the hardware structure of an embodiment of the electronic device provided in this invention is shown.
[0157] The electronic device 600 may include a processor 601 and a memory 602 storing computer program instructions.
[0158] Specifically, the processor 601 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of the present invention.
[0159] Memory 602 may include mass storage for data or instructions. For example, and not limitingly, memory 602 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. In one instance, memory 602 may include removable or non-removable (or fixed) media, or memory 602 may be non-volatile solid-state memory. Memory 602 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 602 is non-volatile solid-state memory.
[0160] In one instance, memory 602 may be read-only memory (ROM). In one instance, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
[0161] Memory 602 may include read-only memory (ROM), random access memory (RAM), disk storage media device, optical storage media device, flash memory device, electrical, optical, or other physical / tangible memory storage device. Therefore, generally, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of this disclosure.
[0162] The processor 601 reads and executes computer program instructions stored in the memory 602 to implement any of the requester sending methods and base station connection methods in the above embodiments.
[0163] In one example, electronic device 600 may further include communication interface 606 and bus 610. Wherein, as... Figure 6 As shown, the processor 601, memory 602, and communication interface 606 are connected through bus 610 and complete communication with each other.
[0164] The communication interface 606 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of the present invention.
[0165] Bus 610 includes hardware, software, or both, that couples components of an online data traffic metering device together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 610 may include one or more buses. While specific buses are described and illustrated in embodiments of the invention, the invention contemplates any suitable bus or interconnect.
[0166] The electronic device can execute the request sending method and base station connection method in the embodiments of this application, thereby achieving a combination Figures 2 to 5 The description includes a request sending method and a base station connection method and apparatus.
[0167] Furthermore, in conjunction with the request sending method and base station connection method in the above embodiments, this invention can be implemented using a computer storage medium. This computer storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any one of the request sending method and base station connection method in the above embodiments.
[0168] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.
[0169] The functional blocks shown in the above structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this invention are programs or code segments used to perform the required tasks. The programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication connection via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) connections, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0170] It should also be noted that the exemplary embodiments mentioned in this invention describe methods or systems based on a series of steps or apparatus. However, this invention is not limited to the order of the steps described above; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0171] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0172] The above are merely specific embodiments of the present invention. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the protection scope of the present invention.
Claims
1. A request sending method, characterized in that, The method, applicable to any one of multiple base stations connected to the same core network, includes: Obtain the identity code corresponding to the base station and the Flow Control Transmission Protocol (SCTP) heartbeat parameters between the base station and the core network side, wherein each of the multiple base stations has a different identity code; Based on the identity code and the SCTP heartbeat parameters, the first heartbeat period for the base station to send heartbeat signaling to the core network side is determined, so that the first heartbeat period corresponding to each of the plurality of base stations is different; Based on the first heartbeat cycle, a heartbeat signaling is sent to the core network side; If no response signaling is received from the core network side, a connection establishment request is sent to the core network side.
2. The method according to claim 1, characterized in that, The first heartbeat cycle for determining the heartbeat signaling sent by the base station to the core network side based on the identity code specifically includes: Obtain the Flow Control Transport Protocol (SCTP) heartbeat parameters between the base station and the core network side; The remainder of the ratio of the identity code to a preset constant is used as the discrete value; The first heartbeat cycle is determined based on the discrete values and the SCTP heartbeat parameters.
3. The method according to claim 1, characterized in that, Before sending heartbeat signaling to the core network side based on the first heartbeat cycle, the method further includes: The identifier of the base station is sent to the core network side; so that the core network side determines whether the identifier of the base station exists in the preset whitelist, and if the determination result is yes, a second heartbeat cycle is sent to the base station; if the determination result is no, a signaling message is sent to the base station that the identifier of the base station does not exist in the preset whitelist. The step of sending heartbeat signaling to the core network side based on the first heartbeat cycle specifically includes: Upon receiving the second heartbeat cycle sent by the core network side, a heartbeat signaling is sent to the core network side based on the second heartbeat cycle; If a signaling message is received indicating that the identifier of the base station does not exist in the preset whitelist, a heartbeat signaling message is sent to the core network side based on the first heartbeat cycle; the second heartbeat cycle is shorter than the first heartbeat cycle.
4. A base station connection method, characterized in that, Applied to the core network side, the method includes: The identifier of the base station sent by the receiving base station; Determine whether the identifier of the base station exists in a preset whitelist; If the determination result is yes, a second heartbeat cycle is sent to the base station so that the base station sends heartbeat signaling to the core network side based on the second heartbeat cycle; If the determination result is negative, a signaling message indicating that the base station's identifier does not exist in the preset whitelist is sent to the base station, so that the base station sends a heartbeat signaling message to the core network side based on a first heartbeat cycle; the first heartbeat cycle is determined by the base station based on the base station's corresponding identity code and Flow Control Transmission Protocol (SCTP) heartbeat parameters; the second heartbeat cycle is shorter than the first heartbeat cycle; A connection is established with the base station based on a connection request sent by the base station, wherein the connection request is sent by the base station when it has not received a response signaling from the core network side in response to the heartbeat signaling.
5. The method according to claim 4, characterized in that, The process of establishing a connection with the base station based on the connection request specifically includes: Obtain the number of base stations that have established connections with the core network side within a first preset time period; If the number of base stations with established connections is less than a first preset threshold, obtain the number of base stations with no established connections corresponding to the core network side. If the total number of base stations that have not established a connection is greater than a second preset threshold, a connection is established with a preset number of base stations within a second preset time period after a first preset time period. The preset number is determined based on the number of base stations that established a connection with the core network side within the first preset time period.
6. The method according to claim 5, characterized in that, The method further includes: If the number of base stations that have not established a connection with the core network side is less than a second preset threshold, a connection is established with all base stations that sent connection requests within a second preset time period after the first preset interval.
7. A request sending device, characterized in that, The apparatus is applicable to any one of multiple base stations connected to the same core network, and includes: The acquisition module is used to acquire the identity code corresponding to the base station and the Flow Control Transmission Protocol (SCTP) heartbeat parameters between the base station and the core network side, wherein each of the multiple base stations has a different identity code; The determining module is used to determine the first heartbeat period for the base station to send heartbeat signaling to the core network side based on the identity code and the SCTP heartbeat parameters, so that the first heartbeat period corresponding to each of the plurality of base stations is different; The first transmitting module is used to send heartbeat signaling to the core network side based on the first heartbeat cycle; The second sending module is used to send a connection establishment request to the core network side if no response signaling is received from the core network side.
8. A base station connection device, characterized in that, Applied to the core network side, the device includes: The receiving module is used to receive the base station identifier sent by the base station; The determination module is used to determine whether the identifier of the base station exists in a preset whitelist; The third sending module is used to send a second heartbeat cycle to the base station when the judgment result is yes, so that the base station sends heartbeat signaling to the core network side based on the second heartbeat cycle; The fourth sending module is used to send a signaling message to the base station indicating that the base station's identifier does not exist in the preset whitelist when the determination result is negative, so that the base station sends a heartbeat signaling message to the core network side based on a first heartbeat cycle; the first heartbeat cycle is determined by the base station based on the base station's corresponding identity code and Flow Control Transmission Protocol (SCTP) heartbeat parameters; the second heartbeat cycle is shorter than the first heartbeat cycle; The first connection module is used to establish a connection with the base station based on a connection request sent by the base station, wherein the connection request is sent by the base station when it has not received a response signaling from the core network side in response to the heartbeat signaling.
9. An electronic device, characterized in that, The device includes: a processor and a memory storing computer program instructions; the processor reads and executes the computer program instructions to implement the request sending method as described in any one of claims 1-3 and the base station connection method as described in any one of claims 4-6.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, which are executed by a processor to implement the request sending method as described in any one of claims 1-3 and the base station connection method as described in any one of claims 4-6.
11. A computer program product, characterized in that, When the instructions in the computer program product are executed by the processor of the electronic device, the electronic device performs the request sending method as described in any one of claims 1-3 and the base station connection method as described in any one of claims 4-6.