CN110336713B - Method for detecting end-to-end time delay and rate of cellular Internet of things and terminal equipment - Google Patents
Method for detecting end-to-end time delay and rate of cellular Internet of things and terminal equipment Download PDFInfo
- Publication number
- CN110336713B CN110336713B CN201910591655.3A CN201910591655A CN110336713B CN 110336713 B CN110336713 B CN 110336713B CN 201910591655 A CN201910591655 A CN 201910591655A CN 110336713 B CN110336713 B CN 110336713B
- Authority
- CN
- China
- Prior art keywords
- data
- time
- server
- indication information
- unit
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 230000001413 cellular effect Effects 0.000 title claims abstract description 44
- 230000004044 response Effects 0.000 claims abstract description 36
- 230000005540 biological transmission Effects 0.000 claims description 31
- 238000004364 calculation method Methods 0.000 claims description 10
- 238000001514 detection method Methods 0.000 abstract description 8
- 238000004891 communication Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000012935 Averaging Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 229960001484 edetic acid Drugs 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 241000084490 Esenbeckia delta Species 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000005641 tunneling Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
- H04L43/0894—Packet rate
Abstract
The application discloses a method for detecting end-to-end time delay and rate of a cellular Internet of things and terminal equipment, relates to the technical field of communication, and is used for solving the problem that the existing method for detecting end-to-end time delay and rate of the Internet of things is inaccurate. The method comprises the following steps: the terminal equipment obtains an end-to-end time delay according to the sending time and the response time of the first data; the terminal equipment obtains an end-to-end uplink rate according to the size of the second data, the end-to-end time delay, the sending time of the second data and the time of receiving the first indication information from the server; and the terminal equipment obtains the end-to-end downlink rate according to the size of the third data, the end-to-end time delay, the receiving completion time of the third data and the sending time of the second indication information. The embodiment of the application is applied to the detection of the end-to-end time delay and the rate of the cellular Internet of things.
Description
Technical Field
The application relates to the technical field of communication, in particular to a method and terminal equipment for detecting end-to-end time delay and rate of a cellular Internet of things.
Background
The existing method for detecting the end-to-end rate of the cellular internet of things (hereinafter referred to as internet of things) adopts User Datagram Protocol (UDP) tunneling or File Transfer Protocol (FTP) file transmission, aiming at the detection of the Medium Access Control (MAC) rate from a base station to a terminal, UDP is prone to packet loss and uncontrollable sending and receiving sequences, FTP is transmitted in a file mode, the file transmission cost is high, the method is not suitable for the transmission of small cellular-based narrowband internet of things (NB-IoT) application data packets, and cannot reflect the application rate more accurately, and the MAC layer rate cannot reflect the end-to-end rate in the actual internet of things service really.
The existing end-to-end time delay detection method is a traditional internet packet explorer (ping) packet mode for detection, the data packets are consistent in size, the protocol is single, and time delay generated in actual internet of things service cannot be truly reflected.
Therefore, the existing detection method for the end-to-end rate and the time delay of the Internet of things has the problem of inaccuracy.
Disclosure of Invention
The embodiment of the application provides a method for detecting end-to-end time delay and rate of a cellular Internet of things and terminal equipment, and is used for solving the problem that the existing method for detecting end-to-end time delay and rate of the Internet of things is inaccurate.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, an embodiment of the present application provides a method for detecting an end-to-end delay and a rate of a cellular internet of things, where the method includes:
the terminal equipment obtains an end-to-end time delay according to the sending time and the response time of first data, wherein the first data is data simulating actual service;
the terminal device obtains an end-to-end uplink rate according to the size of second data, the end-to-end time delay, the sending time of the second data and the time of receiving first indication information from a server, wherein the second data is uplink data from the terminal device to the server, and the first indication information is used for indicating the server to finish receiving the second data;
and the terminal equipment obtains an end-to-end downlink rate according to the size of third data, the end-to-end time delay, the third data receiving completion time and the sending time of second indication information, wherein the third data is downlink data from the server to the terminal equipment, and the second indication information is used for indicating the server to send the third data.
In a second aspect, an embodiment of the present application provides a terminal device for detecting an end-to-end delay and a rate of a cellular internet of things, where the terminal device includes:
the device comprises a first calculation unit, a second calculation unit and a third calculation unit, wherein the first calculation unit is used for obtaining end-to-end time delay according to the sending time and the response time of first data, and the first data is data simulating actual service;
a second calculating unit, configured to obtain an end-to-end uplink rate according to a size of second data, the end-to-end delay obtained by the first calculating unit, sending time of the second data, and time of receiving first indication information from a server, where the second data is uplink data from the terminal device to the server, and the first indication information is used to indicate that the server completes receiving the second data;
a third calculating unit, configured to obtain an end-to-end downlink rate according to a size of third data, the end-to-end delay obtained by the first calculating unit, the time for completing receiving the third data, and a sending time of second indication information, where the third data is downlink data from the server to the terminal device, and the second indication information is used to indicate the server to send the third data.
In a third aspect, there is provided a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computer, cause the computer to perform the method of detecting cellular internet of things end-to-end latency and rate as set forth in the first aspect.
In a fourth aspect, a computer program product is provided, which contains instructions that, when executed on a computer, cause the computer to perform the method for detecting end-to-end delay and rate of cellular internet of things according to the first aspect.
In a fifth aspect, a device for detecting end-to-end delay and rate of a cellular internet of things is provided, which includes: the processor calls the program stored in the memory to execute the method for detecting the end-to-end delay and the rate of the cellular internet of things in the first aspect.
According to the method for detecting the end-to-end time delay and the rate of the cellular Internet of things and the terminal equipment, the end-to-end time delay is obtained through the terminal equipment according to the sending time and the response time of the first data, and the end-to-end uplink rate is obtained through the terminal equipment according to the size of the second data, the end-to-end time delay, the sending time of the second data and the time of receiving the first indication information from the server; the terminal equipment obtains the end-to-end downlink rate according to the size of the third data, the end-to-end time delay, the receiving completion time of the third data and the sending time of the second indication information, and the first data is data simulating actual services, so that the time delay and the rate generated in the actual services of the internet of things can be truly reflected, and the problem that the existing detection method for the end-to-end time delay and the rate of the internet of things is inaccurate is solved.
Drawings
Fig. 1 is a schematic diagram of a system for detecting an end-to-end delay and rate of a cellular internet of things according to an embodiment of the present application;
fig. 2 is a first flowchart illustrating a method for detecting an end-to-end delay and rate of a cellular internet of things according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a second method for detecting an end-to-end delay and a rate of a cellular internet of things according to an embodiment of the present application;
fig. 4 is a third schematic flowchart of a method for detecting an end-to-end delay and a rate of a cellular internet of things according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating calculation of an end-to-end uplink rate of a cellular internet of things according to an embodiment of the present application;
fig. 6 is a fourth schematic flowchart of a method for detecting an end-to-end delay and rate of a cellular internet of things according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating calculation of an end-to-end downlink rate of a cellular internet of things according to an embodiment of the present application;
fig. 8 is a schematic structural diagram i of a terminal device for detecting an end-to-end delay and rate of a cellular internet of things according to an embodiment of the present application;
fig. 9 is a schematic structural diagram ii of a terminal device for detecting an end-to-end delay and a rate of a cellular internet of things according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The cellular internet of things (hereinafter, referred to as internet of things) includes two systems, a cellular-based narrowband internet of things (NB-IoT) and enhanced machine-type communication (eMTC). With the popularization of NB-IoT/eMTC internet of things network deployment and application, network operators and internet of things customers need to perform fixed-point evaluation and testing on corresponding network conditions.
The method and the device have the main idea that end-to-end time delay is obtained by simulating data of actual services, and then end-to-end speed is obtained, so that time delay and speed generated in actual internet of things services can be truly reflected, and the problem that the existing detection method for the end-to-end time delay and speed of the internet of things is inaccurate is solved.
As shown in fig. 1, the system for detecting an end-to-end delay and a rate of a cellular internet of things provided in the embodiment of the present application includes a terminal device 10 and a server 20, where the terminal device 10 may be a portable test terminal or a terminal of the internet of things, and the server 20 may be a service server, for example.
Examples 1,
The embodiment of the application provides a method for detecting end-to-end time delay and rate of a cellular internet of things, and with reference to fig. 1 and as shown in fig. 2, the method for detecting end-to-end time delay and rate of a cellular internet of things comprises the following steps:
s201, the terminal device 10 obtains an end-to-end delay according to the sending time and the response time of the first data.
The first data is data simulating an actual service, illustratively a water meter, and the first data is data simulating the water meter.
Before the terminal device 10 obtains the end-to-end delay according to the sending time and the response time of the first data, the terminal device 10 establishes a connection with the server 20 by using a corresponding transmission protocol according to the requirement of the actual service of the terminal device 10, where the transmission protocol includes, for example, a Transmission Control Protocol (TCP), a User Datagram Protocol (UDP), a limited application protocol (CoAP), a Message Queue Telemetry Transport (MQTT), and other protocols.
Specifically, as shown in fig. 3, the step S201 includes steps S2011-S2013:
s2011, the terminal device 10 transmits the first data to the server 20, and records a transmission time of the first data.
Accordingly, the server 20 receives the first data from the terminal device 10. Transmission time T of first data1Is the time at which the first data is started to be transmitted.
S2012, the server 20 sends a response message to the terminal device 10.
Accordingly, the terminal device 10 receives the response message from the server 20 and records the response time.
Response time T2The response message is used to indicate that the server 20 receives the first data and performs service completion according to the first data at the time when the response message is received.
S2013, the terminal device 10 obtains an end-to-end delay according to the sending time and the response time of the first data.
End-to-end delay T2 Delta T T2-T1And Δ t represents a time delay from the terminal device 10 to the server 20 or a time delay from the server 20 to the terminal device 10. To obtain accurate end-to-end delay, multiple successive tests may be performed to obtain an average valueAnd uploaded to the recording platform of the server 20 for easy viewing.
S202, the terminal device 10 obtains an end-to-end uplink rate according to the size of the second data, the end-to-end delay, the sending time of the second data, and the time of receiving the first indication information from the server 20.
The second data is uplink data from the terminal device 10 to the server 20, and the first indication information is used to indicate that the server 20 has completed receiving the second data.
Specifically, as shown in fig. 4, the step S202 includes steps S2021 to S2024:
s2021, the terminal device 10 sends the second data to the server 20, and records a sending time of the second data.
Accordingly, the server 20 receives the second data from the terminal device 10.
Illustratively, the second data may be of size S1And includes a large packet of data of the end character, and records the transmission time t of the second data1When the terminal device 10 transmits the last packet of data with the end character, the time of the terminal device 10 is not recorded, and is set as t2。
S2022, the server 20 sends the first instruction information to the terminal device 10.
Accordingly, the terminal device 10 receives the first instruction information from the server 20, and records the time when the first instruction information is received.
Illustratively, when the server 20 receives the end character of the uplink data of the terminal device 10, it immediately disconnects the terminal device 10 and sends the first indication information to the terminal device 10, and the terminal device 10 receives the first indication information and records the time t when the first indication information is received3。
S2023, the terminal device 10 obtains uplink transmission time consumption of the second data according to the sending time, the end-to-end delay, and the time when the first indication information is received of the second data.
As shown in fig. 5, the time Δ t that is required for the terminal device 10 to receive the first instruction information is t3-t2If the time is half T/2 of the end-to-end delay, i.e. Δ T, then uplink transmission is performedTime tU=t3-t1-△t。
Further, the uplink transmission takes time tUMay be tU=t3-t1-△t-tXWherein t isXThe time delay caused by other factors comprises the factors of a segmented sending interval, a time interval for pushing the internet of things module, a time interval required by TCP to establish a link and break the link and the like.
S2024, the terminal device 10 obtains an end-to-end uplink rate according to the size of the second data and the uplink transmission time consumption.
As shown in fig. 5, the terminal device 10 is based on the size S of the second data1Obtaining end-to-end uplink rate V based on uplink transmission time consumptionU=S1/tUI.e. VU=S1/(t3-t1-△t)。
Illustratively, in order to obtain an accurate end-to-end uplink rate, the uplink rate can be continuously tested for multiple times and data can be recorded, and according to the practical application situation, an averaging method, a truncation averaging method and the like are adopted to calculate the end-to-end uplink rate.
S203, the terminal device 10 obtains the end-to-end downlink rate according to the size of the third data, the end-to-end delay, the time for completing receiving the third data, and the sending time of the second indication information.
The third data is downlink data from the server 20 to the terminal device 10, and the second indication information is used for indicating the server 20 to send the third data.
Specifically, as shown in fig. 6, step S203 includes steps S2031 to S2034:
s2031, the terminal device 10 transmits the second instruction information to the server 20, and records the transmission time of the second instruction information.
Accordingly, the server 20 receives the second indication information from the terminal device 10.
The terminal device 10 records the sending time t of the second indication information4。
S2032, the server 20 transmits the third data to the terminal device 10.
Accordingly, the terminal device 10 receives the third data from the server 20 and records the third data reception completion time.
Illustratively, the third data may be of size S2And the server 20 receives the second indication information of the terminal device 10, the time corresponding to the terminal device 10 is unknown at this time, and is set as t5The server 20 immediately issues the third data, and waits for the terminal device 10 to receive the third data S2When the end character is included, the third data receiving completion time t is recorded6。
S2033, the terminal device 10 obtains the time consumed for downlink transmission of the third data according to the end-to-end time delay, the time for completing receiving the third data, and the time for sending the second indication information.
As shown in fig. 7, the time Δ t, required from the terminal device 10 transmitting the second instruction information to the server 20 receiving the second instruction information5-t4If the time is half T/2 of the end-to-end delay, i.e. delta T, the downlink transmission takes time TD=t6-t4-△t。
Further, the downlink transmission takes time tDMay be tD=t6-t4-△t-tXWherein t isXThe time delay caused by other factors comprises the factors of a segmented sending interval, a time interval for pushing the internet of things module, a time interval required by TCP to establish a link and break the link and the like.
S2034, the terminal device 10 obtains an end-to-end downlink rate according to the size of the third data and the downlink transmission time.
As shown in fig. 7, the terminal device 10 is based on the size S of the third data2And time t taken for downlink transmissionDObtaining end-to-end downlink speed VD=S2/tDI.e. VD=S2/(t6-t4-△t)。
Illustratively, in order to obtain an accurate end-to-end downlink rate, the end-to-end downlink rate may be continuously tested for multiple times and data may be recorded, and according to an application practical situation, an averaging method, a truncation averaging method, or the like may be used to calculate the end-to-end downlink rate.
According to the method for detecting the end-to-end time delay and the rate of the cellular Internet of things, the end-to-end time delay is obtained through the terminal equipment according to the sending time and the response time of the first data, and the end-to-end uplink rate is obtained through the terminal equipment according to the size of the second data, the end-to-end time delay, the sending time of the second data and the time of receiving the first indication information from the server; the terminal equipment obtains the end-to-end downlink rate according to the size of the third data, the end-to-end time delay, the receiving completion time of the third data and the sending time of the second indication information, and the first data is data simulating actual services, so that the time delay and the rate generated in the actual services of the internet of things can be truly reflected, and the problem that the existing detection method for the end-to-end time delay and the rate of the internet of things is inaccurate is solved.
Examples 2,
The embodiment of the application provides a terminal device for detecting end-to-end time delay and rate of a cellular internet of things, and as shown in fig. 8, a terminal device 80 includes a first calculating unit 81, a second calculating unit 82, and a third calculating unit 83.
The first calculating unit 81 is configured to obtain an end-to-end delay according to the sending time and the response time of the first data, where the first data is data simulating an actual service.
A second calculating unit 82, configured to obtain an end-to-end uplink rate according to the size of the second data, the end-to-end delay obtained by the first calculating unit 81, the sending time of the second data, and the time of receiving the first indication information from the server, where the second data is uplink data from the terminal device to the server, and the first indication information is used to indicate that the server completes receiving the second data.
A third calculating unit 83, configured to obtain an end-to-end downlink rate according to the size of the third data, the end-to-end delay obtained by the first calculating unit 81, the time for completing receiving the third data, and the sending time of the second indication information, where the third data is downlink data from the server to the terminal device, and the second indication information is used to indicate the server to send the third data.
As shown in fig. 9, the terminal device 80 further includes a transmitting unit 84, a receiving unit 85, and a recording unit 86.
A sending unit 84, configured to send the first data of the first computing unit to the server, and a recording unit 86, configured to record a sending time of the first data.
The receiving unit 85 is configured to receive a response message from the server, and the recording unit 86 is further configured to record a response time, where the response time is a time when the response message is received, and the response message is used to indicate that the server receives the first data and finishes the service according to the first data.
The first calculating unit 81 obtains an end-to-end delay according to the sending time and the response time of the first data recorded by the recording unit 86.
The sending unit 84 is further configured to send the second data of the second calculating unit to the server, and the recording unit 86 is further configured to record a sending time of the second data.
The receiving unit 85 is further configured to receive the first indication information from the server, and the recording unit 86 is further configured to record a time when the first indication information is received.
The second calculating unit 82 is configured to obtain uplink transmission time consumption of the second data according to the sending time of the second data recorded by the recording unit 86, the time of receiving the first indication information, and the end-to-end delay obtained by the first calculating unit 81.
The second calculating unit 82 is further configured to obtain an end-to-end uplink rate according to the size of the second data and uplink transmission time consumption.
The sending unit 84 is further configured to send the second indication information of the third calculating unit to the server, and the recording unit 86 is configured to record a sending time of the second indication information.
The receiving unit 85 is configured to receive the third data from the server, and the recording unit 86 is further configured to record a third data receiving completion time.
The third calculating unit 83 is configured to obtain downlink transmission time consumption of the third data according to the end-to-end time delay obtained by the first calculating unit 81, the third data reception completion time recorded by the recording unit 86, and the sending time of the second indication information.
The third calculating unit 83 is further configured to obtain an end-to-end downlink rate according to the size of the third data and the downlink transmission time consumption.
Embodiments of the present application provide a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computer, cause the computer to perform a method of detecting cellular internet of things end-to-end latency and rate as described in fig. 2-4, 6.
Embodiments of the present application provide a computer program product containing instructions that, when executed on a computer, cause the computer to perform a method for detecting an end-to-end delay and rate of a cellular internet of things as described in fig. 2-4, 6.
The embodiment of the application provides a device for detecting end-to-end time delay and rate of a cellular internet of things, which comprises: a processor and a memory, the memory storing a program, the processor calling the program stored in the memory to execute the method for detecting end-to-end delay and rate of cellular internet of things as described in fig. 2-4 and 6.
Since the apparatus, the computer-readable storage medium, and the computer program product for detecting the end-to-end delay and the rate of the cellular internet of things in the embodiments of the present application may be applied to the method for detecting the end-to-end delay and the rate of the cellular internet of things, the technical effect that can be obtained by the method may also refer to the above method embodiments, and the embodiments of the present application are not described herein again.
The above units may be individually configured processors, or may be implemented by being integrated into one of the processors of the controller, or may be stored in a memory of the controller in the form of program codes, and the functions of the above units may be called and executed by one of the processors of the controller. The processor described herein 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 Application.
It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Claims (8)
1. A method for detecting end-to-end time delay and rate of a cellular Internet of things is characterized by comprising the following steps:
the terminal equipment obtains an end-to-end time delay according to the sending time and the response time of first data, wherein the first data is data simulating actual service;
the terminal device obtains an end-to-end uplink rate according to the size of second data, the end-to-end time delay, the sending time of the second data and the time of receiving first indication information from a server, wherein the second data is uplink data from the terminal device to the server, and the first indication information is used for indicating the server to finish receiving the second data;
the terminal device obtains an end-to-end downlink rate according to the size of third data, the end-to-end time delay, the third data receiving completion time and the sending time of second indication information, wherein the third data is downlink data from the server to the terminal device, and the second indication information is used for indicating the server to send the third data;
the terminal equipment obtains an end-to-end uplink rate according to the size of the second data, the end-to-end time delay, the sending time of the second data and the time of receiving the first indication information from the server, and the method comprises the following steps:
the terminal equipment sends the second data to the server and records the sending time of the second data;
receiving first indication information from the server, and recording the time when the first indication information is received;
obtaining uplink transmission time consumption of the second data according to the sending time of the second data, the end-to-end time delay and the time for receiving the first indication information;
and obtaining the end-to-end uplink rate according to the size of the second data and the uplink transmission time consumption.
2. The method of claim 1, wherein the step of obtaining the end-to-end delay according to the sending time and the response time of the first data by the terminal device comprises:
the terminal equipment sends the first data to the server and records the sending time of the first data;
receiving a response message from the server, and recording the response time, wherein the response time is the time of receiving the response message, and the response message is used for indicating that the server receives the first data and finishes the service according to the first data;
and obtaining the end-to-end time delay according to the sending time and the response time of the first data.
3. The method of claim 1, wherein the step of obtaining, by the terminal device, an end-to-end downlink rate according to a size of third data, the end-to-end delay, a time for completing reception of the third data, and a time for sending second indication information includes:
the terminal equipment sends the second indication information to the server and records the sending time of the second indication information;
receiving the third data from the server, and recording the receiving completion time of the third data;
obtaining downlink transmission time consumption of the third data according to the end-to-end time delay, the third data receiving completion time and the sending time of the second indication information;
and obtaining the end-to-end downlink rate according to the size of the third data and the downlink transmission time consumption.
4. A terminal device for detecting end-to-end time delay and rate of a cellular Internet of things is characterized in that the terminal device comprises:
the device comprises a first calculation unit, a second calculation unit and a third calculation unit, wherein the first calculation unit is used for obtaining end-to-end time delay according to the sending time and the response time of first data, and the first data is data simulating actual service;
a second calculating unit, configured to obtain an end-to-end uplink rate according to a size of second data, the end-to-end delay obtained by the first calculating unit, sending time of the second data, and time of receiving first indication information from a server, where the second data is uplink data from the terminal device to the server, and the first indication information is used to indicate that the server completes receiving the second data;
a third calculating unit, configured to obtain an end-to-end downlink rate according to a size of third data, the end-to-end delay obtained by the first calculating unit, the time for completing receiving the third data, and sending time of second indication information, where the third data is downlink data from the server to the terminal device, and the second indication information is used to indicate the server to send the third data;
the terminal equipment also comprises a sending unit, a receiving unit and a recording unit;
the sending unit is configured to send the second data of the second computing unit to the server, and the recording unit is configured to record sending time of the second data;
the receiving unit is used for receiving first indication information from the server, and the recording unit is further used for recording the time when the first indication information is received;
the second calculating unit is configured to obtain uplink transmission time consumption of the second data according to the sending time of the second data, the time of receiving the first indication information, and the end-to-end delay obtained by the first calculating unit, which are recorded by the recording unit;
the second calculating unit is further configured to obtain the end-to-end uplink rate according to the size of the second data and the uplink transmission time consumption.
5. The terminal device for detecting end-to-end time delay and rate of cellular internet of things according to claim 4, wherein the terminal device further comprises a sending unit, a receiving unit and a recording unit;
the sending unit is configured to send the first data of the first computing unit to the server, and the recording unit is configured to record sending time of the first data;
the receiving unit is configured to receive a response message from the server, and the recording unit is further configured to record the response time, where the response time is a time when the response message is received, and the response message is used to indicate that the server receives the first data and completes a service according to the first data;
the first calculating unit obtains the end-to-end time delay according to the sending time and the response time of the first data recorded by the recording unit.
6. The terminal device for detecting end-to-end time delay and rate of cellular internet of things according to claim 4, wherein the terminal device further comprises a sending unit, a receiving unit and a recording unit;
the sending unit is configured to send the second indication information of the third computing unit to the server, and the recording unit is configured to record sending time of the second indication information;
the receiving unit is configured to receive the third data from the server, and the recording unit is further configured to record a time when the third data is received;
the third calculating unit is configured to obtain downlink transmission time consumption of the third data according to the end-to-end time delay obtained by the first calculating unit, the third data reception completion time recorded by the recording unit, and the sending time of the second indication information;
the third calculating unit is further configured to obtain the end-to-end downlink rate according to the size of the third data and the downlink transmission time consumption.
7. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computer, cause the computer to perform the method of detecting cellular internet of things end-to-end latency and rate of any of claims 1-3.
8. A device for detecting end-to-end time delay and rate of cellular Internet of things is characterized by comprising: a processor and a memory, the memory storing a program, the processor invoking the program stored by the memory to perform the method of detecting cellular internet of things end-to-end latency and rate as claimed in any one of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910591655.3A CN110336713B (en) | 2019-07-02 | 2019-07-02 | Method for detecting end-to-end time delay and rate of cellular Internet of things and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910591655.3A CN110336713B (en) | 2019-07-02 | 2019-07-02 | Method for detecting end-to-end time delay and rate of cellular Internet of things and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110336713A CN110336713A (en) | 2019-10-15 |
CN110336713B true CN110336713B (en) | 2021-07-13 |
Family
ID=68144053
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910591655.3A Active CN110336713B (en) | 2019-07-02 | 2019-07-02 | Method for detecting end-to-end time delay and rate of cellular Internet of things and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110336713B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113286324B (en) * | 2021-05-13 | 2024-03-19 | 江苏南工科技集团有限公司 | Communication quality balance analysis method for sensing terminal equipment of Internet of things based on 5G technology |
CN114039895B (en) * | 2021-10-15 | 2023-11-21 | 深圳市有方科技股份有限公司 | Method and device for testing data transmission rate |
CN114500330A (en) * | 2021-12-28 | 2022-05-13 | 芯讯通无线科技(上海)有限公司 | Test method, system, equipment and storage medium of Internet of things platform |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102209004A (en) * | 2010-03-30 | 2011-10-05 | 中华电信股份有限公司 | Network transmission rate testing method |
CN105847074A (en) * | 2016-03-07 | 2016-08-10 | 乐卡汽车智能科技(北京)有限公司 | Method and device for displaying network transmission quality on mobile terminal |
WO2017209661A1 (en) * | 2016-05-30 | 2017-12-07 | Telefonaktiebolaget Lm Ericsson (Publ) | Wireless-system flow control and packet scheduler interface |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101316151B (en) * | 2007-06-01 | 2011-01-19 | 大唐移动通信设备有限公司 | System for data traffic delay time test and error cancelling method |
CN101340441B (en) * | 2008-08-19 | 2011-12-07 | 中兴通讯股份有限公司 | Method and system for measuring quality of service of IP network data package |
CN102449925B (en) * | 2009-05-14 | 2013-12-04 | 华为技术有限公司 | Information process method, device and system |
CN202103860U (en) * | 2011-02-17 | 2012-01-04 | 工业和信息化部电信传输研究所 | Device and system for testing capability of terminal streaming media service |
EP2764667B1 (en) * | 2011-10-04 | 2016-09-07 | Pismo Labs Technology Ltd. | Method and system for reduction of time variance of packets received from bonded communication links |
CN105024868A (en) * | 2014-04-17 | 2015-11-04 | 北京视联动力国际信息技术有限公司 | Network quality detection method and network quality detection system for video Internet |
CN104009890B (en) * | 2014-06-10 | 2017-08-15 | 江苏省邮电规划设计院有限责任公司 | Network quality test system and method in a kind of internet |
CN104717108B (en) * | 2015-03-30 | 2018-04-06 | 北京邮电大学 | Network bottleneck Bandwidth Measurement Method based on active measurement and inter-packet gap model |
KR102410581B1 (en) * | 2015-10-30 | 2022-06-17 | 삼성전자주식회사 | Method and apparatus for controlling uplink data transmission in wireless communication system |
CN105610652B (en) * | 2016-02-24 | 2021-01-15 | 腾讯科技(深圳)有限公司 | Method and device for acquiring data transmission delay |
-
2019
- 2019-07-02 CN CN201910591655.3A patent/CN110336713B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102209004A (en) * | 2010-03-30 | 2011-10-05 | 中华电信股份有限公司 | Network transmission rate testing method |
CN105847074A (en) * | 2016-03-07 | 2016-08-10 | 乐卡汽车智能科技(北京)有限公司 | Method and device for displaying network transmission quality on mobile terminal |
WO2017209661A1 (en) * | 2016-05-30 | 2017-12-07 | Telefonaktiebolaget Lm Ericsson (Publ) | Wireless-system flow control and packet scheduler interface |
Non-Patent Citations (1)
Title |
---|
廖云保.基于IMS的VoLTE语音质量及其智能网业务继承研究.《中国优秀硕士学位论文全文数据库》.2017, * |
Also Published As
Publication number | Publication date |
---|---|
CN110336713A (en) | 2019-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110336713B (en) | Method for detecting end-to-end time delay and rate of cellular Internet of things and terminal equipment | |
CN107404481B (en) | User information recognition methods and device | |
CN109471588B (en) | Synchronization method and device | |
US9935853B2 (en) | Application centric network experience monitoring | |
CN109739712B (en) | FPGA accelerator card transmission performance test method, device, equipment and medium | |
CN109660422B (en) | Network card bandwidth testing method, device, terminal and storage medium based on multiple processes | |
CN103516851B (en) | A kind of wireless product cloud test platform system | |
CN112311628A (en) | Network speed measuring method, system, network equipment and storage medium | |
WO2016188189A1 (en) | Method and device for network speed test | |
CN110248379B (en) | Performance test method and device for base station in wireless local area network | |
CN113127021A (en) | Application upgrading method and computer equipment | |
CN109617763B (en) | Pressure testing method and device for FC-AE bus | |
US20180288636A1 (en) | A method for automatic measurement of App load power consumption on mobile devices based on physical measurement | |
CN112311619B (en) | Network message delay detection method and device and electronic equipment | |
CN103338131A (en) | Method and equipment for testing log transmitting loss rate | |
CN113747340B (en) | Information sending and receiving method, device and equipment | |
CN114791870A (en) | Power consumption evaluation method, device, equipment and computer readable storage medium | |
CN108628683B (en) | Data transmission method and device | |
CN114039895B (en) | Method and device for testing data transmission rate | |
CN111464397A (en) | Method and system for measuring bidirectional distance and clock error | |
Sieczkowski et al. | A method for real-time data acquisition using Matlab software | |
CN105847071B (en) | Utilize the long method and apparatus for connecting progress operational trials | |
CN107615812B (en) | signal determination method and device | |
CN113049968B (en) | Method, device, electronic equipment and storage medium for determining average current of battery | |
CN112637020B (en) | Network quality evaluation method, device and system for networks among data centers |
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 |