CN114650243A - Network delay detection method and device, mobile terminal and storage medium - Google Patents

Network delay detection method and device, mobile terminal and storage medium Download PDF

Info

Publication number
CN114650243A
CN114650243A CN202011501450.0A CN202011501450A CN114650243A CN 114650243 A CN114650243 A CN 114650243A CN 202011501450 A CN202011501450 A CN 202011501450A CN 114650243 A CN114650243 A CN 114650243A
Authority
CN
China
Prior art keywords
network
data packet
detection
delay
packet
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
CN202011501450.0A
Other languages
Chinese (zh)
Other versions
CN114650243B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011501450.0A priority Critical patent/CN114650243B/en
Publication of CN114650243A publication Critical patent/CN114650243A/en
Application granted granted Critical
Publication of CN114650243B publication Critical patent/CN114650243B/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/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The disclosure relates to a network delay detection method and device, a mobile terminal and a storage medium network delay detection method. Intercepting a network data packet passing through a kernel protocol stack; determining whether the intercepted network data packet is sent by an application program of the network delay to be detected; if the intercepted network data packet is sent by an application program of the network delay to be detected, establishing a TCP connection according to a destination address carried by the intercepted network data packet; and transmitting the detection data packet based on the TCP connection, and determining network delay according to the receiving and sending conditions of the detection data packet.

Description

Network delay detection method and device, mobile terminal and storage medium
Technical Field
The present disclosure relates to the field of network technologies, and in particular, to a network delay detection method and apparatus, a mobile terminal, and a storage medium.
Background
Network latency is an important metric for measuring network transmission quality. The network delay is large, which indicates that the transmission speed of the current network is slow or the packet loss rate is large, and if the network delay is small, the transmission speed of the current network is large.
Under different network delay network transmission environments, a response network transmission strategy can be given according to network quality indexes such as network delay and the like, so that network congestion or network transmission slow and the like are adjusted, and the network transmission quality is improved.
In the related art, a network Control Protocol (Internet Control Message Protocol, ICMP) Protocol is generally used, and a network transmission delay is obtained by sending a detection packet to a designated network and then analyzing the detection packet according to a received recovery packet of a server.
Since the network Protocol (IP) of the server is fixed, only the fixed IP can detect the network delay.
In another related art, the network delay is detected by the delay of the link, but this approach may be complicated.
Disclosure of Invention
The disclosure provides a network delay detection method and device, a mobile terminal and a storage medium.
According to a first aspect of the embodiments of the present disclosure, a method for detecting network delay is provided, which is applied to a mobile terminal, and includes:
intercepting a network data packet passing through a kernel protocol stack;
determining whether the intercepted network data packet is sent by an application program of the network delay to be detected;
if the intercepted network data packet is sent by an application program of the network delay to be detected, establishing Transmission Control Protocol (TCP) TCP connection according to a destination address carried by the intercepted network data packet;
and transmitting the detection data packet based on the TCP connection, and determining network delay according to the receiving and sending conditions of the detection data packet.
Based on the above scheme, the determining whether the intercepted network data packet is sent by the application program to be detected for network delay includes:
matching a User Identification (UID) of the intercepted network data packet with the UID contained in the interception field of the interception program;
and if the matching is successful, determining the intercepted network data packet as the data packet sent by the application program of the network delay to be detected.
Based on the above scheme, the method further comprises:
and before the network delay, writing the UID of the application program to be detected for the network delay into the interception field.
Based on the above scheme, the interception program includes: beckerley Packet Filtering (BPF) code.
Based on the above scheme, the transmitting the detection packet based on the TCP connection includes:
generating the detection data packet based on a random filling mechanism;
and sending the detection data packet to the target address through the established TCP connection.
Based on the above scheme, the determining the network delay according to the transceiving status of the detection data packet includes:
receiving a feedback data packet returned based on the detection packet and TCP information of the detection packet, and determining a delay value of the detection packet;
and determining the network delay according to the delay value.
Based on the above scheme, the determining the network delay according to the delay value includes:
and smoothing the delay values of the plurality of detection data packets to obtain the network delay.
According to a second aspect of the embodiments of the present disclosure, there is provided a network delay detection apparatus, applied in a mobile terminal, including:
the interception module is used for intercepting network data packets passing through the kernel protocol stack;
the determining module is used for determining whether the intercepted network data packet is sent by the application program to be detected for network delay;
the establishing module is used for establishing TCP connection according to a destination address carried by the intercepted network data packet if the intercepted network data packet is sent by an application program of the network delay to be detected;
and the detection module is used for transmitting the detection data packet based on the TCP connection and determining network delay according to the receiving and sending conditions of the detection data packet.
Based on the scheme, the determining module is specifically configured to match the user identifier UID of the intercepted network data packet with the UID included in the interception field of the interception program; and if the matching is successful, determining the intercepted network data packet as the data packet sent by the application program of the network delay to be detected.
Based on the above scheme, the apparatus further comprises:
and the writing module is used for writing the UID of the application program to be detected for network delay into the interception field before the network delay is carried out.
Based on the above scheme, the interception program includes: the beckray packet filters the BPF code.
Based on the above scheme, the detection module is configured to generate the detection data packet based on a random filling mechanism; and sending the detection data packet to the target address through the established TCP connection.
Based on the above solution, the detection module is configured to receive a feedback data packet returned based on the detection packet and TCP information of the detection data packet, and determine a delay value of the detection data packet; and determining the network delay according to the delay value.
Based on the above solution, the detection module is configured to perform smoothing processing on the delay values of the multiple detection data packets to obtain the network delay.
According to a third aspect of the embodiments of the present disclosure, there is provided a mobile terminal including:
a memory for storing processor-executable instructions;
a processor coupled to the memory;
wherein the processor is configured to perform, for example, a network latency detection method.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a computer, enable the computer to perform a method such as network latency detection.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
as can be seen from the foregoing embodiments, in the technical scheme provided by the present disclosure, a network data packet is intercepted by a kernel protocol stack, and it is determined whether the intercepted network data packet belongs to an application program to be detected for network delay, and if so, a destination address of the network data packet sent by the application program to be detected for network delay is directly extracted from the intercepted network data packet. In this way, in the embodiment of the present disclosure, even if the application installed on the mobile terminal is a third-party application or the address of the server of the application is changed, the application can be accurately and dynamically acquired in this way. Therefore, the technical scheme provided by the embodiment of the disclosure can realize the detection of the network delay of any application program, has the characteristic of wide detectable range, and does not need to know the address of the server known by the application program in advance. In addition, in the embodiment of the present disclosure, a TCP connection is established through a destination address carried by an intercepted network data packet, and network delay is measured based on a TCP mechanism corresponding to the TCP connection, even if UDP transmission is performed between an original application program and a server, the network delay measurement can be simply and conveniently realized due to the establishment of the TCP connection.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow diagram illustrating a method of network latency detection in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method of network latency detection in accordance with an exemplary embodiment;
fig. 3 is a schematic structural diagram illustrating a network latency detection apparatus according to an exemplary embodiment;
FIG. 4 is a flow diagram illustrating a method of network latency detection in accordance with an exemplary embodiment;
fig. 5 is a schematic structural diagram illustrating a network latency detection apparatus according to an exemplary embodiment;
FIG. 6 is a flow diagram illustrating a method of network latency detection in accordance with an exemplary embodiment;
FIG. 7 is a flow diagram illustrating a method of network latency detection in accordance with an exemplary embodiment;
FIG. 8 is a flow diagram illustrating a method of network latency detection in accordance with an exemplary embodiment;
FIG. 9 is a flowchart illustrating a network latency detection method according to an exemplary embodiment;
fig. 10 is a schematic diagram illustrating a structure of a mobile terminal according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of devices consistent with certain aspects of the present disclosure, as detailed in the appended claims.
As shown in fig. 1, an embodiment of the present disclosure provides a network delay detection method, applied to a mobile terminal, including:
s110: intercepting a network data packet passing through a kernel protocol stack;
s120: determining whether the intercepted network data packet is sent by an application program of the network delay to be detected;
s130: if the intercepted network data packet is sent by an application program of the network delay to be detected, establishing a TCP connection according to a destination address carried by the intercepted network data packet;
s140: and transmitting the detection data packet based on the TCP connection, and determining network delay according to the receiving and sending conditions of the detection data packet.
In the embodiment of the present disclosure, the mobile terminal includes, but is not limited to, at least one of the following electronic devices: the mobile phone, the tablet computer, the wearable device, the vehicle-mounted device or the intelligent device. The smart devices include, but are not limited to: intelligent household equipment and/or intelligent office equipment.
Different applications may be provided by different vendors and program services provided by different servers. At this time, if the application interacts with the server for network packets, different applications may connect to the server with different IP addresses.
The application belongs to the application layer of the mobile terminal, and the application layer is above the kernel of the mobile terminal. A kernel protocol stack is operated in the kernel.
When sending the network data packet, the application layer needs to pass through the kernel protocol stack and then transfer the physical layer (the hardware included in the physical layer includes a network card and the like) to send the network data packet outwards.
In the embodiment of the present disclosure, in order to perform packet interception and the like without introducing other modules, a network packet passing through a kernel protocol stack is directly intercepted. And then analyzing the intercepted network data packet, and determining whether the intercepted network data packet is a data packet sent by the application program to be detected.
If the intercepted data packet is not the network data packet of the application program to be detected, the intercepted data packet can be directly released, and the transmission delay caused by the fact that the network data packet is stagnated for too long time at the mobile terminal is reduced.
If the intercepted data packet is the data packet of the application program to be detected, the IP address and/or the port number of the server corresponding to the application program can be obtained by analyzing the network data packet, so that even if the IP address and/or the port number of the third-party application program or the server of the application program is changed, the mobile terminal can successfully obtain the IP address of the server of the application program, and the network delay detection is successfully carried out.
In the embodiments of the present disclosure, the destination address of the network data packet at least includes an IP address, and in other embodiments, the destination address may include: and the destination IP address and the destination port number sent by the network data packet.
In the embodiment of the present disclosure, in order to ensure successful transmission of the network data packet of the application program, after the destination address of the network data packet to be detected to the application program is successfully acquired, the intercepted network data packet is released, that is, the intercepted network data packet is routed through the original path. For example, a network data packet sent by an application program to be detected is originally transmitted through a User Datagram Protocol (UDP), and after a destination address is successfully extracted from the network data packet, the network data packet is continuously transmitted based on the UDP. For another example, if the network data packet sent by the application program to be detected is originally transmitted through the TCP protocol, the original TCP connection established based on the TCP protocol continues to transmit the network data packet after the destination address is extracted from the successful network data packet.
In the embodiment of the present disclosure, a TCP connection is established between the mobile terminal and the server of the application program based on the destination address extracted from the network data packet of the application program to be detected. If the application program and the server are transmitting network data packets based on the TCP protocol and the TCP connection, the TCP connection established in step S130 is different from the TCP connection transmitting the network data packet (application data packet for short) carrying the application data between the application program and the server. For example, the TCP connection transmitting the detection packet uses a different source port than the TCP connection transmitting the application packet. Therefore, when network delay detection is carried out, transmission of normal application data packets of the application program can be completely not interfered.
In the embodiment of the disclosure, by establishing the TCP connection and performing the network delay based on the established TCP connection, even if the application program to be detected to detect the network delay uses the UDP protocol to transmit the network data packet, the network delay can be successfully detected, and the range of the application program capable of detecting the network delay is obviously expanded, so that the method has the characteristic of wider application range.
In the embodiment of the present disclosure, the detection packet may be any packet for detecting network latency, for example, a specially constructed network packet different from the application packet.
In one embodiment, the destination address extracted from the network packet sent by the application program to be detected for network latency may be written into an address entry field, which may correspond to a memory address, which may identify a memory space size comprising one or more bytes. This address entry field may be named: voip _ record _ map; of course, other names may be named in the specific implementation process.
Subsequently, when the TCP connection is established, the address recorded in the address entry field may be an address of the TCP connection, and the local address of the mobile terminal may be selected as another address of the established TCP connection.
For example, when a TCP connection is established, according to the destination address recorded in the address entry field, the TCP connection is established with the correspondent node identified by the destination address through three-way handshake.
Prior to establishing the TCP connection, the method may further comprise:
configuring a Socket (Socket) for detecting packet transmission using the TCP connection.
Referring to FIG. 8, configuring a socket here may include:
firstly, a socket function creates a network protocol cluster, for example, an AF-INET is created according to a destination address and an IP address of a mobile terminal, for example, if the destination address and the IP address of the mobile terminal are Ipv4, the AF-INET is created; if the IP address of the mobile terminal and the destination address are Ipv6, an AF-INET6 is created.
And the socket type is configured as SOCK-STRAM, i.e. the TCP stream is transmitted.
And configuring the TCP connection according to the destination IP address recorded by the address entry field, selecting a network card related to a network data packet by using setsockpt to interact network delay with a communication opposite terminal in the mobile terminal, and finally establishing the TCP connection through a connection (connect) function.
After the TCP connection is established, a plurality of detection packets may be sent, and there are various ways to send a plurality of detection packets, and a segment of test content composed of different contents may be found and split into each TCP packet to form a detection packet, or as shown in fig. 8, a detection packet composed of random contents may be sent in a circulating manner. Therefore, the content of different detection data packets is different, the phenomenon that the communication opposite end of the destination address identification does not return a feedback data packet because of repeatedly receiving the same content can be reduced, and the success rate of network delay detection is ensured.
In one embodiment, the S120 includes:
matching the User Identification (UID) of the intercepted network data packet with the UID contained in the interception field of the interception program;
and if the matching is successful, determining the intercepted network data packet as the data packet sent by the application program of the network delay to be detected.
After an application is installed in the mobile terminal, the mobile terminal assigns a UID for distinguishing other applications to the application. When an application program of the application layer needs to send a network data packet to a network outside the device through the kernel, the UID is carried with the network data packet.
Therefore, after the kernel protocol stack intercepts the network data packet, whether the currently intercepted network data packet is the UID of the application program to be detected for network delay is determined through the UID carried by the network data packet. For example, the UID of the application program to be detected for network delay is written in the kernel protocol stack, so that it can be known whether the network data packet currently passing through the kernel protocol stack is the network data packet of the application program to be detected through UID matching.
If yes, the packet header of the intercepted network data packet is analyzed, and at least the destination address can be obtained.
In the embodiment of the disclosure, the kernel protocol stack can simply and conveniently distinguish the network data packets of different application programs through the UID, so as to successfully intercept the network data packet of the application program to be detected for network delay, and release the network data packet of other application programs which do not need to detect network delay, and the implementation method has the characteristic of simplicity.
In one embodiment, the kernel protocol stack includes an interceptor; the interceptor program may be in various forms of code that can be included in the kernel protocol stack. The interception program can be provided with an assignable interception field, and the assigned content of the interception field can be the UID of any application program to be detected.
This intercept field may be named: uid _ monitor _ map. Of course, in other embodiments, the intercept field may also be named by other names.
The interception field corresponds to a storage space. The storage space includes: one or more bytes or any storage space into which at least one UID may be written. Illustratively, the intercept field allows writing of one or more UIDs.
In one embodiment, the method further comprises:
when a destination address is extracted from the intercepted network data packet, a timestamp is also determined, wherein the timestamp comprises a sending timestamp extracted from the network data packet or an extraction timestamp recording the time when the destination address is extracted;
at the same time as the recording of the target address, a determined time stamp is also recorded.
If the subsequent detection is abnormal, the time difference between the time points corresponding to the two timestamps can be determined according to the detection time point and the timestamp written into the voip _ record _ map, if the time difference is large, at least one of the IP address and/or the port number of the communication opposite end which may receive the network data packet sent by the application program changes, and the IP address and/or the port number carried in the network data packet of the APP with the network delay to be detected needs to be obtained again, so that the detection success rate of the network delay is improved. If the time difference is smaller, the detection data packet can be continuously sent.
Therefore, in the embodiment of the present disclosure, as shown in fig. 2, the method further includes:
s100: and before the network delay, writing the UID of the application program to be detected for the network delay into the interception field.
Because the UID assigned to the interception field in the interception program can be changed, the mobile terminal can detect the network delay of network data packet transmission between any application program in the mobile terminal and the server by modifying the specific assignment mode of the interception field.
In some embodiments, the interception program includes, but is not limited to, BPF code using BPF techniques. The BPF code may include a more basic BPF code and an extended eBPF code. As such, the interception program includes: the beckray packet filters the BPF code.
The BPF code is adopted as the interception program, so that the method can be well compatible with other software programs of a kernel protocol stack, and is simple and convenient to implement.
In some embodiments, said transmitting a detection packet based on said TCP connection comprises:
generating the detection data packet based on a random filling mechanism;
and sending the detection data packet to the target address through the established TCP connection.
Generating the detection data packet based on a random filling mechanism may include: random length packets and/or random content constructed detection packets.
For example, a random number is generated by using a random algorithm, and a network packet equal to the length of the random number is generated to constitute the detection packet. For example, random content is generated using a random algorithm, and random packets containing the random content are further generated. In summary, in the embodiment of the present disclosure, the detection data packet generated by using the random filling mechanism is a random data packet, and due to the randomness of the random data packet, compared with the detection data packet which sends the detection data packet with the specified length and/or the detection data packet with the fixed content, the phenomenon that the network delay cannot be successfully detected due to the fact that the server at the level exercised by the application program refuses to reply the data packet can be reduced, so that the success rate of detecting the network delay is improved.
In an embodiment, the S140 may include:
receiving a feedback data packet returned based on the detection packet;
determining a delay value of the detection data packet according to the receiving time of the feedback data packet and the TCP information of the detection data packet;
and determining the network delay according to the delay value.
Since the TCP connection is used for transmission of the detection packet, that is, the detection packet at this time is a TCP packet conforming to the TCP protocol, the opposite communication end (i.e., the destination of the detection packet) sends a feedback packet according to the receiving status of the detection packet, where the content of the feedback packet includes, but is not limited to: an Acknowledgement (ACK) or a Negative Acknowledgement (NACK). For example, a plurality of data packets are numbered in sequence based on a network data packet that is sent by a TCP connection and conforms to a TCP protocol, and if a certain TCP packet is lost or reaches a timeout, the correspondent node may determine whether a certain TCP has timed out according to a sequence number of the received TCP packet, send NACK if the TCP has timed out, and send ACK if the TCP reaches the timeout.
When a protocol stack in the mobile terminal receives and transmits a TCP packet, TCP information can be automatically generated, the TCP information comprises some time information, and the time information can be directly used by a user to calculate a transmission delay value of a TCP data packet. Therefore, the data packet transmission is carried out based on the established TCP connection, the mobile terminal does not need to specially record the sending time stamp of the detection data packet and the receiving time stamp of the received feedback data packet, and the delay value of the transmission of a single detection data packet can be simply and conveniently calculated directly according to the TCP information generated by the original TCP protocol record.
Illustratively, the delay values of a single detection packet and its corresponding feedback packet may be calculated from the contents of the following fields in the TCP information.
/*Times.*/
__ u32 TCPi _ last _ data _ sent; // current time-the time of transmission of the last packet, in milliseconds;
__ u32 TCPi _ last _ ack _ sent; /not used/;
__ u32 TCPi _ last _ data _ recv; // current time-time of last received packet in milliseconds;
__ u32 TCPi _ last _ ack _ recv; // current time-time of last ack received in milliseconds.
In some embodiments, said determining said network latency based on said latency value comprises:
and smoothing the delay values of the plurality of detection data packets to obtain the network delay.
In order to realize accurate measurement of network delay, the network delay is not determined only by sending a single detection data packet and receiving a feedback data packet corresponding to the detection data packet. Generally, the mobile terminal sends a series of detection packets, and receives a series of feedback packets from the correspondent node, so as to obtain a plurality of delay values.
After obtaining a plurality of delay values, the kernel protocol stack performs smoothing processing on the plurality of delay values to obtain the final network delay.
The smoothing of the delay values of the plurality of detection packets comprises at least one of:
carrying out weighted average processing on the delay values of the plurality of detection data packets;
performing arithmetic mean processing on delay values of a plurality of detection packets;
and taking the median value of the plurality of detection data packets as a network delay value obtained by smoothing processing.
For example, assume that N detection packets are transmitted at once: the N detection packets have N weights, the weight of the nth data packet is greater than the weight of the (N + 1) th data packet, and N is a natural number; n is a natural number less than N. The sum of the weights of the N detection packets may be 1. Obtaining N delay values according to the N detection data packets and the TCP information of the feedback data packets of the N detection data packets; and calculating the weighted average value of the N delay values according to the weight values of the N data packets to obtain the network delay. Illustratively, for example, N is equal to 2, the weight of the 1 st detection packet may be greater than 0.5, and the weight of the 2 nd detection packet may be less than 0.5.
As shown in fig. 3, a network delay detection apparatus according to an embodiment of the present disclosure is applied to a mobile terminal, and includes:
an interception module 310, configured to intercept a network data packet passing through a kernel protocol stack;
a determining module 320, configured to determine whether the intercepted network data packet is sent by an application program to be detected for network delay;
the establishing module 330 is configured to establish a TCP connection according to a destination address carried by the intercepted network data packet if the intercepted network data packet is sent by an application program to be detected for network delay;
the detecting module 340 is configured to transmit a detection packet based on the TCP connection, and determine a network delay according to a receiving and sending status of the detection packet.
In some embodiments, the intercepting module 310, determining module 320, establishing module 330, and detecting module 340 may be purely software modules; the pure software module can intercept network data packets after being executed by the processor, determine which network data packets belong to the network data packets sent by the application program to be detected, and establish TCP connection and determine network delay through the established TCP connection according to a destination address carried by the intercepted network data packets if the intercepted network data packets are sent by the application program to be detected with network delay.
In some embodiments, the intercepting module 310, the determining module 320, the establishing module 330, and the detecting module 340 may be a soft-hard combining module; soft and hard combining modules include, but are not limited to, programmable arrays; programmable arrays include, but are not limited to: a field programmable array or a complex programmable array.
In still other embodiments, the interception module 310, the determination module 320, the establishment module 330, and the detection module 340 may be purely hardware modules; pure hardware modules include, but are not limited to: an application specific integrated circuit.
In some embodiments, the determining module 320 is specifically configured to match a user identifier UID of an intercepted network data packet with a UID included in an interception field of an interception program; and if the matching is successful, determining the intercepted network data packet as the data packet sent by the application program of the network delay to be detected.
In some embodiments, the apparatus further comprises:
and the writing module is used for writing the UID of the application program to be detected for network delay into the interception field before the network delay is carried out.
In some embodiments, the interception program comprises: the beckray packet filters the BPF code.
In some embodiments, the detection module 340 is configured to generate the detection packet based on a random filling mechanism; and sending the detection data packet to the target address through the established TCP connection.
In some embodiments, the detection module 340 is configured to receive a feedback packet returned by the detection packet and TCP information of the detection packet, and determine a delay value of the detection packet; and determining the network delay according to the delay value.
In some embodiments, the detecting module 340 is configured to smooth the delay values of the plurality of detected packets to obtain the network delay.
The embodiment of the disclosure provides a network delay detection method, which specifically includes the following steps:
the method commonly used for evaluating the network condition is to use an ICMP packet to send a detection data packet to a specified network address, and then to perform analysis calculation operation according to the received packet replied by the server, so as to obtain the network delay data on the link.
First, the IP address of the server detected in this scheme is fixed, which does not allow a reasonable calculation of the network delay of the different links and also imposes an additional burden on the server. Secondly, many servers of third party Application (APP) manufacturers refuse to accept ICMP packets, which results in many network paths being unmeasured.
Under the condition of dynamically detecting the network quality, the quality condition of any APP real-time link can be judged, and other services can provide further adjustment for the network policy by means of the judged values.
Referring to fig. 4, by the network delay detection method provided by the embodiment of the present disclosure, network delay is dynamically obtained; when there is a service or APP which needs to obtain the network service quality, the network strategy can be adjusted according to the network delay which is obtained dynamically. After the network policy is adjusted, if there is a service or APP which needs to acquire the network service quality, the network delay is triggered to be dynamically acquired.
Network policies herein include, but are not limited to, at least one of:
the network bandwidth allocation policy, for example, allocates the total network bandwidth of the mobile terminal to different applications or services according to different proportions according to the network bandwidth allocation policy. For example, if the QoS of a specific APP or service is higher than that of other APPs or services, the allocation ratio of the specific APP or service may be increased, so as to obtain a larger bandwidth, so as to reduce the delay of transmitting network packets by the specific APP or service;
and the congestion control strategy is used for adjusting the window size contained in the congestion control strategy according to the detected network delay.
Of course, this is an example of a network policy, and the specific implementation is not limited to this.
By using the BPF technology and the TCP protocol, the dynamic network delay detection of the link of any communication protocol can be realized, thereby improving the detection accuracy and increasing the range of the used technology.
As shown in fig. 5, an embodiment of the present disclosure provides a network delay detection apparatus, including: the system comprises an opposite-end communication address acquisition module, a TCP packet filling and connecting module and a delay acquisition module.
The opposite communication address detection module can be used for intercepting network data packets and extracting destination addresses, and can correspond to the intercepting module and the determining module.
In the scheme, the opposite-end communication address detection module is started when the equipment is started, but the opposite-end communication address detection module is effective only when the UID _ monitor _ map is written into the UID, and if the UID is not written into the UID _ monitor _ map, the opposite-end communication address detection module is not an application program of the network delay to be detected.
The peer communication address detection module may use ebpf technology to implement the above operations. For example, the ebpf technology can be used to intercept all network packets passing through the protocol stack in the kernel protocol stack and filter the network packets according to preset conditions at low cost. The core implementation of the filtering is completed through bpf codes injected into a kernel, and data interaction between the bpf codes and the outside is realized in a bpf map mode. The bpf map includes the aforementioned uid _ monitor _ map and voip _ record _ map.
The specific implementation process of the opposite-end communication address detection module is as follows:
first, a service with a network address acquisition requirement may call an Application Programming Interface (API) Interface of the module, and pass the UID required for acquiring the address to the module. Then the module writes the UID into the UID _ monitor _ map, the bpf code circularly reads the data in the UID _ monitor _ map and matches with the UID of the intercepted data packet, and as long as the UIDs are the same, various information (IP address, port, timestamp and the like) in the data packet is written into the voip _ record _ map. Finally, the module can directly obtain the desired packet information by reading the voip _ record _ map and transfer the packet information to other services in need.
In the embodiment of the present disclosure, an address of a correspondent node, that is, a destination address, may be referred to as a communication address, and may at least include: the IP address may also include both an IP address and a port number.
Before the peer communication address detection module performs peer communication address detection, the operations performed may be as shown in fig. 7, including:
starting a network delay detection service (service);
creating a bpf map of bpf code, where creating the bpf map may include: uid _ monitor _ map and voip _ record _ map;
writing the UID of the APP with the network delay to be detected into the UID _ monitor _ map;
after reading the UID written by the UID _ monitor _ map, the bpf code filters each network data packet passing through the kernel protocol stack;
matching the read UID with the UID carried by the filtered (i.e. intercepted) network data packet, and judging whether the UIDs are matched;
if so, writing the destination address of the network data packet matched with the UID into the voip _ record _ map;
if the match is found, returning bpf to read uid _ monitor _ map and filtering the network data packet;
the network latency detection service reads the address in the voip _ record _ map.
In other embodiments, if the IP address, the port number, and the timestamp are written in the voip _ record _ map, they are read together, and the network latency detection service may create a TCP connection based on the content read from the voip _ record _ map, and perform subsequent operations of network latency.
Referring to fig. 7, a network delay detection method provided in an embodiment of the present disclosure may include:
writing the UID of the APP with the network delay to be detected into the bpf map;
the bpf code reads the bpf map and starts;
the started bpf code filters each network data packet sent by the APP in the kernel protocol stack;
the bpf code judges whether the filtered network data packet is a network data packet of a specified UID, wherein the specified UID is the UID read from the UID _ monitor _ map;
if yes, the UID, the IP address, the port number and the time stamp are written into the voip _ record _ map. The timestamp here may be a sending timestamp carried by the intercepted network data packet carrying the specified UID, or a timestamp of the extraction time of the UID, the IP address, and the port number. If the subsequent detection is abnormal, the time difference between the time points corresponding to the two timestamps can be determined according to the detection time point and the timestamp written into the voip _ record _ map, if the time difference is large, at least one of the IP address and/or the port number of the communication opposite end which may receive the network data packet sent by the application program changes, and the IP address and/or the port number carried in the network data packet of the APP with the network delay to be detected needs to be obtained again, so that the detection success rate of the network delay is improved.
The TCP packet filling and connecting module can correspond to the establishing module and the delay module.
And the TCP packet filling and connecting module is used for replacing an ICMP (Internet control protocol) used in the original ping implementation by using a TCP protocol, so that the problem that some servers refuse to accept ICMP data packets for detection can be effectively solved. The scheme also adopts a mechanism of randomly filling data, which is to prevent the server from possibly refusing to reply to the data packet when the data is sent through the fixed character string for a long time.
Referring to fig. 8, a specific implementation flow of the TCP packet filling and connecting module includes:
the socket creation, for example, first creates a socket with a protocol family of AF _ INET and a type of socket _ STRAM through a socket function, and initiates a TCP connection to the IP address and the port number thereof obtained from the voip _ record _ map through the socket. After the connection is successful, a random character (including numbers and upper and lower case letters) with the length of 100 bytes is sent, and the reply of a feedback data packet of the server is waited.
The delay obtaining module may correspond to the delay module.
The time delay obtaining module calculates the characteristic of TCP connection network delay by using a network protocol stack in a kernel (kernel), so that the calculation is not required to be carried out in a mode of recording a time stamp, and a delay value obtained from the protocol stack is subjected to smoothing processing by the kernel, so that the direct application of the value can be realized.
The TCP packet filling and connecting module is implemented as follows, firstly, after the TCP packet filling and connecting module sends data and receives a reply, the TCP information (info) structure data is directly obtained through a getsockopt function. Then, the value of the network delay is searched through the structure of TCP info.
Referring to fig. 9, after the random content is successfully transmitted and the ACK is received, getsockopt is used to obtain TCP information, and the network delay is directly determined according to the obtained TCP information.
The technical scheme provided by the embodiment of the disclosure has the following characteristics:
the application range of the delay detection is enlarged, and the method can still be used on a server which forbids ICMP data packets based on the ICMP protocol; the accuracy of detection delay is increased, the address of the detection server is dynamically adjusted, and the address of the server can be acquired from various network communication protocols (TCP or UDP and the like), so that the method is not limited by the protocols.
The embodiment of the present disclosure provides a mobile terminal, including:
a memory for storing processor-executable instructions;
a processor connected with the memory;
wherein the processor is configured to execute the network delay detection method provided by any of the foregoing technical solutions.
The processor may include various types of storage media, non-transitory computer storage media, capable of continuing to remember the information stored thereon after a power loss to the communication device.
Here, the communication apparatus includes a base station or a user equipment.
The processor may be connected to the memory via a bus or the like for reading the executable program stored on the memory, for example, capable of performing at least one of the methods as shown in any of fig. 1, fig. 2, fig. 4, fig. 6, fig. 7, fig. 8 to fig. 9.
Fig. 6 is a block diagram illustrating a mobile UE device 800 according to an example embodiment. For example, the device 800 may be a mobile phone, a mobile computer, etc.
Referring to fig. 10, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating state, such as a shooting state or a video state. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operating state, such as a call state, a recording state, and a voice recognition state. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The embodiment of the present disclosure provides a non-transitory computer-readable storage medium, where instructions in the storage medium, when executed by a processor of a UE, enable the UE to perform the network latency detection method provided in any of the foregoing embodiments, and to perform at least one of the methods illustrated in any of fig. 1, fig. 2, fig. 4, fig. 6, fig. 7, and fig. 8 to fig. 9.
The network delay detection method comprises the following steps:
intercepting a network data packet passing through a kernel protocol stack;
determining whether the intercepted network data packet is sent by an application program of the network delay to be detected;
if the intercepted network data packet is sent by an application program of the network delay to be detected, establishing a Transmission Control Protocol (TCP) connection according to a destination address carried by the intercepted network data packet;
and transmitting the detection data packet based on the TCP connection, and determining network delay according to the receiving and sending conditions of the detection data packet.
Illustratively, the determining whether the intercepted network data packet is sent by the application program to be detected for network latency includes: matching the user identifier UID of the intercepted network data packet with the UID contained in the interception field of the interception program; and if the matching is successful, determining the intercepted network data packet as the data packet sent by the application program of the network delay to be detected.
Illustratively, the method further comprises: and before the network delay, writing the UID of the application program to be detected for the network delay into the interception field.
Illustratively, the interception program includes: the beckray packet filters the BPF code.
Illustratively, the transmitting the detection packet based on the TCP connection includes: generating the detection data packet based on a random filling mechanism; and sending the detection data packet to the target address through the established TCP connection.
Illustratively, the determining the network delay according to the transceiving condition of the detection data packet includes: receiving a feedback data packet returned based on the detection packet and TCP information of the detection packet, and determining a delay value of the detection packet; and determining the network delay according to the delay value.
Illustratively, said determining said network latency based on said latency value comprises: and smoothing the delay values of the plurality of detection data packets to obtain the network delay.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (16)

1. A network delay detection method is applied to a mobile terminal and comprises the following steps:
intercepting a network data packet passing through a kernel protocol stack;
determining whether the intercepted network data packet is sent by an application program of the network delay to be detected;
if the intercepted network data packet is sent by an application program of the network delay to be detected, establishing a Transmission Control Protocol (TCP) connection according to a destination address carried by the intercepted network data packet;
and transmitting the detection data packet based on the TCP connection, and determining network delay according to the receiving and sending conditions of the detection data packet.
2. The method of claim 1, wherein the determining whether the intercepted network packet is sent by an application that detects a network delay comprises:
matching the user identifier UID of the intercepted network data packet with the UID contained in the interception field of the interception program;
and if the matching is successful, determining the intercepted network data packet as the data packet sent by the application program of the network delay to be detected.
3. The method of claim 2, further comprising:
and before the network delay, writing the UID of the application program to be detected for the network delay into the interception field.
4. The method according to claim 2 or 3, wherein the interception procedure comprises: the beckray packet filters the BPF code.
5. The method according to any of claims 1 to 3, wherein said detecting a packet based on said TCP connection transmission comprises:
generating the detection data packet based on a random filling mechanism;
and sending the detection data packet to the target address through the established TCP connection.
6. The method according to claim 1 or 2, wherein the determining the network delay according to the transceiving conditions of the detection data packet comprises:
receiving a feedback data packet returned based on the detection packet and TCP information of the detection packet, and determining a delay value of the detection packet;
and determining the network delay according to the delay value.
7. The method of claim 6, wherein determining the network delay based on the delay value comprises:
and smoothing the delay values of the plurality of detection data packets to obtain the network delay.
8. A network delay detection device is applied to a mobile terminal, and comprises:
the interception module is used for intercepting network data packets passing through the kernel protocol stack;
the determining module is used for determining whether the intercepted network data packet is sent by an application program to be detected for network delay;
the establishing module is used for establishing TCP connection according to a destination address carried by the intercepted network data packet if the intercepted network data packet is sent by an application program of the network delay to be detected;
and the detection module is used for transmitting the detection data packet based on the TCP connection and determining network delay according to the receiving and sending conditions of the detection data packet.
9. The apparatus according to claim 8, wherein the determining module is specifically configured to match the user identifier UID of the intercepted network packet with the UID contained in the interception field of the intercepting program; and if the matching is successful, determining the intercepted network data packet as the data packet sent by the application program of the network delay to be detected.
10. The apparatus of claim 9, further comprising:
and the writing module is used for writing the UID of the application program to be detected for network delay into the interception field before the network delay is carried out.
11. The apparatus according to claim 9 or 10, wherein the interception procedure comprises: the beckray packet filters the BPF code.
12. The apparatus according to any one of claims 8 to 11, wherein the detection module is configured to generate the detection packet based on a random filling mechanism; and sending the detection data packet to the target address through the established TCP connection.
13. The apparatus according to claim 8 or 9, wherein the detecting module is configured to receive a feedback packet returned by the detection packet and TCP information of the detection packet, and determine a delay value of the detection packet; and determining the network delay according to the delay value.
14. The apparatus of claim 13, wherein the detecting module is configured to smooth delay values of a plurality of the detection packets to obtain the network delay.
15. A mobile terminal, comprising:
a memory for storing processor-executable instructions;
a processor coupled to the memory;
wherein the processor is configured to perform the network latency detection method as provided by any one of claims 1 to 7.
16. A non-transitory computer-readable storage medium having instructions that, when executed by a processor of a computer, enable the computer to perform the network latency detection method of any one of claims 1 to 7.
CN202011501450.0A 2020-12-18 2020-12-18 Network delay detection method and device, mobile terminal and storage medium Active CN114650243B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011501450.0A CN114650243B (en) 2020-12-18 2020-12-18 Network delay detection method and device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011501450.0A CN114650243B (en) 2020-12-18 2020-12-18 Network delay detection method and device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN114650243A true CN114650243A (en) 2022-06-21
CN114650243B CN114650243B (en) 2024-02-06

Family

ID=81990817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011501450.0A Active CN114650243B (en) 2020-12-18 2020-12-18 Network delay detection method and device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114650243B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990084891A (en) * 1998-05-12 1999-12-06 김영환 High level data link control method of communication packet destination and packet type detection device and method
US20050010661A1 (en) * 2003-07-08 2005-01-13 Southam Blaine R. Systems and methods for testing network services
CN102752170A (en) * 2012-06-29 2012-10-24 福建富士通信息软件有限公司 Network speed testing method
CN102984032A (en) * 2012-12-12 2013-03-20 中国联合网络通信集团有限公司 Transmission delay testing method, device and system
CN106921537A (en) * 2015-12-28 2017-07-04 中国电信股份有限公司 Website visiting quality detecting method, server and system
CN108306872A (en) * 2018-01-24 2018-07-20 腾讯科技(深圳)有限公司 Network request processing method, device, computer equipment and storage medium
CN111371639A (en) * 2020-02-21 2020-07-03 腾讯科技(深圳)有限公司 Network delay analysis method and device, storage medium and computer equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990084891A (en) * 1998-05-12 1999-12-06 김영환 High level data link control method of communication packet destination and packet type detection device and method
US20050010661A1 (en) * 2003-07-08 2005-01-13 Southam Blaine R. Systems and methods for testing network services
CN102752170A (en) * 2012-06-29 2012-10-24 福建富士通信息软件有限公司 Network speed testing method
CN102984032A (en) * 2012-12-12 2013-03-20 中国联合网络通信集团有限公司 Transmission delay testing method, device and system
CN106921537A (en) * 2015-12-28 2017-07-04 中国电信股份有限公司 Website visiting quality detecting method, server and system
CN108306872A (en) * 2018-01-24 2018-07-20 腾讯科技(深圳)有限公司 Network request processing method, device, computer equipment and storage medium
CN111371639A (en) * 2020-02-21 2020-07-03 腾讯科技(深圳)有限公司 Network delay analysis method and device, storage medium and computer equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张亚军;孙鹤;綦贺;: "局域网监听行为检测技术研究与实现", 网络安全技术与应用, no. 02 *
张宏巍;徐玉斌;: "一种无线传感器网络低延时信道接入协议", 太原科技大学学报, no. 01 *

Also Published As

Publication number Publication date
CN114650243B (en) 2024-02-06

Similar Documents

Publication Publication Date Title
CN109005096B (en) Application interaction method and device
WO2016008243A1 (en) Network connection method and apparatus
CN106254467A (en) Sharing files method and device
EP2978201A1 (en) Method and device for identifying telephone call
CN111031002B (en) Broadcast discovery method, broadcast discovery device, and storage medium
WO2018014323A2 (en) Information transceiving method, apparatus and system
EP3051772A1 (en) Method and apparatus for accessing network
US20190311017A1 (en) Information interaction method and device and computer readable storage medium thereof
CN111294881A (en) Network link switching method and device, client and computer readable storage medium
CN110099428B (en) Wireless fidelity WiFi network access method, device and terminal
CN109218375B (en) Application interaction method and device
CN111988362B (en) Data transmission method, device, terminal and storage medium
CN114650243B (en) Network delay detection method and device, mobile terminal and storage medium
CN109218275B (en) Application interaction method and device
CN110933773A (en) Link monitoring method and device
KR20200122505A (en) Server and operating method thereof
CN111526129B (en) Information reporting method and device
CN111935206B (en) Message processing method, device and network equipment
CN111245914B (en) Analog communication method and device of terminal equipment and storage medium
CN111343731A (en) Information processing method, device and storage medium
CN105100103B (en) Information filtering method, device, server and terminal
CN117278982B (en) Video call method, device, equipment and storage medium
CN114285771B (en) Connection state tracking method and device for TCP connection
WO2023206104A1 (en) Wireless communication method and apparatus, and communication device and storage medium
CN113179529B (en) Information processing method and device, network equipment and storage medium

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