CN115550984A - Base station transmission self-checking method, base station, electronic equipment and computer storage medium - Google Patents

Base station transmission self-checking method, base station, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN115550984A
CN115550984A CN202110726267.9A CN202110726267A CN115550984A CN 115550984 A CN115550984 A CN 115550984A CN 202110726267 A CN202110726267 A CN 202110726267A CN 115550984 A CN115550984 A CN 115550984A
Authority
CN
China
Prior art keywords
base station
packet
transmission
tunneling
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110726267.9A
Other languages
Chinese (zh)
Inventor
郭忠诚
祝大勇
胡博
钟晓康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN202110726267.9A priority Critical patent/CN115550984A/en
Priority to PCT/CN2022/091437 priority patent/WO2023273608A1/en
Publication of CN115550984A publication Critical patent/CN115550984A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a base station transmission self-checking method, which is used for acquiring the information of a filling task from a control system, wherein the information of the filling task at least comprises the type of a filling initial protocol layer and a terminal address; creating a package filling message; sending the packet filling message to the terminal address according to the type of the packet filling initial protocol layer; and after the irrigation packet message is sent to the terminal address, determining a transmission parameter for sending the irrigation packet message, and determining a base station transmission self-checking result according to the transmission parameter and a preset threshold value. Whether the inside of the base station breaks down or not can be detected through the processes, the base station transmission fault can be detected without depending on core network side equipment, the complexity of base station transmission fault detection can be reduced, the detection time is shortened, and the detection efficiency is improved. The present disclosure also provides a base station, an electronic device, and a computer storage medium.

Description

Base station transmission self-checking method, base station, electronic equipment and computer storage medium
Technical Field
The invention relates to the technical field of communication, in particular to a base station transmission self-checking method, a base station, electronic equipment and a computer storage medium.
Background
At present, an existing mobile network is usually constructed by cooperation of a plurality of device manufacturers, and componentization of a communication system is realized. When detecting the transmission problem of the base station, it is usually realized by relying on other devices, for example, the base station is connected with the core network first, then a large-flow packet is performed in the core network, and the packet is transmitted to the user terminal through the base station, so as to gradually troubleshoot the link problem between the base station and the core network, the problems of each protocol layer in the base station, the quality problem of air interfaces, and the like. Therefore, in the case of no core network or service server, and in the case of an unsatisfactory service rate, the failure of the base station cannot be detected quickly, which results in a long detection time and a low detection efficiency.
Disclosure of Invention
In view of the above-mentioned shortcomings in the prior art, the present disclosure provides a base station transmission self-checking method, a base station, an electronic device, and a computer storage medium.
In a first aspect, an embodiment of the present disclosure provides a base station transmission self-checking method, where the method includes:
acquiring the information of a package filling task from a control system, wherein the information of the package filling task at least comprises a package filling initial protocol layer type and a terminal address;
creating a package filling message;
sending the encapsulating message to the terminal address according to the encapsulating initial protocol layer type;
and after the irrigation packet message is sent to the terminal address, determining a transmission parameter for sending the irrigation packet message, and determining a base station transmission self-checking result according to the transmission parameter and a preset threshold value.
Further, the type of the initial protocol layer of the tunneling packet is a packet data convergence protocol PDCP, and before the tunneling packet is sent to the terminal address, the method further includes:
acquiring and storing air interface bearing information of terminal equipment accessed to a base station, wherein the air interface bearing information comprises a terminal address of the terminal equipment accessed to the base station;
the sending the tunneling packet message to the terminal address according to the type of the tunneling packet initiation protocol layer includes:
and sending the filling packet message to the terminal address under the condition that corresponding air interface bearing information is inquired from the base station according to the terminal address.
Further, the acquiring and storing the air interface bearer information of the terminal device accessed to the base station includes:
receiving a service message sent by terminal equipment accessed to the base station, and acquiring air interface bearing information carried in the service message;
and storing the air interface bearer information carried in the service message under the condition that the air interface bearer information carried in the service message is locally stored and the quantity of the air interface bearer information carried in the locally stored service message is less than a preset quantity, or under the condition that the air interface bearer information carried in the service message is not locally stored.
Further, if the type of the initial protocol layer of the filling packet is a Radio Link Control (RLC) layer protocol, the filling packet message is sent to the terminal address.
Further, the information of the encapsulating task further includes an encapsulating message protocol type, and the encapsulating message protocol type includes a transmission control protocol TCP or a user datagram protocol UDP.
Further, the type of the packet-filling message protocol is TCP, and the transmission parameter is a packet loss rate.
Further, the protocol type of the tunneling packet is UDP, the tunneling task information further includes a tunneling bandwidth and a thread number, the transmission parameter is a traffic parameter, and the determining of the transmission parameter for sending the tunneling packet includes:
and determining a target transmission parameter according to the packet filling bandwidth and the thread number, counting an actual transmission parameter, and determining the flow parameter according to the target transmission parameter and the actual transmission parameter.
Further, after determining the self-checking result of the base station transmission according to the transmission parameter and a preset threshold, the method further includes:
and acquiring link state information under the condition that the self-checking result transmitted by the base station is that a fault exists, acquiring an operation log of the base station within a preset time length, and sending the operation log and the link state information to the control system.
In another aspect, an embodiment of the present disclosure provides a base station, including:
the system comprises an acquisition module, a control module and a sending module, wherein the acquisition module is used for acquiring the information of the encapsulating task from the control system, and the information of the encapsulating task at least comprises an encapsulating initial protocol layer type and a terminal address;
the creating module is used for creating a package filling message;
the transmission module is used for sending the irrigation packet message to the terminal address according to the type of the initial protocol layer of the irrigation packet;
and the self-checking module is used for determining the transmission parameters for sending the irrigation packet message after the transmission module sends the irrigation packet message to the terminal address, and determining the transmission self-checking result of the base station according to the transmission parameters and a preset threshold value.
In another aspect, an embodiment of the present disclosure provides an electronic device, including:
one or more processors;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the base station transmission self-test method as previously described.
In yet another aspect, the present disclosure provides a computer storage medium having a computer program stored thereon, where the program is executed to implement the base station transmission self-test method as described above.
The method for self-checking transmission of the base station includes the steps of firstly configuring the information of a tunneling task at least comprising a type of a tunneling initial protocol layer and a terminal address, creating a tunneling message according to the information of the tunneling task, sending the tunneling message to terminal equipment corresponding to the terminal address, determining transmission parameters for sending the tunneling message after the transmission module sends the tunneling message to the terminal address, and determining a self-checking transmission result of the base station according to the transmission parameters and a preset threshold. Whether the inside of the base station breaks down or not can be detected through the processes, the transmission fault of the base station can be detected without depending on core network side equipment, the complexity of the transmission fault detection of the base station can be reduced, the detection time is shortened, and the detection efficiency is improved. In addition, the base station can initiate a flooding packet to the appointed terminal equipment from different internal protocol layers according to the type of the initial protocol layer, and can detect the transmission performance of each protocol layer entity in the base station in an all-round way.
Drawings
FIG. 1 is a schematic diagram of a system architecture provided by an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a base station transmission self-check method according to an embodiment of the present disclosure;
fig. 3 is a schematic flow chart illustrating acquiring and storing air interface bearer information according to the embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a conventional bagging process;
fig. 5 is a schematic diagram of a flow of a bag filling process provided in the embodiment of the present disclosure;
fig. 6 is a schematic diagram of a UDP packet format provided in the embodiment of the present disclosure;
fig. 7 is a first block diagram of a base station according to an embodiment of the present disclosure;
fig. 8 is a second block diagram of a base station according to an embodiment of the present disclosure.
Detailed Description
Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, but which may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," 8230; \8230 "; when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Embodiments described herein may be described with reference to plan and/or cross-sectional views in light of idealized schematic illustrations of the disclosure. Accordingly, the example illustrations may be modified in accordance with manufacturing techniques and/or tolerances. Accordingly, the embodiments are not limited to the embodiments shown in the drawings, but include modifications of configurations formed based on a manufacturing process. Thus, the regions illustrated in the figures have schematic properties, and the shapes of the regions shown in the figures illustrate specific shapes of regions of elements, but are not intended to be limiting.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The embodiment of the disclosure provides a base station transmission self-checking method, which is applied to a system shown in fig. 1. Wherein, a plurality of terminal equipments are accessed to the base station, and the control system is used as an independent network element outside the base station or a module therein. The control system is used for sending the information of the irrigation packet task to the base station, the base station is used for creating an irrigation packet message according to the information of the irrigation packet task and sending the irrigation packet message to the terminal equipment, and the base station is used for determining a transmission self-checking result of the base station according to the transmission parameters and the preset threshold value of the irrigation packet message.
As shown in fig. 2, the base station transmission self-checking method according to the embodiment of the present disclosure may include the following steps:
in step 11, the information of the encapsulating task is obtained from the control system, wherein the information of the encapsulating task at least comprises the type of the initial protocol layer of the encapsulating and the terminal address.
The control system may be used as a control module inside the base station, or may be used as an independent network element outside the base station or a module therein, and is used to perform operations such as creating a tunneling task, displaying a transmission self-checking result of the base station, and monitoring KPI (Key Performance Indication, key Performance indicators, such as signaling channel availability, voice channel availability, signaling channel drop rate, voice channel assignment failure rate, and the like) of the base station.
Obtaining the information of the package filling task from the control system may include: receiving the information of the encapsulating task issued by the control system after the encapsulating task is created, or sending an encapsulating task request to the control system and receiving the information of the encapsulating task sent by the control system according to the encapsulating task request.
In step 12, a shim packet message is created.
After obtaining the information of the irrigation task, the base station may create an irrigation packet message according to the configuration parameters carried in the information of the irrigation packet task, and the information specifically carried in the irrigation packet message, that is, the irrigation packet content, may be determined according to other configuration parameters except the type of the initial protocol layer of the irrigation packet and the terminal address in the information of the irrigation packet task, so as to implement customizing the irrigation packet content.
In step 13, the tunneling packet is sent to the terminal address according to the type of the initial protocol layer of the tunneling packet.
The base station may include protocol layer entities of different types, the control system configures a tunneling start protocol layer type in the tunneling task information, and the base station needs to start tunneling to the terminal by a protocol layer entity corresponding to the tunneling start protocol layer type inside.
In step 14, after the tunneling packet is sent to the terminal address, a transmission parameter for sending the tunneling packet is determined, and a base station transmission self-checking result is determined according to the transmission parameter and a preset threshold.
In this step, if the transmission parameter is greater than the preset threshold, it is determined that the base station transmission self-check result is a fault; and if the transmission parameter is less than or equal to the preset threshold value, determining that the transmission self-test result of the base station is that no fault exists.
The method for self-checking transmission of the base station includes the steps of firstly configuring the information of a tunneling task at least comprising a tunneling initial protocol layer type and a terminal address, creating a tunneling message according to the information of the tunneling task, sending the tunneling message to terminal equipment corresponding to the terminal address, determining transmission parameters for sending the tunneling message after the tunneling message is sent to the terminal address, and determining a self-checking transmission result of the base station according to the transmission parameters and a preset threshold value. Whether the inside of the base station breaks down or not can be detected through the processes, the base station transmission fault can be detected without depending on core network side equipment, the complexity of base station transmission fault detection can be reduced, the detection time is shortened, and the detection efficiency is improved. And the base station can initiate the irrigation package to the appointed terminal equipment from different internal protocol layers according to the type of the initial protocol layer, and can comprehensively detect the transmission performance of each protocol layer entity in the base station.
In some embodiments, the type of the start Protocol layer of the padding Packet may be PDCP (Packet Data Convergence Protocol), and as described above, the base station needs to start the padding Packet to the terminal from the Protocol layer entity corresponding to the type of the start Protocol layer of the padding Packet, that is, start the padding Packet to the terminal from the PDCP entity inside the base station. However, the PDCP layer entity needs to determine whether the base station has the empty bearer information of the terminal device, and the PDCP layer entity sends the tunneling packet to the terminal device only when the base station has the empty bearer information of the terminal device, so that the empty bearer information of the terminal device accessed to the base station needs to be stored in advance, so that the PDCP layer entity can successfully forward the tunneling packet to the terminal device.
Correspondingly, before sending the tunneling packet message to the terminal address (i.e., step 13), the base station transmission self-checking method may further include the following steps: and acquiring and storing air interface bearing information of the terminal equipment accessed to the base station, wherein the air interface bearing information comprises a terminal address of the terminal equipment accessed to the base station.
The sending the tunneling packet message to the terminal address according to the type of the tunneling start protocol layer (i.e. step 13) may include the following steps: and sending the encapsulating message to the terminal address under the condition that the corresponding air interface bearing information is inquired from the base station according to the terminal address.
It should be noted that the air interface bearer information is a corresponding relationship between an IP address of the terminal device and radio bearer RB (Resource Block) information, where the RB is a minimum unit of Resource allocation for physical layer data transmission, and the air interface bearer information includes, in addition to the terminal address, radio bearer RB information corresponding to the terminal address.
In some embodiments, as shown in fig. 3, the acquiring and storing the air interface bearer information of the terminal device accessed to the base station (i.e., step 13') may include the following steps:
in step 131', a service packet sent by a terminal device accessing to the base station is received, and air interface bearer information carried in the service packet is acquired.
After the terminal device is connected to the base station, the terminal device may send an uplink service Packet to the base station, where the service Packet may include a Packet in a service process such as browsing a webpage, logging in an APP (Application), ping (Packet Internet Groper, internet Packet explorer), and public network IP (Internet Protocol) address.
When receiving a service message sent by a terminal device that has accessed the base station, the base station may obtain air interface bearer information of the terminal device.
In step 132', the air interface bearer information carried in the service packet is stored when the air interface bearer information carried in the service packet is locally stored and the number of the air interface bearer information carried in the locally stored service packet is smaller than a preset number, or when the air interface bearer information carried in the service packet is not locally stored.
After acquiring the air interface bearer information of the terminal device from the uplink service packet, the base station may determine whether the air interface bearer information is already stored locally. When the air interface bearer information is not locally stored, the air interface bearer information may be directly stored. When the air interface bearer information is already stored locally and the number of the locally stored air interface bearer information is smaller than the preset number, the air interface bearer information may also be stored.
Specifically, the air interface bearer information may include information such as an IP address of the terminal device, and for each terminal device, the base station may store a preset number of air interface bearer information, and locally maintain a preset number of variables to record whether the preset number of air interface bearer information has been stored. For example, for a certain terminal device, the base station may store 2 pieces of air interface bearer information including an IPv4 (internet protocol version four) address and 2 pieces of air interface bearer information including an IPv6 (internet protocol version six) address, and maintain variables IP14, IP24, IP16, and IP26 locally to record whether the 2 pieces of air interface bearer information including the IPv4 address and the 2 pieces of air interface bearer information including the IPv6 address of the terminal device are stored. If a variable value in the IP14 and the IP24 is invalid _ word32, it may indicate that the base station may further store 1 air interface bearer information including an IPv4 address of the terminal device, and if the values of the IP14 and the IP24 are both invalid _ word32, it may indicate that the base station may further store 2 air interface bearer information including an IPv4 address of the terminal device; the variables IP16 and IP26 are the same.
After it is determined that the air interface bearer information (obtained from the service message) is locally stored, the base station may further determine whether the air interface bearer information may be stored by querying a locally maintained variable, for example, in a case that the type of the IP is IPv4 (fourth version of internet protocol), the base station may determine whether a value of a locally maintained variable IP14 is invalid _ word32, and if the value of the variable IP14 is invalid _ word32, it indicates that the base station may store the air interface bearer information, and at this time, the base station directly stores the air interface bearer information; if the value of the variable IP14 is not invalid _ word32, at this time, the base station cannot directly determine that the air interface bearer information cannot be stored locally any more, and also needs to determine whether the value of the locally maintained variable IP24 is also not invalid _ word32, if the value of the IP24 is also not invalid _ word32, it indicates that the air interface bearer information cannot be stored locally, but if the value of the IP24 is invalid _ word32, it indicates that the air interface bearer information can be stored, and at this time, the base station stores the air interface bearer information. Under the condition that the type of the IP is IPv6 (sixth version of internet protocol), the base station may determine whether a value of a locally maintained variable IP16 is invalid _ word32, and if the value of the variable IP16 is invalid _ word32, it indicates that the base station may store the air interface bearer information, and at this time, the base station directly stores the air interface bearer information; if the value of the variable IP16 is not the invalid _ word32, at this time, the base station cannot directly determine that the air interface bearer information cannot be stored locally any more, and also needs to determine whether the value of the locally maintained variable IP26 is also not the invalid _ word32, if the value of the IP26 is also not the invalid _ word32, it indicates that the air interface bearer information cannot be stored locally, but if the value of the IP26 is the invalid _ word32, it indicates that the air interface bearer information can be stored, and at this time, the base station stores the air interface bearer information.
In this embodiment of the present disclosure, the control system configures a terminal address in the tunneling task information, that is, specifies a target terminal device to which the base station needs to send a tunneling packet message for performing tunneling, so that the base station may also obtain or cooperate with the control system in advance related information of the target terminal device from the control system, and obtain and store air interface bearer information of the target terminal device by determining whether the terminal device accessed to the base station is the target terminal device.
Correspondingly, in some embodiments, the obtaining and storing of the air interface bearer information of the terminal device accessing to the base station (i.e., step 13') may also be implemented by a target terminal identification method based on the tracking identifier TraceID, for example, when the terminal device accesses to the base station, the base station may determine whether a message such as an access request includes a TraceID that is consistent with a preconfigured or previously obtained TraceID. When the terminal equipment which is currently accessed to the base station is identified as target terminal equipment based on the traceID, the base station can directly acquire and store the air interface bearing information of the terminal equipment. After the air interface bearing information of the terminal equipment is obtained and stored, the base station can request the control system to obtain the filling package task information.
In addition to identifying whether the terminal device accessing the base station is the target terminal device based on the TraceID, the base station may also identify whether the terminal device is the target terminal device based on other information of the terminal device, and in some embodiments, the obtaining and storing of the air interface bearer information of the terminal device accessing the base station (i.e., step 13') may also be implemented in the following manner: and in response to receiving an uplink message sent by the terminal equipment accessed to the base station, analyzing the uplink message to obtain uplink message characteristics, and identifying and storing the IP address and the air interface bearing information of the terminal equipment under the condition that the uplink message characteristics meet the preset target terminal information. The target terminal information may include a protocol type of the uplink packet, an IP address of the peer end, a packet length of the uplink packet, a packet content of the uplink packet, and the like. After the air interface bearing information of the terminal equipment is obtained and stored, the base station can request the control system to obtain the filling package task information.
In some embodiments, the type of the initial protocol layer of the padding packet is RLC (Radio Link Control, radio Link Control protocol), and as described above, the base station needs to start padding to the terminal from a protocol layer entity corresponding to the type of the initial protocol layer of the padding packet, that is, start padding to the terminal from the RLC entity inside the base station. Generally, the RLC entity may directly send the tunneling packet to the terminal device, and correspondingly, the sending the tunneling packet to the terminal address according to the type of the tunneling start protocol layer (that is, step 13) may include the following steps: and sending the encapsulating message to a terminal address.
In a conventional Transmission detection scheme of a base station, as shown in fig. 4, a Tunneling Packet is generally initiated in a core network, that is, a Tunneling Packet is initiated from a network element of the core network, such as an AMF (Access and Mobility Management Function) entity or an UPF (UPF User Plane Function) entity, a Tunneling Packet is encapsulated in a GTPU (General Packet Radio Service Tunneling Protocol) User Plane), UDP (User data Protocol), TCP (Transmission Control Protocol), IP, or other planes of the AMF or the UPF, the Tunneling Packet is sent to the base station, the Tunneling Packet is processed in the IP, UDP/TCP, or other planes inside the base station, and the Tunneling Packet is sent to a terminal device, a Tunneling Packet device, a Media Access Control Layer, RLC, MAC, or other Physical Layer of the base station, and a Tunneling Packet Access Layer.
In the embodiment of the present disclosure, as shown in fig. 5, a line (1) represents a padding procedure when the type of the padding start protocol layer is PDCP, and a line (2) represents a padding procedure when the type of the padding start protocol layer is RLC. The base station can start an APP client of an open source component Ipref, connection is established between the APP client of the Ipref and an APP server of the Ipref of the terminal equipment, the created encapsulating message is encapsulated through planes such as UDP/TCP and IP, when the encapsulating initial protocol layer type is PDCP, the encapsulating message is sent to the terminal equipment through a PDCP entity, an RLC layer entity, an MAC layer entity and a PHY entity inside the base station, and the PHY entity, the MAC layer entity, the RLC layer entity and the PDCP entity of the terminal equipment receive the encapsulating message; when the initial protocol layer type of the filling package is RLC, the filling package message is sent to the terminal equipment through an RLC layer entity, an MAC layer entity and a PHY entity inside the base station, and the PHY entity, the MAC layer entity and the RLC layer entity of the terminal equipment receive the filling package message. Directly launch from the APP customer end of basic station and irritate the package, compare in launching from the core network and irritate the package, can fix a position the inside transmission problem of basic station rapidly and accurately, reduced the complexity that detects basic station transmission fault, shortened detection time, improved detection efficiency.
At present, a commonly used method for detecting transmission link of a base station is to check a transmission link problem of the base station by ping, which is a command for checking whether a network is unobstructed or a network connection speed, and sends an ICMP (Internet Control Message Protocol) echo request Message to a destination and reports whether an expected ICMP echo response is received. However, in some scenarios, the method is considered to be a ping attack message and the packet length and the packet number of the discarded message are limited, and only the transmission link problem when the base station has no load or low load can be detected, and the effect on the base station transmission problem caused by high load is not obvious. In addition, the ICMP is used to transmit control messages, where the control messages refer to messages of the network itself, such as network access failure, host availability, and routing availability, and these control messages do not transmit user data, and cannot detect the transmission problem of the base station when transmitting user data. The existing terminal equipment uses APP more, the APP generally uses a TCP protocol to transmit user data, and once the APP is stuck and disconnected, the transmission problem of a base station is detected through ping, so that the terminal equipment is unreliable. In order to solve the above technical problem, in the embodiments of the present disclosure, the transmission problem of the base station is independently detected by performing TCP/UDP encapsulation.
Correspondingly, in some embodiments, the information of the tunneling task further includes a tunneling packet protocol type, and the tunneling packet protocol type includes TCP or UDP.
Besides the type of the initial protocol layer of the tunneling packet and the terminal address, the control system can also configure the type of a tunneling packet protocol in the tunneling task information, wherein the type of the tunneling packet protocol is TCP or UDP, and is used for instructing the base station to establish a TCP connection with the terminal device and sending a TCP downlink tunneling packet message to the terminal device, or instructing the base station to establish a UDP connection with the terminal device and sending a UDP downlink tunneling packet message to the terminal device.
In some embodiments, the type of the tunneling packet protocol is TCP, and the transmission parameter is a packet loss rate.
In the case that the type of the tunneling packet protocol in the tunneling task information is TCP, the base station may create a TCP tunneling packet message, and send the TCP tunneling packet message to the terminal device after establishing a TCP connection with the terminal device. After the terminal equipment is accessed to the base station, the service end of the Ipref can be started, a TCP packet receiving instruction is executed, and the terminal equipment waits for establishing TCP connection with the Ipref client of the base station and receives a TCP packet filling message sent by the base station. After the TCP tunneling packet is sent to the terminal device, each protocol layer entity in the base station may directly count the TCP packet loss rate, and the base station may determine the transmission self-check result of the base station according to the TCP packet loss rate and the preset threshold. The preset threshold may include a first preset threshold, and when the TCP packet loss ratio counted by any protocol layer entity of the base station is greater than the first preset threshold, it may be determined that the transmission self-checking result of the base station is a fault.
When the type of the packet-filling message protocol is TCP, the packet-filling task information may also carry other necessary configuration parameters such as the packet-filling duration, the TCP window size, the thread number, the packet-filling port, and the like. After sending the TCP tunneling packet to the terminal device, each protocol layer entity in the base station may also directly count the actual transmission parameter, and the base station may also calculate the target transmission parameter according to the TCP window size, and then calculate the ratio of the actual transmission parameter to the target transmission parameter. The actual transmission parameter is the actual flow transmitted by each protocol layer entity, the target transmission parameter is the flow of the irrigation package configured by the control system, and the ratio is the flow parameter. The preset threshold may further include a second preset threshold, and the base station may compare the flow parameter with the second preset threshold, and when the flow parameter calculated according to the actual transmission parameter and the target transmission parameter of any protocol layer entity is smaller than the second preset threshold, it may be determined that the base station transmission self-check result is a fault. The first preset threshold and the second preset threshold may be set according to practical situations, for example, the second preset threshold may be set to 94%, 95%, 96%, and so on, and the embodiment of the disclosure is not particularly limited thereto.
In some embodiments, the protocol type of the tunneling packet is UDP, the tunneling task information further includes a tunneling packet bandwidth and a thread number, the transmission parameter is a traffic parameter, and the determining a transmission parameter for sending the tunneling packet (i.e., in step 14) may include: and determining target transmission parameters according to the bandwidth of the irrigation packet and the number of threads, counting actual transmission parameters, and determining flow parameters according to the target transmission parameters and the actual transmission parameters.
In the case that the type of the tunneling packet protocol in the tunneling task information is UDP, the base station may create a UDP tunneling packet according to the UDP packet format shown in fig. 6, and as shown in fig. 6, the UDP packet includes two parts, one of which is a UDP header part and includes a source port field with 16 bits, a destination port field with 16 bits, a UDP datagram length field with 16 bits, and a check value field with 16 bits; the second part is a UDP data part which comprises UDP data with optional length. The base station can start a client of the open source component Ipref, and initiate UDP (user Datagram protocol) tunneling to the terminal equipment through the client of the Ipref.
After sending the UDP tunneling packet message to the terminal device, each protocol layer entity inside the base station may also directly count the actual transmission parameters, and the base station may also calculate the target transmission parameters according to the tunneling packet bandwidth and the thread number in the tunneling packet task information, and then calculate the ratio of the actual transmission parameters to the target transmission parameters. The actual transmission parameter is the actual flow transmitted by each protocol layer entity, the target transmission parameter is the flow of the irrigation package configured by the control system, and the ratio is the flow parameter. The preset threshold may further include a third preset threshold, the base station may compare the flow parameter with the third preset threshold, and when the flow parameter calculated according to the actual transmission parameter of any protocol layer entity and the target transmission parameter is smaller than the third preset threshold, it may be determined that the transmission self-check result of the base station is a fault. The third preset threshold may be set according to practical situations, and may be set to 94%, 95%, 96%, and so on, for example, and the embodiment of the disclosure is not limited in this respect.
When the type of the encapsulating message protocol is UDP, the encapsulating task information may also carry other necessary configuration parameters such as the encapsulating duration, the encapsulating port, the message length, and the like.
In some embodiments, after determining the base station transmission self-test result according to the transmission parameter and the preset threshold (i.e. step 13), the base station transmission self-test method may further include the following steps: and acquiring link state information under the condition that the self-checking result transmitted by the base station is that a fault exists, acquiring running logs of each protocol layer entity in the base station within a preset time length, and sending the running logs and the link state information to a control system.
The link status information is used to identify the status of the internal transmission link of the base station as "poor", "normal", "good", "excellent", and the like, and may be determined according to the transmission parameter, for example, when the TCP packet loss rate is 10%, the link status information may identify the status of the internal transmission link of the base station as "normal". The link status information may be determined while determining the base station transmission self-check result according to the transmission parameter and a preset threshold.
When the transmission self-checking result of the base station is determined to be that a fault exists, the base station can obtain the determined link state information, collect the running logs of the internal protocol layer entities within the preset time length, and feed the running logs and the link state information back to the control system, so that the control system can analyze and diagnose the transmission performance of the protocol layer entities. It should be noted that, when it is determined that the self-check result of the base station transmission is that no fault exists, the base station may also feed back the link state information to the control system, so that the control system may analyze and diagnose the transmission performance of each protocol layer entity.
It should be noted that, the information of the packet filling task may also carry a packet filling direction, which is used to indicate whether the packet is filled from the base station to the terminal for the base station transmission self-check or the packet is filled from the terminal to the base station for the base station transmission self-check; and the terminal equipment can also acquire the filling task information from the control system. When the direction of the irrigation packet is uplink, the base station receiving terminal determines transmission parameters for receiving the irrigation packet message through the irrigation packet message created and sent by the open source component Iipref, and determines a base station transmission self-checking result according to the transmission parameters and a preset threshold.
Based on the same technical concept, as shown in fig. 7, an embodiment of the present disclosure further provides a base station, configured to execute the base station transmission self-check method provided in each of the embodiments, where the base station may include the following modules:
the obtaining module 101 is configured to obtain, from the control system, a tunneling task information, where the tunneling task information at least includes a tunneling start protocol layer type and a terminal address.
A creating module 102, configured to create a tunneling packet.
And the transmission module 103 is configured to send the tunneling packet message to the terminal address according to the type of the tunneling initial protocol layer.
And the self-checking module 104 is configured to determine a transmission parameter for sending the tunneling packet after the transmission module sends the tunneling packet to the terminal address, and determine a base station transmission self-checking result according to the transmission parameter and a preset threshold.
In some embodiments, the type of the packet start protocol layer is a packet data convergence protocol PDCP, as shown in fig. 8, the base station further includes a detection module 105, where the detection module 105 is configured to: and acquiring and storing air interface bearing information of the terminal equipment accessed to the base station, wherein the air interface bearing information comprises a terminal address of the terminal equipment accessed to the base station.
The transmission module 103 is configured to: and sending the encapsulating message to the terminal address under the condition that the corresponding air interface bearing information is inquired from the base station according to the terminal address.
The base station may further include a detection module 105, where the detection module 105 may be configured to acquire and store the air interface bearer information of the terminal device accessed to the base station, and may also be configured to respond to a query request sent by the PDCP layer entity of the transmission module 103 and used to query the air interface bearer information, and return an air interface bearer information query result to the PDCP layer entity.
The transmission module 103 of the base station may include a PDCP entity, an RLC layer entity, an MAC layer entity, and a PHY entity, and the creation module 102 may send the tunneling packet to the PDCP layer entity of the transmission module 103 after creating the tunneling packet. The next protocol layer of the PDCP layer is the RLC layer, and generally, the PDCP entity needs to forward the tunneling packet to the RLC layer entity, and the RLC layer entity then sends the tunneling packet to the terminal device through the MAC layer entity, the PHY entity, the air interface, and the like. Before forwarding the tunneling packet to the RLC entity, the PDCP entity needs to first determine whether the base station has the empty bearer information of the terminal device, specifically, the PDCP entity may analyze the tunneling packet to obtain a terminal address carried in the tunneling packet, and send an inquiry request for inquiring the empty bearer information to the detection module 105 according to the terminal address, and the detection module 105 may respond to the inquiry request, inquire the locally stored empty bearer information according to the terminal address, and return an inquiry result to the PDCP entity. Under the condition that the corresponding empty port bearing information is inquired, the PDCP entity may forward the tunneling packet to the RLC layer entity, and the RLC layer entity sends the tunneling packet to the terminal device corresponding to the terminal address through the MAC layer entity, the PHY entity, the empty port, and the like.
In some embodiments, the detection module 105 is to:
receiving a service message sent by terminal equipment accessed to the base station, and acquiring air interface bearing information carried in the service message;
and under the condition that air interface bearing information carried in the service message is locally stored and the quantity of the air interface bearing information carried in the locally stored service message is less than a preset quantity, or under the condition that the air interface bearing information carried in the service message is not locally stored, storing the air interface bearing information carried in the service message.
In some embodiments, the transmission module 103 is configured to: and if the type of the initial protocol layer of the filling packet is a Radio Link Control (RLC) layer, sending a filling packet message to a terminal address.
The transmission module 103 of the base station may include an RLC layer entity, an MAC layer entity, and a PHY entity, and after the creation module 102 creates the tunneling packet, the tunneling packet may be sent to the RLC layer entity of the transmission module 103. The RLC layer entity can directly send the tunneling packet to the terminal device corresponding to the terminal address through the MAC layer entity, the PHY entity, the air interface, and the like.
In some embodiments, the information of the encapsulating task further includes an encapsulating message protocol type, and the encapsulating message protocol type includes a transmission control protocol TCP or a user datagram protocol UDP.
In some embodiments, the type of the tunneling packet protocol is TCP, and the transmission parameter is a packet loss rate.
In some embodiments, the type of the tunneling packet message protocol is UDP, the tunneling task information further includes a tunneling bandwidth and a thread number, the transmission parameter is a traffic parameter, and the self-checking module 104 is configured to: and determining a target transmission parameter according to the packet filling bandwidth and the thread number, counting the actual transmission parameter, and determining a flow parameter according to the target transmission parameter and the actual transmission parameter.
In some embodiments, introspection module 104 is further configured to: and acquiring link state information and collecting running logs of each protocol layer entity in the base station within preset time when the self-checking result transmitted by the base station indicates that a fault exists. The transmission module 103 is further configured to: and sending the operation log and the link state information to a control system.
The following briefly describes a method for self-checking transmission of a base station provided by the present disclosure with reference to five specific embodiments.
Example one
The terminal device, after accessing the base station, sends an uplink service packet to the base station, where the service packet may include service packets such as a browsing webpage, a login APP, and a ping public network IP, so that the detection module 105 can obtain and store the air interface bearer information. Meanwhile, opening an APP server of Iverf, namely message receiving software, executing a TCP packet receiving instruction, waiting for establishing TCP connection with an Iipref client of the base station and receiving a TCP packet filling message sent by the base station.
The detection module 105 acquires and stores air interface bearer information of the terminal device, where the air interface bearer information includes an IP address (including IPV4 and IPV6 addresses) of the terminal device. And under the condition that the air interface bearing information carried in the service messages with the quantity less than the preset quantity is locally stored, or under the condition that the air interface bearing information carried in the service messages is not locally stored, storing the air interface bearing information carried in the service messages. The uplink service message of the terminal device is analyzed in the PDCP protocol layer, instead of acquiring the air interface bearer information of the terminal device through a Tunnel Endpoint Identifier (TEID) in the GTPU protocol.
The control system establishes the encapsulating task, determines the encapsulating task information, and sends the encapsulating task information to the establishing module 102 through the obtaining module 101.
The creating module 102 is configured to receive the tunneling task information issued by the control system through the obtaining module 101, determine that the type of the initial protocol layer of the tunneling packet carried in the tunneling task information is PDCP, the direction of the tunneling packet is downlink, and determine that the protocol type of the tunneling packet carried in the tunneling task information is TCP. Configuring a link between the creating module 102 and the PDCP entity of the transmission module 103, starting a client of the open source component Ipref, and establishing a TCP connection with an Ipref APP server of the terminal device through an APP client of the Ipref. And creating a TCP (transmission control protocol) tunneling packet message according to configuration parameters such as a terminal address, a tunneling port, a thread number, a tunneling time, a TCP window size and the like carried in the tunneling task information, wherein the terminal address is carried, and the TCP tunneling packet message is sent to the PDCP (packet data convergence protocol) entity of the transmission module 103. Meanwhile, the creating module 102 broadcasts the information of the encapsulating task to the self-checking module 104, so that the self-checking module 104 determines the transmission parameter of the encapsulating message.
The PDCP entity of the transmission module 103, after receiving the TCP tunneling packet sent by the creating module 102, parses the TCP tunneling packet to obtain a terminal address, queries the empty bearer information of the terminal device from the detection module 105 according to the terminal address, and forwards the tunneling packet to a lower RLC layer entity if the empty bearer information corresponding to the terminal address is queried, where the RLC layer entity and a lower protocol layer entity send the TCP tunneling packet to the terminal device along the empty.
The self-checking module 104 receives the TCP packet loss rate or the actual transmission flow sent by each protocol layer entity of the transmission module 103, calculates a target transmission flow according to configuration parameters such as the size of a TCP window in the tunneling task information, and calculates a ratio of the actual transmission flow attributed to the terminal to the target transmission flow, when any protocol layer entity of the base station transmission module 103 counts that the TCP packet loss rate attributed to the terminal is greater than a first preset threshold, or when the ratio of the actual transmission flow attributed to the terminal by any protocol layer entity to the target transmission flow is less than a second preset threshold, it can be determined that the base station transmission self-checking result is a fault, and determines link state information according to the ratio. At this time, the self-checking module 104 starts the running log collection of each protocol layer entity in the station, the collection duration is a preset duration, collects the running logs of each protocol layer entity of the transmission module 103, and feeds back the running logs and the determined link state information to the control system.
Example two
The terminal device, after accessing the base station, sends an uplink service packet to the base station, where the service packet may include service packets such as a browsing webpage, a login APP, and a ping public network IP, so that the detection module 105 can obtain and store the air interface bearer information.
The detection module 105 acquires and stores air interface bearer information of the terminal device, where the air interface bearer information includes an IP address (including IPV4 and IPV6 addresses) of the terminal device. And under the condition that the air interface bearing information carried in the service message is locally stored and is invalid, or under the condition that the air interface bearing information carried in the service message is not locally stored, storing the air interface bearing information carried in the service message. The uplink service message of the terminal device is analyzed in the PDCP protocol layer, instead of acquiring the air interface bearer information of the terminal device through a Tunnel Endpoint Identifier (TEID) in the GTPU protocol.
The control system establishes the encapsulating task, determines the encapsulating task information, and sends the encapsulating task information to the establishing module 102 through the obtaining module 101.
The creating module 102 is configured to receive the tunneling task information issued by the control system through the acquiring module 101, determine that the type of the initial protocol layer of the tunneling packet carried in the information is PDCP, the direction of the tunneling packet is downlink, and determine that the protocol type of the tunneling packet carried in the information is UDP. Configuring a link between the creation module 102 and the PDCP entity of the transmission module 103, and creating a UDP tunneling packet according to configuration parameters, such as a terminal address, a tunneling port, a thread number, a tunneling duration, a packet length, and a tunneling bandwidth, carried in the tunneling task information, where the UDP tunneling packet carries the terminal address. Specifically, a UDP tunneling packet may be created by starting the client of the open source component Ipref, and the UDP tunneling packet is sent to the PDCP entity of the transmission module 103. Meanwhile, the creating module 102 broadcasts the information of the irrigation packet task to the self-checking module 104, so that the self-checking module 104 determines the transmission parameter of the irrigation packet message.
The PDCP entity of the transmission module 103, after receiving the UDP tunneling packet sent by the creation module 102, parses the UDP tunneling packet to obtain a terminal address, queries the empty bearer information of the terminal device from the detection module 105 according to the terminal address, and forwards the tunneling packet to a lower RLC layer entity if the empty bearer information corresponding to the terminal address is queried, where the lower RLC layer entity and a lower protocol layer entity send the UDP tunneling packet to the terminal device along an empty.
The self-checking module 104 receives actual transmission traffic sent by each protocol layer entity of the transmission module 103, calculates target transmission traffic according to the bandwidth and the number of threads of the tunneling packet in the tunneling task information, and calculates a ratio of the actual transmission traffic to the target transmission traffic, which belongs to the terminal. At this time, the self-checking module 104 starts the running log collection of each protocol layer entity in the station, the collection duration is a preset duration, collects the running logs of each protocol layer entity of the transmission module 103, and feeds back the running logs and the determined link state information to the control system.
EXAMPLE III
The detection module 105 acquires and stores air interface bearer information of the terminal device, where the air interface bearer information includes an IP address (including IPV4 and IPV6 addresses) of the terminal device. When the terminal equipment is accessed to the base station, the detection module directly acquires and stores the air interface bearing information of the terminal equipment when recognizing that the terminal equipment currently accessed to the base station is the target terminal equipment based on the TraceID. After the air interface bearing information of the terminal device is acquired and stored, the detection module may notify the creation module 102 to request the control system to acquire the information of the filling package task.
The control system creates the filling task, determines the filling task information, and responds to the filling task request of the acquisition module 101, and sends the filling task information to the creation module 102 through the acquisition module 101.
The creating module 102, after receiving the notification from the detecting module 105, sends a request for a tunneling task to the control system through the obtaining module 101, receives the tunneling task information issued by the control system through the obtaining module 101, determines that the type of the initial protocol layer of the tunneling packet carried therein is PDCP and the direction of the tunneling packet is downlink, and determines that the type of the protocol of the tunneling packet carried therein is UDP. A link between the PDCP entity of the creating module 102 and the transmission module 103 is configured, and a UDP tunneling packet is created according to configuration parameters such as a terminal address, a tunneling port, a thread number, a tunneling duration, a packet length, and a tunneling bandwidth, which are carried in the tunneling task information, and according to a UDP packet format shown in fig. 7, where the UDP tunneling packet carries the terminal address. Specifically, a UDP tunneling packet may be created by starting the client of the open source component Ipref, and the UDP tunneling packet is sent to the PDCP entity of the transmission module 103. Meanwhile, the creating module 102 broadcasts the information of the irrigation packet task to the self-checking module 104, so that the self-checking module 104 determines the transmission parameter of the irrigation packet message.
The PDCP entity of the transmission module 103, after receiving the UDP tunneling packet sent by the creation module 102, parses the UDP tunneling packet to obtain a terminal address, queries the empty bearer information of the terminal device from the detection module 105 according to the terminal address, and forwards the tunneling packet to a lower RLC layer entity if the empty bearer information corresponding to the terminal address is queried, where the lower RLC layer entity and a lower protocol layer entity send the UDP tunneling packet to the terminal device along an empty.
The self-checking module 104 receives actual transmission traffic sent by each protocol layer entity of the transmission module 103, calculates target transmission traffic according to the packet bandwidth and the thread number in the packet task information, and calculates a ratio of the actual transmission traffic and the target transmission traffic belonging to the terminal, and when the ratio of the actual transmission traffic and the target transmission traffic belonging to any protocol layer entity of the terminal is less than a third preset threshold, it can be determined that a failure exists in the base station transmission self-checking result, and link state information is determined according to the ratio. At this time, the introspection module 104 starts the running log collection of each protocol layer entity in the station, the collection duration is a preset duration, collects the running logs of each protocol layer entity of the transmission module 103, and feeds back the running logs and the determined link state information to the control system.
Example four
The detection module 105 acquires and stores air interface bearer information of the terminal device, where the air interface bearer information includes an IP address (including IPV4 and IPV6 addresses) of the terminal device. The method comprises the steps of responding to an uplink message sent by a terminal device accessed to a base station, analyzing the uplink message to obtain uplink message characteristics, and identifying and storing an IP address and air interface bearing information of the terminal device under the condition that the uplink message characteristics meet target terminal information pre-configured by a control system. The target terminal information may include a protocol type of the uplink packet, an IP address of the peer end, a packet length of the uplink packet, a packet content of the uplink packet, and the like. After the air interface bearer information of the terminal device is obtained and stored, the detection module 105 may notify the creation module 102 to request the control system to obtain the information of the encapsulating task.
The control system creates the filling task, determines the filling task information, responds to the filling task request of the acquisition module 101, and sends the filling task information to the creation module 102 through the acquisition module 101.
The creating module 102, after receiving the notification from the detecting module 105, sends a request for a tunneling task to the control system through the obtaining module 101, receives the tunneling task information issued by the control system through the obtaining module 101, determines that the type of the initial protocol layer of the tunneling packet carried therein is PDCP and the direction of the tunneling packet is downlink, and determines that the type of the protocol of the tunneling packet carried therein is UDP. A link between the creation module 102 and the PDCP entity of the transmission module is configured, and a UDP tunneling packet is created according to configuration parameters such as a terminal address, a tunneling port, a thread number, a tunneling duration, a packet length, and a tunneling bandwidth, which are carried in the tunneling task information, and according to a UDP packet format shown in fig. 7, where the UDP tunneling packet carries the terminal address. Specifically, a UDP tunneling packet may be created by starting the client of the open source component Ipref, and the UDP tunneling packet is sent to the PDCP entity of the transmission module 103. Meanwhile, the creating module 102 broadcasts the information of the encapsulating task to the self-checking module 104, so that the self-checking module 104 determines the transmission parameter of the encapsulating message.
It should be noted that, in the embodiment of the present disclosure, the base station may perform UDP encapsulation to the terminal device by creating a UDP encapsulation packet message through the client that starts Ipref, and may also perform UDP packaging according to the encapsulation task information and send the UDP encapsulation packet message to the terminal device by itself, without using the client of Ipref.
The PDCP entity of the transmission module 103, after receiving the UDP tunneling packet sent by the creation module 102, parses the UDP tunneling packet to obtain a terminal address, queries the empty bearer information of the terminal device from the detection module 105 according to the terminal address, and forwards the tunneling packet to a lower RLC layer entity if the empty bearer information corresponding to the terminal address is queried, where the RLC layer entity and a lower protocol layer entity send the UDP tunneling packet to the terminal device along an empty interface.
And the self-checking module 104 is configured to receive actual transmission traffic sent by each protocol layer entity of the transmission module 103, calculate target transmission traffic according to a bandwidth of a tunneling packet and a number of threads in the tunneling packet task information, and calculate a ratio of the actual transmission traffic and the target transmission traffic that belong to the terminal, determine that a fault exists in a transmission self-checking result of the base station when the ratio of the actual transmission traffic and the target transmission traffic of any protocol layer entity belonging to the terminal is smaller than a third preset threshold, and determine link state information according to the ratio. At this time, the introspection module 104 starts the running log collection of each protocol layer entity in the station, the collection duration is a preset duration, collects the running logs of each protocol layer entity of the transmission module 103, and feeds back the running logs and the determined link state information to the control system.
EXAMPLE five
The control system creates the filling task, determines the information of the filling task, and sends the information of the filling task to the creation module 102 through the acquisition module 101.
The creating module 102 is configured to receive the filling task information issued by the control system through the acquiring module 101, determine that the type of the initial protocol layer of the filling packet carried in the filling task information is RLC, the direction of the filling packet is downlink, and determine that the protocol type of the filling packet message carried in the filling task information is UDP. Configuring a link between the creating module 102 and an RLC layer entity of the transmission module, and creating a UDP tunneling packet according to configuration parameters such as a terminal address, a tunneling port, a thread number, a tunneling duration, a packet length, and a tunneling bandwidth, which are carried in the tunneling task information, where the UDP tunneling packet carries the terminal address. Specifically, a UDP tunneling packet may be created by starting a client of the open source component Ipref, and the UDP tunneling packet may be sent to the RLC layer entity of the transmission module. Meanwhile, the creating module 102 broadcasts the information of the irrigation packet task to the self-checking module 104, so that the self-checking module 104 determines the transmission parameter of the irrigation packet message.
After receiving the UDP tunneling packet sent by the creating module 102, the RLC layer entity of the transmission module sends the UDP tunneling packet to the terminal device along an air interface through a protocol layer entity below the RLC layer.
The self-checking module 104 receives actual transmission traffic sent by each protocol layer entity of the transmission module 103, calculates target transmission traffic according to the packet bandwidth and the thread number in the packet task information, and calculates a ratio of the actual transmission traffic and the target transmission traffic belonging to the terminal, and when the ratio of the actual transmission traffic and the target transmission traffic belonging to any protocol layer entity of the terminal is less than a third preset threshold, it can be determined that a failure exists in the base station transmission self-checking result, and link state information is determined according to the ratio. At this time, the self-checking module 104 starts the running log collection of each protocol layer entity in the station, the collection duration is a preset duration, collects the running logs of each protocol layer entity of the transmission module 103, and feeds back the running logs and the determined link state information to the control system.
It should be noted that the principle of the base station transmission self-checking method provided in the embodiment of the present disclosure is also applicable to the case of the uplink irrigation packet (that is, the terminal device initiates the irrigation packet to the base station), and the following describes the case of the uplink irrigation packet briefly with reference to a specific embodiment.
EXAMPLE six
The control system establishes the encapsulating task, determines the encapsulating task information, and sends the encapsulating task information to the establishing module 102 through the obtaining module 101.
The creating module 102 receives the irrigation packet task information issued by the control system through the acquiring module 101, determines that the initial protocol layer type of the irrigation packet carried therein is a PDCP layer, the direction of the irrigation packet is an uplink, and determines that the packet message protocol type carried therein is a TCP. A link between the creation module 102 and the PDCP layer entity of the transport module is configured, a service end of the open source module Ipref is started, and a packet filling message from the terminal is waited for. Meanwhile, the creation module 102 broadcasts the information of the filling task to the self-test module 104 for the self-test module 104 to determine the transmission parameters.
The terminal equipment determines the information of the package filling task and sends the information of the package filling task to the control system, or directly acquires the information of the package filling task from the control system; the method comprises the steps that the filling task information at least comprises a filling port and a filling message protocol type, the terminal equipment establishes TCP connection with an Ipsef service end of a base station through an open source component Ipsef client, filling is initiated to the base station from a PDCP entity of the terminal equipment, specifically, the PDCP entity forwards the filling message to an RLC entity, and the RLC entity sends the filling message to the base station through an MAC entity, a PHY entity and an air interface.
The self-checking module 104 receives a TCP packet loss rate or an actual transmission flow attributed to the terminal sent by each protocol layer entity of the transmission module 103, calculates a target transmission flow according to configuration parameters such as a TCP window size in the encapsulating task information, and calculates a ratio of the actual transmission flow to the target transmission flow, when the TCP packet loss rate attributed to the terminal counted by any protocol layer entity of the base station transmission module 103 is greater than a first preset threshold, or when the ratio of the actual transmission flow attributed to the terminal to the target transmission flow of any protocol layer entity is less than a second preset threshold, it may be determined that a failure exists in a base station transmission self-checking result, and determines link status information according to the ratio. At this time, the self-checking module 104 starts the running log collection of each protocol layer entity in the station, the collection duration is a preset duration, collects the running logs of each protocol layer entity of the transmission module 103, and feeds back the running logs and the determined link state information to the control system.
In addition, an embodiment of the present disclosure also provides an electronic device, which may include: one or more processors; a storage device having one or more programs stored thereon; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the base station transmission self-test method provided by the foregoing embodiments.
In addition, the embodiment of the present disclosure further provides a computer storage medium, on which a computer program is stored, where the program is executed to implement the base station transmission self-checking method provided in the foregoing embodiments.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, functional modules/units in the apparatus, disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a generic and descriptive sense only and not for purposes of limitation. In some instances, features, characteristics and/or elements described in connection with a particular embodiment may be used alone or in combination with features, characteristics and/or elements described in connection with other embodiments, unless expressly stated otherwise, as would be apparent to one skilled in the art. Accordingly, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the disclosure as set forth in the appended claims.

Claims (11)

1. A method for self-checking transmission of a base station, the method comprising:
acquiring the information of a pouring packet task from a control system, wherein the information of the pouring packet task at least comprises a pouring packet initial protocol layer type and a terminal address;
creating a package filling message;
sending the packet filling message to the terminal address according to the type of the packet filling initial protocol layer;
and after the irrigation packet message is sent to the terminal address, determining a transmission parameter for sending the irrigation packet message, and determining a base station transmission self-checking result according to the transmission parameter and a preset threshold value.
2. The method of claim 1, wherein the type of the tunneling start protocol layer is packet data convergence protocol PDCP, and wherein before the sending the tunneling packet to the terminal address, the method further comprises:
acquiring and storing air interface bearing information of terminal equipment accessed to a base station, wherein the air interface bearing information comprises a terminal address of the terminal equipment accessed to the base station;
the sending the tunneling packet message to the terminal address according to the type of the tunneling packet initiation protocol layer includes:
and sending the filling packet message to the terminal address under the condition that corresponding air interface bearing information is inquired from the base station according to the terminal address.
3. The method according to claim 2, wherein the obtaining and storing the air interface bearer information of the terminal device accessing to the base station includes:
receiving a service message sent by terminal equipment accessed to the base station, and acquiring air interface bearing information carried in the service message;
and storing the air interface bearer information carried in the service message under the condition that the air interface bearer information carried in the service message is locally stored and the quantity of the air interface bearer information carried in the locally stored service message is less than a preset quantity, or under the condition that the air interface bearer information carried in the service message is not locally stored.
4. The method of claim 1, wherein if the type of the tunneling start protocol layer is RLC, sending the tunneling packet to the terminal address.
5. The method of claim 1, wherein the flooding task information further comprises a flooding packet protocol type, and wherein the flooding packet protocol type comprises a Transmission Control Protocol (TCP) or a User Datagram Protocol (UDP).
6. The method of claim 5, wherein the type of the tunneling packet protocol is TCP, and the transmission parameter is a packet loss ratio.
7. The method according to claim 5, wherein the type of the tunneling packet protocol is UDP, the tunneling task information further includes a tunneling bandwidth and a thread number, the transmission parameter is a traffic parameter, and the determining the transmission parameter for sending the tunneling packet includes:
and determining a target transmission parameter according to the packet-filling bandwidth and the thread number, counting an actual transmission parameter, and determining the flow parameter according to the target transmission parameter and the actual transmission parameter.
8. The method according to any one of claims 1 to 7, wherein after determining the base station transmission self-test result according to the transmission parameter and a preset threshold, the method further comprises:
and acquiring link state information under the condition that the self-checking result transmitted by the base station is that a fault exists, acquiring an operation log of the base station within a preset time length, and sending the operation log and the link state information to the control system.
9. A base station, characterized in that the base station comprises:
the system comprises an acquisition module, a control module and a sending module, wherein the acquisition module is used for acquiring the information of the encapsulating task from the control system, and the information of the encapsulating task at least comprises an encapsulating initial protocol layer type and a terminal address;
the creating module is used for creating a package filling message;
the transmission module is used for sending the irrigation packet message to the terminal address according to the type of the initial protocol layer of the irrigation packet;
and the self-checking module is used for determining the transmission parameters for sending the irrigation packet message after the transmission module sends the irrigation packet message to the terminal address, and determining the transmission self-checking result of the base station according to the transmission parameters and a preset threshold value.
10. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the base station transmission self-test method of any of claims 1-8.
11. A computer storage medium having a computer program stored thereon, wherein the program when executed implements a base station transmission self-test method according to any of claims 1-8.
CN202110726267.9A 2021-06-29 2021-06-29 Base station transmission self-checking method, base station, electronic equipment and computer storage medium Pending CN115550984A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110726267.9A CN115550984A (en) 2021-06-29 2021-06-29 Base station transmission self-checking method, base station, electronic equipment and computer storage medium
PCT/CN2022/091437 WO2023273608A1 (en) 2021-06-29 2022-05-07 Base station transmission self-checking method, base station, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110726267.9A CN115550984A (en) 2021-06-29 2021-06-29 Base station transmission self-checking method, base station, electronic equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN115550984A true CN115550984A (en) 2022-12-30

Family

ID=84692473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110726267.9A Pending CN115550984A (en) 2021-06-29 2021-06-29 Base station transmission self-checking method, base station, electronic equipment and computer storage medium

Country Status (2)

Country Link
CN (1) CN115550984A (en)
WO (1) WO2023273608A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917389B (en) * 2012-10-22 2016-08-24 大唐移动通信设备有限公司 The method and device of base station transmission self-inspection in a kind of LTE system
CN107172648A (en) * 2017-07-13 2017-09-15 京信通信系统(中国)有限公司 A kind of network test method and equipment
US10979325B2 (en) * 2018-01-19 2021-04-13 Verizon Patent And Licensing Inc. Protocol independent speed testing service
CN110876160B (en) * 2018-09-04 2022-12-09 中国移动通信集团山东有限公司 Resource transmission control method and device based on multimode base station

Also Published As

Publication number Publication date
WO2023273608A1 (en) 2023-01-05

Similar Documents

Publication Publication Date Title
CN109391560B (en) Network congestion notification method, proxy node and computer equipment
EP3082293B1 (en) Switching device and packet loss method therefor
EP2764662B1 (en) Test traffic interceptor in a data network
US10305822B2 (en) Service chain routing method and system, and equipment in system
US20220217070A1 (en) Network OAM Method and Apparatus
WO2016045098A1 (en) Switch, controller, system and link quality detection method
CN108737206B (en) Routing method and device of network channel and computer equipment thereof
US10075395B2 (en) Communication method, optical module, and network device
CN101267363A (en) Loop testing method, system and device
CN113411260A (en) Method and device for sending data message in IPv6 network
CN107623752B (en) Network management method and device based on link layer
CN111989979A (en) Method and system for controlling operation of a communication network to reduce latency
CN107547505B (en) Message processing method and device
EP3306901A1 (en) Domain name system address configuration method and apparatus, and computer storage medium
CN112134747A (en) Method for detecting transmission delay and related equipment
US9256416B1 (en) Methods and apparatus for automatic session validation for distributed access points
EP4030810A1 (en) Method and device for confirming in-situ flow information telemetry capability
CN108243056B (en) Method and device for acquiring abnormal information
CN106817316B (en) Method, device and system for detecting path MTU
CN110224916B (en) Message processing method and device and message packaging method, device and system
CN115550984A (en) Base station transmission self-checking method, base station, electronic equipment and computer storage medium
CN109302504B (en) Method for establishing control signaling channel in PTN, PTN network element and storage medium
CN110011820B (en) Method and device for connecting systems and computer storage medium
CN115604183B (en) Message processing method, device, network equipment and storage medium
CN110324163B (en) Data transmission method and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication