CN113726719A - Voice data transmission method, device, equipment and storage medium - Google Patents

Voice data transmission method, device, equipment and storage medium Download PDF

Info

Publication number
CN113726719A
CN113726719A CN202010451420.7A CN202010451420A CN113726719A CN 113726719 A CN113726719 A CN 113726719A CN 202010451420 A CN202010451420 A CN 202010451420A CN 113726719 A CN113726719 A CN 113726719A
Authority
CN
China
Prior art keywords
sdap
voice data
voice
information
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010451420.7A
Other languages
Chinese (zh)
Inventor
袁乃华
朱玉梅
周志宏
范晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TD Tech Chengdu Co Ltd
Chengdu TD Tech Ltd
Original Assignee
Chengdu TD Tech 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 Chengdu TD Tech Ltd filed Critical Chengdu TD Tech Ltd
Priority to CN202010451420.7A priority Critical patent/CN113726719A/en
Publication of CN113726719A publication Critical patent/CN113726719A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/75Media network packet handling
    • H04L65/762Media network packet handling at the source 
    • 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
    • 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/75Media network packet handling
    • H04L65/764Media network packet handling at the destination 

Abstract

The scheme extracts voice data in an RTP data packet containing the voice data, and directly transmits the extracted voice data in an SDAP protocol layer by an SDAP PDU (data distribution protocol), so that repeated transmission of an RTP/UDP/IP header is cancelled, redundant sending of header data of voice service data is reduced, the transmission efficiency of the voice data is improved, the size of a data packet of wireless air interface voice data can be reduced, the utilization rate and coverage of wireless resources are improved, the quality of service (QoS) of the voice service is improved, and the power consumption of a terminal is reduced.

Description

Voice data transmission method, device, equipment and storage medium
Technical Field
The present application relates to communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for transmitting voice data.
Background
With the continuous development of wireless communication technology, wireless technology is evolving from second Generation communication technology (2nd Generation, 2G) to fifth Generation communication technology (5th Generation). Data transmission in the wireless mobile Internet of the 5G technical system is mainly based on an Internet Protocol (IP) system. A Voice scheme in the first edition standard (R15) of the 5G technology is to adopt a Voice over New Radio (VoNR) bearer scheme based on a New air interface system in an IP Multimedia Subsystem (IMS) manner, switch to a fourth Generation communication network (4th Generation, 4G) in a weak coverage area of a 5G network, and adopt a Voice over Long Term Evolution (Voice over Long Term Evolution, VoLTE) scheme to carry Voice in a Voice over IP (VoIP) format.
In the specific implementation of the prior art, one of the voice data carrying manners of the VoNR in the IMS manner is to use a Real-time Transport Protocol (RTP), and if a VoNR manner is used to transmit 12.2k Adaptive Multi-Rate (AMR) voice, the transmission format is AMR payload (payload) + RTP + User Datagram Protocol (User Datagram Protocol, UDP) + IP, where the AMR payload is 33 bits (Bytes), the RTP header is at least 12Bytes, the UDP header is 8Bytes, and the IP header is 20 Bytes. If the voice is transmitted in the IP packet format, taking AMR voice as an example, the ratio efficiency of the payload is 33/(33+12+8+20) ═ 0.434, and the packet length ratio efficiency of the valid data is low; air interface resources are precious, if small data packets are transmitted in an IP mode, because an RTP/UDP/IP header is large, the efficiency of air interface wireless resources is low; excessive header overload (overload) causes the packet length to increase, which affects the coverage distance of voice traffic.
In summary, the current 5G voice data transmission faces the problems of low payload and waste of air interface resources.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for transmitting voice data, so as to solve the problems that the payload of the current 5G voice data transmission is low and air interface resources are wasted.
In a first aspect, an embodiment of the present application provides a method for transmitting voice data, where the method is applied to a sending end device, and the method includes: acquiring a real-time transport protocol (RTP) data packet containing voice data;
loading the voice data in the RTP data packet on an SDAP entity to obtain an SDAP PDU;
and sending the SDAP PDU to receiving end equipment, wherein the SDAP transmission modes of the sending end equipment and the receiving end equipment are both started.
On the basis of the scheme, the method further comprises the following steps: extracting voice stream information and time information in the RTP data packet; wherein, the voice stream information and the time information are used for recovering the header information of the RTP data packet; and sending the voice stream information and the time information to the receiving end equipment.
Optionally, the sending the voice stream information and the time information to the receiving end device includes: sending the voice stream information and the time information to the receiving end equipment through a control signaling;
alternatively, the first and second electrodes may be,
and sending the voice stream information and the time information to the receiving terminal equipment through an SDAP control message.
Optionally, the voice stream information includes: identifying a standard name of a data source, and identifying a voice stream synchronization source SSRC; the time information includes: the time stamp of the first packet, the absolute time in NTP format in RTCP, the unit of the time stamp.
On the basis of the above scheme, if the sending end device includes a terminal device and the receiving end device includes a network device, before the voice data in the RTP data packet is carried on an SDAP entity to obtain an SDAP PDU, the method further includes: opening an SDAP transmission mode according to the operation of a user; sending first indication information to the network equipment, wherein the first indication information is used for indicating voice data to be carried in an SDAP mode; or receiving second indication information sent by the network device, where the second indication information is used to indicate that voice data is carried in an SDAP manner, and the second indication information is determined by the network device according to an indication with SDAP transmission capability reported by the terminal device; and opening the SDAP transmission mode according to the second indication information.
Optionally, if the sending end device includes a network device and the receiving end device includes a terminal device, before the voice data in the RTP data packet is carried on an SDAP entity to obtain an SDAP PDU, the method further includes:
if the SDAP transmission mode is detected to be opened and the transmission capability reported by the terminal equipment indicates that the SDAP transmission capability is available, sending second indication information to the terminal equipment, wherein the second indication information is used for indicating voice data to be loaded in the SDAP mode;
alternatively, the first and second electrodes may be,
and receiving first indication information sent by the terminal equipment, wherein the first indication information is used for indicating voice data to be carried in an SDAP mode.
In a second aspect, an embodiment of the present application provides a method for transmitting voice data, where the method is applied to a receiving end device, and the method includes:
receiving an SDAP PDU (service data protocol Unit) sent by sending end equipment through an SDAP entity, wherein the SDAP PDU comprises voice data; the SDAP transmission modes of the sending end equipment and the receiving end equipment are both started;
and acquiring a real-time transport protocol (RTP) data packet comprising the voice data based on the SDAP PDU.
Preferably, the method further comprises:
receiving voice stream information and time information sent by the sending end equipment, and recording a system frame number at the moment;
acquiring the header information of a real-time transport protocol (RTP) data packet according to the voice stream information and the time information;
correspondingly, the acquiring a real-time transport protocol RTP packet including the voice data based on the SDAP PDU includes: parsing the voice data from the SDAP PDU; calculating by adopting a synchronous time maintenance algorithm according to the time information and the system frame number to obtain timestamp information; and acquiring the RTP data packet according to the timestamp information, the header information and the voice data.
Optionally, the receiving the voice stream information and the time information sent by the sending end device includes:
receiving a control signaling sent by the sending end equipment, wherein the control signaling carries the voice stream information and the time information;
alternatively, the first and second electrodes may be,
and receiving an SDAP control message sent by the sending end equipment, wherein the SDAP control message carries the voice stream information and the time information.
On the basis of the above scheme, the voice stream information includes: identifying a standard name of a data source, and identifying a voice stream synchronization source SSRC; the time information includes: the time stamp of the first packet, the absolute time in NTP format in RTCP, the unit of the time stamp.
Optionally, the sending end device includes a terminal device, and the receiving end device includes a network device, and before the sending end device receives the SDAP PDU sent by the sending end device through the SDAP entity, the method further includes: receiving first indication information sent by the terminal equipment, wherein the first indication information is used for indicating voice data to be carried in an SDAP mode;
alternatively, the first and second electrodes may be,
receiving a transmission capability indication reported by the terminal equipment, wherein the transmission capability indication indicates that the terminal equipment has SDAP transmission capability;
and if the SDAP transmission mode is detected to be opened, sending second indication information to the terminal equipment according to the transmission capacity indication, wherein the second indication information is used for indicating voice data to be carried in the SDAP mode.
Optionally, the sending end device includes a network device, and the receiving end device includes a terminal device, and before the sending end device receives the SDAP PDU sent by the sending end device through the SDAP entity, the method further includes:
receiving second indication information sent by a network device, wherein the second indication information is used for indicating voice data to be carried in an SDAP mode, and the second indication information is determined by the network device according to an indication with SDAP transmission capability reported by the terminal device;
opening an SDAP transmission mode according to the second indication information;
alternatively, the first and second electrodes may be,
opening an SDAP transmission mode according to the operation of a user;
and sending first indication information to the network equipment, wherein the first indication information is used for indicating that voice data is carried in an SDAP mode.
In a third aspect, an embodiment of the present application provides an apparatus for transmitting voice data, where the apparatus includes:
the acquisition module is used for acquiring a real-time transport protocol (RTP) data packet containing voice data;
the processing module is used for extracting voice data in the RTP data packet and loading the voice data on the SDAP entity to obtain an SDAP PDU;
and the sending module is used for sending the SDAP PDU to receiving end equipment, wherein the transmission device of the voice data and the SDAP transmission mode of the receiving end equipment are both started.
In a fourth aspect, an embodiment of the present application provides an apparatus for transmitting voice data, where the apparatus includes:
a receiving module, configured to receive, by an SDAP entity, an SDAP PDU sent by a sending end device, where the SDAP PDU includes voice data; wherein, SDAP transmission modes of the transmitting terminal equipment and the voice data transmission device are both started;
and the processing module is used for acquiring a real-time transport protocol (RTP) data packet comprising the voice data based on the SDAP PDU.
In a fifth aspect, an embodiment of the present application provides a terminal device, where the terminal device includes: a processor, a memory, an interface to communicate with a network device;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored in the memory, so that the processor executes the transmission method of voice data according to any one of the first aspect and the second aspect.
In a sixth aspect, an embodiment of the present application provides a network device, where the network device includes:
a processor memory, an interface for communicating with a terminal device;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored in the memory, so that the processor executes the transmission method of voice data according to any one of the first aspect and the second aspect.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the computer-readable storage medium is configured to implement the method for transmitting voice data according to any one of the technical solutions of the first aspect and the second aspect.
According to the 5G voice data transmission method and device provided by the embodiment of the application, the voice data in the RTP data packet containing the voice data are extracted, and the extracted voice data are directly transmitted in the SDAP protocol layer in the SDAP PDU mode, so that repeated transmission of the RTP/UDP/IP header is cancelled, redundant sending of header data of voice service data packets is reduced, the transmission efficiency of the voice data is improved, the size of the data packet of wireless air-interface voice data can be reduced, the utilization rate and coverage of wireless resources are improved, the QoS of the voice service is improved, and the power consumption of a terminal is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a first embodiment of a method for transmitting voice data according to the present application;
fig. 2 is a schematic diagram of a group-talkback voice data transmission protocol stack according to a first embodiment of a voice data transmission method provided in the present application;
fig. 3 is a schematic diagram of a group downlink voice data transmission protocol stack according to a first embodiment of a voice data transmission method provided in the present application;
fig. 4 is a flowchart illustrating a second embodiment of a method for transmitting voice data according to the present application;
fig. 5 is a flowchart illustrating a third embodiment of a method for transmitting voice data according to the present application;
fig. 6a and 6b are schematic flow charts of a fourth embodiment of a method for transmitting voice data provided in the present application;
fig. 7a and 7b are schematic flow charts of a fifth embodiment of a method for transmitting voice data provided in the present application;
fig. 8 is a schematic structural diagram of a first embodiment of a voice data transmission apparatus provided in the present application;
fig. 9 is a schematic structural diagram of a second transmission apparatus for voice data according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a first embodiment of a terminal device provided in the present application;
fig. 11 is a schematic structural diagram of a network device according to a first embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments that can be made by one skilled in the art based on the embodiments in the present application in light of the present disclosure are within the scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the above-described drawings (if any) are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The following is a brief description of terms not referred to in the background: service Data Attachment Protocol (SDAP), a Data application Protocol under a 5G system; protocol Data Unit (PDU); a Real-time Transport Protocol (RTP) responsible for transmitting actual data; real-time Transport Control Protocol-2 (RTCP), which is a sister Protocol of RTP and is responsible for periodically sending Control packets to all connectors; network Time Protocol (NTP), a Protocol used to synchronize computer Time; quality of Service (QoS); session Initiation Protocol (SIP), a text-based application-layer control Protocol, used to create, modify, and release sessions for one or more participants; enhanced Voice Service (EVS), a Voice data format; robust Header Compression (ROHC), a Header Compression method applied to wireless links; user Equipment (UE); a 5G base station (gbb); user Plane Function (User Plane Function), which is a basic component of the 5G core network infrastructure architecture defined by the third Generation Partnership Project (3 GPP); a radio Data Bearer (DRB); radio Resource Control (RRC); general Packet Radio Service tunneling Protocol-user Plane (GTPU); system Frame Number (SFN); user Equipment (UE); a Transmission Time Interval, which is a frame Interval (TTI) in this application; synchronization Source identification (SSRC).
In the 5G system, a VoNR mode based on an IMS mode is adopted to carry voice, a signaling plane adopts SIP, and a user plane adopts an RTP/UDP/IP packet format to carry voice data; under the condition of being compatible with AMR coding and EVS coding, the packet head of RTP, UDP and IP is larger, so that the packet length occupation efficiency of voice effective data in a VoNR mode is lower, and the efficiency of air interface wireless resources is also lower;
in addition, the length of a voice packet is increased due to excessive RTP/UDP/IP packet headers which are repeatedly transmitted, particularly, the power of an uplink terminal is limited, the voice coverage is reduced due to excessive redundant packet headers, the uplink coverage is limited in many scenes, and the coverage distance of voice services is influenced; although the VoNR technology of the 5G system adopts the ROHC method to improve the coverage of the voice service, the 5G system sacrifices the capacity, reduces the frequency efficiency, and increases the power consumption of the terminal.
In view of the foregoing problems, embodiments of the present application provide a method, an apparatus, a device, and a storage medium for transmitting voice data, where voice data in an RTP packet is extracted, and the extracted voice data is directly transmitted in an SDAP PDU in an SDAP protocol layer, so as to cancel duplicate transmission of an RTP/UDP/IP header. The core idea of the technical scheme of the application is to remove redundant header data, and directly transmit the effective load of voice data by using the small header volume of a data packet, namely SDAP PDU (data packet protocol data unit) of a 5G SDAP protocol layer.
The technical solution of the present application will be described below with reference to specific embodiments.
Fig. 1 is a schematic flowchart of a first embodiment of a method for transmitting voice data, as shown in fig. 1, the method for transmitting voice data includes the following steps:
s101, the sending end equipment obtains a real-time transport protocol (RTP) data packet containing voice data.
In this step, the sending end device may be a terminal device or a network device (e.g., a base station). Taking the sending end device as the terminal device as an example, the real-time transport protocol RTP data packet containing the voice data acquired by the terminal device may be transmitted by the receiving external device, or may be generated by the device according to the voice of the user.
For example, if the sending end device is a network device, the real-time transport protocol RTP packet including the voice data acquired by the network device may be transmitted by receiving another network device, or may be transmitted by the terminal device.
S102a, the sending terminal device loads the voice data in the RTP data packet on the SDAP entity to obtain the SDAP PDU.
S102b, sending the SDAP PDU to a receiving end device by the sending end device, wherein the SDAP transmission modes of the sending end device and the receiving end device are both opened.
In this step, the SDAP entity is located in the SDAP sub-layer, each PDU session establishes a corresponding SDAP entity, one SDAP entity receives a data packet from an upper layer, and packs the data packet into an SDAP PDU, and an SDAP header is added, but the SDAP header is smaller than an RTP/UDP/IP header, so that in the technical scheme, the sending end equipment directly extracts voice data from the received RTP data packet containing the voice data and then loads the voice data on the SDAP entity to form the SDAP PDU, and the SDAP PDU is directly transmitted through the SDAP, so that the proportion of the header in the data single packet is reduced, and the effective load in the voice data packet, namely the proportion of the voice data, is improved. However, since the SDAP is a new protocol layer in the 5G network, neither the 5G base station nor the 5G terminal can transmit data in the SDAP mode, it is necessary to determine in advance that both the sending end device and the receiving end device start the SDAP transmission mode.
Optionally, a specific implementation manner takes a 5G group service as an example:
for example, if the sending end device is a terminal device, fig. 2 is a schematic diagram of a group-talkback voice data transmission protocol stack, and referring to fig. 1 and fig. 2, when the group-talkback terminal establishes the dedicated radio bearer DRB for the uplink voice service of the group-talkback, for example, a switch of a voice data direct bearer mode of the base station is turned on and the base station obtains the direct bearer capability of the SDAP that the terminal supports the voice data, a bearer establishment mode of voice data configuring the terminal is that the voice data is directly transmitted on the SDAP, and signaling at the terminal and the base station side configures the SDAP entities of the voice service of the terminal and the base station, respectively. And after the preparation work is done, the terminal equipment extracts the voice data in the RTP data packet, removes the RTP/UDP/IP header, directly loads the voice data on the SDAP as SDAP PDU to be sent to the receiving end equipment, and when the sending end equipment is the terminal equipment, the receiving end equipment is the network equipment.
When the sending end device is a network device (such as a base station), fig. 3 is a schematic diagram of a group downlink voice data transmission protocol stack, and with reference to fig. 1 and fig. 3, all terminals in a group support the direct transmission capability of the voice SDAP, and the voice data SDAP direct transmission mode at the base station side is open, a transmission mode of the group downlink voice data directly on the SDAP is adopted, and the terminals in the group are notified of the carrying mode of the group voice data in a signaling message established by the group, and the terminals in the group know that the voice data is carried in the direct SDAP mode; then, the downlink SDAP of the base station extracts payload of voice data in the datagram, and directly sends the payload to receiving end equipment as SDAP PDU data on the SDAP, wherein when the sending end equipment is the base station (namely network equipment), the receiving end equipment is terminal equipment.
S103, the receiving end equipment receives the SDAP PDU containing the voice data sent by the sending end equipment, and based on the SDAP PDU, a real-time transport protocol RTP data packet containing the voice data is obtained.
In this step, the receiving end device receives the SDAP PDU, extracts the voice data therein and restores the format of the RTP/UDP/IP message carried by the voice data.
The method specifically comprises the following steps: the receiving end device takes a network device such as a base station as an example, and the base station recovers and modifies the voice data carried in the RTP/UDP/IP mode after receiving the voice data on the SDAP.
Taking the base station as the receiving end device in the above S102 as an example, the base station sends an RTP packet containing voice data to the UPF in a GTPU manner, and when receiving the downlink voice data sent by the UPF, the downlink base station puts forward the voice data in an RTP/UDP/IP message, directly loads the voice data on the SDAP, and sends the voice data to the terminal; then the process of the first step is carried out,
at this time, the receiving end equipment is the terminal equipment, the protocol stack is the same as the main speaking user, and the terminal equipment recovers to an RTP/UDP/IP message after receiving the voice data on the SDAP.
In this embodiment, the voice data transmission method of the sending end device and the voice data transmission method of the receiving end device both transmit the voice data without the RTP/UDP/IP header directly on the SDAP as the SDAP PDU, thereby improving the packet length ratio of the voice effective data and improving the utilization efficiency of air interface wireless resources.
Fig. 4 is a flowchart illustrating a second embodiment of a voice data transmission method according to the present application, as shown in fig. 3, for peer-to-peer voice communication in a 5G system: when the calling party supports the mode that the voice data is directly transmitted on the SDAP and the voice data direct SDAP bearing mode of the network side base station is opened, then:
s201, a calling terminal device (i.e. a sending terminal device) initiates a service of calling voice data.
The calling terminal equipment controls the establishment of calling bearer through SIP signaling in an IMS mode, and the 5G base station identifies that the service is voice service according to QoS 5QI of the service, signaling of an N2 port or QoS definition of a data packet header.
S202, the calling terminal device (i.e. the sending terminal device) notifies the SDAP entities of the called terminal device and the base station through signaling (RRC), and the voice service bearer is established in a manner that uplink and downlink voice data are directly transmitted on the SDAP.
In this step, the sending end and the receiving end device are notified to start the SDAP transmission in advance, and since the SDAP, which is one of the 5G protocols, has a certain power consumption and is not in an always-on state, the SDAP modes of both sides need to be opened before transmitting voice data.
S203, the calling terminal device extracts the voice data in the uplink RTP/UDP/IP message.
In this step, the voice data in the RTP/UDP/IP packet is extracted, i.e. the RTP/UDP/IP header is removed from the RTP packet, and the required voice data is provided to form the SDAP PDU.
S204, the calling terminal directly loads the extracted voice data on the SDAP and sends the voice data to the uplink base station.
In this step, directly loading the voice data on the SDAP means that the voice data forms an SDAP PDU through the SDAP entity, and then the voice data can be transmitted in an SDAP manner.
S205, after the uplink base station (at this time, the receiving end device) receives the voice data on the SDAP, the uplink base station is recovered and modified to a mode that the voice data is loaded in an RTP/UDP/IP mode.
In this step, the uplink base station receives the SDAP PDU through the SDAP mode, extracts the voice data, and packs the voice data into an RTP packet for transmission to the downlink base station through the RTP/UDP/IP mode of the base station itself.
S206, the uplink base station sends the voice data in RTP/UDP/IP mode to the downlink base station, and the specific implementation can be that the voice data is sent to UPF in GTPU mode and then sent to the downlink base station by UPF. In this step, the voice data in RTP/UDP/IP mode is sent to the downlink base station where the called terminal is located, and then the downlink base station can transmit the voice data to the called terminal.
S207, when the downlink base station receives the downlink RTP/UDP/IP voice data message sent by the UPF, the voice data is directly extracted.
In this step, the downlink base station receives the downlink RTP/UDP/IP voice data message and extracts the voice data for the next step of transmitting to the called terminal through the SDAP.
S208, the downlink base station directly loads the extracted voice data on the SDAP, and the downlink base station device serves as a sending-end device to send the voice data to the called terminal (i.e., a receiving-end device) on the SDAP.
In this step, the downlink base station transmits the voice data to the called terminal by the SDAP mode, which saves air interface resources and improves the payload ratio of the voice data.
The processing mode of the called terminal and the voice processing mode of the calling terminal are independent, namely the voice data processing between the called terminal and the resident base station can independently determine the voice data bearing mode of the resident base station of the called terminal and the called terminal according to the switching condition of the voice SDAP bearing capacity of the terminal and the voice data direct SDAP bearing mode of the base station side, and the voice data bearing mode can be a VoNR mode or a voice data SDAP direct bearing mode; when a called terminal establishes a voice data service, SIP signaling in an IMS mode controls the establishment of voice bearing of the called terminal, a 5G base station identifies that the service is the voice service according to QoS 5QI of the service, signaling of an N2 port or QoS definition of a data packet header, informs SDAP entities of the terminal and the base station through signaling (RRC), and the voice service bearing is established in a mode that uplink and downlink voice data are directly transmitted on the SDAP; the terminal puts out the voice data in the RTP/UDP/IP message, directly loads the voice data on the SDAP, and the base station restores and modifies the voice data into a mode of loading the voice data on the RTP/UDP/IP after receiving the voice data on the SDAP and sends the voice data to the UPF in a GTPU mode; when receiving the downlink voice data sent by the UPF, the base station puts forward the voice data in the RTP/UDP/IP message, directly loads the voice data on the SDAP and sends the voice data to the terminal, the protocol stack is the same as the main speaking user, and the terminal side recovers the voice data on the SDAP into the RTP/UDP/IP message after receiving the voice data on the SDAP.
The QoS definition and bearer establishment of the voice data are specifically as follows: when a terminal or a system side initiates the establishment of a VoNR voice service, establishing a VoNR voice service bearer by adopting an IMS-based mode, defining an IMS signaling plane signaling and a user plane bearer of the voice service, and defining QoS indexes of the signaling plane and the user plane; defining QoS Index 5QI to 5 for SIP signaling plane of IMS, and defining QoS Index 5QI to 1 for voice service user plane of IMS; when the base station and the terminal negotiate that the SDAP direct transmission of voice data can be adopted, the base station informs the terminal and the base station of the SDAP direct bearing mode of voice service through signaling when establishing a special radio bearer (DRB) of an air interface.
Based on the voice data transmission method provided by the above embodiment, since the RTP header is not transmitted, the transmission time related information in the RTP header, such as the timestamp, is lost, so that the time information cannot be recovered at the receiving side, and when the audio and video are transmitted in a dual stream, the audio and video cannot be synchronized at the receiving side. When receiving voice data of an RTP data source, if the voice data needs to be transmitted by adopting a direct SDAP (software development protocol access protocol) bearing mode at a wireless air interface, a terminal/base station acquires voice packet payload data in an RTP packet when receiving an RTP datagram, the voice packet payload data is directly mapped to the SDAP and is used as PDU (protocol data unit) data of the SDAP to be transmitted, the packet head of the RTP datagram is discarded, synchronous information in the RTP header is lost, and a receiving end needs to recover; how does the time synchronization recover, sent in a direct SDAP fashion for voice data? To solve the problem, the present application further provides a technical solution for transmitting voice data, which is used for recovering RTP time synchronization information, and the technical solution is as follows:
fig. 5 is a schematic flow diagram of a third embodiment of a transmission method of voice data provided in an embodiment of the present application, and as shown in fig. 5 (based on the foregoing technical solution), the transmission method of voice data provided in this embodiment further includes the following steps:
s102a, the sending end device extracts the voice stream information and the time information in the RTP packet, where the voice stream information and the time information are used to recover the header information of the RTP packet.
In this step, optionally, the voice stream information includes a canonical name for identifying the data source and a voice stream synchronization source identifier SSRC, and the time information includes a time stamp of the first data packet, an absolute time in NTP format in RTCP, and a unit of the time stamp.
S102b, the sending terminal equipment sends the SDAP PDU to the receiving terminal equipment.
And S102c, sending the voice stream information and the time information to the receiving terminal equipment.
In this step, optionally, the voice flow information and the time information may be transmitted in a manner of controlling signaling, or may be transmitted in a manner of controlling packet transmission by the SDAP, where the manner of controlling the packet by the SDAP is to add a new packet, which is different from the transmission of the SDAP PDU in other steps. The voice stream information and the time information are used for time synchronization of voice data for the receiving end equipment.
S103, the receiving end equipment receives the SDAP PDU, the voice stream information and the time information sent by the sending end equipment, records the system frame number of the moment, then carries out time synchronization on the voice data according to the SDAP PDU, the voice stream information, the time information and the system frame number of the receiving moment, and acquires a real-time transport protocol RTP data packet comprising the voice data.
In this step, the process of acquiring the RTP packet including the voice data includes:
analyzing the voice data from the SDAP PDU; acquiring header information of a real-time transport protocol (RTP) data packet according to the voice stream information and the time information; calculating by adopting a synchronous time maintenance algorithm according to the time information and the system frame number to obtain timestamp information; and acquiring the RTP data packet of the voice data with the time synchronized according to the timestamp information, the header information and the voice data.
In the technical scheme of this embodiment, the receiving end device takes a network device as an example, and is specifically implemented as follows:
background: firstly, maintaining a system frame number, after the UE is accessed to a base station to perform cell residence, a terminal acquires the system frame number SFN of the base station, and the subsequent terminal and the base station maintain the SFN frame number according to the frame interval TTI and keep the timing synchronization of the terminal and the system side.
After receiving the voice stream information and the time information, the receiving end equipment records the standard name, the absolute time and the synchronous source identification SSRC of the stream, records the system frame number SFNi at the moment and acquires the mapping of the initial timestamp and the system frame number; and each time the subsequent receiving end equipment receives one SDAP voice data packet, acquiring a system frame number SFNj at the moment, calculating a relative time difference between SFNi and SFNj, calculating a relative Timestamp according to a time unit of the RTP Timestamp, and recovering the Timestamp _ j of the RTP (Timestamp _ i + (difference between SFNj and SFNi) × TTI/Timestamp unit of the SFN frame). Wherein, Timestamp _ j is a Timestamp of a subsequent time when the voice data packet is received, and Timestamp _ i is a Timestamp of receiving an initial voice data packet. In addition, since the SDAP mode can also transmit video information, the voice stream information can also be multimedia stream information containing the video stream information and the voice stream information, and therefore, the technical scheme can be used for completing the matching synchronization of the video stream and the voice stream for the multimedia stream information mixed by the video stream and the voice stream information.
Since the system frame number is 10BIT, the cycle is 0-1023, the difference calculation between the SFN frame numbers needs to consider the zeroing operation after the frame number is more than 1023, if SFNj < SFNi, the output value between SFNj and SFNi is SFNj + 1024-SFNi. In order to solve the repetition of the system frame number, a control frame of the SDAP can be sent within 1024 frames for the calculation of the time frame number generation value of the receiver; the absolute time in RTCP may be recovered from the timestamp and the system frame number calculation. The subsequent receiver calculates the number of 1024 frame number cycles of 0-1023 of the radio frame for calculating the difference in radio frame number between subsequent speech packets.
Specifically, the method for calculating the absolute time of the time j in RTCP is as follows:
time value Time _ j ═ Time _ i + (difference between Timestamp _ j and Timestamp _ i) × Time stamp units
Considering that the terminal device switches between different cells, the target cell needs to re-determine the mapping between the initial timestamp and the system frame number of the RTP of the cell, that is, the source cell needs to send the RTP initial timestamp or the timestamp during switching to inform the target cell when switching, and the target cell stores the mapping between the RTP timestamp at the switching time and the system frame number of the cell, so as to subsequently calculate the value of the timestamp of the cell.
Therefore, the network equipment records the voice stream information and the time information for RTP header recovery of the subsequent voice service; the terminal equipment removes the RTP/UDP/IP packet head, sends the uplink voice data to the network equipment such as a base station, the base station side receives the voice data packet of the SDAP, adds the RTP/UDP/IP message head, calculates the timestamp information through a synchronous time maintenance algorithm, and prints the timestamp information in the RTP header, thereby completely recovering the RTP message data and sending the RTP message data to the UPF; if the voice information is downlink voice information, the reverse processing is performed. The time synchronization of the voice data transmission of a single transmission link from the sending end equipment to the receiving end equipment is realized, and technical personnel in the field can obtain the efficient and time-synchronized point-to-point voice service in the 5G system without creative labor according to the technical scheme, because point-to-point is that the calling terminal equipment goes to the network equipment and then to the called terminal equipment, the process from the sending end to the receiving end in the technical scheme is applied twice.
Fig. 6a and 6b are schematic flow diagrams of a fourth embodiment of a method for transmitting voice data according to the present application, and as shown in fig. 6a and 6b, based on the above embodiments, the present embodiment discloses: as shown in fig. 6a, if the sending end device includes a terminal device, and the receiving end device includes a network device, the voice data in the RTP packet is carried on the SDAP entity, and before the SDAP PDU is obtained, that is, before S102a, the technical solution of the present application further includes:
and S1011, the terminal equipment opens the SDAP transmission mode according to the operation of the user.
S1012, the terminal device sends first indication information to the network device, where the first indication information is information for indicating that the voice data is carried in an SDAP manner.
In this step, the first indication message may be carried by an RRC connection setup request message of the terminal device and the network device, so as to implement delivery of the indication message.
And S1013, the network equipment opens the SDAP transmission mode according to the received first indication information. And then the transmission of the corresponding voice data on the SDAP is carried out.
The scheme is that the terminal equipment side spontaneously informs the base station (namely, the network equipment) to open the SDAP transmission mode, so that the two sides open the SDAP transmission mode to open the data transmission of the SDAP layer.
Alternatively, the first and second electrodes may be,
as shown in fig. 6b, if the sending end device includes a terminal device, and the receiving end device includes a network device, the voice data in the RTP packet is carried on the SDAP entity, and before the SDAP PDU is obtained, that is, before S102a, the technical solution of the present application further includes:
s1021, the terminal device reports that the terminal device has SDAP transmission capability to the network device.
S1022, the network device opens the SDAP transmission mode.
And S1023, the network device sends second indication information to the terminal device, wherein the second indication information is information for indicating that the voice data is carried in an SDAP mode. The second indication information is determined by the network device according to the indication with the SDAP transmission capability reported by the terminal device.
In this step, the second indication message may be carried by an RRC connection setup request message of the terminal device and the network device, so as to implement delivery of the indication message.
And S1024, the terminal equipment opens the SDAP transmission mode according to the second indication information. And then the transmission of the corresponding voice data on the SDAP is carried out.
The scheme is that the terminal device reports that the network social device has SDAP transmission capability, and then the network social device actively schedules the terminal device and adopts SDAP transmission for voice data.
For voice service data of voice application, in order to be able to transmit voice service through the SDAP entity, a data transmission mode switch may be set in a 5G base station (i.e., a network device) and a terminal (i.e., a terminal device), so as to support a conventional VoNR voice transmission mode and a direct voice data transmission mode in the SDAP, for example, the voice service in the 5G network; when the terminal supports the voice data to be directly transmitted on the SDAP, the terminal reports the SDAP direct transmission capability of the voice data when accessing and residing in a cell; the base station side voice over SDAP direct transfer capability can be configured by means of characteristic switching parameters. When the SDAP direct transmission mode switch of the voice is closed, the existing VoNR mode is adopted for transmission. When the SDAP direct transmission mode switch of the voice data is turned on and the base station and the terminal side establish the voice bearing entity of the SDAP, the SDAP entity is informed in a high-level signaling (RRC) mode, and the SDAP direct bearing mode of the voice service can be adopted for the voice service.
Fig. 7a and 7b are schematic flow diagrams of a fifth embodiment of a method for transmitting voice data provided by the present application, as shown in fig. 76a and 7b, where the present embodiment is based on any one of the first to third technical solutions of the above embodiments.
As shown in fig. 7a, if the sending end device includes a network device, and the receiving end device includes a terminal device, the voice data in the RTP data packet is carried on an SDAP entity, and before obtaining an SDAP PDU, that is, before S102a, the technical solution of the present application further includes:
and S1031, the network device detects the opening of the SDAP transmission mode.
S1032, the terminal device reports the SDAP transmission capability of the terminal device to the network device.
S1033, the network device sends second indication information to the terminal device, and the second knowledge information is information for indicating that the voice data is carried by adopting an SDAP mode.
In this step, the second indication message may be carried by an RRC connection setup request message of the terminal device and the network device, so as to implement delivery of the indication message.
S1034, the terminal equipment opens the SDAP transmission mode.
The scheme is that the terminal device reports that the network social device has SDAP transmission capability, and then the network social device actively schedules the terminal device and adopts SDAP transmission for voice data.
Alternatively, the first and second electrodes may be,
as shown in fig. 7b, if the sending end device includes a network device, and the receiving end device includes a terminal device, the voice data in the RTP data packet is carried on an SDAP entity, and before obtaining an SDAP PDU, that is, before S102a, the technical solution of the present application further includes:
and S1041, the terminal device opens the SDAP transmission mode according to the user operation.
S1042, the terminal device sends first indication information to the network device, wherein the first indication information is used for indicating that the voice data is carried by adopting an SDAP mode.
In this step, the second indication message may be carried by an RRC connection setup request message of the terminal device and the network device, so as to implement delivery of the indication message.
S1043, the network device opens the SDAP transmission mode.
And then the transmission of the corresponding voice data on the SDAP is carried out.
The scheme is that the terminal equipment side spontaneously informs a base station (namely network equipment) to open an SDAP transmission mode, so that the two sides open the SDAP transmission mode to open the data transmission of an SDAP layer, wherein a first indication message can be carried by an RRC connection establishment request message of the terminal equipment and the network equipment, and the transmission of the indication message is realized
For the problem that jitter of time delay occurs when a data packet is sent in a network, the present application takes the third embodiment as a basis, and further provides a voice data transmission method, where a sixth embodiment of the method corresponds to the following:
in order to avoid that the calculation error of the timestamp cannot be eliminated due to the overlarge jitter delay of the RTP, a periodic mechanism of cache and stream information/time information can be adopted for error correction; because the basic transmission delay of the air interface to the voice frame is smaller, and the time exceeding the voice TTI frame basically adopts the processing of discarding the frame, the large delay jitter basically does not occur from the terminal to the base station; the main jitter is the network transmission delay jitter of RTP voice data packets sent to the terminal, the error correction mechanism is mainly realized at the base station side, the base station can set a buffer, frames with the delay jitter exceeding a buffer window are directly discarded, and data in the buffer window are transmitted in a sequencing mode.
Considering the loop of 0-1023 of the system frame number and possibly no voice data in a period of time after the voice service is initiated, in order to reduce the accumulation of errors and improve the error correction capability, the following method can be adopted:
when a terminal and a base station bear voice direct SDAP, a first RTP data packet is received, RTP packet time stamp information is extracted at intervals in a period of time subsequently, and the time stamp information is periodically sent to an opposite terminal for error correction in a mode of SDAP control PDU.
By sending the stream information and the time information, a subsequent receiving end can acquire the relative time difference between different received data packets according to the maintenance of the air interface system frame number, so that the receiving end timestamp can be calculated and recovered, and the absolute time of the RTP voice stream can be recovered according to the absolute time, the SSRC and the specification name of the NTP, so that the audio and the video of the same data source can be synchronized for the synchronous playing of the video and the audio.
With reference to the third technical solution of the embodiment, the complete technical solution of the embodiment is implemented as follows, where both the UE and the base station can be used as a sending end device or a receiving end device according to the scene where the UE and the base station are located:
first, the terminal UE prepares the direct SDAP bearer.
The method comprises the following steps: extensions in the capabilities of the UE define the voice-enabled SDAP direct bearer handling capability,
MS network feature support:VoiceOverSDAPCapability{
Enable 1;
Disable 0;
}
and reporting the CAPABILITY of the UE to the network side in the UE CAPABILITY information report to the network side, and acquiring the direct bearing CAPABILITY of the voice data of the terminal in the SDAP by the network side.
And secondly, the base station prepares an SDAP direct bearing mode.
Firstly, defining a base station side voice direct SDAP bearing mechanism switch:
algoVoiceOverSDAPSwitch; when the SDAP direct bearer algorithm switch of the voice is turned on, the base station identifies that the SDAP direct bearer of the voice is supported by both the terminal and the base station, and the base station carries an optional signaling in an air interface signaling RRC Reconfiguration, and informs the terminal of establishing a mode for the SDAP direct transmission of the voice service on the wireless bearer of which the voice service 5QI is 1.
And step three, the terminal and the base station open the SDAP direct bearing mode.
When the terminal and the base station establish the SDAP entity for the voice service, the SDAP entity of the voice service is informed, and the SDAP direct bearing mode is adopted.
And fourthly, the terminal and the base station carry the voice data on the SDAP for transmission.
The SDAP entities of the terminal and the base station extract Payload of voice service for the received RTP/UDP/IP message during sending, and directly send the Payload as SDU data bearer of the SDAP; the receiving party receives the SDAP SDU data part and adds RTP/UDP/IP header.
And fifthly, the terminal and the base station recover the RTP time synchronization information.
In the direct SDAP transmission mode of voice data in the 5G system, the sender directly takes out the voice data from the RTP data packet, which is a bearer mode in which the terminal or the base station directly sends the voice data to the SDAP at an air interface. An embodiment of the RTP timestamp and synchronization recovery mechanism after the direct SDAP bearer of voice data is described below.
1) RTP Voice stream information and time information are defined, RTP _ Voice _ Des: { Voice _ Name, time in NTP format, SSRC, timestamp, time stamp unit }, and for example, parameter description information of the Voice stream is defined as { Voice service _ IP1, 20:00CST, 100, 0110, 20ms }. And then transmitted to the receiving end through an RRC Reconfiguration message, and the receiving end maintains the stream information and the initial SFN information.
2) And maintaining time information of the receiving end. A receiving end acquires an initial Voice stream Name, Voice _ Name, NTP format time, SSRC, timestamp and timestamp unit, maintains the mapping relation between the initial timestamp and a system frame number SFNi, repackages the received Voice packet into an RTP packet, adds an RTP header, and fills information such as the SSRC and the timestamp; and the subsequent terminal receives the voice SDAP packet, calculates the frame number difference between the SFNj and the SFNi according to the system frame number SFNj at the moment of receiving the SDAP packet, calculates a timestamp according to the difference, and encapsulates the timestamp of the SDAP packet into the RTP packet. If the performance needs to be improved, the delay jitter of the RTP voice packet transmitted by the transmission network is avoided to be overlarge, and the time information of the voice packet can be referred and corrected by adopting a mode of periodically sending the SDAP control message.
Wherein, the switching process is as follows: when the terminal is switched from one base station to another base station, the source base station is required to carry Voice data VoiceSourceInfo information to the target base station, the VoiceSourceInfo information can be carried in a switching Request Handover Request message, and the target base station acquires Voice stream Name Voice _ Name, time in NTP format, SSRC, time stamp during switching and time stamp during subsequent calculation when the received Voice packet is recovered to an RTP packet.
According to the technical scheme provided by the embodiment, the voice data in the RTP/UDP/IP report can be directly extracted and directly sent as SDU data of the SDAP by using the SDAP direct bearing mode of the voice data, so that repeated transmission of the RTP/UDP/IP header is cancelled, redundant transmission of header data of voice service data is reduced, the transmission efficiency of the voice data is improved, the size of a data packet of wireless air-interface voice data can be reduced, the utilization rate and coverage of wireless resources are improved, the QoS of the voice service is improved, and the power consumption of a terminal is reduced.
Meanwhile, an air interface signaling is utilized to inform a terminal of a voice SDAP direct bearing mode, and mapping of RTP stream information, timestamp information, RTP time information and a wireless system frame number of a voice service is transmitted through the signaling, so that when a base station and the terminal acquire voice data stream information and a wireless frame (SFN), the timestamp information of the recovered RTP can be calculated according to a TTI of a wireless system, a system frame number difference value between messages and a unit of a timestamp through the wireless frame number when the SDAP voice message is received subsequently, the RTP/UDP/IP message is recovered, the RTP service can be synchronously played in a multi-stream mode, the QoS of the service is improved, and the playing of the RTP service is not influenced.
Fig. 8 is a schematic structural diagram of a first embodiment of a transmission device for voice data according to the present application, and as shown in fig. 8, the transmission device 10 for voice data includes:
the acquiring module 11 is configured to acquire a real-time transport protocol RTP data packet containing voice data. The processing module 12 is configured to extract voice data in the RTP data packet, and load the voice data on the SDAP entity to obtain an SDAP PDU. A sending module 13, configured to send the SDAP PDU to the receiving end device, where the transmission apparatus of the voice data and the SDAP transmission mode of the receiving end device are both started.
Optionally, the processing module 12 is further configured to: and extracting voice stream information and time information in the RTP data packet, wherein the voice stream information and the time information are used for recovering header information of the RTP data packet. The sending module is further configured to: and sending the voice stream information and the time information to the receiving end equipment, so that the receiving end equipment can synchronize the voice data.
Optionally, the sending module 13 is further configured to send the voice stream information and the time information to the receiving end device through a control signaling; alternatively, the first and second electrodes may be,
and sending the voice stream information and the time information to the receiving terminal equipment through an SDAP control message.
Optionally, the time information includes: the time stamp of the first data packet, the absolute time of the network time protocol NTP format in the real-time transport control protocol RTCP and the unit of the time stamp.
Optionally, the processing module 12 is further configured to open an SDAP transmission mode according to an operation of a user, and the sending module 13 is further configured to send first indication information to the network device, where the first indication information is used to indicate that the voice data is carried in an SDAP mode; alternatively, the first and second electrodes may be,
the receiving module 11 is further configured to receive second indication information sent by the network device, where the second indication information is used to indicate that voice data is carried in an SDAP manner, and the second indication information is determined by the network device according to an indication with an SDAP transmission capability reported by the terminal device; the processing module 12 is further configured to open the SDAP transmission mode according to the second indication information.
Optionally, the receiving module 11 is further configured to enable the transmission capability reported by the terminal device to indicate that the terminal device has the SDAP transmission capability, and the sending module 13 is further configured to send second indication information to the terminal device, where the second indication information is used to indicate that voice data is carried in an SDAP manner; alternatively, the first and second electrodes may be,
the receiving module 11 is further configured to use first indication information sent by the terminal device, where the first indication information is used to indicate that voice data is carried in an SDAP manner.
The transmission apparatus of voice data provided in this embodiment may be a scheme on a network device side in downlink transmission or a scheme on a terminal device side in uplink transmission, and reduces redundant transmission of header data of voice service data by extracting voice data in an RTP data packet containing the voice data and directly loading the RTP data packet on an SDAP for transmission, thereby improving transmission efficiency of the voice data, reducing a data packet size of wireless air interface voice data, and improving utilization rate and coverage of wireless resources.
Fig. 9 is a schematic structural diagram of a second embodiment of a transmission device for voice data according to the present application, and as shown in fig. 9, the transmission device 20 for voice data includes:
a receiving module 21, configured to receive, by an SDAP entity, an SDAP PDU sent by a sending end device, where the SDAP PDU includes voice data; and the SDAP transmission modes of the sending end equipment and the voice data transmission device are both started.
And a processing module 22, configured to obtain a real-time transport protocol RTP data packet including the voice data based on the SDAP PDU.
Optionally, the receiving module 21 is further configured to receive voice stream information, time information and a system frame number at the moment sent by the sending end device; the processing module 22 is further configured to analyze the voice data from the SDAP PDU, calculate time stamp information by using a synchronous time maintenance algorithm according to the time information and the system frame number, acquire the RTP data packet according to the time stamp information, the header information, and the voice data, and use the recovered RTP data packet for next transmission.
Optionally, the receiving module 21 is further configured to receive a control signaling sent by the sending-end device, where the control signaling carries the voice stream information and the time information; or, receiving an SDAP control message sent by the sending end device, where the SDAP control message carries the voice stream information and the time information.
Optionally, the voice stream information includes: identifying a standard name of a data source, and identifying a voice stream synchronization source SSRC; the time information includes: the time stamp of the first packet, the absolute time in NTP format in RTCP, the unit of the time stamp.
Optionally, the receiving module 21 is further configured to receive first indication information sent by the terminal device, where the first indication information is used to indicate that voice data is carried in an SDAP manner; or receiving a transmission capability indication reported by the terminal equipment, wherein the transmission capability indicates that the terminal equipment has SDAP transmission capability; the transmission apparatus of this embodiment may further include a sending module, configured to send second indication information to the terminal device according to the transmission capability indication, where the second indication information is used to indicate that voice data is carried in an SDAP manner.
Optionally, the receiving module 21 is further configured to receive second indication information sent by a network device, where the second indication information is used to indicate that voice data is carried in an SDAP manner, and the second indication information is determined by the network device according to an indication with an SDAP transmission capability reported by the terminal device; the processing module 22 is further configured to open an SDAP transmission mode according to the second indication information; alternatively, the first and second electrodes may be,
the processing module 22 is further configured to open an SDAP transmission mode according to an operation of a user, and the sending module sends first indication information to the network device, where the first indication information is used to indicate that the voice data is carried in an SDAP mode.
The transmission apparatus of voice data provided in this embodiment may be a scheme on a terminal device side in downlink transmission or a scheme on a network device side in uplink transmission, and reduces redundant transmission of header data of voice service data by extracting voice data in an RTP data packet containing the voice data and directly loading the RTP data packet on an SDAP for transmission, thereby improving transmission efficiency of the voice data, reducing a data packet size of wireless air interface voice data, and improving utilization rate and coverage of wireless resources.
Fig. 10 is a schematic structural diagram of a first embodiment of a terminal device provided in the present application, and as shown in fig. 10, the terminal device 30 includes a processor 31, a memory 32, and an interface for communicating with a network device 33. Wherein the memory 32 stores computer-executable instructions; the processor 31 executes the computer-executable instructions stored in the memory 32, so that the processor 31 executes the transmission method of the voice data according to any technical scheme of the present application.
In the method for transmitting voice data according to any of the technical solutions of the present application, the terminal device disclosed in this embodiment may be used as a receiving end device or a sending end device.
Fig. 11 is a schematic structural diagram of a first embodiment of a network device provided in the present application, and as shown in fig. 11, the network device 40 includes a processor 41, a memory 42, and an interface 43 for communicating with a terminal device. Wherein the memory 42 stores computer-executable instructions; the processor 41 executes the computer-executable instructions stored in the memory 42, so that the processor 41 executes the transmission method of the voice data according to any one of the technical solutions of the present application.
In implementing the method for transmitting voice data according to any of the technical solutions of the present application, the network device disclosed in this embodiment may be used as a receiving end device or a sending end device.
The present application further provides an embodiment of a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the computer-readable storage medium is used for implementing the method for transmitting voice data according to any one of the technical solutions of the present application.
In the above Specific implementation of the user equipment and the network device, it should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of the hardware and software modules in the processor.
All or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The aforementioned program may be stored in a readable memory. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape, floppy disk, optical disk, and any combination thereof.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (17)

1. A method for transmitting voice data is applied to a sending terminal device, and the method comprises the following steps:
acquiring a real-time transport protocol (RTP) data packet containing voice data;
loading the voice data in the RTP data packet on a Service Data Application Protocol (SDAP) entity to obtain an SDAP Protocol Data Unit (PDU);
and sending the SDAP PDU to receiving end equipment, wherein the SDAP transmission modes of the sending end equipment and the receiving end equipment are both started.
2. The method of claim 1, further comprising:
extracting voice stream information and time information in the RTP data packet; wherein, the voice stream information and the time information are used for recovering the header information of the RTP data packet;
and sending the voice stream information and the time information to the receiving end equipment.
3. The method according to claim 2, wherein said sending the voice stream information and the time information to the receiving end device comprises:
sending the voice stream information and the time information to the receiving end equipment through a control signaling;
alternatively, the first and second electrodes may be,
and sending the voice stream information and the time information to the receiving terminal equipment through an SDAP control message.
4. The method according to claim 2 or 3, wherein the voice stream information comprises: identifying a standard name of a data source, and identifying a voice stream synchronization source SSRC;
the time information includes: the time stamp of the first data packet, the absolute time of the network time protocol NTP format in the real-time transmission control protocol RTCP, and the unit of the time stamp.
5. The method according to any of claims 1 to 3, wherein the sending end device comprises a terminal device, and the receiving end device comprises a network device, before the voice data in the RTP packet is carried on an SDAP entity to obtain an SDAP PDU, the method further comprises:
opening an SDAP transmission mode according to the operation of a user;
sending first indication information to the network equipment, wherein the first indication information is used for indicating voice data to be carried in an SDAP mode;
alternatively, the first and second electrodes may be,
receiving second indication information sent by the network device, where the second indication information is used for indicating that voice data is carried in an SDAP mode, and the second indication information is determined by the network device according to an indication with SDAP transmission capability reported by the terminal device;
and opening the SDAP transmission mode according to the second indication information.
6. The method according to any of claims 1 to 3, wherein the sending end device comprises a network device, and the receiving end device comprises a terminal device, before the voice data in the RTP packet is carried on an SDAP entity to obtain an SDAP PDU, the method further comprises:
if the SDAP transmission mode is detected to be opened and the transmission capability reported by the terminal equipment indicates that the SDAP transmission capability is available, sending second indication information to the terminal equipment, wherein the second indication information is used for indicating voice data to be loaded in the SDAP mode;
alternatively, the first and second electrodes may be,
and receiving first indication information sent by the terminal equipment, wherein the first indication information is used for indicating voice data to be carried in an SDAP mode.
7. A method for transmitting voice data, which is applied to a receiving end device, the method comprising:
receiving an SDAP PDU (service data protocol Unit) sent by sending end equipment through an SDAP entity, wherein the SDAP PDU comprises voice data; the SDAP transmission modes of the sending end equipment and the receiving end equipment are both started;
and acquiring a real-time transport protocol (RTP) data packet comprising the voice data based on the SDAP PDU.
8. The method of claim 7, further comprising:
receiving voice stream information and time information sent by the sending end equipment, and recording a system frame number at the moment;
acquiring the header information of a real-time transport protocol (RTP) data packet according to the voice stream information and the time information;
correspondingly, the acquiring a real-time transport protocol RTP packet including the voice data based on the SDAP PDU includes:
parsing the voice data from the SDAP PDU;
calculating by adopting a synchronous time maintenance algorithm according to the time information and the system frame number to obtain timestamp information;
and acquiring the RTP data packet according to the timestamp information, the header information and the voice data.
9. The method according to claim 8, wherein the receiving the voice stream information and the time information sent by the sender device comprises:
receiving a control signaling sent by the sending end equipment, wherein the control signaling carries the voice stream information and the time information;
alternatively, the first and second electrodes may be,
and receiving an SDAP control message sent by the sending end equipment, wherein the SDAP control message carries the voice stream information and the time information.
10. The method according to claim 8 or 9, wherein the voice stream information comprises: identifying a standard name of a data source, and identifying a voice stream synchronization source SSRC;
the time information includes: the time stamp of the first packet, the absolute time in NTP format in RTCP, the unit of the time stamp.
11. The method according to any of claims 7 to 9, wherein the sending end device comprises a terminal device, and the receiving end device comprises a network device, and before receiving, by the SDAP entity, the SDAP PDU sent by the sending end device, the method further comprises:
receiving first indication information sent by the terminal equipment, wherein the first indication information is used for indicating voice data to be carried in an SDAP mode;
alternatively, the first and second electrodes may be,
receiving a transmission capability indication reported by the terminal equipment, wherein the transmission capability indication indicates that the terminal equipment has SDAP transmission capability;
and opening the SDAP transmission mode, and sending second indication information to the terminal equipment according to the transmission capacity indication, wherein the second indication information is used for indicating voice data to be carried in the SDAP mode.
12. The method according to any of claims 7 to 9, wherein the sending end device comprises a network device, and the receiving end device comprises a terminal device, and before receiving, by the SDAP entity, the SDAP PDU sent by the sending end device, the method further comprises:
receiving second indication information sent by a network device, wherein the second indication information is used for indicating voice data to be carried in an SDAP mode, and the second indication information is determined by the network device according to an indication with SDAP transmission capability reported by the terminal device;
opening an SDAP transmission mode according to the second indication information;
alternatively, the first and second electrodes may be,
opening an SDAP transmission mode according to the operation of a user;
and sending first indication information to the network equipment, wherein the first indication information is used for indicating that voice data is carried in an SDAP mode.
13. An apparatus for transmitting voice data, the apparatus comprising:
the acquisition module is used for acquiring a real-time transport protocol (RTP) data packet containing voice data;
the processing module is used for extracting voice data in the RTP data packet and loading the voice data on the SDAP entity to obtain an SDAP PDU;
and the sending module is used for sending the SDAP PDU to receiving end equipment, wherein the transmission device of the voice data and the SDAP transmission mode of the receiving end equipment are both started.
14. An apparatus for transmitting voice data, the apparatus comprising:
a receiving module, configured to receive, by an SDAP entity, an SDAP PDU sent by a sending end device, where the SDAP PDU includes voice data; wherein, SDAP transmission modes of the transmitting terminal equipment and the voice data transmission device are both started;
and the processing module is used for acquiring a real-time transport protocol (RTP) data packet comprising the voice data based on the SDAP PDU.
15. A terminal device, characterized in that the device comprises:
a processor, a memory, an interface to communicate with a network device;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory to cause the processor to perform the method of transmitting voice data according to any one of claims 1-12.
16. A network device, the device comprising:
a processor, a memory, an interface for communicating with a terminal device;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory to cause the processor to perform the method of transmitting voice data according to any one of claims 1-12.
17. A computer-readable storage medium having stored thereon computer-executable instructions for implementing the method of transmitting voice data according to any one of claims 1 to 12 when executed by a processor.
CN202010451420.7A 2020-05-25 2020-05-25 Voice data transmission method, device, equipment and storage medium Pending CN113726719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010451420.7A CN113726719A (en) 2020-05-25 2020-05-25 Voice data transmission method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010451420.7A CN113726719A (en) 2020-05-25 2020-05-25 Voice data transmission method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113726719A true CN113726719A (en) 2021-11-30

Family

ID=78671204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010451420.7A Pending CN113726719A (en) 2020-05-25 2020-05-25 Voice data transmission method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113726719A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020064164A1 (en) * 2000-10-06 2002-05-30 Barany Peter A. Protocol header construction and/or removal for messages in wireless communications
US20040095939A1 (en) * 1999-05-25 2004-05-20 Jin Yang Method and apparatus for telecommunications using internet protocol
CN1885830A (en) * 2006-07-04 2006-12-27 华为技术有限公司 Method and gateway for transmitting voice stream based on network load in wireless packet network
US20070086434A1 (en) * 2005-10-19 2007-04-19 Muthaiah Venkatachalam Efficient mechanisms for supporting VoIp in a wireless network
US20070127499A1 (en) * 2005-12-05 2007-06-07 Samsung Electronics Co., Ltd Voice packet communication apparatus and method in wireless communication system
CN102056235A (en) * 2009-11-09 2011-05-11 华为技术有限公司 Data transmission method, equipment and system
CN105357172A (en) * 2014-08-21 2016-02-24 中兴通讯股份有限公司 Data message transmission processing method and device
WO2017143538A1 (en) * 2016-02-24 2017-08-31 华为技术有限公司 Voice data transmission method and apparatus
CN107172662A (en) * 2017-07-24 2017-09-15 京信通信系统(中国)有限公司 A kind of communication means and device
CN109729552A (en) * 2017-10-27 2019-05-07 成都鼎桥通信技术有限公司 Voice transmission method and device
CN110290130A (en) * 2019-06-21 2019-09-27 京信通信系统(中国)有限公司 Transmission method, device, access network equipment and the storage medium of VOLTE data

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040095939A1 (en) * 1999-05-25 2004-05-20 Jin Yang Method and apparatus for telecommunications using internet protocol
US20020064164A1 (en) * 2000-10-06 2002-05-30 Barany Peter A. Protocol header construction and/or removal for messages in wireless communications
US20070086434A1 (en) * 2005-10-19 2007-04-19 Muthaiah Venkatachalam Efficient mechanisms for supporting VoIp in a wireless network
US20070127499A1 (en) * 2005-12-05 2007-06-07 Samsung Electronics Co., Ltd Voice packet communication apparatus and method in wireless communication system
CN1885830A (en) * 2006-07-04 2006-12-27 华为技术有限公司 Method and gateway for transmitting voice stream based on network load in wireless packet network
CN102056235A (en) * 2009-11-09 2011-05-11 华为技术有限公司 Data transmission method, equipment and system
CN105357172A (en) * 2014-08-21 2016-02-24 中兴通讯股份有限公司 Data message transmission processing method and device
WO2017143538A1 (en) * 2016-02-24 2017-08-31 华为技术有限公司 Voice data transmission method and apparatus
CN107172662A (en) * 2017-07-24 2017-09-15 京信通信系统(中国)有限公司 A kind of communication means and device
CN109729552A (en) * 2017-10-27 2019-05-07 成都鼎桥通信技术有限公司 Voice transmission method and device
CN110290130A (en) * 2019-06-21 2019-09-27 京信通信系统(中国)有限公司 Transmission method, device, access network equipment and the storage medium of VOLTE data

Similar Documents

Publication Publication Date Title
JP5063781B2 (en) Method for transmitting uplink data and buffer status report in a wireless communication system and wireless device embodying the same
US7558247B2 (en) Optimized radio bearer configuration for voice over IP
RU2187205C2 (en) Device and method for transmitting voice data bursts in mobile communication system
CN106301679B (en) Method and device for adjusting service rate
US7457315B1 (en) System and method for compressing information in a communications environment
CN100525504C (en) Multimedia session service quality management method under multiple radio network integrated environment
EP3512226B1 (en) Method, device and system for establishing a bearer for a gsm network
CN111385625B (en) Non-IP data transmission synchronization method and device
US20030078044A1 (en) Method and system for hard handoff in a broadcast communication system
KR101918907B1 (en) English
JP2009514300A (en) Traffic generation in the inactive user plane
US7590070B1 (en) System and method for discretionary multiplexing and compressing in a communications environment
WO2011153842A1 (en) Message transmission method between media gateways, media gateway and radio communication system thereof
JP2013211747A (en) Session management method for mobile communication system, radio base station device, mobile apparatus, and mobile communication system
CN101170487B (en) Compression method and compression system and compression device in data stream multiplexing
JP4856251B2 (en) Header suppression in wireless communication networks
CN105101108A (en) Method of performing header compression configuration in trunking services, system and core network subsystem
US20050152341A1 (en) Transmission of voice over a network
CN100547997C (en) The method that the IP data compression sends and receives in the mobile communication
WO2006026889A1 (en) Dynamic rate control system and method for multi-media in ims system
CN113726719A (en) Voice data transmission method, device, equipment and storage medium
EP2372963A1 (en) Base station apparatus, base radio transmission method in base station apparatus, and radio communication system
WO2005065060A2 (en) Optimized radio bearer configuration for voice over ip
CN102282886B (en) Method, mobile terminal, device and system for implementing voice services
KR20170043634A (en) Data packet transmission processing method and device

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