Sctp link establishment method, source base station and device
By configuring SCTP links based on operator identifiers and IP addresses in a 5G co-construction and sharing network, the problem of terminal handover failure caused by multiple operators sharing IP addresses is solved, and stable handover of terminals between different base stations is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- DATANG MOBILE COMM EQUIP CO LTD
- Filing Date
- 2022-09-16
- Publication Date
- 2026-04-21
AI Technical Summary
In 5G co-construction and sharing networks, because multiple operators share the same IP address, the source base station configures the same operator attributes for multiple SCTP links, while the target base station configures different operator attributes for multiple SCTP links, resulting in terminal handover failure.
The source base station obtains the source operator identifier and the target base station's IP address to determine the IP address configuration. It creates an SCTP link for each IP address and configures the SCTP link according to the operator attributes. If multiple IP addresses share the same operator, it receives the target base station's serving cell message to obtain the target operator attributes, ensuring that the SCTP link operator attributes match.
This effectively prevents terminal switching failures and ensures that terminals can successfully switch to the target base station, thereby improving the stability of the 5G network and the user experience.
Smart Images

Figure CN117768967B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to an SCTP link establishment method, source base station, and apparatus. Background Technology
[0002] With the rapid development of mobile communication networks, 5G (5th-Generation Mobile Communication Technology) is gradually entering users' lives. Due to the high initial construction costs of 5G networks, various operators are considering co-constructing and sharing 5G networks to better utilize 5G frequency bands and share construction costs. In this 5G co-construction and sharing scenario, multiple operators will share the same base station to provide communication services. The base station will assign different IP addresses to different operators using the same base station. However, due to limited IP transmission resources, there will also be situations where different operators are assigned the same IP address, meaning multiple operators share the same IP address.
[0003] Different base stations can communicate with each other via Xn (Network Interface between NG Radio Access Network Nodes) links, and terminals can switch between base stations at either end of different Xn links. Specifically, the two base stations that construct the Xn link can be referred to as the source base station and the target base station. An SCTP (Stream Control Transmission Protocol) link can be first established between the source and target base stations, and then the Xn link can be built on top of the SCTP link. The source base station establishes SCTP links between each of its own IP addresses and each of the target base station's IP addresses. For example, if the source base station has one IP address X and the target base station has two IP addresses M and N, then two different SCTP links will be configured between the source and target base stations: SCTP link 1 between IP address X and IP address M, and SCTP link 2 between IP address X and IP address N.
[0004] Furthermore, both the source and target base stations configure operator attributes for the constructed SCTP links. In existing technologies, base stations configure operator attributes for SCTP links based on the operator corresponding to their own IP addresses. For example, in the aforementioned example, if the two operators Y and Z of the source base station share IP address X, and operator Y has operator attribute Y and operator Z has operator attribute Z, then the source base station can configure the same operator attributes Y and Z for the two SCTP links 1 and 2. For the target base station, if the two operators Y and Z use IP address M and IP address N respectively, then the target base station can configure operator attribute Y for SCTP link 1 and operator attribute Z for SCTP link 2.
[0005] When a terminal switches from a source base station to a target base station, the source base station needs to select an SCTP link as the switching link. The carrier attribute of this SCTP link includes the carrier attribute of the terminal's corresponding carrier. When the selected SCTP link also has the carrier attribute of the terminal's corresponding carrier configured on the target base station side, the terminal can successfully switch from the source base station to the target base station through the selected SCTP link.
[0006] However, when the source base station sets the same IP address for multiple operators (i.e., multiple operators share the same IP address), while the target base station sets different IP addresses for different operators, as shown above, multiple SCTP links will exist between the source and target base stations. The source base station will configure the same operator attributes for multiple SCTP links, but the target base station will configure different operator attributes for multiple SCTP links. If a terminal needs to switch from the source base station to the target base station, because the source base station has configured the same operator attributes for multiple SCTP links, it can choose any SCTP link for the terminal switch. However, the target base station may not include the operator attributes of the terminal's corresponding operator in the operator attributes configured for the selected SCTP link, leading to a terminal switch failure. For example, in the aforementioned example, if the operator corresponding to the terminal is operator Y, then for the source base station, the operator attributes configured for both SCTP link 1 and SCTP link 2 include operator attribute Y. Therefore, the source base station can choose either one to perform terminal handover. For example, if the source base station selects SCTP link 2, but the target base station configures the operator attribute for SCTP link 2 as operator attribute Z, which does not match the operator Y corresponding to the terminal, then the terminal handover will fail. Summary of the Invention
[0007] The purpose of this invention is to provide an SCTP link establishment method, source base station, and apparatus to prevent terminal handover failure. The specific technical solution is as follows:
[0008] In a first aspect, embodiments of the present invention provide an SCTP link establishment method, applied to a source base station, the method comprising:
[0009] Obtain the source operator identifier of the source operator using the source base station, the first IP address configured by the source base station for the source operator, and the second IP address configured by the target base station for the source operator;
[0010] For each first IP address and each second IP address, an SCTP link is created between the source base station and the target base station, wherein the IP addresses corresponding to the two ends of the SCTP link are the first IP address and the second IP address, respectively.
[0011] Determine whether there are multiple first IP addresses and whether the source base station is configured with only one source operator for each first IP address;
[0012] If so, for each SCTP link, the first operator attribute of the first operator is configured as the operator attribute of the SCTP link, and the creation of the SCTP link is confirmed. The IP address configured by the source base station for the first operator is the first IP address corresponding to the SCTP link.
[0013] If not, the target base station receives the serving cell message sent through the SCTP link, obtains the target operator identifier contained in the serving cell message, configures the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link, and determines that the SCTP link has been created. The second operator is the operator corresponding to the operator attribute configured by the target base station for the second IP address corresponding to the SCTP link.
[0014] Secondly, embodiments of the present invention provide a source base station, including a memory, a transceiver, and a processor:
[0015] A memory for storing computer programs; a transceiver for sending and receiving data under the control of the processor; and a processor for reading the computer programs from the memory and performing the following operations:
[0016] Obtain the source operator identifier of the source operator using the source base station, the first IP address configured by the source base station for the source operator, and the second IP address configured by the target base station for the source operator;
[0017] For each first IP address and each second IP address, an SCTP link is created between the source base station and the target base station, wherein the IP addresses corresponding to the two ends of the SCTP link are the first IP address and the second IP address, respectively.
[0018] Determine whether there are multiple first IP addresses and whether the source base station is configured with only one source operator for each first IP address;
[0019] If so, for each SCTP link, the first operator attribute of the first operator is configured as the operator attribute of the SCTP link, and the creation of the SCTP link is confirmed. The IP address configured by the source base station for the first operator is the first IP address corresponding to the SCTP link.
[0020] If not, the target base station receives the serving cell message sent through the SCTP link, obtains the target operator identifier contained in the serving cell message, configures the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link, and determines that the SCTP link has been created. The second operator is the operator corresponding to the operator attribute configured by the target base station for the second IP address corresponding to the SCTP link.
[0021] Thirdly, embodiments of the present invention provide an SCTP link establishment apparatus, applied to a source base station, the apparatus comprising:
[0022] The acquisition module is used to acquire the source operator identifier of the source operator using the source base station, the first IP address configured by the source base station for the source operator, and the second IP address configured by the target base station for the source operator;
[0023] A creation module is used to create an SCTP link between the source base station and the target base station for each first IP address and each second IP address, wherein the IP addresses corresponding to the two ends of the SCTP link are the first IP address and the second IP address, respectively.
[0024] The judgment module is used to determine whether there are multiple first IP addresses and whether the source base station is configured with only one source operator for each first IP address; if yes, the first configuration module is triggered to be executed; if no, the second configuration module is triggered to be executed.
[0025] The first configuration module is used to configure the first operator attribute of the first operator as the operator attribute of the SCTP link for each SCTP link, and determine that the SCTP link has been created. The IP address configured by the source base station for the first operator is the first IP address corresponding to the SCTP link.
[0026] The second configuration module is used to receive the serving cell message sent by the target base station through the SCTP link, obtain the target operator identifier contained in the serving cell message, configure the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link, and determine that the SCTP link has been created. The second operator is the operator corresponding to the operator attribute configured by the target base station for the second IP address corresponding to the SCTP link.
[0027] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any of the method steps described in the first aspect.
[0028] Fifthly, embodiments of the present invention also provide a computer program product containing instructions that, when run on a computer, cause the computer to perform any of the steps described in the first aspect.
[0029] Beneficial effects of the embodiments of the present invention:
[0030] This invention provides an SCTP link establishment method. A source base station obtains the operator identifier of the source operator using the source base station, a first IP address configured by the source base station for the source operator, and a second IP address configured by the target base station for the source operator. For each first IP address and each second IP address, an SCTP link is created between the source base station and the target base station, wherein the IP addresses corresponding to the two ends of the SCTP link are the first IP address and the second IP address, respectively. It is determined whether there are multiple first IP addresses and whether the source base station configures only one source operator for each first IP address. If so, for each SCTP link, the first IP address of the first operator is... The operator attribute is configured as the operator attribute of the SCTP link, and the creation of the SCTP link is determined to be complete. Here, the IP address configured by the source base station for the first operator is the first IP address corresponding to the SCTP link. If not, the serving cell message sent by the target base station through the SCTP link is received, the target operator identifier contained in the serving cell message is obtained, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link, and the creation of the SCTP link is determined to be complete. Here, the second operator is the operator corresponding to the operator attribute configured by the target base station for the second IP address corresponding to the SCTP link.
[0031] This scheme enables the creation of an SCTP link between the source base station and the target base station, and configures the IP address and operator attributes for the created SCTP link, thereby completing the SCTP link creation process. Furthermore, when the source base station configures multiple source operators for the first IP address, in the scheme provided by this embodiment, for each SCTP link, the source base station obtains the target operator identifier contained in the serving cell message sent by the target base station through that SCTP link, and configures the operator attributes of the SCTP link using the second operator attribute of the second operator corresponding to the target operator identifier. The operator attributes configured by the target base station for this SCTP link are the same as the second operator's operator attributes. Therefore, after the source base station configures the second operator attribute as the operator attribute of the SCTP link, the operator attributes configured by the source base station and the target base station for that SCTP link are identical. If the target base station configures different operator attributes for different SCTP links, the source base station can correspondingly configure different operator attributes for different SCTP links. In contrast, in the prior art, the source base station configures the same operator attributes for different SCTP links. Therefore, in the solution provided by the embodiments of the present invention, when the terminal needs to switch, the source base station can select SCTP links based on different operator attributes, so that the operator attributes of the selected SCTP links include the operator attributes of the terminal. Then the terminal can successfully complete the switch through the selected SCTP links, thereby preventing the terminal from failing to switch base stations. Attached Figure Description
[0032] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other embodiments can be obtained based on these drawings.
[0033] Figure 1A This is a schematic diagram of a shared 5G access network in a non-standalone (NSA) networking mode.
[0034] Figure 1B This is a schematic diagram of a shared 5G access network in standalone networking mode.
[0035] Figure 2 A flowchart illustrating the first SCTP link establishment method provided in this embodiment of the invention;
[0036] Figure 3 A flowchart illustrating the second SCTP link establishment method provided in this embodiment of the invention;
[0037] Figure 4A flowchart illustrating the third SCTP link establishment method provided in this embodiment of the invention;
[0038] Figure 5 A flowchart illustrating the fourth SCTP link establishment method provided in this embodiment of the invention;
[0039] Figure 6 A flowchart illustrating the fifth SCTP link establishment method provided in this embodiment of the invention;
[0040] Figure 7 This is a schematic diagram of the structure of a source base station provided in an embodiment of the present invention;
[0041] Figure 8 This is a schematic diagram of the structure of the first SCTP link establishment device provided in an embodiment of the present invention;
[0042] Figure 9 This is a schematic diagram of the structure of the second SCTP link establishment device provided in an embodiment of the present invention;
[0043] Figure 10 A schematic diagram of the third SCTP link establishment device provided in an embodiment of the present invention. Detailed Implementation
[0044] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art based on the present invention are within the scope of protection of the present invention.
[0045] To prevent terminal handover failure, this invention provides an SCTP link establishment method, source base station, and apparatus.
[0046] First, the application scenarios of the embodiments of the present invention will be introduced.
[0047] In a shared network environment, a shared base station can provide communication services to multiple operators, and terminals from different operators can access the same shared base station. These terminals can be any device capable of accessing a mobile communication network, such as mobile devices like smartphones and tablets.
[0048] In one embodiment of the present invention, such as Figure 1AThe diagram illustrates a shared 5G access network in a non-standalone (NSA) network architecture. It shows how the core network controls terminal access to the 5G shared base station via a shared 4G (4th Generation Mobile Communication Technology) base station. Terminals from both Operator A and Operator B need to access the shared bearer network through the shared 4G base station. Then, Operator A's terminal accesses Operator A's core network through its bearer network, and Operator B's terminal accesses Operator B's core network through its bearer network.
[0049] In another embodiment of the invention, such as Figure 1B The diagram illustrates a shared 5G access network in standalone (SA) mode, showing that the shared 5G base station can directly access the bearer network. Terminals from Operator A and Operator B access the shared bearer network through the shared 5G base station. Subsequently, Operator A's terminal accesses Operator A's core network through its bearer network, and Operator B's terminal accesses Operator B's core network through its bearer network.
[0050] In a 5G shared network scenario, each base station is assigned a corresponding IP address to each operator using that base station. The operator that built the base station is called the "contractor," and the other operators using the base station are called "sharing parties." Each base station can be assigned one or more IP addresses to an operator. The same IP address can be assigned to one operator or multiple operators. For each IP address, the base station can record the operator identifiers of all operators using that IP address, serving as a mapping between IP addresses and operator identifiers. The base station can then identify the operator using each IP address based on the recorded operator identifiers. To enable a terminal to switch from a source base station to a target base station, an Xn link (assigned to the terminal's operator) needs to be established between the source and target base stations. Before establishing the Xn link, an SCTP link needs to be established between the source and target base stations using one IP address from the source base station and one IP address from the target base station. Both the source and target base station IP addresses are assigned to the terminal's corresponding operator. Therefore, establishing an SCTP link requires obtaining the operator identifiers and the IP addresses assigned to each operator by the source and target base stations.
[0051] Figure 2 This is a flowchart illustrating a first SCTP link establishment method provided in an embodiment of the present invention, applied to a source base station, which is the base station currently accessed by the terminal. The method includes the following steps S201-S205.
[0052] The aforementioned source base station can be any base station participating in the creation of the SCTP link. For ease of distinction, one base station is referred to as the source base station and the other as the target base station. There is no functional difference between the source base station and the target base station. Any base station participating in the creation of the SCTP link can complete the creation of the SCTP link through this embodiment.
[0053] Step S201: Obtain the source operator identifier of the source operator using the aforementioned source base station, the first IP address configured by the source base station for the aforementioned source operator, and the second IP address configured by the target base station for the aforementioned source operator.
[0054] The aforementioned source operator identifier can be the source operator's PLMN ID (Public Land Mobile Network Identity Document), name, number, etc. This source operator identifier can be obtained through neighboring cell relationship information, which indicates the neighboring cell relationship between the first cell of the source base station and the second cell of the target base station. This neighboring cell relationship information includes the source operator identifier of the source operator corresponding to the first cell. This neighboring cell relationship indicates that the terminal can handover between the first cell and the second cell.
[0055] The aforementioned neighbor cell relationship information can be configured by the management station corresponding to the base station. This management station is software that can control the base station. The aforementioned neighbor cell relationship information can be manually entered by the user through the management station when configuring the neighbor cell relationship, or it can be pre-recorded in the electronic equipment running the management station.
[0056] To ensure that the terminal can switch between the first cell and the second cell, both the source operator corresponding to the first cell and the operator corresponding to the second cell must include the operator corresponding to the terminal. This allows the terminal located within the coverage area of the first cell to access the core network of the operator corresponding to the terminal through the source base station, and if the terminal switches to the second cell, the terminal can also access the core network of the operator corresponding to the terminal through the target base station.
[0057] Each first cell can have neighboring cell relationships with one or more second cells. Each second cell can be a cell with the same target base station or a cell with different target base stations.
[0058] Based on the aforementioned source operator identifier, the source base station can query the IP address configured by the source base station for that source operator, which will be used as the first IP address. Since the source base station may have configured multiple IP addresses for the source operator, there may be multiple possible first IP addresses.
[0059] Based on the aforementioned source operator identifier, the source base station identifies the NG-C (Control Plane Interface Between NG-RAN and 5GC) link that enables communication between the source base station and the source operator's core network. The operator attribute of this NG-C link is the source operator's attribute. Through this NG-C link, the base station can send an uplink message to the source operator's core network to request feedback from the source operator's core network regarding the second IP address configured for the source operator by the target base station. This uplink message can be an UPLINK RAN CONFIGURATION TRANSFER message. Subsequently, the base station can receive downlink messages sent by the core network through this NG-C link. These downlink messages contain the second IP address configured for the source operator by the target base station. Since the target base station may have multiple IP addresses configured for the source operator, multiple second IP addresses may be obtained. This downlink message can be a DOWNLINK RAN CONFIGURATION TRANSFER message.
[0060] Step S202: For each first IP address and each second IP address, create the SCTP link between the source base station and the target base station.
[0061] The IP addresses corresponding to the two ends of the SCTP link are the first IP address and the second IP address, respectively.
[0062] Since there can be multiple first IP addresses and multiple second IP addresses, an SCTP link needs to be established for each first IP address and each second IP address. One first IP address is used as the IP address at one end of the SCTP link, and one second IP address is used as the IP address at the other end of the SCTP link, thus creating the SCTP link.
[0063] In addition, each end of each SCTP link needs to be configured with the operator attribute of that SCTP link, so that the SCTP link can be used by the terminal of the operator corresponding to the operator attribute of that SCTP link.
[0064] Step S203: Determine whether there are multiple first IP addresses and whether the above source base station is configured with only one source operator for each first IP address.
[0065] When configuring the carrier attributes of the SCTP link on the source base station side, different methods can be used to complete the configuration depending on the number of first IP addresses.
[0066] When there are multiple first IP addresses, the source base station will create multiple different SCTP links based on each first IP address. Different first IP addresses can be used to implement different services of the source base station. For example, the source base station may have six first IP addresses, used for interaction with the contractor's public core network, the contractor's private core network, to share the load of interaction with the contractor's public or private core network, the sharing party's public core network, the sharing party's private core network, and to share the load of interaction with the sharing party's public or private core network. The first three first IP addresses are used exclusively by the contractor, and the last three are used exclusively by the sharing party; there are no first IP addresses shared by both the contractor and the sharing party.
[0067] For each first IP address, the source base station may configure one or more source operators for that first IP address. If the source base station configures only one source operator for each first IP address, regardless of whether the configured source operator is the contractor or the sharing party, it can be determined that there is no first IP address in the current source base station that is shared by the contractor and the sharing party, and then the subsequent step S204 is executed.
[0068] Otherwise, if there is only one first IP address, or if there are multiple first IP addresses, but multiple source operators' first IP addresses are configured, it can be determined that there is a first IP address in the current source base station that is shared by the contractor and the sharing party, and then the subsequent step S205 is executed.
[0069] Step S204: For each SCTP link, configure the first operator attribute of the first operator as the operator attribute of the SCTP link, and confirm that the SCTP link creation is complete.
[0070] The IP address configured by the aforementioned source base station for the aforementioned first operator is: the first IP address corresponding to the SCTP link.
[0071] Specifically, the source base station configures only one source operator for each first IP address. Under this case, there is no risk of the terminal failing to switch cells. For each SCTP link, the source base station can directly configure the first operator attribute of the first operator as the operator attribute of the SCTP link and determine that the SCTP link has been created.
[0072] Step S205: Receive the serving cell message sent by the target base station through the SCTP link, obtain the target operator identifier contained in the serving cell message, configure the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link, and determine that the SCTP link creation is complete.
[0073] The aforementioned second operator refers to the operator whose operator attribute is configured for the second IP address corresponding to the SCTP link at the target base station.
[0074] Specifically, if the source base station has a first IP address shared by the contractor and the sharing party, there is a risk that the terminal will fail to switch cells. Therefore, for each SCTP link, the second operator attribute of the second operator configured by the target base station for the SCTP link can be determined as the operator attribute of the SCTP link on the source base station side, and the creation of the SCTP link can be determined.
[0075] In cases where the source base station contains a shared first IP address between the contractor and the sharing party, all first IP addresses of the source base station may be shared by both parties, or only some of the first IP addresses may be shared. For example, the source base station may have three first IP addresses: one for interacting with the contractor's terminal, one for interacting with the contractor's core network, and one shared by both parties. The first two first IP addresses are not shared, and only the last first IP address is shared.
[0076] In one embodiment of the present invention, for multiple source operator SCTP links corresponding to the configured first IP address, there is a risk of failure when the terminal performs cell handover through the SCTP link. Therefore, the source base station can configure the second operator attribute as the operator attribute of the SCTP link.
[0077] However, since the configured first IP address corresponds to only one source operator's SCTP link, there is no risk of failure when the terminal performs cell handover through this SCTP link. Therefore, the source base station can also directly configure the operator attribute of the operator corresponding to the first IP address as the operator attribute of this SCTP link.
[0078] In another embodiment of the present invention, the source base station can determine the second operator corresponding to the second IP address configured by the target base station for the SCTP link by receiving the operator identifier in the serving cell packet sent by the target base station through the SCTP link, and configure the second operator attribute of the second operator as the operator attribute of the SCTP link. If the second IP address configured by the target base station for the SCTP link corresponds to multiple second operators, the serving cell packet will carry multiple operator identifiers. If the second IP address configured by the target base station for the SCTP link corresponds to one second operator, the serving cell packet will carry one operator identifier. The operator corresponding to the operator identifier can be determined through a mapping table between operator identifiers and operators.
[0079] See Table 1 for the mapping between operator identifiers and operators.
[0080] Table 1
[0081]
[0082]
[0083] This example illustrates the relationship between operator identifiers and operators, without specifying the exact form or content of the correspondence. An operator identifier consists of MMC (Mobile Country Code) and MNC (Mobile Network Code), i.e., PLMN = MMC + MNC. As shown in the diagram, according to the mapping table, operator identifier z1 + z2 corresponds to the operator with operator ID xx (China Mobile), and operator identifier y1 + y2 corresponds to the operator with operator ID xx (China Broadcasting Network).
[0084] The aforementioned serving cell message can be an XNAP (Xn Application Protocol) message sent between the source base station and the target base station.
[0085] Furthermore, the communication connection between the source base station and the target base station is bidirectional, and the target base station can also act as a source base station, through the aforementioned... Figure 2 The scheme shown establishes an SCTP link, in which the target base station shown above serves as the source base station, and the source base station shown above serves as the target base station.
[0086] In addition, in one embodiment of the present invention, the source base station may also receive the serving cell message sent by the target base station through the SCTP link via step A or step B below, which will not be described in detail here.
[0087] By applying the scheme provided in this embodiment of the invention, an SCTP link can be established between the source base station and the target base station, and an IP address and operator attributes can be configured for the created SCTP link, thereby completing the SCTP link creation process. Furthermore, when the source base station configures multiple source operators for the first IP address, in the scheme provided in this embodiment of the invention, for each SCTP link, the source base station obtains the target operator identifier contained in the serving cell message sent by the target base station through that SCTP link, and configures the operator attributes of the SCTP link using the second operator attributes of the second operator corresponding to the target operator identifier. The operator attributes configured by the target base station for this SCTP link are the same as the operator attributes of the second operator. Therefore, after the source base station configures the second operator attributes as the operator attributes of the SCTP link, the operator attributes configured by the source base station and the target base station for this SCTP link are the same. If the target base station configures different operator attributes for different SCTP links, the source base station can correspondingly configure different operator attributes for different SCTP links. In contrast, in the prior art, the source base station configures the same operator attributes for different SCTP links. Therefore, in the solution provided by the embodiments of the present invention, when the terminal needs to switch, the source base station can select SCTP links based on different operator attributes, so that the operator attributes of the selected SCTP links include the operator attributes of the terminal. Then the terminal can successfully complete the switch through the selected SCTP links, thereby preventing the terminal from failing to switch base stations.
[0088] The SCTP link establishment method provided in this embodiment of the invention can also be used to establish an Xn link. Since this embodiment of the invention can correctly establish an SCTP link, and an SCTP link needs to be established before establishing an Xn link, the Xn link can be correctly established through this embodiment of the invention, enabling the source base station and the target base station to establish a communication connection. This allows the terminal to successfully switch between the two base stations, ensuring user experience and preventing the dwell rate of the 5G network from being affected.
[0089] In one embodiment of the present invention, the source base station may also receive the serving cell message sent by the target base station through the SCTP link by step A or step B.
[0090] Step A: Send a first request message to the target base station, receive the response message from the target base station, and use the response message as a serving cell message.
[0091] The first request message is used to request the creation of an Xn link, and the response message is a message from the target base station in response to the first request message, used to establish the Xn link. The first request message may be an XN SETUP REQUEST message included in a first XNAP message corresponding to the first IP address and the second IP address sent by the source base station. The response message may be an XN SETUP RESPONSE message included in a second XNAP message corresponding to the same first IP address and the same second IP address sent by the target base station.
[0092] Based on existing protocol provisions, the XN SETUP RESPONSE message carries the operator identifier corresponding to the second IP address configured by the target base station for this SCTP link, i.e., the target operator identifier.
[0093] The source base station sends a first request message to the target base station through the SCTP link, and receives a response message from the target base station through the same SCTP link. The response message contains the target operator identifier.
[0094] Step B: Receive the second request message sent by the target base station and use the second request message as a serving cell message.
[0095] The second request message mentioned above is used to request the creation of an Xn link. This second request message can be an XN SETUPREQUEST message included in a third XNAP message corresponding to the same first IP address and the same second IP address sent by the target base station. The response message and the second request message contain the same operator identifier.
[0096] Based on existing protocol provisions, the XN SETUP REQUEST message carries the operator identifier corresponding to the second IP address configured by the target base station for this SCTP link.
[0097] The source base station receives a second request message sent by the target base station via the SCTP link. The second request message contains the target operator identifier.
[0098] In addition, when the source base station receives one or more response messages or second request messages from the target base station at the same time, all received second request messages and response messages need to be considered, that is, the source base station treats the second request messages and response messages as serving cell messages.
[0099] By applying the solution provided in the embodiments of the present invention, the source base station can obtain one or more serving cell messages in either of two ways, thereby enabling the source base station to obtain the target operator identifier.
[0100] Figure 3 This is a flowchart illustrating the second SCTP link establishment method provided in an embodiment of the present invention, wherein, in Figure 2 Based on this, the above step S205 can be achieved through the following steps S205A-S205C.
[0101] Step S205A: Receive the serving cell message sent by the target base station through the SCTP link, and determine whether the first information contained in the serving cell message carries multiple operator identifiers.
[0102] The first information mentioned above includes the operator identifier of the operator using the target base station. When the serving cell message is an XNAP message, the first information may be Broadcast PLMNs information contained in the XNAP message, which carries the operator identifier.
[0103] If the first information contains multiple operator identifiers, it means that the second IP address configured by the target base station for the SCTP link corresponds to multiple operators. In this case, both the first IP address and the second IP address correspond to multiple operators, and step S205B can be executed directly. Otherwise, step S205C is executed.
[0104] Step S205B: Obtain the operator identifier carried in the first information as the target operator identifier, and configure the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link.
[0105] Specifically, when the second IP address corresponds to multiple operators, the target base station will add the operator identifiers of all operators corresponding to the second IP address to the first information. Then, the operators corresponding to the multiple operator identifiers carried in the first information are all the operators configured by the target base station for the second IP address. The source base station can directly use all the multiple operator identifiers carried in the first information as the target operator identifier and configure the operator attributes of the operators corresponding to the target operator identifiers as the operator attributes of the SCTP link, without needing to consider other information in the serving cell packet.
[0106] Step S205C: Obtain the target operator identifier contained in the above-mentioned serving cell message, and configure the second operator attribute of the second operator corresponding to the above-mentioned target operator identifier as the operator attribute of the SCTP link.
[0107] Specifically, if only one operator identifier exists in the first information, the source base station can determine the operator corresponding to the second IP address of the SCTP link based on the operator identifier in the first information. However, in the above case, the target base station may also carry the operator identifiers of other operators corresponding to the second IP address in other information in the serving cell packet. Therefore, the source base station cannot directly determine the target operator identifier based on the operator identifier carried in the first information, and thus determine the operator attribute of the SCTP link. Instead, it needs to determine the target operator identifier based on the operator identifiers contained in the entire serving cell packet, and thus determine the operator attribute of the SCTP link.
[0108] Applying the scheme provided in this embodiment of the invention, by determining the number of operator identifiers carried in the first information, it is preliminarily determined whether the target base station is configured with multiple operators for the second IP address. If the number of operator identifiers carried in the first information is multiple, it is determined that the target base station is configured with multiple operators for the second IP address. All operator identifiers contained in the first information are used as target operator identifiers, and the operator attributes corresponding to the target operator identifiers are configured as the operator attributes of the SCTP link. If the number of operator identifiers carried in the first information is only one, since the target base station may carry the operator identifiers of other operators corresponding to the second IP address in other information in the serving cell packet, it is still impossible to determine whether the target base station is configured with multiple operators for the second IP address. Therefore, the operator identifiers contained in the serving cell packet are used as target operator identifiers, and the operator attributes corresponding to the target operator identifiers are configured as the operator attributes of the SCTP link. This ensures that the configured operator attributes match the operators configured by the target base station for the second IP address.
[0109] Figure 4 This is a flowchart illustrating the third SCTP link establishment method provided in this embodiment of the invention, wherein... Figure 3 Based on this, the above step S205C can be achieved through the following steps S205C1-S205C3.
[0110] Step S205C1: Determine whether the operator identifier carried in the first information is the operator identifier of the contractor.
[0111] The aforementioned contractor is the operator that built the aforementioned source base station.
[0112] The first information mentioned above carries only one operator identifier. Based on this, it is determined whether the operator identifier carried in the first information is the operator identifier of the contractor. If the target base station configures the second IP address corresponding to the SCTP link for the contractor's use, then regardless of whether the second IP address is used solely by the contractor or shared by the contractor and the sharing party, the first information in the serving cell message sent by the target base station to the source base station will definitely carry the contractor's operator identifier. However, if the target operator identifier carried in the first information is not the contractor's operator identifier, it means that the second IP address is used solely by the sharing party, and step S205C2 can be executed. Otherwise, the second IP address may be used solely by the contractor or shared by the contractor and the sharing party, and step S205C3 can be executed.
[0113] Step S205C2: Obtain the operator identifier carried in the first information as the target operator identifier, and configure the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link.
[0114] Specifically, since the second IP address corresponding to the SCTP link is only used by the sharing party, the operator identifier carried in the first information is the operator identifier of the sharing party. That is, the source base station can determine the operator identifier of the operator corresponding to the second IP address by reading the first information. Therefore, the operator identifier contained in the first information can be directly used as the target operator identifier, and the operator attribute of the operator corresponding to the target operator identifier can be used as the operator attribute of the SCTP link.
[0115] Step S205C3: Obtain the target operator identifier contained in the above-mentioned serving cell message, and configure the second operator attribute of the second operator corresponding to the above-mentioned target operator identifier as the operator attribute of the SCTP link.
[0116] Specifically, the first information mentioned above only carries the operator identifier of one contractor. In this case, the source base station cannot determine whether the second IP address corresponding to the SCTP link is used solely by the contractor or shared by the contractor and the sharing party. If it is shared by the contractor and the sharing party, the serving cell message should carry both the contractor's and the sharing party's operator identifiers. However, the first information only carries the contractor's operator identifier. If the operator attribute of the operator corresponding to the operator identifier carried in the first information is directly configured as the operator attribute of the SCTP link, it may result in the lack of the sharing party's operator attribute in the configured operator attribute, leading to an incorrect SCTP link configuration. Therefore, in this case, the source base station needs to use all operator identifiers contained in the serving cell message as the target operator identifier and configure the operator attribute of the operator corresponding to the target operator identifier as the operator attribute of the SCTP link.
[0117] By applying the solution provided in this embodiment of the invention, and by determining whether an operator identifier carried in the first information is the operator identifier of the contractor, it can be further determined whether the target base station is configured with multiple operators for the second IP address. Depending on the determination result, the operator attribute of the SCTP link is configured as the operator attribute of the operator corresponding to the operator identifier carried in the first information, or as the operator attribute of the operator corresponding to the operator identifier contained in the serving cell message, to ensure that the configured operator attribute matches the operators configured for the second IP address of the target base station.
[0118] Figure 5 This is a flowchart illustrating the fourth SCTP link establishment method provided in this embodiment of the invention, wherein... Figure 4 Based on this, the above step S205C3 can be achieved through the following steps S205C3A-S205C3C.
[0119] Step S205C3A: Determine whether the above serving cell message contains the second information.
[0120] The second information mentioned above includes: the operator identifiers of all operators configured by the target base station for the second IP address corresponding to the SCTP link. The second information can be Broadcast PLMN Identity Info List NR information.
[0121] If the operator identifier in the first information is determined to be the operator identifier of the contractor, the aforementioned serving cell message may record the operator identifier of the sharing party in the second information in addition to the first information.
[0122] If the aforementioned serving cell message does not contain the second information, it indicates that the aforementioned serving cell message only contains the operator identifier of the contractor, meaning that the target base station is configured with only one operator for the second IP address, which is the contractor. In this case, the first IP address of the SCTP link corresponds to multiple operators, and the second IP address corresponds only to the contractor, so step S205C3B is executed.
[0123] If the second information is included, it means that in addition to the first information, the serving cell message also contains a second information carrying an operator identifier. The operator identifier carried in the second information is the operator identifier of the sharing party. The fact that the serving cell message contains the operator identifiers of both the sharing party and the construction party indicates that the target base station is configured with multiple operators for the second IP address. In this case, both the first IP address and the second IP address correspond to multiple operators, and step S205C3C is executed.
[0124] Alternatively, it can be determined whether the second information in the received serving cell message is empty, thus indicating whether the serving cell message contains the second information.
[0125] Step S205C3B: Obtain the operator identifier carried in the first information as the target operator identifier, and configure the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link.
[0126] Specifically, since the serving cell message does not contain the second information, all operator identifiers contained in the serving cell message are carried in the first information. Therefore, the source base station can directly use the operator identifier carried in the first information as the target operator identifier and configure the operator attribute of the operator corresponding to the target operator identifier as the operator attribute of the SCTP link.
[0127] Step S205C3C: Obtain the operator identifier carried in the first information and the second information as the target operator identifier, and configure the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link.
[0128] Specifically, since the serving cell message contains the second information, the operator identifier contained in the serving cell message is carried in the first and second information. Therefore, the source base station can directly use the operator identifier carried in the first and second information as the target operator identifier, and configure the operator attribute of the operator corresponding to the target operator identifier as the operator attribute of the SCTP link.
[0129] By applying the solution provided in this embodiment of the invention, it is determined whether the target base station is configured with multiple operators for the second IP address by judging whether the serving cell message contains the second information. Based on the judgment result, the operator attribute of the SCTP link is configured as the operator attribute of the operator corresponding to the operator identifier carried in the first information, or as the operator attribute of the operators corresponding to all operator identifiers carried in the first and second information, to ensure that the configured operator attribute matches the operators configured by the target base station for the second IP address.
[0130] Figure 6 This is a flowchart illustrating the fifth SCTP link establishment method provided in this embodiment of the invention.
[0131] Step S601: Trigger the Xn link self-establishment scenario and obtain the PLMN in the neighboring cell relationship.
[0132] Step S602: Obtain the local IP address and the peer IP address, and add an SCTP link.
[0133] Step S603: Determine whether there are multiple first IP addresses and whether the base station is configured with only one operator for each first IP address.
[0134] If yes, proceed to step S604; otherwise, proceed to step S609.
[0135] Step S604: Send the XNAP request message for the carrier attribute group corresponding to the local IP address.
[0136] Step S605: Receive an XNAP response or request message from the peer base station.
[0137] Step S606: Determine whether the first information contained in the XNAP message carries only one PLMN.
[0138] If yes, proceed to step S607; otherwise, proceed to step S610.
[0139] Step S607: Determine whether the PLMN carried in the first information is the contractor's PLMN.
[0140] If yes, proceed to step S608; otherwise, proceed to step S610.
[0141] Step S608: Determine whether the XNAP message contains the second information.
[0142] If yes, proceed to step S611; otherwise, proceed to step S610.
[0143] Step S609: Configure the operator attributes of the SCTP link according to the operator attributes of the PLMN corresponding to the neighboring cell relationship.
[0144] Step S610: Configure the operator attributes of the SCTP link according to the operator attributes of the PLMN corresponding to the operator carried in the first information.
[0145] Step S611: Configure the operator attributes of the SCTP link according to the operator attributes of the PLMN corresponding to the operator carried in the first information and the second information.
[0146] Step S612: SCTP link establishment complete.
[0147] Specifically, steps S601-S612 are similar to the various embodiments of the SCTP link establishment method described above, and will not be repeated here.
[0148] Based on the same inventive concept, corresponding to the above-mentioned SCTP link establishment method, this embodiment of the invention also provides a source base station, such as... Figure 7 The diagram shown is a schematic representation of a source base station according to an embodiment of the present invention, including a memory 701, a transceiver 702, and a processor 703.
[0149] Memory 701 is used to store computer programs; transceiver 702 is used to send and receive data under the control of the processor; processor 703 is used to read the computer programs in the memory and perform the following operations:
[0150] Obtain the source operator identifier of the source operator using the source base station, the first IP address configured by the source base station for the source operator, and the second IP address configured by the target base station for the source operator;
[0151] For each first IP address and each second IP address, an SCTP link is created between the source base station and the target base station, wherein the IP addresses corresponding to the two ends of the SCTP link are the first IP address and the second IP address, respectively.
[0152] Determine whether there are multiple first IP addresses and whether the source base station is configured with only one source operator for each first IP address;
[0153] If so, for each SCTP link, the first operator attribute of the first operator is configured as the operator attribute of the SCTP link, and the creation of the SCTP link is confirmed. The IP address configured by the source base station for the first operator is the first IP address corresponding to the SCTP link.
[0154] If not, the target base station receives the serving cell message sent through the SCTP link, obtains the target operator identifier contained in the serving cell message, configures the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link, and determines that the SCTP link has been created. The second operator is the operator corresponding to the operator attribute configured by the target base station for the second IP address corresponding to the SCTP link.
[0155] Among them, Figure 7 In this context, the bus architecture can include any number of interconnected buses and bridges, specifically linking various circuits together, represented by one or more processors (processor 703) and memory (memory 701). The bus architecture can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface. The transceiver 702 can be multiple elements, including transmitters and receivers, providing a unit for communicating with various other devices over transmission media, including wireless channels, wired channels, optical fibers, etc. The processor 703 is responsible for managing the bus architecture and general processing, and the memory 701 can store data used by the processor 703 during operation.
[0156] The processor 703 can be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a complex programmable logic device (CPLD). The processor can also adopt a multi-core architecture.
[0157] By applying the scheme provided in this embodiment of the invention, an SCTP link can be established between the source base station and the target base station, and an IP address and operator attributes can be configured for the created SCTP link, thereby completing the SCTP link creation process. Furthermore, when the source base station configures multiple source operators for the first IP address, in the scheme provided in this embodiment of the invention, for each SCTP link, the source base station obtains the target operator identifier contained in the serving cell message sent by the target base station through that SCTP link, and configures the operator attributes of the SCTP link using the second operator attributes of the second operator corresponding to the target operator identifier. The operator attributes configured by the target base station for this SCTP link are the same as the operator attributes of the second operator. Therefore, after the source base station configures the second operator attributes as the operator attributes of the SCTP link, the operator attributes configured by the source base station and the target base station for this SCTP link are the same. If the target base station configures different operator attributes for different SCTP links, the source base station can correspondingly configure different operator attributes for different SCTP links. In contrast, in the prior art, the source base station configures the same operator attributes for different SCTP links. Therefore, in the solution provided by the embodiments of the present invention, when the terminal needs to switch, the source base station can select SCTP links based on different operator attributes, so that the operator attributes of the selected SCTP links include the operator attributes of the terminal. Then the terminal can successfully complete the switch through the selected SCTP links, thereby preventing the terminal from failing to switch base stations.
[0158] In one embodiment of the present invention, obtaining the target operator identifier contained in the serving cell packet and configuring the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link specifically includes:
[0159] Determine whether the first information contained in the serving cell message carries multiple operator identifiers, wherein the first information includes: the operator identifier of the operator using the target base station;
[0160] If multiple operator identifiers are carried, the operator identifier carried in the first information is obtained as the target operator identifier, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link.
[0161] If an operator identifier is carried, the target operator identifier contained in the serving cell message is obtained, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link.
[0162] Applying the scheme provided in this embodiment of the invention, by determining the number of operator identifiers carried in the first information, it is preliminarily determined whether the target base station is configured with multiple operators for the second IP address. If the number of operator identifiers carried in the first information is multiple, it is determined that the target base station is configured with multiple operators for the second IP address. All operator identifiers contained in the first information are used as target operator identifiers, and the operator attributes corresponding to the target operator identifiers are configured as the operator attributes of the SCTP link. If the number of operator identifiers carried in the first information is only one, since the target base station may carry the operator identifiers of other operators corresponding to the second IP address in other information in the serving cell packet, it is still impossible to determine whether the target base station is configured with multiple operators for the second IP address. Therefore, the operator identifiers contained in the serving cell packet are used as target operator identifiers, and the operator attributes corresponding to the target operator identifiers are configured as the operator attributes of the SCTP link. This ensures that the configured operator attributes match the operators configured by the target base station for the second IP address.
[0163] In one embodiment of the present invention, obtaining the target operator identifier contained in the serving cell packet and configuring the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link specifically includes:
[0164] Determine whether the operator identifier carried in the first information is the operator identifier of the contractor, wherein the contractor is the operator that built the source base station;
[0165] If not, the operator identifier carried in the first information is obtained as the target operator identifier, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link.
[0166] If so, the target operator identifier contained in the serving cell message is obtained, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link.
[0167] By applying the solution provided in this embodiment of the invention, and by determining whether an operator identifier carried in the first information is the operator identifier of the contractor, it can be further determined whether the target base station is configured with multiple operators for the second IP address. Depending on the determination result, the operator attribute of the SCTP link is configured as the operator attribute of the operator corresponding to the operator identifier carried in the first information, or as the operator attribute of the operator corresponding to the operator identifier contained in the serving cell message, to ensure that the configured operator attribute matches the operators configured for the second IP address of the target base station.
[0168] In one embodiment of the present invention, obtaining the target operator identifier contained in the serving cell packet and configuring the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link specifically includes:
[0169] Determine whether the serving cell message contains second information, wherein the second information includes: the operator identifiers of all operators configured by the target base station for the second IP address corresponding to the SCTP link;
[0170] If the serving cell message does not contain the second information, the operator identifier carried in the first information is obtained as the target operator identifier, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link.
[0171] If the serving cell message contains second information, the operator identifier carried in the first and second information is obtained as the target operator identifier, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link.
[0172] By applying the solution provided in this embodiment of the invention, it is determined whether the target base station is configured with multiple operators for the second IP address by judging whether the serving cell message contains the second information. Based on the judgment result, the operator attribute of the SCTP link is configured as the operator attribute of the operator corresponding to the operator identifier carried in the first information, or as the operator attribute of the operators corresponding to all operator identifiers carried in the first and second information, to ensure that the configured operator attribute matches the operators configured by the target base station for the second IP address.
[0173] In one embodiment of the present invention, receiving the serving cell message sent by the target base station via the SCTP link specifically includes:
[0174] Send a first request message to the target base station, receive a response message from the target base station, and use the response message as a serving cell message. The first request message is used to request the creation of an Xn link, and the response message is a message from the target base station to establish an Xn link in response to the first request message.
[0175] or,
[0176] The system receives a second request message sent by the target base station and uses the second request message as a serving cell message. The second request message is used to request the creation of an Xn link, and the response message contains the same operator identifier as the second request message.
[0177] By applying the solution provided in the embodiments of the present invention, the source base station can obtain one or more serving cell messages in either of two ways, thereby enabling the source base station to obtain the target operator identifier.
[0178] Based on the same inventive concept, corresponding to the above-mentioned SCTP link establishment method, this embodiment of the invention also provides an SCTP link establishment apparatus, such as... Figure 8 The diagram shown is a structural schematic of the first SCTP link establishment device provided in an embodiment of the present invention, comprising:
[0179] The acquisition module 801 is used to acquire the source operator identifier of the source operator using the source base station, the first IP address configured by the source base station for the source operator, and the second IP address configured by the target base station for the source operator;
[0180] The creation module 802 is used to create an SCTP link between the source base station and the target base station for each first IP address and each second IP address, wherein the IP addresses corresponding to the two ends of the SCTP link are the first IP address and the second IP address, respectively.
[0181] The judgment module 803 is used to determine whether there are multiple first IP addresses and whether the source base station is configured with only one source operator for each first IP address; if yes, the first configuration module 804 is triggered to be executed; if no, the second configuration module 805 is triggered to be executed.
[0182] The first configuration module 804 is used to configure the first operator attribute of the first operator as the operator attribute of the SCTP link for each SCTP link, and determine that the SCTP link has been created. The IP address configured by the source base station for the first operator is the first IP address corresponding to the SCTP link.
[0183] The second configuration module 805 is used to receive the serving cell message sent by the target base station through the SCTP link, obtain the target operator identifier contained in the serving cell message, configure the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link, and determine that the SCTP link has been created. The second operator is the operator corresponding to the operator attribute configured by the target base station for the second IP address corresponding to the SCTP link.
[0184] By applying the scheme provided in this embodiment of the invention, an SCTP link can be established between the source base station and the target base station, and an IP address and operator attributes can be configured for the created SCTP link, thereby completing the SCTP link creation process. Furthermore, when the source base station configures multiple source operators for the first IP address, in the scheme provided in this embodiment of the invention, for each SCTP link, the source base station obtains the target operator identifier contained in the serving cell message sent by the target base station through that SCTP link, and configures the operator attributes of the SCTP link using the second operator attributes of the second operator corresponding to the target operator identifier. The operator attributes configured by the target base station for this SCTP link are the same as the operator attributes of the second operator. Therefore, after the source base station configures the second operator attributes as the operator attributes of the SCTP link, the operator attributes configured by the source base station and the target base station for this SCTP link are the same. If the target base station configures different operator attributes for different SCTP links, the source base station can correspondingly configure different operator attributes for different SCTP links. In contrast, in the prior art, the source base station configures the same operator attributes for different SCTP links. Therefore, in the solution provided by the embodiments of the present invention, when the terminal needs to switch, the source base station can select SCTP links based on different operator attributes, so that the operator attributes of the selected SCTP links include the operator attributes of the terminal. Then the terminal can successfully complete the switch through the selected SCTP links, thereby preventing the terminal from failing to switch base stations.
[0185] In one embodiment of the present invention, such as Figure 9 The diagram shown is a structural schematic of the second SCTP link establishment device provided in an embodiment of the present invention, which is similar to the aforementioned... Figure 8 Compared to the illustrated embodiment, the second configuration module 805 includes:
[0186] The determination submodule 805A is used to receive the serving cell message sent by the target base station through the SCTP link, and determine whether the first information contained in the serving cell message carries multiple operator identifiers, wherein the first information includes: the operator identifier of the operator using the target base station; if yes, the execution of the first configuration submodule 805B is triggered; if no, the execution of the second configuration submodule 805C is triggered.
[0187] The first configuration submodule 805B is used to obtain the operator identifier carried in the first information as the target operator identifier, and configure the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link.
[0188] The second configuration submodule 805C is used to obtain the target operator identifier contained in the serving cell message and configure the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link.
[0189] Applying the scheme provided in this embodiment of the invention, by determining the number of operator identifiers carried in the first information, it is preliminarily determined whether the target base station is configured with multiple operators for the second IP address. If the number of operator identifiers carried in the first information is multiple, it is determined that the target base station is configured with multiple operators for the second IP address. All operator identifiers contained in the first information are used as target operator identifiers, and the operator attributes corresponding to the target operator identifiers are configured as the operator attributes of the SCTP link. If the number of operator identifiers carried in the first information is only one, since the target base station may carry the operator identifiers of other operators corresponding to the second IP address in other information in the serving cell packet, it is still impossible to determine whether the target base station is configured with multiple operators for the second IP address. Therefore, the operator identifiers contained in the serving cell packet are used as target operator identifiers, and the operator attributes corresponding to the target operator identifiers are configured as the operator attributes of the SCTP link. This ensures that the configured operator attributes match the operators configured by the target base station for the second IP address.
[0190] In one embodiment of the present invention, such as Figure 10 The diagram shown is a structural schematic of the third SCTP link establishment device provided in an embodiment of the present invention, which is consistent with the aforementioned... Figure 9 Compared to the illustrated embodiment, the second configuration submodule 805C includes:
[0191] The judgment unit 805C1 is used to determine whether the operator identifier carried in the first information is the operator identifier of the contractor, wherein the contractor is the operator that builds the source base station; if not, the first configuration unit 805C2 is triggered to be executed; if yes, the second configuration unit 805C3 is triggered to be executed.
[0192] The first configuration unit 805C2 is used to obtain the operator identifier carried in the first information as the target operator identifier, and configure the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link.
[0193] The second configuration unit 805C3 is used to obtain the target operator identifier contained in the serving cell message and configure the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link.
[0194] By applying the solution provided in this embodiment of the invention, and by determining whether an operator identifier carried in the first information is the operator identifier of the contractor, it can be further determined whether the target base station is configured with multiple operators for the second IP address. Depending on the determination result, the operator attribute of the SCTP link is configured as the operator attribute of the operator corresponding to the operator identifier carried in the first information, or as the operator attribute of the operator corresponding to the operator identifier contained in the serving cell message, to ensure that the configured operator attribute matches the operators configured for the second IP address of the target base station.
[0195] In one embodiment of the present invention, the second configuration unit 805C3 is specifically used for:
[0196] Determine whether the serving cell message contains second information, wherein the second information includes: the operator identifiers of all operators configured by the target base station for the second IP address corresponding to the SCTP link;
[0197] If the serving cell message does not contain the second information, the operator identifier carried in the first information is obtained as the target operator identifier, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link.
[0198] If the serving cell message contains second information, the operator identifier carried in the first and second information is obtained as the target operator identifier, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link.
[0199] By applying the solution provided in this embodiment of the invention, it is determined whether the target base station is configured with multiple operators for the second IP address by judging whether the serving cell message contains the second information. Based on the judgment result, the operator attribute of the SCTP link is configured as the operator attribute of the operator corresponding to the operator identifier carried in the first information, or as the operator attribute of the operators corresponding to all operator identifiers carried in the first and second information, to ensure that the configured operator attribute matches the operators configured by the target base station for the second IP address.
[0200] In one embodiment of the present invention, the second configuration module 805 is specifically used for:
[0201] If the judgment result of the judgment module 803 is negative, a first request message is sent to the target base station, a response message is received from the target base station, and the response message is used as a serving cell message. The first request message is used to request the creation of an Xn link, and the response message is a message from the target base station to establish an Xn link in response to the first request message.
[0202] or,
[0203] The system receives a second request message sent by the target base station and uses the second request message as a serving cell message. The second request message is used to request the creation of an Xn link, and the response message contains the same operator identifier as the second request message.
[0204] By applying the solution provided in the embodiments of the present invention, the source base station can obtain one or more serving cell messages in either of two ways, thereby enabling the source base station to obtain the target operator identifier.
[0205] Based on the same inventive concept, corresponding to the above-mentioned SCTP link establishment method, this embodiment of the invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned SCTP link establishment methods.
[0206] When establishing an SCTP link using the computer program stored in the computer scale storage medium provided in this embodiment of the invention, an SCTP link can be created between the source base station and the target base station, and an IP address and operator attributes can be configured for the created SCTP link, thereby completing the SCTP link creation process. Furthermore, when the source base station configures multiple source operators for the first IP address, in the scheme provided in this embodiment of the invention, for each SCTP link, the source base station obtains the target operator identifier contained in the serving cell message sent by the target base station through the SCTP link, and configures the operator attributes of the SCTP link using the second operator attribute of the second operator corresponding to the target operator identifier. The operator attributes configured by the target base station for the SCTP link are the same as the operator attributes of the second operator. Therefore, after the source base station configures the second operator attribute as the operator attribute of the SCTP link, the operator attributes configured by the source base station and the target base station for the SCTP link are the same. If the target base station configures different operator attributes for different SCTP links, the source base station can correspondingly configure different operator attributes for different SCTP links. In contrast, in the prior art, the source base station configures the same operator attributes for different SCTP links. Therefore, in the solution provided by the embodiments of the present invention, when the terminal needs to switch, the source base station can select SCTP links based on different operator attributes, so that the operator attributes of the selected SCTP links include the operator attributes of the terminal. Then the terminal can successfully complete the switch through the selected SCTP links, thereby preventing the terminal from failing to switch base stations.
[0207] In another embodiment of the present invention, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to perform the steps of any of the SCTP link establishment methods described in the above embodiments.
[0208] When establishing an SCTP link using the computer program product provided in this embodiment of the invention, an SCTP link can be created between the source base station and the target base station, and an IP address and operator attributes can be configured for the created SCTP link, thereby completing the SCTP link creation process. Furthermore, when the source base station configures multiple source operators for the first IP address, in the scheme provided in this embodiment of the invention, for each SCTP link, the source base station obtains the target operator identifier contained in the serving cell message sent by the target base station through that SCTP link, and configures the operator attributes of the SCTP link using the second operator attributes of the second operator corresponding to the target operator identifier. The operator attributes configured by the target base station for this SCTP link are the same as the operator attributes of the second operator. Therefore, after the source base station configures the second operator attributes as the operator attributes of the SCTP link, the operator attributes configured by the source base station and the target base station for that SCTP link are the same. If the target base station configures different operator attributes for different SCTP links, the source base station can correspondingly configure different operator attributes for different SCTP links. In contrast, in the prior art, the source base station configures the same operator attributes for different SCTP links. Therefore, in the solution provided by the embodiments of the present invention, when the terminal needs to switch, the source base station can select SCTP links based on different operator attributes, so that the operator attributes of the selected SCTP links include the operator attributes of the terminal. Then the terminal can successfully complete the switch through the selected SCTP links, thereby preventing the terminal from failing to switch base stations.
[0209] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).
[0210] It should be noted that, in this document, relational terms such as "first" and "second" are used only 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 one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0211] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments for the source base station, apparatus, computer-readable storage medium, and computer program product are basically similar to the method embodiments, and therefore the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0212] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.
Claims
1. A method for establishing an SCTP link, characterized in that, Applied to a source base station, the method includes: Obtain the source operator identifier of the source operator using the source base station, the first IP address configured by the source base station for the source operator, and the second IP address configured by the target base station for the source operator; For each first IP address and each second IP address, a Flow Control Transport Protocol (SCTP) link is created between the source base station and the target base station, wherein the IP addresses corresponding to the two ends of the SCTP link are the first IP address and the second IP address, respectively. Determine whether there are multiple first IP addresses and whether the source base station is configured with only one source operator for each first IP address; If so, for each SCTP link, the first operator attribute of the first operator is configured as the operator attribute of the SCTP link, and the creation of the SCTP link is confirmed. The IP address configured by the source base station for the first operator is the first IP address corresponding to the SCTP link. If not, the target base station receives the serving cell message sent through the SCTP link, obtains the target operator identifier contained in the serving cell message, configures the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link, and determines that the SCTP link has been created. The second operator is the operator corresponding to the operator attribute configured by the target base station for the second IP address corresponding to the SCTP link.
2. The method according to claim 1, characterized in that, The step of obtaining the target operator identifier contained in the serving cell message and configuring the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link includes: Determine whether the first information contained in the serving cell message carries multiple operator identifiers, wherein the first information includes: the operator identifier of the operator using the target base station; If multiple operator identifiers are carried, the operator identifier carried in the first information is obtained as the target operator identifier, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link. If an operator identifier is carried, the target operator identifier contained in the serving cell message is obtained, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link.
3. The method according to claim 2, characterized in that, The step of obtaining the target operator identifier contained in the serving cell message and configuring the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link includes: Determine whether the operator identifier carried in the first information is the operator identifier of the contractor, wherein the contractor is the operator that built the source base station; If not, the operator identifier carried in the first information is obtained as the target operator identifier, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link. If so, the target operator identifier contained in the serving cell message is obtained, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link.
4. The method according to claim 3, characterized in that, The step of obtaining the target operator identifier contained in the serving cell message and configuring the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link includes: Determine whether the serving cell message contains second information, wherein the second information includes: the operator identifiers of all operators configured by the target base station for the second IP address corresponding to the SCTP link; If the serving cell message does not contain the second information, the operator identifier carried in the first information is obtained as the target operator identifier, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link. If the serving cell message contains second information, the operator identifier carried in the first and second information is obtained as the target operator identifier, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link.
5. The method according to any one of claims 1-4, characterized in that, Receiving the serving cell message sent by the target base station via the SCTP link includes: Send a first request message to the target base station, receive a response message from the target base station, and use the response message as a serving cell message. The first request message is used to request the creation of a 5G radio access network inter-node interface Xn link, and the response message is a message from the target base station to establish the Xn link in response to the first request message. or, The system receives a second request message sent by the target base station and uses the second request message as a serving cell message. The second request message is used to request the creation of an Xn link, and the response message contains the same operator identifier as the second request message.
6. A source base station, characterized in that, Includes memory, transceiver, and processor: Memory, used to store computer programs; The transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer program in the memory and perform the following operations: Obtain the source operator identifier of the source operator using the source base station, the first IP address configured by the source base station for the source operator, and the second IP address configured by the target base station for the source operator; For each first IP address and each second IP address, a Flow Control Transport Protocol (SCTP) link is created between the source base station and the target base station, wherein the IP addresses corresponding to the two ends of the SCTP link are the first IP address and the second IP address, respectively. Determine whether there are multiple first IP addresses and whether the source base station is configured with only one source operator for each first IP address; If so, for each SCTP link, the first operator attribute of the first operator is configured as the operator attribute of the SCTP link, and the creation of the SCTP link is confirmed. The IP address configured by the source base station for the first operator is the first IP address corresponding to the SCTP link. If not, the target base station receives the serving cell message sent through the SCTP link, obtains the target operator identifier contained in the serving cell message, configures the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link, and determines that the SCTP link has been created. The second operator is the operator corresponding to the operator attribute configured by the target base station for the second IP address corresponding to the SCTP link.
7. The source base station according to claim 6, characterized in that, The step of obtaining the target operator identifier contained in the serving cell message and configuring the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link specifically includes: Determine whether the first information contained in the serving cell message carries multiple operator identifiers, wherein the first information includes: the operator identifier of the operator using the target base station; If multiple operator identifiers are carried, the operator identifier carried in the first information is obtained as the target operator identifier, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link. If an operator identifier is carried, the target operator identifier contained in the serving cell message is obtained, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link.
8. The source base station according to claim 7, characterized in that, The step of obtaining the target operator identifier contained in the serving cell message and configuring the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link specifically includes: Determine whether the operator identifier carried in the first information is the operator identifier of the contractor, wherein the contractor is the operator that built the source base station; If not, the operator identifier carried in the first information is obtained as the target operator identifier, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link. If so, the target operator identifier contained in the serving cell message is obtained, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link.
9. The source base station according to claim 8, characterized in that, The step of obtaining the target operator identifier contained in the serving cell message and configuring the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link specifically includes: Determine whether the serving cell message contains second information, wherein the second information includes: the operator identifiers of all operators configured by the target base station for the second IP address corresponding to the SCTP link; If the serving cell message does not contain the second information, the operator identifier carried in the first information is obtained as the target operator identifier, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link. If the serving cell message contains second information, the operator identifier carried in the first and second information is obtained as the target operator identifier, and the second operator attribute of the second operator corresponding to the target operator identifier is configured as the operator attribute of the SCTP link.
10. The source base station according to any one of claims 6-9, characterized in that, Receiving the serving cell message sent by the target base station via the SCTP link specifically includes: Send a first request message to the target base station, receive a response message from the target base station, and use the response message as a serving cell message. The first request message is used to request the creation of a 5G radio access network inter-node interface Xn link, and the response message is a message from the target base station to establish the Xn link in response to the first request message. or, The system receives a second request message sent by the target base station and uses the second request message as a serving cell message. The second request message is used to request the creation of an Xn link, and the response message contains the same operator identifier as the second request message.
11. An SCTP link establishment device, characterized in that, Applied to a source base station, the device includes: The acquisition module is used to acquire the source operator identifier of the source operator using the source base station, the first IP address configured by the source base station for the source operator, and the second IP address configured by the target base station for the source operator; A creation module is used to create a Flow Control Transmission Protocol (SCTP) link between the source base station and the target base station for each first IP address and each second IP address, wherein the IP addresses corresponding to the two ends of the SCTP link are the first IP address and the second IP address, respectively. The judgment module is used to determine whether there are multiple first IP addresses and whether the source base station is configured with only one source operator for each first IP address; if yes, the first configuration module is triggered to be executed; if no, the second configuration module is triggered to be executed. The first configuration module is used to configure the first operator attribute of the first operator as the operator attribute of the SCTP link for each SCTP link, and determine that the SCTP link has been created. The IP address configured by the source base station for the first operator is the first IP address corresponding to the SCTP link. The second configuration module is used to receive the serving cell message sent by the target base station through the SCTP link, obtain the target operator identifier contained in the serving cell message, configure the second operator attribute of the second operator corresponding to the target operator identifier as the operator attribute of the SCTP link, and determine that the SCTP link has been created. The second operator is the operator corresponding to the operator attribute configured by the target base station for the second IP address corresponding to the SCTP link.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method described in any one of claims 1-5.
Citation Information
Patent Citations
Method and apparatus for transmitting s1AP signaling
US20190239282A1
Data transmission method, device and system
WO2012106899A1