Disclosure of Invention
The embodiment of the invention provides a data transmission method, which is used for solving the problem that the cost for collecting information and monitoring the state of a base station by using a master control network element in the prior art is high.
The embodiment of the invention provides a data transmission method, which comprises the following steps:
the master base station establishes at least one connection with the slave base station; the master base station is connected with a core side, and the core side is network equipment for configuring the slave base station through the master base station;
the master base station acquires monitoring information of the slave base station from the slave base station through the at least one connection, wherein the monitoring information comprises at least one of data plane information and signaling plane information.
Optionally, after the master base station establishes at least one connection with the slave base station, the method further includes:
the at least one connection comprises a first user datagram protocol, UDP, connection;
the master base station transmits core side parameters to the slave base station through the first UDP connection; the core side parameters comprise an IP address of a core network server and a port of the core network server; the core network server is a network device in a return network for receiving the data plane information and the signaling plane information.
Optionally, the master base station, through the at least one connection, acquires data plane information and signaling plane information from the slave base station, including:
the at least one connection further comprises a second UDP connection and an S1 connection;
the master base station receives the data packet sent by the slave base station through the second UDP connection and the S1 connection;
the master base station acquires at least one data packet of which the destination address is the IP address of the core network server and the destination port is the port of the core network server in the data packets sent by the slave base station;
the master base station takes a data packet acquired through the second UDP connection in the at least one data packet as the data plane information;
and the master base station takes the data packet acquired through the connection of the S1 in the at least one data packet as the signaling plane information.
Optionally, the method further includes:
the master base station acquires the log information and the communication index of the slave base station through the first UDP connection;
and the master base station performs data analysis on the log information and the communication index of the slave base station, and determines whether the slave base station is in an abnormal state according to the result of the data analysis.
Optionally, the method further includes:
and if the master base station determines that the slave base station is in an abnormal state, the master base station disconnects the at least one connection.
The embodiment of the invention constructs a master base station and a slave base station system, wherein the master base station is a base station connected with a core side, at least one connection is established between the master base station and the slave base station, the master base station collects monitoring information of the slave base station through the at least one connection, and the monitoring of the slave base station is realized through data plane information and/or signaling plane information acquired from the slave base station. Therefore, under the condition that no additional equipment is needed, the main base station can complete information collection and monitoring of the slave base stations, so that the flexibility of base station deployment is improved, and the deployment cost of the base stations is saved.
An embodiment of the present invention further provides a data transmission device, including:
a processing module for establishing at least one connection with a slave base station; the device is connected with a core side, and the core side is network equipment which configures the slave base station through the device;
and the data transmission module is used for acquiring the monitoring information of the slave base station from the slave base station through the at least one connection, wherein the monitoring information comprises at least one of data plane information and signaling plane information.
Optionally, the data transmission module is further configured to:
the at least one connection comprises a first user datagram protocol, UDP, connection;
sending core side parameters to the slave base station through the first UDP connection; the core side parameters comprise an IP address of a core network server and a port of the core network server; the core network server is a network device in a return network for receiving the data plane information and the signaling plane information.
Optionally, the data transmission module is specifically configured to:
the at least one connection further comprises a second UDP connection and an S1 connection;
receiving the data packet transmitted from the base station through the second UDP connection and the S1 connection;
acquiring at least one data packet of which the destination address is the IP address of the core network server and the destination port is the port of the core network server in the data packet sent by the slave base station;
taking a data packet acquired through the second UDP connection in the at least one data packet as the data plane information;
and taking the data packet obtained through the S1 connection in the at least one data packet as the signaling plane information.
Optionally, the data transmission module is further configured to:
acquiring log information and communication indexes of the slave base station through the first UDP connection;
the processing module is further configured to:
and performing data analysis on the log information and the communication index of the slave base station, and determining whether the slave base station is in an abnormal state according to the result of the data analysis.
Optionally, the processing module is further configured to:
and if the slave base station is determined to be in an abnormal state, disconnecting the at least one connection.
Detailed Description
In order to better understand the technical solutions, the technical solutions will be described in detail below with reference to the drawings and the specific embodiments of the specification, and it should be understood that the embodiments and specific features of the embodiments of the present invention are detailed descriptions of the technical solutions of the present invention, and are not limitations of the technical solutions of the present invention, and the technical features of the embodiments and examples of the present invention may be combined with each other without conflict.
The embodiments of the present invention will be described in further detail with reference to the drawings attached hereto.
Fig. 1 is a schematic diagram of a system corresponding to the data transmission method according to an embodiment of the present invention.
A mobile communication network refers to a communication medium that enables communication between a mobile user and a fixed-point user or between mobile users. A mobile communication network is one type of communication network. Common mobile communication networks include two-way conversational cellular public mobile communication, one-way or two-way conversational private mobile communication, one-way reception radio paging, home cordless phones, and wireless local subscriber loops. A mobile communications network includes one or more base stations.
A base station, i.e., a public mobile communication base station, is a form of a radio station, which is a radio transceiver station for information transfer with a mobile phone terminal through a mobile communication switching center in a certain radio coverage area. Communication between user terminals, such as communication between mobile phones, must be completed by the base station. The communication process described above involves two types of data, one being signalling plane data and one being user plane data. The signaling plane data contains signaling and is responsible for the connection of a communication process and the establishment of a data path; the data plane data includes non-instruction service data, such as video, web page data, etc., and these 2 kinds of data are processed by the program in the signaling plane and the data plane, respectively.
Data transmission between the base station and the user terminal and between the base station and the user terminal are required to follow certain rules. The core network server is the communication rule manager and is also the manager of the base stations. The backhaul network is a network for connecting the base station with the core network server.
Fig. 1 is a schematic architecture diagram of a mobile communication network according to an embodiment of the present invention. The mobile communication network in fig. 1 comprises three parts: backhaul network, 1 master base station, N slave base stations. The master base station and the slave base station are two different types of base stations. The main base station is directly connected with a core Network server in the backhaul Network through a Packet Transport Network (PTN). Physically adjacent base stations are directly connected through a network cable, such as the slave base station 1 and the master base station, and the slave base station 1 and the slave base station 2 in fig. 1. The slave base station 3 and the slave base station N may be adjacent to each other or may have another base station in between, and therefore, the indirect connection via the network line is indicated by a dotted line. If one slave base station does not have a communication link directly connected with the master base station, data transmission with the master base station through other base stations is required. For example, data transmission between the slave base station 3 and the master base station needs to be completed by the slave base station 1 and the slave base station 2. Data transmitted from the base station to the master base station is referred to as uplink data, and data transmitted from the master base station to the slave base station is referred to as downlink data.
Based on the architecture shown in fig. 1, a data transmission method provided in the present application is illustrated, and fig. 2 is a flowchart of the data transmission method in the embodiment of the present application, and will be specifically described in detail with reference to a timing chart corresponding to the data transmission method in the embodiment of the present application, that is, fig. 3.
Step 201: the master base station establishes at least one connection with the slave base station.
Step 202: and the master base station acquires at least one of the data plane information and the signaling plane information from the slave base station through the at least one connection.
Before step 201, as shown in fig. 3, the slave base station 1 first dynamically acquires the IP address of the master base station.
In step 201, the master base station is connected to a core side, where the core side is a network device that configures the slave base station through the master base station; the master base station is configured to acquire monitoring information of the slave base station, where the monitoring information includes at least one of: alarm information, heartbeat information and log information; the monitoring information is divided into data plane information and signaling plane information.
The at least one connection established by the master base station and the slave base station may be one or more of a first User Datagram Protocol (UDP) connection, a second UDP connection, and an S1 connection, and in addition, the at least one connection is not limited to the above-mentioned connections.
For each connection, the slave base station first sends a request message to the master base station. The master base station confirms whether the slave base station corresponding to the request message is allowed to establish a first UDP connection, a second UDP connection, an S1 connection and the like with the master base station. For example, the number of connections between the master base station and the slave base station has an upper limit value, and if the number of connections does not reach the upper limit value, the establishment is allowed, otherwise, the establishment is not allowed. If any one or more connections are not successfully established, the process is ended. Wherein each of the at least one connections is independent of the other. The slave base station sends a request message over the network and the master base station establishes at least one connection by replying.
It should be noted that the process of establishing the connection between the master base station and the slave base station is implemented by software. Wherein, the slave base station is at least provided with base station function software and data forwarding software. Besides the base station function software and the data forwarding software, the main base station also at least installs Operation, Administration and Maintenance (OAM) convergence management software, data plane convergence management software and signaling plane convergence management software. The base station function software is used for realizing the most basic functions of the base station: the method comprises the steps of establishing a cell, wherein an area covered by a wireless signal in mobile communication is called as a cell, generally refers to a range covered by a signal of a base station, and the established cell transmits the wireless signal and then performs data transmission with a user terminal. And the data forwarding software is used for realizing data forwarding between the base stations.
The OAM convergence management software, the data plane convergence management software and the signaling plane convergence management software of the master base station are correspondingly and respectively used for data transmission between the master base station and the slave base station through the first UDP connection, the second UDP connection and the S1 connection, and for data content corresponding to the first UDP connection, the second UDP connection and the S1 connection transmitted between the master base station and the backhaul network.
In step 201, a data path allowing data transmission between the slave base station and the master base station is defined as the master base station, and after connection establishment such as the first UDP connection, the second UDP connection, and the S1 connection, various types of data are allowed to be transmitted from the corresponding data path. The modules in the master base station, which establish the first UDP connection, the second UDP connection, and the S1 connection with the slave base station, correspond to OAM convergence management software, data plane convergence management software, and signaling plane convergence management software, respectively.
After step 201, as shown in fig. 3, the master base station starts to open a base station, that is, starts to send core side parameters and static Internet Protocol (IP) addresses to the N slave base stations through the first UDP connection. The core side parameter is a parameter configured in advance by a core network server, and the static IP is an IP address distributed to the slave base station by the core network server. For example, the core side parameters include an IP address of the core network server and ports of the core network server, and each port has a different function for data transmission.
One possible implementation manner is that the master base station receives the core side parameters and the static IP address of the core network server in the backhaul network through OAM convergence management software, and configures 1 master base station and N slave base stations. After one slave base station establishes three connections first, the other slave base stations need to establish three connections with the master base station through the slave base station with the established three connections. For example, as shown in fig. 3, after three connections are established between the slave base station 1 and the master base station, the slave base station 2 dynamically acquires an IP address from the slave base station 1, and establishes three connections with the master base station.
It is worth mentioning that, besides each slave base station, the base station function software of the master base station also establishes connection with the OAM convergence management software, the data plane convergence management software, and the signaling plane convergence management software of the master base station.
In step 202, specifically, the second UDP connection is a connection used for the base station function software of the N slave base stations to perform data plane information transmission with the data plane convergence management software of the master base station, and the data plane convergence management software further receives the second UDP connection of the data plane of the master base station function software. For the second UDP connection of the two data planes, the main base station data plane convergence management software is a target application program, and a target IP address is an IP address of a Local Area Network (LAN) port of the main base station. The subsequent master base station data plane convergence management software needs to monitor the LAN port to acquire UDP connection with the data plane of the slave base station for data transmission. In addition, the data plane convergence management software of the master base station initiates a second UDP connection with a core network server in the backhaul network. The source IP address is an IP address dynamically acquired by a Wide Area Network (WAN) port of a host base station.
In this way, the data plane convergence management software lays a foundation for data transmission among N slave base stations, between a master base station and N slave base stations, and between the master base station or N slave base stations and a core network server. In the subsequent process, the second UDP connection jointly realizes data transmission between the base station function software and the backhaul network. Assuming there are N slave base stations, there are N +1 second UDP connections to the backhaul network.
In step 202, the slave station S1 is connected for transmitting signaling plane data. The signaling plane convergence management software also receives the S1 connection of the primary base station functionality software. For the connection of the above two types of S1, the host base station signaling plane convergence management software is a target application, and the target IP address is an IP address of a host base station Local Area Network (LAN) port. The subsequent master base station signaling plane convergence management software needs to listen to this LAN port to get the S1 connection with the slave base station for data transmission.
As shown in fig. 3, the signaling plane convergence management software initiates a connection with the signaling plane S1 of the core network server in the backhaul network. The source IP address is an IP address dynamically acquired by a Wide Area Network (WAN) port of a host base station.
Therefore, the signaling plane convergence management software lays a foundation for the transmission of signaling data among the N slave base stations, between the master base station and the N slave base stations, and between the master base station or the N slave base stations and the core network server. In the subsequent process, the connection of S1 realizes the data transmission between the functional software of each base station and the backhaul network. Assuming there are N slave base stations, there are N +1 connections to the signaling plane S1 of the backhaul network. In step 202, the data sent by the master base station to the slave base station further includes an air interface parameter, where the air interface parameter is used to define a data transmission mode of the user terminal in a coverage area corresponding to the master base station or the slave base station.
In step 202, after at least one connection is established, the master base station and the N slave base stations determine core side parameters and their respective static IP and air interface parameters. Thus, in this step, the master base station or the slave base station performs data transmission via at least one connection.
One possible implementation is that, if the master base station has a communication link directly connected to the slave base station, the master base station performs data transmission with the slave base station according to the communication link directly connected to the slave base station by the master base station through at least one connection, respectively; for example, the master base station acquires the data plane information and/or the signaling plane information of the slave base station 1 according to the static IP address of the slave base station 1 through the at least one connection; the destination address included in the acquired data plane information and/or the signaling plane information is an IP address of the core network server, and the destination port included in the acquired data plane information and/or the signaling plane information is a port of the core network server, and is directly sent to the master base station through a communication link directly connected with the slave base station by the master base station.
Or, if the master base station has no communication link directly connected to the slave base station, the master base station performs data transmission with the slave base station according to any one of the base stations directly connected to the master base station through at least one connection; for example, the master base station sends data to the slave base station 3 through the first UDP connection, the second UDP connection, and the S1 connection, the master base station first sends data to the slave base station 1 through the corresponding connection, then the slave base station 1 sends data to the slave base station 2, and finally the slave base station 2 sends data to the slave base station 3.
In step 202, the slave base station further performs transmission of data plane information and/or signaling plane information with the core network server.
For example, data plane information is sent from the base station 1 to a core network server. The slave base station 1 first transmits data plane information to the master base station, and specifically, after receiving the static IP address of the slave base station 1, the master base station determines whether the static IP address is a static IP address allocated in advance, and determines whether a destination address included in the data plane information is an IP address of a core network server, and whether a destination port included in the data plane information is a port number of the core network server. If so, sending the data plane information to the core network server according to the IP address of the core network server, and further sending the data plane information to a corresponding port of the core network server according to the port number of the core network server. In this process, the second UDP connection is used to forward the data plane information. Similarly, when the core network server transmits the data plane information to the slave base station 1, the master base station also transmits the data plane information of the port corresponding to the port number from the core network server to the slave base station 1 by the static IP address of the slave base station through the second UDP connection.
The second UDP connection in the above process is replaced with S1 connection, and the transmitted data plane information is replaced with signaling plane information, which is the transmission process of the signaling plane information and is not described herein again.
In addition to the transmission of the signaling plane information or the data plane information between the master base station and the slave base station, the slave base station also performs data transmission with the user terminal within the coverage of the slave base station according to the air interface parameters. The air interface parameter includes a plurality of parameters, such as a preemption type, and defines a rule that the user terminal performs preemption on the communication resource of the slave base station. For example, the user terminal preempts the connection of the slave base station according to the time sequence of the connection request.
In step 202, the information that the slave base station and the master base station are connected through the first UDP further includes log information and communication index information. Log information such as the communication time of the user terminal on the same day, and index information such as the conversion success rate from the base station of the base station are stored by OAM convergence management software. The base station conversion success rate refers to a success rate that the user terminal moves from the coverage of one base station to the coverage of another base station and the communication of the user terminal is still maintained.
After the master base station establishes the first UDP connection, the second UDP connection, and the S1 connection with the slave base station, it is still possible to interrupt the data transmission.
The master base station can periodically acquire the log information and the communication index of the slave base station and perform data analysis so as to monitor the slave base station. The data analysis that the master base station may perform to the slave base station includes: whether the base station conversion success rate is smaller than a threshold value, whether the communication time of the user terminal is longer than a preset time length, and the like.
For example, the slave base station 2 is attacked by the network, the number of the accessed user terminals in a unit time increases, and after the master base station receives the number of the user terminals of the slave base station 2, it analyzes whether the number of the accessed user terminals in the unit time period is greater than or equal to the access threshold. If so, the master base station determines that the slave base station 2 is in an abnormal state. After the master base station determines that the slave base station 2 is in an abnormal state, at least one connection established with the slave base station is disconnected for saving communication resources, and the process is ended.
Taking at least one connection as a first UDP connection, a second UDP connection, and an S1 connection as an example, and referring to fig. 4, a detailed flowchart of steps corresponding to the data transmission method in the embodiment of the present application is described in detail below.
Step 401: the slave base station transmits a request message for establishing the first UDP connection, the second UDP connection, and the S1 connection to the master base station.
Step 402: the main base station judges whether each request message satisfies a condition for establishing connection.
If yes, go to step 403; if not, go to step 407.
Step 403: the master base station establishes a first UDP connection, a second UDP connection, and an S1 connection with the slave base station.
Step 404: and the master base station transmits the core side parameters and the static IP address to the slave base station.
Step 405: and the master base station is connected with the slave base station through a first UDP connection, a second UDP connection and S1 respectively according to the core side parameters and the static IP address, and performs data transmission.
Step 406: the master base station acquires the log information and the communication index of the slave base station through the first UDP connection.
Step 407: and ending the flow.
In the embodiment of the invention, a master base station and a slave base station system are constructed, at least one connection is established between the master base station and the slave base station, the master base station carries out data transmission through the at least one connection, collects information transmitted by the slave base station, completes information collection together with the information of the master base station, and monitors the slave base station. Therefore, under the condition that no additional equipment is needed, the main base station can complete information collection of the main base station and the slave base station and monitor the information, so that the flexibility of base station deployment is improved, and the deployment cost of the base station is saved.
As shown in fig. 5, an embodiment of the present invention further provides a data transmission apparatus, including:
a processing module 501 for establishing at least one connection with a slave base station; the device is connected with a core side, and the core side is network equipment which configures the slave base station through the device;
a data transmission module 502, configured to obtain, from the slave base station through the at least one connection, monitoring information of the slave base station, where the monitoring information includes at least one of data plane information and signaling plane information.
Optionally, the data transmission module 502 is further configured to:
the at least one connection comprises a first user datagram protocol, UDP, connection;
sending core side parameters to the slave base station through the first UDP connection; the core side parameters comprise an IP address of a core network server and a port of the core network server; the core network server is a network device in a return network for receiving the data plane information and the signaling plane information.
Optionally, the data transmission module 502 is specifically configured to:
the at least one connection further comprises a second UDP connection and an S1 connection;
receiving the data packet transmitted from the base station through the second UDP connection and the S1 connection;
acquiring at least one data packet of which the destination address is the IP address of the core network server and the destination port is the port of the core network server in the data packet sent by the slave base station;
taking a data packet obtained by the second UDP connection in the at least one data packet as the data plane information;
and taking the data packet obtained through the S1 connection in the at least one data packet as the signaling plane information.
Optionally, the data transmission module 502 is further configured to:
acquiring log information and communication indexes of the slave base station through the first UDP connection;
the processing module 501 is further configured to:
and performing data analysis on the log information and the communication index of the slave base station, and determining whether the slave base station is in an abnormal state according to the result of the data analysis.
Optionally, the processing module 501 is further configured to:
and if the slave base station is determined to be in an abnormal state, disconnecting the at least one connection.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may 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, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.