A communication method and apparatus
By establishing a communication connection between base stations and setting up corresponding XnAP channels for different operators, the problems of resource waste and high maintenance costs when transmitting data from different operators between base stations are solved, achieving efficient resource utilization and simplified maintenance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-20
- Publication Date
- 2026-03-17
AI Technical Summary
When transmitting data from different operators between base stations, existing technologies require the establishment of multiple XnAP channels and SCTP connections, resulting in a waste of IP address and port number resources and high maintenance costs.
A communication connection is established between base stations, and corresponding XnAP channels are established for different operators based on this connection. Data from different operators is transmitted through different XnAP channels, and each XnAP channel is managed and maintained independently.
It effectively saves IP address and port number resources, avoids the problem of high maintenance complexity, and reduces the resource consumption and maintenance cost of base stations.
Smart Images

Figure CN115988680B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a communication method and apparatus. Background Technology
[0002] In the current telecommunications field, due to the high cost of independently building networks, multiple operators typically share network resources. Network resources include network infrastructure, network equipment, and spectrum resources. Infrastructure includes facilities such as data centers, sites, power supply equipment, and towers, while network equipment includes base stations and core network equipment. Two base stations exchange signaling information via the Xn Application Protocol (XnAP) interface. An XnAP channel established through this interface includes the Public Land Mobile Network (PLMN), base station ID, base station ID length, Internet Protocol (IP) address, and port number. However, because different operators have different PLMNs and base station IDs, a single XnAP channel cannot support data interoperability between two different operators.
[0003] In related technologies, if two base stations support data interoperability between multiple operators, it is generally necessary to establish multiple XnAP channels, which in turn requires the establishment of multiple Stream Control Transmission Protocol (SCTP) connections. This results in high connection maintenance costs and excessive equipment resource consumption. Summary of the Invention
[0004] This application provides a communication method and apparatus to solve the problem of wasted IP address and port number resources caused by base stations transmitting data from different providers through different communication connections.
[0005] Firstly, this application proposes a communication method, including:
[0006] The target operator to which the data to be sent belongs is determined, and the second base station indicated by the destination address of the data to be sent is determined; the communication connection between the first base station and the second base station is associated with multiple Xn Application Protocol (XnAP) channels; wherein, the multiple XnAP channels are used to transmit data from different operators;
[0007] Determine the target XnAP channel corresponding to the target operator from the plurality of XnAP channels;
[0008] The data to be transmitted is sent to the second base station through the target XnAP channel.
[0009] In some embodiments, after determining the target XnAP channel corresponding to the target operator, the method further includes:
[0010] Obtain the identifier of the target operator corresponding to the stored target XnAP channel;
[0011] The step of sending the data to be sent to the second base station through the target XnAP channel specifically includes:
[0012] The data to be sent is encapsulated using the identifier of the target operator;
[0013] The encapsulated data to be transmitted is sent to the second base station.
[0014] In some embodiments, the method further includes:
[0015] The first base station and the second base station also include a backup communication connection; when it is determined that the communication connection is broken, communication is carried out with the second base station through the backup communication connection.
[0016] In some embodiments, the communication connection is established in the following manner:
[0017] When it is determined that the destination address of the data to be sent indicates the second base station, and no communication connection with the second base station is found, a communication request is sent to the second base station; the communication request is used to request the second base station to establish the communication connection and a backup communication connection;
[0018] Receive response information returned by the second base station; the response information is used to indicate that the communication connection and the backup communication connection have been successfully established.
[0019] In some embodiments, the target XnAP channel is established in the following manner:
[0020] When it is determined that the target XnAP channel is not included among the plurality of XnAP channels, a request is made to the second base station through the communication connection to establish the target XnAP channel;
[0021] Based on the request response returned by the second base station, it is determined that the target XnAP channel has been successfully established with the second base station, and the association between the target XnAP channel and the communication connection is recorded.
[0022] In some embodiments, the method further includes:
[0023] When the number of XnAP channels associated with the communication connection is determined to be zero, the communication connection is deleted. Secondly, this application proposes a communication apparatus, which is applied to a first base station, or the apparatus is a first base station, the apparatus comprising:
[0024] The processing unit is configured to determine the target operator to which the data to be sent belongs, and to determine the second base station indicated by the destination address of the data to be sent; the communication connection between the first base station and the second base station is associated with multiple Xn Application Protocol (XnAP) channels; wherein, the multiple XnAP channels are used to transmit data from different operators;
[0025] The processing unit is further configured to determine, from the plurality of XnAP channels, a target XnAP channel corresponding to the target operator;
[0026] A communication unit is used to send the data to be sent to the second base station through the target XnAP channel.
[0027] In some embodiments, after determining the target XnAP channel corresponding to the target operator, the method further includes:
[0028] Obtain the identifier of the target operator corresponding to the stored target XnAP channel;
[0029] The data to be sent is encapsulated using the identifier of the target operator;
[0030] When the communication unit sends the data to be sent to the second base station through the target XnAP channel, it is specifically used for:
[0031] The encapsulated data to be transmitted is sent to the second base station.
[0032] In some embodiments, a backup communication connection is further included between the first base station and the second base station; when it is determined that the communication connection is disconnected, the communication unit communicates with the second base station through the backup communication connection.
[0033] In some embodiments, the communication unit is further configured to:
[0034] When it is determined that the destination address of the data to be sent indicates the second base station, and no communication connection with the second base station is found, a communication request is sent to the second base station; the communication request is used to request the second base station to establish the communication connection and a backup communication connection;
[0035] Receive response information returned by the second base station; the response information is used to indicate that the communication connection and the backup communication connection have been successfully established.
[0036] In some embodiments, the communication unit is further configured to request the establishment of the target XnAP channel from the second base station via the communication connection when it is determined that the target XnAP channel is not included among the plurality of XnAP channels;
[0037] The processing unit is further configured to determine, based on the request response returned by the second base station, that the target XnAP channel has been successfully established with the second base station, and to record the association between the target XnAP channel and the communication connection.
[0038] In some embodiments, the processing unit is further configured to:
[0039] The communication connection is deleted when it is determined that the number of XnAP channels associated with the communication connection is zero.
[0040] Thirdly, an electronic device is provided, comprising a controller and a memory. The memory stores computer-executable instructions, and the controller executes the computer-executable instructions in the memory to perform operational steps of any possible implementation of the method of the first aspect using hardware resources in the controller.
[0041] Fourthly, a computer-readable storage medium is provided, which stores instructions that, when executed on a computer, cause the computer to perform the methods described above.
[0042] Based on the above scheme, this application proposes establishing a communication connection when transmitting data between any two base stations, and establishing corresponding XnAP channels for different operators based on this communication connection. Data from different operators can be transmitted through different XnAP channels, thereby enabling the transmission of data from multiple operators between two base stations through a single communication connection. Compared to the prior art of transmitting data from different operators through multiple communication connections, the scheme of this application effectively saves IP address and port number resources. Furthermore, independently managing and maintaining the XnAP channel corresponding to each operator also avoids the problem of high complexity in maintaining a single XnAP channel. Attached Figure Description
[0043] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application.
[0044] Figure 1 This application provides a schematic diagram of the architecture of a communication system.
[0045] Figure 2 A flowchart of a communication method provided in an embodiment of this application;
[0046] Figure 3 A flowchart illustrating another communication method provided in this application embodiment;
[0047] Figure 4 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application;
[0048] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0049] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments of this application. Obviously, the described embodiments are only some embodiments of the technical solutions of this application, and not all embodiments. Based on the embodiments recorded in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the technical solutions of this application.
[0050] The terms "first" and "second" in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the term "comprising" and any variations thereof are intended to cover non-exclusive protection. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices. The term "multiple" in this application can mean at least two, for example, two, three, or more, and the embodiments of this application do not impose limitations.
[0051] Furthermore, the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article, unless otherwise specified, generally indicates that the preceding and following related objects have an "or" relationship.
[0052] To facilitate understanding of the proposed solution, the technical background of this application will be introduced first. See [link to relevant documentation]. Figure 1 This is an architecture diagram of a communication system provided in an embodiment of this application. It should be understood that the embodiments of this application are not limited to... Figure 1 The system shown. For example... Figure 1 As shown, the system architecture provided in this application embodiment includes a terminal and a base station. It should be noted that... Figure 1This application does not limit the number of terminals and base stations included in the communication system, but only as an example. For ease of description, Figure 1 The example shows two terminals and two base stations. Additionally, the communication system may also include core network equipment. Figure 1 Not shown in the image. For example, Figure 1 The core network equipment not shown may include the Access and Mobility Management Function (AMF), the Session Management Function (SMF), etc.
[0053] User equipment (UE), also known as terminal equipment, mobile station (MS), or mobile terminal (MT), is a device that provides voice and / or data connectivity to users. Examples include handheld devices with wireless connectivity and in-vehicle devices. Currently, some examples of terminals include: mobile phones, tablets, laptops, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, and wireless terminals in smart homes.
[0054] The first and second base stations involved in this application embodiment are public mobile communication base stations, which are interface devices for mobile terminals to access the Internet. Figure 1The base station shown may be an evolved Node B (eNB or eNodeB) in a Long Term Evolution (LTE) system, or a Next Generation Node B (gNB) in a 5G mobile communication system; this application does not limit it to either.
[0055] During the communication process between the first base station and the second base station, a communication connection needs to be established between them first to transmit data. Optionally, when establishing the communication connection, the first and second base stations can obtain each other's port numbers and define the transport layer protocol used for data transmission through information exchange. Then, when transmitting data through the communication connection, the data can be encapsulated using the obtained port number of the other base station and the defined transport layer protocol, and the encapsulated data can be sent to the other base station.
[0056] Furthermore, in the field of communications, due to the high costs of spectrum licenses and network deployment faced by operators building their own networks independently, the concept of multi-operator network sharing has been proposed in current communication systems, such as 5G mobile communication systems. Multi-operator sharing refers to any degree of cooperation or sharing of network infrastructure, network equipment, and spectrum resources among multiple operators (or third-party suppliers), such as multiple operators jointly building base stations, core networks, and other network equipment. For example, if the aforementioned first and second base stations are shared by multiple operators, then data from these multiple operators can be transmitted between the first and second base stations. When transmitting data from different operators, the first and second base stations need to transmit through different XnAP channels. Therefore, before transmitting data, the first and second base stations need to establish an XnAP channel between them to transmit data from different operators. For example, when establishing an XnAP channel between the first and second base stations for any operator, the two base stations can obtain data such as the base station ID, base station ID length, and PLMN for that operator's peer base station through information exchange, and define the application layer protocol used for data transmission, such as Hypertext Transfer Protocol (HTTP). Therefore, when transmitting data from either operator between the first base station and the second base station, the acquired data and the negotiated protocol can be used to encapsulate the data to be transmitted before sending it to the other base station.
[0057] An XnAP channel includes a PLMN, base station ID, base station ID length, IP address, and port number. However, different operators have different PLMNs and base station IDs; for example, the base station IDs of the first base station are different for operators A and B. Therefore, an XnAP channel established between two base stations cannot support data interoperability between more than two different operators. Therefore, two solutions have been proposed in related technologies:
[0058] Option 1: Solve the multi-carrier data interoperability problem by establishing multiple XnAP channels between the two base stations. For example, using... Figure 1 Taking the first base station and the second base station shown as examples, the first base station is set to support the transmission of data from operator A and operator B, and the second base station also supports the transmission of data from operator A and operator B. Therefore, when establishing the XnAP channel between the first base station and the second base station, two XnAP channels need to be established, namely: operator A of the first base station → operator A of the second base station, and operator B of the first base station → operator B of the second base station.
[0059] However, while Scheme 1 can solve the problem of multi-carrier data interoperability between two base stations, it requires establishing SCTP connections for each of the multiple established XnAP channels. Each SCTP connection requires an IP address and port number, resulting in resource issues related to IP addresses and port numbers, as well as high maintenance costs for the base stations, consuming their processing and memory resources. Therefore, this application proposes that after establishing an SCTP connection between the first and second base stations, different XnAP channels are established for different carriers, and the association between the established XnAP channels and the SCTP connection is recorded. This allows data from different carriers to be transmitted through different XnAP channels. Compared to Scheme 1, this application's scheme does not require establishing multiple SCTP channels; instead, it establishes multiple XnAP channels based on a single SCTP channel, thus solving the problem of wasted IP address and port number resources.
[0060] Option 2: Support data from multiple operators simultaneously through a single XnAP channel. Option 2, using a single XnAP channel, increases the complexity of the XnAP data logic and makes maintenance more complicated. It also requires secondary analysis of transmitted packets to determine which operator they belong to. Furthermore, some XnAP channels currently cannot distinguish between operators, thus failing to prevent data interoperability issues between base stations from different operators. Therefore, this application proposes establishing different XnAP channels for different operators, allowing data from different operators to be transmitted through different XnAP channels. Compared to Option 2, this application's solution establishes multiple XnAP channels based on the number of operators, independently managing and maintaining each XnAP channel, thus avoiding the high complexity of maintaining a single XnAP channel in Option 2.
[0061] Below, in conjunction with Figure 1 The communication system shown illustrates the communication method proposed in this application. See also... Figure 2 This is a flowchart of a communication method provided in an embodiment of this application. Optionally, the method flowchart can be... Figure 1 The system shown is executed by either a first base station or a second base station. For ease of description, in Figure 2 The lieutenant general will use the first base station as an example to illustrate the process. Figure 2 The method flow shown specifically includes:
[0062] 201. The first base station determines the target operator to which the data to be sent belongs, and determines the second base station indicated by the destination address of the data to be sent.
[0063] Optionally, the data to be sent may be data forwarded by the first base station, and the first base station can determine the destination address and the operator to which the data belongs based on the header of the data to be sent.
[0064] 202, the first base station queries the target XnAP channel corresponding to the target operator from multiple XnAP channels associated with the communication connection between the first base station and the second base station.
[0065] The multiple XnAP channels associated with the communication connection correspond to different operators and are used to transmit data from different operators.
[0066] Optionally, the communication connection can be established when the first base station and the second base station first transmit data. Based on this communication connection, XnAP channels corresponding to different operators are established, and the communication connection and the association between multiple XnAP channels are recorded. For example, multiple XnAP channels associated with the communication connection to the second base station can be stored in a table. Different XnAP channels are used to transmit data from different operators, and different operator identifiers (such as the ID of the second base station, the ID length of the second base station, and the PLMN of the second base station) can be used to distinguish different XnAP channels. It should be noted that the ID of the second base station, the ID length of the second base station, and the PLMN of the second base station are different for different operators. Therefore, this application proposes to use operator identifiers to distinguish different operator XnAP channels when recording XnAP channels of different operators.
[0067] After determining the target operator to which the data to be transmitted belongs, the first base station can query the target XnAP channel corresponding to the target operator from multiple XnAP channels associated with the recorded communication connection. In one possible query method, when storing the multiple XnAP channels associated with the communication connection between the first base station and the second base station, the first base station can also mark the name of the operator corresponding to each XnAP channel. When querying the XnAP channel of the target operator, the query can be performed by name. In another possible query method, since the PLMNs corresponding to different operators are publicly known, the first base station can query based on the PLMN included in the stored operator identifiers.
[0068] 203. The first base station sends the data to be sent to the second base station through the target XnAP channel.
[0069] In one possible implementation, after the first base station locates the target XnAP channel, it can obtain the identifier of the target operator corresponding to the target XnAP channel from the storage, such as the PLMN, base station ID, and base station ID length of the second base station for the target operator. The first base station can encapsulate the data to be transmitted based on the obtained identifier of the target operator, and send the encapsulated data to the second base station through a pre-established communication connection with the second base station.
[0070] Based on the above scheme, this application proposes establishing a single communication connection when transmitting data between any two base stations. Based on this communication connection, corresponding XnAP channels are established for different operators. Data from different operators can be transmitted through different XnAP channels, thus enabling the transmission of data from multiple operators between two base stations via a single communication connection. Compared to the prior art of transmitting data through multiple communication connections, this application's scheme effectively saves IP address and port number resources. Furthermore, independently managing and maintaining the XnAP channel corresponding to each operator avoids the difficulty of maintaining a single XnAP channel.
[0071] In one possible scenario, if the first base station fails to find the target XnAP channel among multiple XnAP channels during step 202, it can request the establishment of the target XnAP channel from the second base station via the communication connection and record the association between the successfully established target XnAP channel and the communication connection. The process of establishing a target XnAP channel between the first and second base stations is described below:
[0072] Optionally, when requesting to establish a target XnAP channel, the first base station may send a channel establishment request to the second base station, which may carry the identifier of the target operator corresponding to the first base station, such as the PLMN, base station ID, and base station ID length for the first base station of the target operator. After receiving the channel establishment request, the second base station may return a request response to the first base station. The request response indicates that the target XnAP channel has been successfully established with the first base station, and the request response carries the identifier of the target operator corresponding to the second base station, such as the PLMN, base station ID, and base station ID length for the second base station of the target operator. After receiving the request response, the first base station can determine that the target XnAP channel with the second base station has been successfully established. Optionally, the first base station may store the identifier of the target operator corresponding to the second base station and record the association between the target XnAP channel and the communication connection.
[0073] After successfully establishing the target XnAP channel, data from the target operator can be transmitted to the second base station via the target XnAP channel. For example, the first base station can encapsulate the data using the identifier of the target operator corresponding to the target XnAP channel, and then send the encapsulated data to the second base station through the communication connection between the first and second base stations.
[0074] The process of establishing a communication connection between the first base station and the second base station is described below. Optionally, the first base station may send a communication request to the second base station if it determines that the destination address of the data to be transmitted indicates the second base station and no communication connection with the second base station is found. This communication request is used to request the establishment of a communication connection with the second base station. After receiving the communication request, the second base station may return response information to the first base station, indicating that the communication connection between the first and second base stations has been successfully established.
[0075] Optionally, a backup communication connection can also be established between the first base station and the second base station for use when the communication connection is lost. The method for creating the backup communication connection is described in the above-described communication connection creation process and will not be repeated here. After the communication connection between the first base station and the second base station is successfully established, multiple XnAP channels corresponding to different operators can be established based on this communication connection, and the association between the established XnAP channels and the communication connection is recorded. The specific process for establishing XnAP channels based on the communication connection is described in the above embodiments and will not be repeated here. In some embodiments, if a backup communication connection exists, when establishing an XnAP channel for a certain operator based on the communication connection, an XnAP channel for that operator can also be established based on the backup communication connection, and the association between the established XnAP channel and the backup communication connection is recorded. Similarly, if communication is performed using the communication connection, multiple XnAP channels associated with the communication connection can be queried, and one can be selected for data transmission. If communication is performed using the backup communication connection, multiple XnAP channels associated with the backup communication connection can be queried, and one can be selected for data transmission.
[0076] In some embodiments, to maintain and manage the XnAP channel, the first base station and the second base station may periodically transmit keep-alive messages through the XnAP channel. When the first base station determines that the keep-alive message transmission is abnormal, for example, if it has not received a keep-alive message from the second base station within a set number of periods, it can set the corresponding XnAP channel to a disconnected state. In some possible cases, such as when the first base station and the second base station no longer need to transmit data from the target operator, the XnAP channel corresponding to the target operator that is set to a disconnected state can be deleted.
[0077] Optionally, the first base station may also acquire recorded XnAP channels that are associated with the communication connection of the second base station. When it is determined that the number of acquired XnAP channels is zero, that is, when all XnAP channels established based on the communication connection are deleted, the communication connection with the second base station is deleted.
[0078] The following describes the process of establishing communication connections between base stations, establishing XnAP channels, and transmitting data, using specific embodiments as examples. Continuing with the example of the first and second base stations, see [link to relevant documentation]. Figure 3 Here is a flowchart of a communication method proposed in an embodiment of this application, which specifically includes:
[0079] 301, The first base station determines the second base station indicated by the destination address of the data to be sent.
[0080] 302. When the first base station determines that there is no communication connection between it and the second base station, it sends a communication request to the second base station.
[0081] The communication request is used to request the establishment of a communication connection with the second base station.
[0082] 303, The second base station receives the communication request and returns response information to the first base station.
[0083] The response information indicates that the communication connection between the first base station and the second base station has been successfully established.
[0084] 304. The first base station receives the response information and determines the operator A to which the data to be sent belongs.
[0085] 305. The first base station sends a channel request to the second base station through the communication connection.
[0086] The channel request is used to request the establishment of an XnAP channel corresponding to operator A, and the channel request carries the identifier of operator A corresponding to the first base station.
[0087] 306, The second base station receives the channel request and returns a request response to the first base station.
[0088] The request response is used to indicate that the XnAP channel for transmitting data of operator A between the first base station and the second base station has been successfully established, and the request response carries the identifier of operator A corresponding to the second base station.
[0089] Optionally, the second base station may also store the identifier of operator A corresponding to the first base station carried in the channel request, for subsequent transmission of operator A data with the first base station.
[0090] 307. The first base station receives the request response, encapsulates the data to be sent using the identifier of operator A corresponding to the second base station, and sends the encapsulated data to the second base station.
[0091] Based on the same concept as the method described above, see [link to relevant documentation]. Figure 4This application provides a communication device 400 for implementing the various steps in the above method. To avoid repetition, these steps will not be described again here. The device 400 includes a processing unit 401 and a communication unit 402.
[0092] Processing unit 401 is used to determine the target operator to which the data to be sent belongs, and to determine the second base station indicated by the destination address of the data to be sent; the communication connection between the first base station and the second base station is associated with multiple Xn Application Protocol (XnAP) channels; wherein, the multiple XnAP channels are used to transmit data from different operators respectively;
[0093] The processing unit 401 is further configured to determine, from the plurality of XnAP channels, a target XnAP channel corresponding to the target operator;
[0094] The communication unit 402 is used to send the data to be sent to the second base station through the target XnAP channel.
[0095] In some embodiments, after determining the target XnAP channel corresponding to the target operator, the processing unit 401 further includes the following method:
[0096] Obtain the identifier of the target operator corresponding to the stored target XnAP channel;
[0097] The data to be sent is encapsulated using the identifier of the target operator;
[0098] When the communication unit 402 sends the data to be sent to the second base station through the target XnAP channel, it is specifically used for:
[0099] The encapsulated data to be transmitted is sent to the second base station.
[0100] In some embodiments, a backup communication connection is further included between the first base station and the second base station; when it is determined that the communication connection is disconnected, the communication unit 402 communicates with the second base station through the backup communication connection.
[0101] In some embodiments, the communication unit 402 is further configured to:
[0102] When it is determined that the destination address of the data to be sent indicates the second base station, and no communication connection with the second base station is found, a communication request is sent to the second base station; the communication request is used to request the second base station to establish the communication connection and a backup communication connection;
[0103] Receive response information returned by the second base station; the response information is used to indicate that the communication connection and the backup communication connection have been successfully established.
[0104] In some embodiments, the communication unit 402 is further configured to request the establishment of the target XnAP channel from the second base station via the communication connection when it is determined that the target XnAP channel is not included among the plurality of XnAP channels;
[0105] The processing unit 401 is further configured to determine, based on the request response returned by the second base station, that the target XnAP channel has been successfully established with the second base station, and to record the association between the target XnAP channel and the communication connection.
[0106] In some embodiments, the processing unit 401 is further configured to:
[0107] The communication connection is deleted when it is determined that the number of XnAP channels associated with the communication connection is zero.
[0108] Figure 5 A schematic diagram of the structure of an electronic device 500 provided in an embodiment of this application is shown. The electronic device 500 in this embodiment may further include a communication interface 503, such as a network port, through which the electronic device can transmit data. For example, the communication interface 503 can achieve the above-mentioned... Figure 4 The function of the communication unit 402 is to transmit data with the second base station.
[0109] In this embodiment, the memory 502 stores instructions that can be executed by at least one controller 501. By executing the instructions stored in the memory 502, the at least one controller 501 can perform various steps in the above-described method. For example, the controller 501 can implement the above-described... Figure 4 The function of the processing unit 401 in the middle.
[0110] The controller 501 is the control center of the electronic device, capable of connecting various parts of the device via various interfaces and lines. It executes instructions stored in the memory 502 and retrieves data stored in the memory 502. Optionally, the controller 501 may include one or more processing units. The controller 501 may integrate an application controller and a modem controller. The application controller primarily handles the operating system and applications, while the modem controller primarily handles wireless communication. It is understood that the modem controller may not be integrated into the controller 501. In some embodiments, the controller 501 and the memory 502 may be implemented on the same chip; in other embodiments, they may be implemented on separate chips.
[0111] Controller 501 can be a general-purpose controller, such as a central processing unit (CPU), digital signal controller, application-specific integrated circuit, field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose controller can be a microcontroller or any conventional controller. The steps performed by the data statistics platform disclosed in the embodiments of this application can be directly executed by the hardware controller, or executed by a combination of hardware and software modules within the controller.
[0112] Memory 502, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. Memory 502 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic memory, magnetic disk, optical disk, etc. Memory 502 can be any other medium capable of carrying or storing desired program code in the form of instructions or data structures that can be accessed by a computer, but is not limited thereto. In the embodiments of this application, memory 502 can also be a circuit or any other device capable of implementing storage functions for storing program instructions and / or data.
[0113] By designing and programming the controller 501, for example, the code corresponding to the neural network model training method described in the foregoing embodiments can be embedded into the chip, so that the chip can execute the steps of the aforementioned neural network model training method when running. How to design and program the controller 501 is a technique known to those skilled in the art, and will not be described in detail here.
[0114] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0115] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a controller of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions, which execute via the controller of the computer or other programmable data processing device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0116] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0117] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0118] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.
[0119] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A communication method characterized by comprising: The method is applied to a first base station, and comprises: determining a target operator to which to-be-sent data belongs, and determining a second base station indicated by a destination address of the to-be-sent data; a communication connection is included between the first base station and the second base station, and the communication connection is associated with a plurality of Xn application protocol (XnAP) channels; wherein the plurality of XnAP channels are respectively used for transmitting data of different operators; determining a target XnAP channel corresponding to the target operator from the plurality of XnAP channels associated with the communication connection; sending the to-be-sent data to the second base station through the target XnAP channel.
2. The method of claim 1, wherein, After determining the target XnAP channel corresponding to the target operator, the method further comprises: obtaining an identifier of the target operator corresponding to the target XnAP channel stored in advance; the sending of the to-be-sent data to the second base station through the target XnAP channel specifically comprises: encapsulating the to-be-sent data by using the identifier of the target operator; sending the encapsulated to-be-sent data to the second base station.
3. The method according to claim 1 or 2, characterized in that, The method further comprises: the first base station and the second base station further include a backup communication connection; when it is determined that the communication connection is disconnected, the first base station communicates with the second base station through the backup communication connection.
4. The method according to claim 1 or 2, characterized in that, The communication connection is established in the following manner: when it is determined that the destination address of the to-be-sent data indicates the second base station and no communication connection between the first base station and the second base station is queried, a communication request is sent to the second base station; the communication request is used for requesting the second base station to establish the communication connection and the backup communication connection; response information returned by the second base station is received; the response information is used for indicating that the communication connection and the backup communication connection are successfully established.
5. The method according to claim 1 or 2, characterized in that, The target XnAP channel is established in the following manner: when it is determined that the target XnAP channel is not included in the plurality of XnAP channels, the first base station requests the second base station to establish the target XnAP channel through the communication connection; according to a request response returned by the second base station, it is determined that the target XnAP channel is successfully established with the second base station, and an association relationship between the target XnAP channel and the communication connection is recorded.
6. The method of claim 1 or 2, wherein, The method further comprises: when it is determined that the number of XnAP channels associated with the communication connection is zero, the communication connection is deleted.
7. A communication device, characterized by The device is applied to a first base station, or the device is a first base station, and the device comprises: a processing unit configured to determine a target operator to which to-be-sent data belongs, and determine a second base station indicated by a destination address of the to-be-sent data; a communication connection is included between the first base station and the second base station, and the communication connection is associated with a plurality of Xn application protocol (XnAP) channels; wherein the plurality of XnAP channels are respectively used for transmitting data of different operators; the processing unit is further configured to determine a target XnAP channel corresponding to the target operator from the plurality of XnAP channels associated with the communication connection; a communication unit configured to send the to-be-sent data to the second base station through the target XnAP channel.
8. The apparatus of claim 7, wherein, The processing unit, after determining the target XnAP channel corresponding to the target operator, obtain the stored identifier of the target operator corresponding to the target XnAP channel; encapsulate the to-be-sent data using the identifier of the target operator; The communication unit, when sending the to-be-sent data to the second base station through the target XnAP channel, is specifically used for: sending the encapsulated to-be-sent data to the second base station.
9. An electronic device, comprising: The electronic device includes a controller and a memory, The memory is used to store computer programs or instructions; The controller is used to execute the computer programs or instructions in the memory, so that the method of any one of claims 1-6 is executed.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer executable instructions, and the computer executable instructions make the computer execute the method of any one of claims 1-6 when the computer calls the computer executable instructions.
Citation Information
Patent Citations
Data transmission method, advice and system
CN102318396A