CN108923995B - Method and device for determining transmission delay - Google Patents

Method and device for determining transmission delay Download PDF

Info

Publication number
CN108923995B
CN108923995B CN201710271666.4A CN201710271666A CN108923995B CN 108923995 B CN108923995 B CN 108923995B CN 201710271666 A CN201710271666 A CN 201710271666A CN 108923995 B CN108923995 B CN 108923995B
Authority
CN
China
Prior art keywords
time information
terminal
data packet
service data
receiving
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
Application number
CN201710271666.4A
Other languages
Chinese (zh)
Other versions
CN108923995A (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.)
Shanghai Datang Mobile Communications Equipment Co ltd
Original Assignee
Shanghai Datang Mobile Communications Equipment 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 Shanghai Datang Mobile Communications Equipment Co ltd filed Critical Shanghai Datang Mobile Communications Equipment Co ltd
Priority to CN201710271666.4A priority Critical patent/CN108923995B/en
Publication of CN108923995A publication Critical patent/CN108923995A/en
Application granted granted Critical
Publication of CN108923995B publication Critical patent/CN108923995B/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
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements

Landscapes

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

Abstract

The embodiment of the invention provides a method and a device for determining transmission delay, wherein a first terminal receives a service data packet sent by a second terminal through an LTE network, records receiving time information when the service data packet is received, and receives sending time information corresponding to the service data packet sent by the second terminal through Bluetooth, wherein the sending time information is time information when the first terminal sends the service data packet through the LTE network, and calculates a time difference between the receiving time information and the sending time information corresponding to the service data packet as the transmission delay of the service data packet.

Description

Method and device for determining transmission delay
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for determining a transmission delay.
Background
For volte (voice over lte) services, network transmission delay is very important, and when network transmission delay is too large (considered to be > 400 milliseconds in communication industry standards), session quality is extremely poor and communication is difficult.
The VOLTE technology is carried by RTP (Real-Time Transport Protocol) packets, RTCP (Real-Time Transport Control Protocol) is a Control Protocol of the RTP Protocol, and is used to monitor the service quality of a network and to participate in an ongoing session, and RTCP messages are divided into five types, SR (sender report), RR (receiver report), SDES (source description), BYE (session end), and APP (application specific message). In the prior art, the round-trip delay of an RTP packet is generally calculated by using an RTCP protocol, and when performing the delay calculation, the following conditions need to be satisfied: only in a system which starts an NTP time protocol, calculation can be carried out after an SR message is sent, because the A end records the NTP time stamp only when the SR message is sent, and then effective DLSR and LSR information which is not 0 can be received from the B end for correctly calculating network transmission delay.
Such a calculation method has four disadvantages:
1. the NTP time protocol must be started to provide an accurate clock for each sender, and firstly, the RTP protocol indicates that the NTP can not be started; secondly, NTP is started, an accurate time source is needed, the time is the international standard time UTC, the time is transmitted by NTP servers, each sender is connected with a plurality of NTP servers, the situation that the senders still can obtain accurate time from other servers when the senders cannot contact one NTP server is prevented, clock synchronization of the senders is guaranteed, and therefore the cost and the complexity of a system are increased when NTP is started; in addition, once the NTP server is attacked or the time synchronization fails, the calculation result of the network transmission delay will be affected, and the requirement for the voice quality cannot be guaranteed.
2. If the SR message is not sent, the current network transmission delay cannot be detected. Because only the SR message carries the NTP timestamp, the opposite end can obtain the effective LSR and DLSR required by calculating the time delay after receiving the SR message. The SR message is not sent, indicating that the session is established, but voice is not sent, which is the case.
3. The method can only detect the transmission delay of the loop network between the currently received message and the SR message sent before, if the sender does not send the SR message any more after sending the SR message, namely, the sender starts to receive the voice of other people after sending the voice message for a period of time in the conversation process, and does not speak, which is a common situation, at the moment, only the transmission delay of the loop network between the currently received message and the last SR message can be calculated, if the network transmission delay of the last SR message is larger, even if the current network condition is improved, the calculated transmission delay of the loop network is still very large, the network condition is still not ideal, so that the current network transmission delay cannot be correctly reflected in real time, the terminal is possibly misled to adopt a voice coding and decoding format, and the voice quality is not proper.
4. The SR message and RR message in the RTCP protocol message are sent periodically, and the sending period is long, so that the network transmission delay cannot be calculated in real time.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a method for determining a propagation delay and a corresponding apparatus for determining a propagation delay that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a method for determining a transmission delay, where the method includes:
a first terminal receives a service data packet sent by a second terminal through an LTE network and records receiving time information when the service data packet is received;
receiving sending time information corresponding to the service data packet sent by a second terminal through Bluetooth, wherein the sending time information is time information when the first terminal sends the service data packet through an LTE network;
and calculating the time difference between the receiving time information and the sending time information corresponding to the service data packet as the transmission delay of the service data packet.
Preferably, the service data packet includes a packet identifier, and after the step of recording the receiving time information when the service data packet is received, the method further includes:
and establishing the incidence relation between the receiving time information and the data packet identifier.
Preferably, the sending time information carries a data packet identifier of the service data packet, and when there are a plurality of service data packets, before the step of calculating a time difference between the receiving time information and the sending time information corresponding to the service data packet, the method further includes:
for each data packet identification, corresponding reception time information and transmission time information is determined.
Preferably, before the step of the first terminal receiving the service data packet sent by the second terminal, the method further includes:
establishing a Bluetooth connection between a first terminal and a second terminal;
and time synchronization is carried out on the first terminal and the second terminal.
Preferably, the step of time synchronizing the first terminal and the second terminal includes:
receiving first time information sent by a second terminal through Bluetooth;
acquiring local second time information of the first terminal;
and if the second time information is inconsistent with the first time information, changing the second time information into the first time information.
Preferably, the service data packet is an RTP data packet.
The embodiment of the invention also discloses a device for determining the transmission time delay, which comprises:
the service data packet receiving module is used for the first terminal to receive a service data packet sent by the second terminal through the LTE network and record receiving time information when the service data packet is received;
the sending time information receiving module is used for receiving sending time information corresponding to the service data packet sent by the second terminal through the Bluetooth, wherein the sending time information is time information when the first terminal sends the service data packet through the LTE network;
and the transmission delay calculation module is used for calculating the time difference between the receiving time information and the sending time information corresponding to the service data packet as the transmission delay of the service data packet.
Preferably, the service data packet includes a data packet identifier, and the apparatus further includes:
and the incidence relation establishing module is used for establishing the incidence relation between the receiving time information and the data packet identifier.
Preferably, the sending time information carries a data packet identifier of the service data packet, and when there are a plurality of service data packets, the apparatus further includes:
and the time information determining module is used for determining corresponding receiving time information and sending time information aiming at each data packet identifier.
Preferably, the apparatus further comprises:
the Bluetooth connection establishing module is used for establishing Bluetooth connection between the first terminal and the second terminal;
and the time synchronization module is used for performing time synchronization on the first terminal and the second terminal.
Preferably, the time synchronization module includes:
the first time information receiving submodule is used for receiving first time information sent by the second terminal through Bluetooth;
the second time information acquisition submodule is used for acquiring local second time information of the first terminal;
and the second time information changing submodule is used for changing the second time information into the first time information if the second time information is inconsistent with the first time information.
Preferably, the service data packet is an RTP data packet.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the first terminal in the LTE network can receive the service data packet sent by the second terminal through the LTE network and record the receiving time information when receiving the data packet, and meanwhile, the first terminal can also receive the sending time information when sending the service data packet sent by the second terminal through bluetooth, and by calculating the difference between the receiving time information and the sending time information, the transmission delay when the LTE network transmits the service data packet is calculated, so that the transmission delay of the LTE network is reflected in real time.
Drawings
Fig. 1 is a flowchart illustrating steps of a first embodiment of a method for determining a transmission delay according to the present invention;
fig. 2 is a flowchart illustrating steps of a second embodiment of a method for determining a transmission delay according to the present invention;
fig. 3 is a block diagram of an embodiment of a device for determining a transmission delay according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
One of the core ideas of the embodiments of the present invention is that a first terminal in an LTE network can receive a service data packet sent by a second terminal through the LTE network and record receiving time information when the data packet is received, and the first terminal can also receive sending time information when the service data packet sent by the second terminal through bluetooth is sent, and calculate a transmission delay when the LTE network transmits the service data packet by calculating a difference between the receiving time information and the sending time information, so as to reflect the transmission delay of the LTE network in real time.
Referring to fig. 1, a flowchart illustrating a first step of a first embodiment of a method for determining a transmission delay of the present invention may include the following steps:
step 101, a first terminal receives a service data packet sent by a second terminal through an LTE network, and records receiving time information when the service data packet is received;
102, receiving sending time information corresponding to the service data packet sent by a second terminal through bluetooth, wherein the sending time information is time information when the first terminal sends the service data packet through an LTE network;
step 103, calculating a time difference between the receiving time information and the sending time information corresponding to the service data packet as a transmission delay of the service data packet.
In the embodiment of the invention, the first terminal in the LTE network can receive the service data packet sent by the second terminal through the LTE network and record the receiving time information when receiving the data packet, and meanwhile, the first terminal can also receive the sending time information when sending the service data packet sent by the second terminal through bluetooth, and by calculating the difference between the receiving time information and the sending time information, the transmission delay when the LTE network transmits the service data packet is calculated, so that the transmission delay of the LTE network is reflected in real time.
Referring to fig. 2, a flowchart illustrating steps of a second embodiment of a method for determining a transmission delay according to the present invention is shown. The method may comprise the steps of:
step 201, establishing a bluetooth connection between a first terminal and a second terminal;
specifically, the first terminal and the second terminal are electronic devices that are accessed in an LTE network and directly face users, and may include various types of terminals, such as a mobile phone, a tablet computer, or other special terminal devices, according to different functions of the terminals.
In the embodiment of the invention, the first terminal and the second terminal both have the Bluetooth function, and the Bluetooth connection between the first terminal and the second terminal can be established in advance so as to be convenient for subsequent utilization.
Specifically, bluetooth is a wireless technology standard, and by using a frequency hopping technology, transmitted data can be divided into data packets, the data packets are respectively transmitted through 79 designated bluetooth channels, and a terminal having a bluetooth function can be connected through bluetooth.
As an example, a bluetooth connection between a first terminal and a second terminal may be established by: the first terminal and the second terminal establish an agreed connection key with PIN (Personal Identification Number) codes for generating an initial authentication code, thereby completing the pairing process of the first terminal and the second terminal to complete the first communication authentication; then the first terminal pages the second terminal in a frequency hopping mode, the second terminal scans external paging at preset time intervals, and when the second terminal scans the external paging, a paging response can be sent to the first terminal; when the first terminal receives the paging response, the first terminal and the second terminal establish a Bluetooth connection.
Step 202, performing time synchronization on a first terminal and a second terminal;
in the embodiment of the invention, after the first terminal and the second terminal establish the Bluetooth connection, the first terminal and the second terminal can be time-synchronized through the established Bluetooth connection.
In a preferred embodiment of the present invention, step 202 may comprise the following sub-steps:
substep S11, receiving first time information sent by the second terminal through Bluetooth;
in the embodiment of the present invention, after the first terminal and the second terminal establish the bluetooth connection, the second terminal may send the local first time information to the first terminal through the bluetooth, and the first terminal receives the first time information.
Substep S12, obtaining local second time information of the first terminal;
in the embodiment of the invention, after receiving the first time information sent by the second terminal through the Bluetooth, the first terminal can acquire the local second time information.
And a substep S13, changing the second time information to the first time information if the second time information is not consistent with the first time information.
In the embodiment of the present invention, after the first terminal obtains the local second time information of the first terminal and receives the local first time information of the second terminal, the second time information may be compared with the first time information, if the second time information is inconsistent with the first time information, the second time information is changed into the first time information, and if the second time information is consistent with the first time information, the second time information is not adjusted, so as to achieve the purpose of synchronizing the local time of the first terminal with the local time of the second terminal.
It should be noted that, after the time synchronization between the first terminal and the second terminal, the subsequent synchronization may not be performed any more, and the time is timed according to its local timing function; certainly, in order to avoid asynchronous timing caused by inconsistent timing errors of the local timing functions of the first terminal and the second terminal after the first terminal and the second terminal are time-synchronized, the time of the first terminal and the time of the second terminal can be synchronized at intervals of a preset time, so that the real-time synchronization of the first terminal and the time of the second terminal is realized.
It should be noted that the method for performing time synchronization through the bluetooth connection in the sub-steps S11 to S13 is merely an example, and those skilled in the art may still perform time synchronization through other synchronization means of the bluetooth connection, which is not limited in this embodiment of the present invention.
Step 203, the first terminal receives a service data packet sent by the second terminal through the LTE network, and records receiving time information when the service data packet is received;
in the embodiment of the present invention, since the first terminal and the second terminal are both accessed in the LTE network, when the second terminal performs service interaction with the first terminal, a service data packet can be generated in real time, and then the generated service data packet is sent to the first terminal through the LTE network, the first terminal can receive the service data packet, and after receiving the service data packet, the first terminal can record the receiving time information when receiving the service data packet.
Specifically, when the first terminal and the second terminal perform service interaction, the application layer of the LTE network may directly provide information such as quality of service QoS (including QCI (quality of service class identifier), GBR (Guaranteed Bit Rate) type, and the like) of a required bearer to the core network EPC, and the core network EPC determines whether to accept a request for bearer establishment and how much QCI is for bearer establishment.
Depending on QCI, bearers (Bearer) can be divided into two major classes: GBR-type bearers and Non-GBR-type bearers.
The GBR class bearer is used for services with high requirements on real-time performance, and a scheduler is required to guarantee the lowest bit rate for the class bearer, and the QCI of the class bearer is in a range of 1-4.
The Non-GBR type load bearing is used for services with low real-time requirement, a scheduler is not required to guarantee the lowest bit rate for the load bearing, and the QCI range of the load bearing is 5-9.
As an example, when a first terminal and a second terminal perform a voice call service, a call is initiated at the second terminal, and after the first terminal receives the call, dedicated bearers of QCI 5 and QCI 1 may be established between the second terminal and the first terminal, and a service packet between the first terminal and the second terminal may implement sending and receiving processes of the service packet through the established dedicated bearers.
In a preferred embodiment of the present invention, the service data packet may be an RTP data packet.
Specifically, the RTP packet is a packet encapsulated by data to be transmitted by the terminal according to an RTP protocol specification, and may be generally used to carry services with high real-time requirements, such as VOLTE voice service, video call service, and the like in an LTE network.
In a preferred embodiment of the present invention, the method may further include the following steps:
and establishing the incidence relation between the receiving time information and the data packet identifier.
In a specific implementation, the second terminal continuously sends a service data packet to the first terminal, and may receive a plurality of service data packets at the second terminal side, where each service data packet may include a data packet identifier identifying the service data packet, and in order to better manage a relationship between each service data packet and its reception time information, the second terminal may extract the data packet identifier of each service data packet after recording the reception time information of each service data packet, and generate a corresponding relationship between the data packet identifier of the service data packet and the corresponding reception time information, and manage the reception time information of the data packet with the data packet identifier, which may facilitate subsequent query on reception time, and improve query efficiency.
In practice, in order to better multiplex the generated packet identifications, it may be set that the packet identification of each packet has a certain lifetime, e.g. the packet identification of the packet sent in one cycle is unique, but when the lifetime arrives, the packet identification is available for the next cycle.
Step 204, receiving sending time information corresponding to the service data packet sent by the second terminal through the bluetooth, wherein the sending time information is time information when the first terminal sends the service data packet through the LTE network;
in a specific implementation, some service data packets may include a timestamp sequence identifying transmission time information of the service data packet, but the first terminal cannot recognize the timestamp sequence, so in the embodiment of the present invention, after the second terminal transmits the service data packet to the first terminal through the LTE network, the second terminal may also record transmission time information when the service data packet is transmitted, and transmit the transmission time information to the first terminal through bluetooth.
In a preferred embodiment of the present invention, the method may further include the following steps:
for each data packet identification, corresponding reception time information and transmission time information is determined.
In practice, since the service data packets sent by the second terminal to the first terminal are continuous, in order to distinguish the sending time information of each service data packet, the second terminal may carry a data packet identifier in the sending time information sent to the first terminal by bluetooth.
When the first terminal receives the sending time information, the first terminal may search for the data packet identifier in the previously generated association relationship between the receiving time information and the data packet identifier based on the data packet identifier carried by the sending time information, so as to determine the sending time information and the receiving time information belonging to the same data packet.
Step 205, calculating a time difference between the receiving time information and the sending time information corresponding to the service data packet as a transmission delay of the service data packet.
In the embodiment of the present invention, after the first terminal determines the receiving time information and the sending time information belonging to the same service data packet, a difference between the receiving time information and the sending time information of the service data packet may be calculated as a transmission delay of the service data packet in the LTE network.
In the embodiment of the invention, the first terminal in the LTE network can receive the RTP data packet sent by the second terminal through the LTE network and record the receiving time information when the data packet is received, meanwhile, the first terminal can also receive the sending time information when the service data packet sent by the second terminal through Bluetooth is sent, the transmission delay of the RTP data packet is calculated by calculating the difference between the receiving time information and the sending time information, the transmission delay of the LTE network is reflected in real time, the RTCP protocol is not needed to be used for calculating the transmission delay, the dependency on the RTCP protocol is reduced, the NTP time protocol is not needed to be started, and the cost and the complexity of a base station system are reduced.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a block diagram of an embodiment of the apparatus for determining a transmission delay according to the present invention is shown, which may include the following modules:
a service data packet receiving module 301, configured to receive, by a first terminal, a service data packet sent by a second terminal through an LTE network, and record receiving time information when the service data packet is received;
a sending time information receiving module 302, configured to receive sending time information corresponding to the service data packet sent by a second terminal through bluetooth, where the sending time information is time information when the first terminal sends the service data packet through an LTE network;
a transmission delay calculating module 303, configured to calculate a time difference between the receiving time information and the sending time information corresponding to the service data packet, as the transmission delay of the service data packet.
In a preferred embodiment of the present invention, the service data packet includes a data packet identifier, and the apparatus further includes:
and the incidence relation establishing module is used for establishing the incidence relation between the receiving time information and the data packet identifier.
In a preferred embodiment of the present invention, the sending time information carries a packet identifier of the service data packet, and when there are a plurality of service data packets, the apparatus further includes:
and the time information determining module is used for determining corresponding receiving time information and sending time information aiming at each data packet identifier.
In a preferred embodiment of the present invention, the apparatus further comprises:
the Bluetooth connection establishing module is used for establishing Bluetooth connection between the first terminal and the second terminal;
and the time synchronization module is used for performing time synchronization on the first terminal and the second terminal.
In a preferred embodiment of the present invention, the time synchronization module includes:
the first time information receiving submodule is used for receiving first time information sent by the second terminal through Bluetooth;
the second time information acquisition submodule is used for acquiring local second time information of the first terminal;
and the second time information changing submodule is used for changing the second time information into the first time information if the second time information is inconsistent with the first time information.
In a preferred embodiment of the present invention, the service data packet is an RTP data packet.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method and the apparatus for determining transmission delay provided by the present invention are described in detail above, and a specific example is provided herein to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the service scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (12)

1. A method for determining a transmission delay, the method comprising:
a first terminal receives a service data packet sent by a second terminal through an LTE network and records receiving time information when the service data packet is received;
receiving sending time information corresponding to the service data packet sent by a second terminal through Bluetooth, wherein the sending time information is time information when the second terminal sends the service data packet through an LTE network;
calculating the time difference between the receiving time information and the sending time information corresponding to the service data packet as the transmission time delay of the service data packet;
the service data comprises a time stamp sequence of the sending time information, and the first terminal cannot identify the time stamp sequence;
the service data packet is used for carrying VOLTE voice service in the LTE network.
2. The method of claim 1, wherein the service data packet includes a packet identifier, and wherein after the step of recording the time of receipt information when the service data packet was received, the method further comprises:
and establishing the incidence relation between the receiving time information and the data packet identifier.
3. The method according to claim 2, wherein the sending time information carries a packet identifier of the service data packet, and when there are a plurality of service data packets, before the step of calculating a time difference between the receiving time information and the sending time information corresponding to the service data packet, the method further includes:
for each data packet identification, corresponding reception time information and transmission time information is determined.
4. The method according to any one of claims 1 to 3, wherein before the step of the first terminal receiving the service data packet sent by the second terminal, the method further comprises:
establishing a Bluetooth connection between a first terminal and a second terminal;
and time synchronization is carried out on the first terminal and the second terminal.
5. The method of claim 4, wherein the step of time synchronizing the first terminal with the second terminal comprises:
receiving first time information sent by a second terminal through Bluetooth;
acquiring local second time information of the first terminal;
and if the second time information is inconsistent with the first time information, changing the second time information into the first time information.
6. The method according to any of claims 1-3, wherein the traffic data packet is an RTP data packet.
7. An apparatus for determining a propagation delay, the apparatus comprising:
the service data packet receiving module is used for the first terminal to receive a service data packet sent by the second terminal through the LTE network and record receiving time information when the service data packet is received;
the sending time information receiving module is used for receiving sending time information corresponding to the service data packet sent by the second terminal through the Bluetooth, wherein the sending time information is time information when the second terminal sends the service data packet through the LTE network;
a transmission delay calculation module, configured to calculate a time difference between the receiving time information and the sending time information corresponding to the service data packet, as a transmission delay of the service data packet;
the service data comprises a time stamp sequence of the sending time information, and the first terminal cannot identify the time stamp sequence;
the service data packet is used for carrying VOLTE voice service in the LTE network.
8. The apparatus of claim 7, wherein the service data packet includes a packet identification, the apparatus further comprising:
and the incidence relation establishing module is used for establishing the incidence relation between the receiving time information and the data packet identifier.
9. The apparatus according to claim 8, wherein the transmission time information carries a packet identifier of the service data packet, and when there are a plurality of service data packets, the apparatus further includes:
and the time information determining module is used for determining corresponding receiving time information and sending time information aiming at each data packet identifier.
10. The determination apparatus according to any one of claims 7-9, characterized in that the apparatus further comprises:
the Bluetooth connection establishing module is used for establishing Bluetooth connection between the first terminal and the second terminal;
and the time synchronization module is used for performing time synchronization on the first terminal and the second terminal.
11. The apparatus of claim 10, wherein the time synchronization module comprises:
the first time information receiving submodule is used for receiving first time information sent by the second terminal through Bluetooth;
the second time information acquisition submodule is used for acquiring local second time information of the first terminal;
and the second time information changing submodule is used for changing the second time information into the first time information if the second time information is inconsistent with the first time information.
12. The determination apparatus according to any of claims 7-9, wherein the traffic data packet is an RTP data packet.
CN201710271666.4A 2017-04-24 2017-04-24 Method and device for determining transmission delay Active CN108923995B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710271666.4A CN108923995B (en) 2017-04-24 2017-04-24 Method and device for determining transmission delay

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710271666.4A CN108923995B (en) 2017-04-24 2017-04-24 Method and device for determining transmission delay

Publications (2)

Publication Number Publication Date
CN108923995A CN108923995A (en) 2018-11-30
CN108923995B true CN108923995B (en) 2021-04-02

Family

ID=64403197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710271666.4A Active CN108923995B (en) 2017-04-24 2017-04-24 Method and device for determining transmission delay

Country Status (1)

Country Link
CN (1) CN108923995B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111162971B (en) * 2019-12-30 2022-05-06 视联动力信息技术股份有限公司 Time delay determination method and device
CN114363943A (en) * 2020-10-13 2022-04-15 华为技术有限公司 Method and electronic device for determining transmission delay
CN114554322B (en) * 2020-11-27 2023-06-27 华为技术有限公司 Method and device for acquiring transmission delay

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252611A (en) * 2008-03-28 2008-08-27 宇龙计算机通信科技(深圳)有限公司 Method for setting time between split type mobile terminals and split type mobile terminals
CN101321092A (en) * 2008-07-07 2008-12-10 上海华为技术有限公司 Method and device for measuring service quality of internet protocol transmission network
CN103675800A (en) * 2013-12-05 2014-03-26 惠州Tcl移动通信有限公司 Method for measuring distance and electronic device for achievement of distance measurement

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100499526C (en) * 2007-03-23 2009-06-10 中山大学 End-to-end quening time delay measuring method
US8077736B2 (en) * 2008-02-25 2011-12-13 Newport Media, Inc. Fast audio/visual reception in DVB-H systems
CN103297282A (en) * 2012-02-22 2013-09-11 株式会社Ntt都科摩 Network delay measuring device and method
US20150244455A1 (en) * 2012-03-27 2015-08-27 Hangzhou H3C Technologies Co., Ltd. Calculating time offset
CN105979603B (en) * 2016-06-24 2019-04-16 贵州宇鹏科技有限责任公司 UAV Board Data link dispatching method based on TD-LTE technology towards letter flow QoS guarantee

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252611A (en) * 2008-03-28 2008-08-27 宇龙计算机通信科技(深圳)有限公司 Method for setting time between split type mobile terminals and split type mobile terminals
CN101321092A (en) * 2008-07-07 2008-12-10 上海华为技术有限公司 Method and device for measuring service quality of internet protocol transmission network
CN103675800A (en) * 2013-12-05 2014-03-26 惠州Tcl移动通信有限公司 Method for measuring distance and electronic device for achievement of distance measurement

Also Published As

Publication number Publication date
CN108923995A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN101421997B (en) Method and apparatus for discontinuously receiving packet in a mobile communication system
US7680063B2 (en) Method and apparatus for synchronizing transmissions from multiple transmitters
US10652849B2 (en) Using broadcast physical layer for one-way time transfer of universal coordinated time to receivers
KR101030678B1 (en) A method for synchronising the delivery of broadcast data in a single frequency mobile communication network
JP5312734B2 (en) Mobile communication terminal
CN108923995B (en) Method and device for determining transmission delay
KR20080053283A (en) Data transmission system, communication node and data transmission method
RU2010107450A (en) METHOD, DEVICE AND SYNCHRONIZATION SYSTEM IN WIRELESS NETWORKS
RU2009138332A (en) WIRELESS TRANSMISSION
JP6356818B2 (en) Device and device synchronization method in inter-device (D2D) communication
CN110192428B (en) Method for message processing and associated device and apparatus
WO2010054547A1 (en) Synchronization scheduling method
CN110830977A (en) Method and device for transmitting D2D discovery signal and communication system
WO2020063269A1 (en) Service transmission method and device
CN101808167B (en) Method for procedure tracking, device and system
WO2021174394A1 (en) Synchronization method and apparatus
US11381343B2 (en) Uplink data transmission confirmation apparatus, device, and method
CN110677212A (en) Time synchronization method, device and system and computer storage medium
JP7443529B2 (en) Service quality and experience quality monitoring
CN109039994B (en) Method and equipment for calculating asynchronous time difference between audio and video
CN104320810A (en) Header compression method and device and decompression method and device
CN101552948A (en) Method for synchronously sending same MBMS service data by wireless network controller
WO2015172310A1 (en) Audio data testing method and device
JP2018528649A (en) Uplink data packet transmission method, terminal device, base station, and communication system
CN117395769A (en) Information transmission method and related equipment

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