CN113765726A - Statistical method and device for number of lost packets of data packets of S1-U port and computing equipment - Google Patents

Statistical method and device for number of lost packets of data packets of S1-U port and computing equipment Download PDF

Info

Publication number
CN113765726A
CN113765726A CN202010491315.6A CN202010491315A CN113765726A CN 113765726 A CN113765726 A CN 113765726A CN 202010491315 A CN202010491315 A CN 202010491315A CN 113765726 A CN113765726 A CN 113765726A
Authority
CN
China
Prior art keywords
data packet
expected
packet
timer
expected number
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.)
Granted
Application number
CN202010491315.6A
Other languages
Chinese (zh)
Other versions
CN113765726B (en
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.)
China Mobile Communications Group Co Ltd
China Mobile Group Anhui Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Anhui Co Ltd
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 China Mobile Communications Group Co Ltd, China Mobile Group Anhui Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010491315.6A priority Critical patent/CN113765726B/en
Publication of CN113765726A publication Critical patent/CN113765726A/en
Application granted granted Critical
Publication of CN113765726B publication Critical patent/CN113765726B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention relates to the technical field of communication, and discloses a method, a device and a computing device for counting packet loss numbers of data packets of an S1-U port, wherein the method comprises the following steps: acquiring a data packet of a target user transmitted by an S1-U port; if the data packet number is the same as the expected number, updating the expected number to be the first number; if the number of the data packet is larger than the expected number, starting a preset timer, and deleting the number of the data packet from the expected sequence; if a new data packet with the data packet number larger than the expected number is received before the timer is overtime, deleting the data packet number from the expected sequence; if the timer receives the data packet carrying the expected number before the timeout, updating the expected number to be a second number; and if the timer does not receive the data packet carrying the expected number before the timeout, accumulating 1 for the packet loss number corresponding to the target user, and updating the expected number to be the second number. Through the mode, the embodiment of the invention realizes the statistics of the number of lost packets of the S1-U port.

Description

Statistical method and device for number of lost packets of data packets of S1-U port and computing equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a statistical method and device for packet loss number of data packets of an S1-U port and computing equipment.
Background
With the development of mobile network services and home wide services, problems of packet loss, delay and the like of an S1-U port in the data transmission process are gradually highlighted.
At present, packet loss statistics under an SGW can be realized by means of optical distribution signaling acquisition at a Serving Gateway (SGW) side, but it is not possible to determine packet loss of an S1-U port or packet loss of an air interface. UDP and IP layers are arranged below a GTP-U layer of the S1-U port, and a reordering function is not provided, so that data packets received by the S1-U port are out of order, and a 4G eNodeB side cannot carry out statistics on packet loss of the S1-U port.
Disclosure of Invention
In view of the above problems, embodiments of the present invention provide a statistical method, an apparatus, and a computing device for data packet loss of an S1-U port, so as to solve the problem that the packet loss of the S1-U port cannot be counted in the prior art.
According to an aspect of the embodiment of the present invention, there is provided a statistical method for packet loss of S1-U port data packets, the method including:
acquiring a data packet of a target user transmitted by an S1-U port, wherein the target user is any one of all users in a target cell, and the data packet carries a data packet number;
if the data packet number is the same as the expected number, updating the expected number to be a first number; the first number is adjacent to the expected number in an expected sequence, and the first number is greater than the expected number;
if the data packet number is greater than the expected number, starting a preset timer, and deleting the data packet number from the expected sequence;
if a new data packet with the data packet number larger than the expected number is received before the timer is overtime, deleting the data packet number carried by the new data packet from the expected sequence;
if a data packet carrying the expected number is received before the timer is overtime, updating the expected number to be a second number, wherein the second number is adjacent to the expected number in the expected sequence and is larger than the expected number;
if the timer does not receive the data packet carrying the expected number before timeout, accumulating 1 to the packet loss number corresponding to the target user, and updating the expected number to the second number;
and accumulating packet loss numbers of all users in the target cell within a preset time period to obtain an S1-U port packet loss number of the target cell within the preset time period.
In an optional manner, the data packet carries a user identifier of the target user; after acquiring the data packet transmitted by the S1-U port, the method further includes:
if the data packet is the first data packet corresponding to the user identifier, setting an initial expected number and an initial expected sequence according to the data packet number carried by the data packet; the expected number is the sum of the data packet number and 1, the expected sequence is an arithmetic difference number sequence with the tolerance of 1, and the first bit of the expected sequence is the sum of the data packet number and 1.
In an optional manner, after obtaining the data packet transmitted by the S1-U port, the method further includes:
if the packet number is less than the expected number, no action is taken.
In an optional manner, after starting the preset timer, the method further includes:
and if the carried data packet number is smaller than the data packet with the expected number before the timer is overtime, the operation is not carried out.
In an alternative, the timer is stopped if a packet carrying the expected number is received before the timer expires.
According to another aspect of the embodiments of the present invention, there is provided a device for counting packet loss of an S1-U port, the device including:
an obtaining module, configured to obtain a data packet of a target user transmitted by an S1-U port, where the target user is any one of all users in a target cell, and the data packet carries a data packet number;
the first updating module is used for updating the expected number to be a first number when the data packet number is the same as the expected number; the first number is adjacent to the expected number in an expected sequence, and the first number is greater than the expected number;
the starting module is used for starting a preset timer when the number of the data packet is greater than the expected number;
a first deleting module, configured to delete the packet number from the expected sequence when the packet number is greater than the expected number;
a second deleting module, configured to delete, when a new data packet with a data packet number greater than the expected number is received before the timer expires, the data packet number carried by the new data packet from the expected sequence;
a second updating module, configured to update the expected number to a second number when a data packet carrying the expected number is received before the timer expires, where the second number is adjacent to the expected number in the expected sequence, and the second number is greater than the expected number;
a first accumulation module, configured to accumulate 1 a packet loss number corresponding to the target user when the timer does not receive a data packet carrying the expected number before timeout;
the second updating module is further configured to update the expected number to the second number when the timer does not receive the data packet carrying the expected number before timeout;
and the second accumulation module is used for accumulating the packet loss numbers of all users in the target cell within a preset time period to obtain the packet loss number of the S1-U port of the target cell within the preset time period.
In an optional manner, the apparatus further comprises:
a setting module, configured to set the expected number and the expected sequence according to a data packet number carried by the data packet when the data packet is a first data packet corresponding to the user identifier; the expected number is the sum of the data packet number and 1, the expected sequence is an arithmetic difference number sequence with the tolerance of 1, and the first bit of the expected sequence is the sum of the data packet number and 1.
In an optional manner, the apparatus further comprises:
and the stopping module is used for stopping the timer when the timer receives the data packet carrying the expected number before the timeout.
According to still another aspect of an embodiment of the present invention, there is provided a computing device including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the method for counting the packet loss number of the data packet of the S1-U port.
According to a further aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, where at least one executable instruction is stored in the storage medium, and when the executable instruction runs on a computing device/apparatus, the computing device/apparatus executes an operation corresponding to the above method for counting packet loss of an S1-U port data packet.
The embodiment of the invention counts the packet loss number by setting the expected number and the expected sequence, starts the timer when the number of the data packet carried by the received data packet is greater than the expected number, and accumulates the packet loss number if the data packet carrying the expected number is not received before the timer is overtime. By the method provided by the embodiment of the invention, on the premise that the core network sends the data packets out of order, the timer is started to wait for the reception of the data packets carrying the expected numbers, so that the statistics on the packet loss number of the S1-U port is realized, and the quality of the S1-U port is further evaluated according to the packet loss number obtained by the statistics.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and the embodiments of the present invention can be implemented according to the content of the description in order to make the technical means of the embodiments of the present invention more clearly understood, and the detailed description of the present invention is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present invention more clearly understandable.
Drawings
The drawings are only for purposes of illustrating embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 illustrates a flowchart of a method for counting packet loss of an S1-U port packet according to an embodiment of the present invention;
fig. 2 shows a functional block diagram of an apparatus for counting packet loss number of an S1-U port packet according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a computing device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein.
The application scenario of the embodiment of the invention is data packet loss statistics when the core network is transmitted to the base station side. A Serving Gateway (SGW) of the core network transmits data to the base station eNodeB through an S1-U port, and the eNodeB transmits data to the user terminal through an air interface. Compared with the prior art that packet loss statistics under the SGW is carried out by means of SGW optical splitting signaling acquisition, packet loss statistics of the S1-U port or air-interface packet loss cannot be determined, the data packet loss statistics of the S1-U port can be realized by the embodiment of the invention aiming at the S1-U port. Compared with the prior art that the center can only carry out the statistics of the air interface packet loss on the eNodeB side, the embodiment of the invention realizes the statistics of the data packet loss of the S1-U interface on the eNodeB side. The following describes specific embodiments.
Fig. 1 shows a flowchart of a statistical method for data packet loss number of S1-U port according to an embodiment of the present invention, which is performed on the eNodeB side. The eNodeB is a radio base station in the LTE network, and is configured to receive data of a core network and send the data of the core network to a user terminal. As shown in fig. 1, the method comprises the steps of:
step 110: and acquiring the data packet of the target user transmitted by the S1-U port.
In this step, the S1-U port is a transmission interface for transmitting data packets between the core network and the base station eNodeB of the target cell. The target cell is any cell which needs to count the packet loss number of the S1-U port data packet. The target user is any user in the target cell, and a corresponding identifier is pre-established for any user in the cell at the eNodeB side, and the identifier may be a Tunnel Endpoint Identifier (TEID) at the eNodeB side. The data packet carries a user identifier, and the user identifier corresponds to the identifier of the eNodeB side one by one, so that the user to which the data packet belongs can be determined according to the user identifier carried in the data packet. For each user in the target cell, the packet loss number is counted according to the method of the embodiment of the invention, and the counting of the packet loss number of each user in the target cell can be carried out simultaneously. The embodiment of the present invention takes a packet loss number statistical method of a target user as an example for explanation. The obtained data packet carries the number of the data packet itself. For example, the packet is a packet transmitted through a GPRS tunnel protocol-user plane (GTP-U), and the packet header includes a packet number.
Step 120: and judging whether the data packet number is the same as the expected data packet number, if so, executing the step 130, otherwise, executing the step 140.
In this step, the expected number is the number of the data packet expected to be received. The expected number is updated in real time. The initial expected number is set according to the number of the data packet carried by the first data packet received for the target user for the first time. The packet numbers in the current network are incremented by 1, that is, the sequence of the packet numbers is 1, 2, 3,4, etc. Therefore, after receiving the first data packet, the data number of the expected received data packet is the data number carried by the first data packet plus 1, i.e. the initial expected number is the sum of the data number carried by the first data packet and 1. The expected sequence is the sequence of the numbers of the data packets expected to be received, the expected sequence is an arithmetic sequence with a tolerance of 1, and the first bit of the expected sequence is the sum of the number of the data carried by the first data packet and 1. For example, if the number of the data packet carried by the first data packet is received is 2, the initial expected number is 3, and the expected sequence is 3,4,5, 6.
Step 130: the expected number is updated to the first number.
In this step, if the packet number is the same as the expected number, the expected number is updated to the first number. Wherein the first number is adjacent to the expected number in the expected sequence and the first number is greater than the expected number. For example, the expected number is 3 and the expected sequence is 3,4,5,6,7,8,9. If the number of the second received packet is 3, the expected number is updated to the first number 4.
Step 140: it is determined whether the packet number is greater than the expected number, and if so, step 150 is performed, otherwise, no action is performed.
Step 150: a preset timer is started and the packet number is removed from the expected sequence.
In this step, if the number of the data packet is greater than the expected number, a preset timer is started, and a timing duration of the preset timer may be set in advance by a person skilled in the art when implementing the embodiment of the present invention, which is not limited thereto. The purpose of starting the preset timer is to determine whether a packet with a packet number equal to the expected number can be received before the timer expires. Since a packet greater than the expected number has been received, the packet number is removed from the expected sequence in order to avoid updating the packet number to the expected number. For example, the expected number is 3 and the expected sequence is 3,4,5,6,7,8,9. If the number of the second received data packet is 4, the expected number 4 is deleted from the expected sequence, resulting in a deleted expected sequence 3,5,6,7,8,9.
After the timer is started and before the timer expires, the base station side may not receive any data packet, which indicates that the base station side does not receive the data packet carrying the expected number before the timer expires, then step 180 is performed. If the base station side receives the data packet before the timer is over time, the received data packet has three situations: first, if a new packet with a packet number greater than the expected number is received, the step 160 is executed; secondly, if a data packet carrying an expected number is received, the step 170 is executed; thirdly, if a packet with a packet number less than the expected number is received, no action is performed. The execution processes of the steps 160 to 180 are not in sequence.
It should be understood that, in the above three cases, at least two cases may be corresponding before the timer expires, and then the corresponding steps are executed. For example, after the timer is started and before the timer is over time, a new data packet carrying a data packet number greater than the expected number and a data packet carrying the expected number are received in sequence, then step 160 is executed first, and then step 170 is executed. It is also possible to receive at least one data packet before the timeout after the timer is started, but the received data packet does not carry the data packet with the expected number, and then execute the corresponding step of step 180.
Step 160: and if a new data packet carrying a data packet number larger than the expected number is received before the timer is overtime, deleting the data packet number carried by the new data packet from the expected sequence.
In this step, if a new packet carrying a packet number greater than the expected number is received before the timer expires, the packet number carried by the new packet is deleted from the expected sequence, so as to avoid updating the packet number to the expected number in the subsequent expected number updating process. For example, if a new data packet is received before the timer expires, the data packet carried by the new data packet is numbered 5, then 5 is deleted from the expected sequence, and the deleted expected sequence is 3,4,6,7,8,9.
Step 170: if a packet carrying the expected number is received before the timer expires, the expected number is updated to the second number.
In this step, the second number is adjacent to the expected number in the expected sequence, and the second number is greater than the expected number. If the data packet carrying the expected number is received, the core network is indicated to send the data packet out of order in the process of sending the data packet to the base station, but the packet is not lost. For example, the expected number is 4 and the expected sequence is 3,4,5,6,7,8,9. if a packet carrying the expected number 4 is received before the timer expires, the expected number is updated to 5.
Step 180: and if the timer does not receive the data packet carrying the expected number before the timeout, accumulating 1 for the packet loss number corresponding to the target user, and updating the expected number to be the second number.
In this step, if the timer does not receive the data packet carrying the expected number before timeout, it is determined that a packet loss occurs, and the number of packet losses corresponding to the target user is accumulated by 1. It should be understood that the initial packet loss number is 0, and the packet loss number is accumulated by 1 every time packet loss occurs until a preset time period is reached, so as to obtain an accumulated value of the packet loss number. The preset time period is a packet loss number counting time period, and the accumulated value of the packet loss numbers is the packet loss number of the target user in the preset time period.
Step 190: and accumulating the packet loss numbers of all users in the target cell within a preset time period to obtain the packet loss number of the S1-U port of the target cell within the preset time period.
In this step, the packet loss number of each user in the target cell is counted according to the steps of steps 110 to 180, and the packet loss number of each user is accumulated to obtain the packet loss number of the S1-U port of the target cell in the preset time period.
The embodiment of the invention counts the packet loss number by setting the expected number and the expected sequence, starts the timer when the number of the data packet carried by the received data packet is greater than the expected number, and accumulates the packet loss number if the data packet carrying the expected number is not received before the timer is overtime. By the method provided by the embodiment of the invention, on the premise that the core network sends the data packets out of order, the timer is started to wait for the reception of the data packets carrying the expected numbers, so that the statistics on the packet loss number of the S1-U port is realized, and the quality of the S1-U port is further evaluated according to the packet loss number obtained by the statistics.
In some embodiments, if a data packet carrying the expected number is received before the timer expires, the expected number is updated, and the timer is stopped, so as to avoid occupying computing resources by the timer.
Fig. 2 shows a functional block diagram of a device for counting packet loss number of an S1-U port packet according to an embodiment of the present invention. As shown in fig. 2, the apparatus includes: the system comprises an acquisition module 210, a first updating module 220, a starting module 230, a first deleting module 240, a second deleting module 250, a second updating module 260, a first accumulating module 270 and a second accumulating module 280.
The obtaining module 210 is configured to obtain a data packet of a target user transmitted by an S1-U port, where the target user is any one of all users in a target cell, and the data packet carries a data packet number;
the first updating module 220 is configured to update the expected number to a first number when the packet number is the same as the expected number; the first number is adjacent to the expected number in an expected sequence, and the first number is greater than the expected number.
The starting module 230 is configured to start a preset timer when the number of the data packet is greater than the expected number.
The first deleting module 240 is configured to delete the data packet number from the expected sequence when the data packet number is greater than the expected number.
The second deleting module 250 is configured to delete the data packet number carried by the new data packet from the expected sequence when a new data packet with a data packet number greater than the expected number is received before the timer expires.
The second updating module 260 is configured to update the expected number to a second number when a data packet carrying the expected number is received before the timer expires, wherein the second number is adjacent to the expected number in the expected sequence and is greater than the expected number.
The first accumulating module 270 is configured to accumulate 1 the packet loss number corresponding to the target user when the timer does not receive the data packet carrying the expected number before timeout.
The second updating module 260 is further configured to update the expected number to the second number when the data packet carrying the expected number is not received before the timer expires.
The second accumulation module 280 is configured to accumulate packet loss numbers of all users in the target cell within a preset time period to obtain an S1-U port packet loss number of the target cell within the preset time period.
In some embodiments, the apparatus further includes a setting module 290, configured to set the expected number and the expected sequence according to a data packet number carried by the data packet when the data packet is a first data packet corresponding to the user identifier; the expected number is the sum of the data packet number and 1, the expected sequence is an arithmetic difference number sequence with the tolerance of 1, and the first bit of the expected sequence is the sum of the data packet number and 1.
In some embodiments, the apparatus further comprises a stopping module 200 configured to stop the timer when a data packet carrying the expected number is received before the timer expires.
The embodiment of the present invention is a virtual device embodiment corresponding to the method embodiment, and a specific description corresponding to the function of each module corresponds to the method embodiment, please refer to the specific description of the method embodiment, which is not described herein again.
The embodiment of the invention counts the packet loss number by setting the expected number and the expected sequence, starts the timer when the number of the data packet carried by the received data packet is greater than the expected number, and accumulates the packet loss number if the data packet carrying the expected number is not received before the timer is overtime. By the method provided by the embodiment of the invention, on the premise that the core network sends the data packets out of order, the timer is started to wait for the reception of the data packets carrying the expected numbers, so that the statistics on the packet loss number of the S1-U port is realized, and the quality of the S1-U port is further evaluated according to the packet loss number obtained by the statistics.
Fig. 3 is a schematic structural diagram of a computing device according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the computing device.
As shown in fig. 3, the computing device may include: a processor (processor)402, a Communications Interface 404, a memory 406, and a Communications bus 408.
Wherein: the processor 402, communication interface 404, and memory 406 communicate with each other via a communication bus 408. A communication interface 404 for communicating with network elements of other devices, such as clients or other servers. The processor 402, configured to execute the program 410, may specifically perform the relevant steps in the above-described embodiment of the statistical method for the number of packets lost for the S1-U port data packet.
In particular, program 410 may include program code comprising computer-executable instructions.
The processor 402 may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention. The computing device includes one or more processors, which may be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 406 for storing a program 410. Memory 406 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 410 may be specifically invoked by the processor 402 to cause the computing device to perform the steps of steps 110 to 190 and to implement the functions of modules 210 to 200.
The embodiment of the present invention provides a computer-readable storage medium, where the storage medium stores at least one executable instruction, and when the executable instruction is executed on a computing device/apparatus, the computing device/apparatus executes a statistical method for packet loss of an S1-U port data packet in any method embodiment described above.
Embodiments of the present invention provide a computer program, where the computer program can be invoked by a processor to enable a computing device to execute a statistical method for packet loss of an S1-U port data packet in any of the above method embodiments.
The embodiment of the present invention provides a computer program product, where the computer program product includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions, when the program instructions are run on a computer, the computer is caused to execute a statistical method for packet loss of S1-U port data packets in any of the above method embodiments.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.

Claims (10)

1. A statistical method for packet loss number of data packets of an S1-U port is characterized by comprising the following steps:
acquiring a data packet of a target user transmitted by an S1-U port, wherein the target user is any one of all users in a target cell, and the data packet carries a data packet number;
if the data packet number is the same as the expected number, updating the expected number to be a first number; the first number is adjacent to the expected number in an expected sequence, and the first number is greater than the expected number;
if the data packet number is greater than the expected number, starting a preset timer, and deleting the data packet number from the expected sequence;
if a new data packet with the data packet number larger than the expected number is received before the timer is overtime, deleting the data packet number carried by the new data packet from the expected sequence;
if a data packet carrying the expected number is received before the timer is overtime, updating the expected number to be a second number, wherein the second number is adjacent to the expected number in the expected sequence and is larger than the expected number;
if the timer does not receive the data packet carrying the expected number before timeout, accumulating 1 to the packet loss number corresponding to the target user, and updating the expected number to the second number;
and accumulating packet loss numbers of all users in the target cell within a preset time period to obtain an S1-U port packet loss number of the target cell within the preset time period.
2. The method of claim 1, wherein the data packet carries a user identifier of the target user; after acquiring the data packet transmitted by the S1-U port, the method further includes:
if the data packet is the first data packet corresponding to the user identifier, setting an initial expected number and an initial expected sequence according to the data packet number carried by the data packet; the expected number is the sum of the data packet number and 1, the expected sequence is an arithmetic difference number sequence with the tolerance of 1, and the first bit of the expected sequence is the sum of the data packet number and 1.
3. The method according to claim 1, wherein after obtaining the data packet transmitted by the S1-U port, the method further comprises:
if the packet number is less than the expected number, no action is taken.
4. The method of claim 1, wherein after starting the preset timer, the method further comprises:
and if the carried data packet number is smaller than the data packet with the expected number before the timer is overtime, the operation is not carried out.
5. The method of claim 1, wherein the timer is stopped if a packet carrying the expected number is received before the timer expires.
6. An apparatus for counting packet loss of an S1-U port, the apparatus comprising:
an obtaining module, configured to obtain a data packet of a target user transmitted by an S1-U port, where the target user is any one of all users in a target cell, and the data packet carries a data packet number;
the first updating module is used for updating the expected number to be a first number when the data packet number is the same as the expected number; the first number is adjacent to the expected number in an expected sequence, and the first number is greater than the expected number;
the starting module is used for starting a preset timer when the number of the data packet is greater than the expected number;
a first deleting module, configured to delete the packet number from the expected sequence when the packet number is greater than the expected number;
a second deleting module, configured to delete, when a new data packet with a data packet number greater than the expected number is received before the timer expires, the data packet number carried by the new data packet from the expected sequence;
a second updating module, configured to update the expected number to a second number when a data packet carrying the expected number is received before the timer expires, where the second number is adjacent to the expected number in the expected sequence, and the second number is greater than the expected number;
a first accumulation module, configured to accumulate 1 a packet loss number corresponding to the target user when the timer does not receive a data packet carrying the expected number before timeout;
the second updating module is further configured to update the expected number to the second number when the timer does not receive the data packet carrying the expected number before timeout;
and the second accumulation module is used for accumulating the packet loss numbers of all users in the target cell within a preset time period to obtain the packet loss number of the S1-U port of the target cell within the preset time period.
7. The apparatus of claim 6, further comprising:
a setting module, configured to set the expected number and the expected sequence according to a data packet number carried by the data packet when the data packet is a first data packet corresponding to the user identifier; the expected number is the sum of the data packet number and 1, the expected sequence is an arithmetic difference number sequence with the tolerance of 1, and the first bit of the expected sequence is the sum of the data packet number and 1.
8. The apparatus of claim 6, further comprising:
and the stopping module is used for stopping the timer when the timer receives the data packet carrying the expected number before the timeout.
9. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the method for counting the packet loss number of the S1-U port according to any one of claims 1 to 5.
10. A computer-readable storage medium, wherein at least one executable instruction is stored in the storage medium, and when the executable instruction is executed on a computing device/apparatus, the computing device/apparatus is caused to perform an operation corresponding to the method for counting packet loss number of S1-U port according to any one of claims 1 to 5.
CN202010491315.6A 2020-06-02 2020-06-02 Statistical method, device and computing equipment for packet loss number of S1-U port data packets Active CN113765726B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010491315.6A CN113765726B (en) 2020-06-02 2020-06-02 Statistical method, device and computing equipment for packet loss number of S1-U port data packets

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010491315.6A CN113765726B (en) 2020-06-02 2020-06-02 Statistical method, device and computing equipment for packet loss number of S1-U port data packets

Publications (2)

Publication Number Publication Date
CN113765726A true CN113765726A (en) 2021-12-07
CN113765726B CN113765726B (en) 2023-08-04

Family

ID=78782988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010491315.6A Active CN113765726B (en) 2020-06-02 2020-06-02 Statistical method, device and computing equipment for packet loss number of S1-U port data packets

Country Status (1)

Country Link
CN (1) CN113765726B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101400156A (en) * 2007-09-29 2009-04-01 华为技术有限公司 Downlink and uplink data packet forwarding method based on S1 switching
WO2010091610A1 (en) * 2009-02-13 2010-08-19 华为技术有限公司 Link detection method, apparatus and communications system thereof
CN106792262A (en) * 2016-12-05 2017-05-31 乐视控股(北京)有限公司 Method of transmitting video data and device
CN107979449A (en) * 2016-10-25 2018-05-01 杭州海康威视数字技术股份有限公司 A kind of data transmission method and device
CN109462857A (en) * 2017-09-06 2019-03-12 中兴通讯股份有限公司 Loss treating method, device, wireless net member and computer readable storage medium
CN110932934A (en) * 2019-11-21 2020-03-27 中国联合网络通信集团有限公司 Network packet loss detection method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101400156A (en) * 2007-09-29 2009-04-01 华为技术有限公司 Downlink and uplink data packet forwarding method based on S1 switching
WO2010091610A1 (en) * 2009-02-13 2010-08-19 华为技术有限公司 Link detection method, apparatus and communications system thereof
CN107979449A (en) * 2016-10-25 2018-05-01 杭州海康威视数字技术股份有限公司 A kind of data transmission method and device
CN106792262A (en) * 2016-12-05 2017-05-31 乐视控股(北京)有限公司 Method of transmitting video data and device
CN109462857A (en) * 2017-09-06 2019-03-12 中兴通讯股份有限公司 Loss treating method, device, wireless net member and computer readable storage medium
CN110932934A (en) * 2019-11-21 2020-03-27 中国联合网络通信集团有限公司 Network packet loss detection method and device

Also Published As

Publication number Publication date
CN113765726B (en) 2023-08-04

Similar Documents

Publication Publication Date Title
CN108353067B (en) Method, system and related equipment for realizing capability openness
CN111466152B (en) Method for processing resource shortage during protocol data unit session establishment process and user equipment thereof
KR101534902B1 (en) Providing a deny response that specifies a delay time
US10999768B2 (en) Session context handling method, network element, and terminal device
CN111641989B (en) Protocol data unit session establishing method and related device
US20170027016A1 (en) Communication device, wireless communication device, and communication method
CN113873455A (en) Flow statistical method and system, computer readable storage medium
CN110536359B (en) Network slice creation method, device, equipment and storage medium
CN111988212A (en) Message transmission method and related device
US10136375B2 (en) Method for service data management, apparatus, and system
US11246169B2 (en) Communication method, related device, and system
RU2732736C1 (en) Communication method, secondary network node and terminal
CN111565479B (en) Communication method, device and system thereof
CN113765726B (en) Statistical method, device and computing equipment for packet loss number of S1-U port data packets
CN114697269A (en) Data communication method, apparatus, device and medium
EP4199580A1 (en) Packet loss indication method and related device
CN110876164B (en) Method and device for setting parameters for triggering polling and computer-readable storage medium
WO2021152369A1 (en) Dynamic uplink end-to-end data transfer scheme with optimized memory path
CN115297178B (en) Message sending method and device, storage medium and electronic device
CN107666728B (en) Method and base station for releasing terminal
CN113473564B (en) Network slice switching method, PDU session establishing method and device
CN111953608B (en) Neighbor table entry management method and device, electronic equipment and storage medium
JP2018195973A (en) Mobile edge computing device, communication system, mobile terminal, and session management method
EP3979743B1 (en) Sidelink implementation method and related product
WO2024050821A1 (en) METHOD AND APPARATUS OF SUPPORTING QUALITY OF EXPERIENCE (QoE) PREDICTION

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant