Data transmission method, base station and user equipment

文档序号:1116104 发布日期:2020-09-29 浏览:9次 中文

阅读说明:本技术 数据传输方法、基站和用户设备 (Data transmission method, base station and user equipment ) 是由 周志宏 袁乃华 范晨 孔胜淼 于 2019-03-21 设计创作,主要内容包括:本发明提供一种数据传输方法、基站和用户设备。本发明提供的数据传输方法包括基站接收用户设备发送的第一上行数据包,该第一上行数据包包括多媒体数据;基站根据该第一上行数据包对应的帧号,和预设的时间信息,确定该第一上行数据包的时间信息;基站向服务器发送该第一上行数据包和该第一上行数据包的时间信息,该第一上行数据包的时间信息用于使得服务器根据该第一上行数据包的时间信息,对该第一上行数据包中的多媒体数据进行处理。该数据传输方法避免了由于处理上行数据包的顺序错误而导致多媒体业务异常。(The invention provides a data transmission method, a base station and user equipment. The data transmission method provided by the invention comprises the steps that a base station receives a first uplink data packet sent by user equipment, wherein the first uplink data packet comprises multimedia data; the base station determines the time information of the first uplink data packet according to the frame number corresponding to the first uplink data packet and preset time information; and the base station sends the first uplink data packet and the time information of the first uplink data packet to a server, wherein the time information of the first uplink data packet is used for enabling the server to process the multimedia data in the first uplink data packet according to the time information of the first uplink data packet. The data transmission method avoids multimedia service abnormity caused by wrong sequence of processing uplink data packets.)

1. A method of data transmission, comprising:

a base station receives a first uplink data packet sent by user equipment, wherein the first uplink data packet comprises: multimedia data;

the base station determines the time information of the first uplink data packet according to the frame number corresponding to the first uplink data packet and preset time information;

and the base station sends the first uplink data packet and the time information of the first uplink data packet to a server, wherein the time information of the first uplink data packet is used for enabling the server to process the multimedia data in the first uplink data packet according to the time information of the first uplink data packet.

2. The method of claim 1, wherein before the base station receives the first uplink data packet sent by the user equipment, the method further comprises:

a base station receives a second uplink data packet sent by user equipment, wherein the second uplink data packet comprises: time information of multimedia data and the second uplink data packet;

the preset time information is time information of the second uplink data packet, the second uplink data packet is a first uplink data packet sent by the user equipment, and the first uplink data packet is any uplink data packet after the first uplink data packet sent by the user equipment.

3. The method of claim 1, wherein before the base station sends the first uplink data packet and the time information of the first uplink data packet to a server, the method further comprises:

the base station generates a real-time transport protocol (RTP) packet header according to the time information of the first uplink data packet;

the base station sends the first uplink data packet and the time information of the first uplink data packet to a server, and the time information comprises:

and the base station sends the first uplink data packet and the RTP packet header to the server.

4. The method of claim 1, wherein the base station sends the first uplink data packet and the time information of the first uplink data packet to a server, and wherein the sending the first uplink data packet and the time information of the first uplink data packet comprises:

the base station sends a non-access stratum (NAS) message to core network equipment, wherein the NAS message comprises the first uplink data packet and time information of the first uplink data packet, and the NAS message is used for enabling the core network equipment to send the first uplink data packet and the time information of the first uplink data packet to the server.

5. The method according to any one of claims 1-4, further comprising:

the base station receives a downlink data packet sent by the server and time information of the downlink data packet; the downlink data packet includes: multimedia data;

the base station determines whether the downlink data packet is a first data packet to be sent to the user equipment;

if not, the base station sends the downlink data packet to the user equipment, and the downlink data packet is used for enabling the user equipment to determine the time information of the downlink data packet according to the frame number of the downlink data packet and the time information of the first data packet sent to the user equipment by the base station.

6. The method of claim 5, further comprising:

and if so, the base station sends the downlink data packet and the time information of the downlink data packet to the user equipment.

7. A method of data transmission, comprising:

the method comprises the following steps that user equipment receives a first downlink data packet sent by a base station, wherein the first downlink data packet comprises: multimedia data;

the user equipment determines the time information of the first downlink data packet according to the frame number corresponding to the first downlink data packet and preset time information;

and the user equipment processes the multimedia data in the first downlink data packet according to the time information of the first downlink data packet.

8. The method of claim 7, wherein before the ue receives the first downlink data packet transmitted by the base station, the method further comprises:

the user equipment receives a second downlink data packet sent by the base station, wherein the second downlink data packet comprises: time information of multimedia data and the second downlink data packet;

the preset time information is time information of the second downlink data packet, the second downlink data packet is a first downlink data packet to be sent to the user equipment, and the first downlink data packet is any downlink data packet after the first downlink data packet sent to the user equipment by the base station.

9. The method according to claim 7 or 8, characterized in that the method further comprises:

the user equipment sends a first uplink data packet to the base station, wherein the first uplink data packet comprises: multimedia data; and the first uplink data packet is used for enabling the base station to determine the time information of the first uplink data packet according to the frame number corresponding to the first uplink data packet and preset time information.

10. The method of claim 9, wherein before the ue sends the first uplink data packet to the base station, the method further comprises:

the user equipment sends a second uplink data packet to the base station, wherein the second uplink data packet comprises: time information of multimedia data and the second uplink data packet; the preset time information is the time information of the second uplink data packet, the second uplink data packet is the first uplink data packet sent by the user equipment, and the first uplink data packet is any uplink data packet after the first uplink data packet sent by the user equipment.

11. A base station, comprising:

a receiving module, configured to receive a first uplink data packet sent by a user equipment, where the first uplink data packet includes: multimedia data;

a determining module, configured to determine time information of the first uplink data packet according to a frame number corresponding to the first uplink data packet and preset time information;

and the sending module is used for sending the first uplink data packet and the time information of the first uplink data packet to a server, wherein the time information of the first uplink data packet is used for enabling the server to process the multimedia data in the first uplink data packet according to the time information of the first uplink data packet.

12. The base station of claim 11,

the receiving module is further configured to receive a second uplink data packet sent by the user equipment, where the second uplink data packet includes: time information of multimedia data and the second uplink data packet;

the preset time information is time information of the second uplink data packet, the second uplink data packet is a first uplink data packet sent by the user equipment, and the first uplink data packet is any uplink data packet after the first uplink data packet sent by the user equipment.

13. A user device, comprising:

a receiving module, configured to receive a first downlink data packet sent by a base station, where the first downlink data packet includes: multimedia data;

the determining module is used for determining the time information of the first downlink data packet according to the frame number corresponding to the first downlink data packet and preset time information;

and the processing module is used for processing the multimedia data in the first downlink data packet according to the time information of the first downlink data packet.

14. The user equipment of claim 13,

the receiving module is further configured to receive a second downlink data packet sent by the base station, where the second downlink data packet includes: time information of multimedia data and the second downlink data packet;

the preset time information is time information of the second downlink data packet, the second downlink data packet is a first downlink data packet to be sent to the user equipment, and the first downlink data packet is any downlink data packet after the first downlink data packet sent to the user equipment by the base station.

Technical Field

The present invention relates to communications technologies, and in particular, to a data transmission method, a base station, and a user equipment.

Background

In the wireless communication system, the manner of transmitting the multimedia service may include: internet Protocol (IP) and non-IP.

When the multimedia service is transmitted in an IP manner, the transmission data packet usually has a Real-time Transport Protocol (RTP) header, and the RTP header includes time information of the data packet. The multimedia service is transmitted by adopting an IP mode, and the data packet has various other packet headers besides an RTP packet, so that the effective data occupation ratio in the data packet is lower, and the effective utilization ratio of air interface resources is lower. Therefore, currently, the multimedia service is mostly transmitted in a non-IP manner.

When the multimedia service is transmitted in a non-IP mode, the transmission data packet does not have an RTP packet header, so that the receiving equipment cannot acquire time information after receiving the data packet, the multimedia data can be processed only according to the receiving sequence of the data packet, and the receiving sequence and the sending sequence may be different, so that the receiving equipment processes the multimedia service abnormally.

Disclosure of Invention

The invention provides a data transmission method, a base station and user equipment, which are used for avoiding the abnormality of multimedia services.

The invention provides a data transmission method, which comprises the following steps:

a base station receives a first uplink data packet sent by user equipment, wherein the first uplink data packet comprises: multimedia data;

the base station determines the time information of the first uplink data packet according to the frame number corresponding to the first uplink data packet and preset time information;

and the base station sends the first uplink data packet and the time information of the first uplink data packet to a server, wherein the time information of the first uplink data packet is used for enabling the server to process the multimedia data in the first uplink data packet according to the time information of the first uplink data packet.

Optionally, before the base station receives the first uplink data packet sent by the user equipment, the method further includes:

the base station receives a second uplink data packet sent by the user equipment, where the second uplink data packet includes: multimedia data and time information of the second uplink data packet;

the preset time information is time information of the second uplink data packet, the second uplink data packet is a first uplink data packet sent by the user equipment, and the first uplink data packet is any uplink data packet after the first uplink data packet sent by the user equipment.

Optionally, before the base station sends the first uplink data packet and the time information of the first uplink data packet to the server, the method further includes:

the base station generates a real-time transport protocol (RTP) packet header according to the time information of the first uplink data packet;

the base station sends the first uplink data packet and the time information of the first uplink data packet to a server, and the time information includes:

and the base station sends the first uplink data packet and the RTP packet header to the server.

Optionally, the sending, by the base station, the first uplink data packet and the time information of the first uplink data packet to the server includes:

the base station sends a non-access stratum (NAS) message to core network equipment, wherein the NAS message comprises the first uplink data packet and time information of the first uplink data packet, and the NAS message is used for enabling the core network equipment to send the first uplink data packet and the time information of the first uplink data packet to the server.

Optionally, the method further includes:

the base station receives a downlink data packet sent by the server and time information of the downlink data packet;

the base station determines whether the downlink data packet is a first data packet to be sent to the user equipment;

if not, the base station sends the downlink data packet to the user equipment, and the downlink data packet is used for enabling the user equipment to determine the time information of the downlink data packet according to the frame number of the downlink data packet and the time information of the first data packet sent to the user equipment by the base station.

Optionally, the method further includes:

and if so, the base station sends the downlink data packet and the time information of the downlink data packet to the user equipment.

The invention also provides a data transmission method, which comprises the following steps:

the method comprises the following steps that user equipment receives a first downlink data packet sent by a base station, wherein the first downlink data packet comprises: multimedia data;

the user equipment determines the time information of the first downlink data packet according to the frame number corresponding to the first downlink data packet and preset time information;

and the user equipment processes the multimedia data in the first downlink data packet according to the time information of the first downlink data packet.

Optionally, before the ue receives the first downlink data packet sent by the base station, the method further includes:

the ue receives a second downlink data packet sent by the base station, where the second downlink data packet includes: multimedia data and time information of the second downlink data packet;

the preset time information is time information of the second downlink data packet, the second downlink data packet is a first downlink data packet to be sent to the user equipment, and the first downlink data packet is any downlink data packet after the first downlink data packet sent to the user equipment by the base station.

Optionally, the method further includes:

the user equipment sends a first uplink data packet to the base station, wherein the first uplink data packet comprises: multimedia data; the first uplink data packet is used for enabling the base station to determine the time information of the first uplink data packet according to the frame number corresponding to the first uplink data packet and preset time information.

Optionally, before the ue sends the first uplink data packet to the base station, the method further includes:

the ue sends a second uplink data packet to the base station, where the second uplink data packet includes: multimedia data and time information of the second uplink data packet; the preset time information is time information of the second uplink data packet, the second uplink data packet is a first uplink data packet sent by the user equipment, and the first uplink data packet is any uplink data packet after the first uplink data packet sent by the user equipment.

The present invention provides a base station, comprising:

a receiving module, configured to receive a first uplink data packet sent by a user equipment, where the first uplink data packet includes: multimedia data;

a determining module, configured to determine time information of the first uplink data packet according to a frame number corresponding to the first uplink data packet and preset time information;

and the sending module is used for sending the first uplink data packet and the time information of the first uplink data packet to a server, and the time information of the first uplink data packet is used for enabling the server to process the multimedia data in the first uplink data packet according to the time information of the first uplink data packet.

Optionally, the receiving module is further configured to receive a second uplink data packet sent by the user equipment, where the second uplink data packet includes: multimedia data and time information of the second uplink data packet;

the preset time information is time information of the second uplink data packet, the second uplink data packet is a first uplink data packet sent by the user equipment, and the first uplink data packet is any uplink data packet after the first uplink data packet sent by the user equipment.

Optionally, the sending module is further configured to generate a RTP packet header according to the time information of the first uplink data packet; and sending the first uplink data packet and the RTP packet header to a server.

The sending module is further specifically configured to send a non-access stratum NAS message to the core network device, where the NAS message includes the first uplink data packet and time information of the first uplink data packet, and the NAS message is used to enable the core network device to send the first uplink data packet and the time information of the first uplink data packet to the server.

Optionally, the receiving module is further configured to receive a downlink data packet sent by the server and time information of the downlink data packet; the downlink data packet includes: multimedia data;

the determining module is further configured to determine whether the downlink data packet is a first data packet to be sent to the user equipment;

the sending module is further configured to send the downlink data packet to the user equipment if the downlink data packet is not the first data packet to be sent to the user equipment, where the downlink data packet is used to enable the user equipment to determine time information of the downlink data packet according to a frame number of the downlink data packet and time information of the first data packet sent to the user equipment by the base station.

The sending module is further configured to send the downlink data packet and the time information of the downlink data packet to the user equipment if the downlink data packet is a first data packet to be sent to the user equipment.

The present invention provides a user equipment, comprising:

a receiving module, configured to receive a first downlink data packet sent by a base station, where the first downlink data packet includes: multimedia data;

a determining module, configured to determine time information of the first downlink data packet according to a frame number corresponding to the first downlink data packet and preset time information;

and the processing module is used for processing the multimedia data in the first downlink data packet according to the time information of the first downlink data packet.

Optionally, the receiving module is further configured to receive a second downlink data packet sent by the base station, where the second downlink data packet includes: multimedia data and time information of the second downlink data packet;

the preset time information is time information of the second downlink data packet, the second downlink data packet is a first downlink data packet to be sent to the user equipment, and the first downlink data packet is any downlink data packet after the first downlink data packet sent to the user equipment by the base station.

Optionally, the user equipment further includes:

a sending module, configured to send a first uplink data packet to the base station, where the first uplink data packet includes: multimedia data; the first uplink data packet is used for enabling the base station to determine the time information of the first uplink data packet according to the frame number corresponding to the first uplink data packet and preset time information.

The sending module is further configured to send a second uplink data packet to the base station, where the second uplink data packet includes: multimedia data and time information of the second uplink data packet; the preset time information is time information of the second uplink data packet, the second uplink data packet is a first uplink data packet sent by the user equipment, and the first uplink data packet is any uplink data packet after the first uplink data packet sent by the user equipment.

The invention provides a data transmission method, a base station and user equipment. The data transmission method comprises the steps that a first uplink data packet sent by user equipment can be received through a base station, and the first uplink data packet comprises multimedia data; the base station determines the time information of the first uplink data packet according to the frame number corresponding to the first uplink data packet and preset time information; and the base station sends the first uplink data packet and the time information of the first uplink data packet to a server, wherein the time information of the first uplink data packet is used for enabling the server to process the multimedia data in the first uplink data packet according to the time information of the first uplink data packet. In the method, the base station can determine the time information of the uplink data packet according to the frame number of the uplink data packet and the preset time information under the condition of receiving the uplink data packet without the time information, and sends the uplink data packet and the time information of the uplink data packet to the server, so that the server can process the multimedia data in the uplink data packet according to the time information, the multimedia data does not need to be processed according to the receiving sequence of the data packet, and the multimedia service abnormity can be effectively avoided.

Drawings

In order to more clearly illustrate the embodiments of the present invention 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 invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.

FIG. 1 is a schematic diagram of a network system;

fig. 2 is a schematic diagram of a control plane protocol stack of each device provided in the present invention;

fig. 3 is a first flowchart of a data transmission method provided by the present invention;

FIG. 4 is a second flowchart of a data transmission method provided by the present invention;

fig. 5 is a flow chart of a data transmission method provided by the present invention;

fig. 6 is a fourth flowchart of a data transmission method provided by the present invention;

fig. 7 is a fifth flowchart of a data transmission method provided by the present invention;

fig. 8 is a sixth flowchart of a data transmission method provided by the present invention;

fig. 9 is a schematic structural diagram of a base station provided in the present invention;

fig. 10 is a schematic structural diagram of a user equipment provided in the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

The terms "first," "second," and "third," etc. in the various portions of the embodiments and figures 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 invention described herein are capable of operation in sequences other than those illustrated or described herein.

With the continuous development of wireless communication technology, the wireless communication technology is developed from 2G to 4G, and technologies of 4.5G and 5G are gradually introduced. The data transmission method provided by the embodiment of the invention can be suitable for 4.5G, 5G or subsequent evolution wireless communication technology. In a network applying these communication technologies, such as a 4.5G or 5G network, a Non-IP method may be used to transmit multimedia services such as voice and video, for example, a Packet Data Convergence Protocol (PDCP) layer or a Non-access stratum (NAS) method may be used to transmit multimedia Data in a Non-IP method, for example, an AMR Over PDCP method may be used for voice Data in an Adaptive Multi-Rate (AMR) codec format.

The data transmission method provided by the invention is suitable for a network system, and fig. 1 is a schematic structural diagram of the network system. The User Equipment (UE) may be any terminal Equipment such as a mobile phone, a tablet, a notebook computer, and the like; the base station may be a large iron tower base station, or may be a small base station suspended indoors, for example, an evolved node B (eNB); the core network device is a network element device that functions as a core switch or a call routing function in a network subsystem of a communication carrier. The core network device includes: mobility Management Entity (MME), Serving GateWay (S-GW), Public Data Network GateWay (P-GW), and the like.

The data transmission method provided by the invention is a non-IP data transmission method, and simultaneously, an RTP protocol is adopted in the data transmission method provided by the invention. First, a protocol stack adopted by the data transmission method provided by the present invention is explained below, taking an example that voice data in an AMR format is transmitted on a control plane by an RTP manner, and fig. 2 is a schematic diagram of a control plane protocol stack of each device provided by the present invention.

As shown in fig. 2, the control plane protocol stack of each device may include protocol layers as shown in the figure, and the functions of each protocol layer are described below. The RTP layer is used for providing time information and realizing stream synchronization; the AMR layer is used for processing voice data in an AMR format; a Radio Resource Control (RRC) layer processes third layer information of a Control plane between the user equipment and the base station; a Packet Data Convergence Protocol (PDCP) layer, which provides signaling transmission service for an upper RRC layer and implements encryption and consistency protection of RRC signaling; a Radio Link Control (RLC) layer, which is responsible for the segmentation and connection of data packets, retransmission processing, and the sequential transmission of higher layer data, and provides services for the PDCP layer in a radio bearer manner; a Media Access Control (MAC) layer, which is responsible for handling retransmission and uplink and downlink scheduling, and provides services for the RLC layer in a logical channel manner; a Physical (PHY) layer responsible for processing coding and decoding, modulation and demodulation, multi-antenna mapping, and other telecom Physical layer functions, the PHY layer providing services to the MAC layer in a transport channel manner; a Non-access stratum (NAS) layer is a functional layer between a core network and a user equipment, and supports signaling and data transmission between the core network and the user equipment; the S1 layer provides signaling service between the base station and the core network; a Stream Control Transmission Protocol (SCTP) layer is used to confirm error-free and copy-free Transmission of user data, and data is segmented to conform to the size of the maximum Transmission unit of a discovery path.

Fig. 3 is a first flowchart of a data transmission method provided by the present invention. The main implementation of the method is the base station in the network system shown in fig. 1. As shown in fig. 3, the method of this embodiment may include:

s301, a base station receives a first uplink data packet sent by a user equipment, where the first uplink data packet includes: multimedia data.

In the uplink transmission process of the multimedia data, the base station receives a first uplink data packet sent by the user equipment, where the first uplink data packet is a data packet including the multimedia data acquired by the user equipment, for example, multimedia data such as video, picture, or voice, which is shot or stored by the user equipment.

The user equipment may process the multimedia data in sequence according to the AMR layer, the RRC layer, the PDCP layer, the RLC layer, the MAC layer, and the PHY layer in the protocol stack of the user equipment shown in fig. 2, to obtain the first uplink data packet, and send the first uplink data packet to the base station. After receiving the first uplink data packet, the base station may sequentially analyze the first uplink data packet according to a PHY layer, an MAC layer, an RLC layer, a PDCP layer, an RRC layer, and an AMR layer in a protocol stack of the base station shown in fig. 2, so as to obtain multimedia data of the first uplink data packet.

S302, the base station determines the time information of the first uplink data packet according to the frame number corresponding to the first uplink data packet and the preset time information.

The user equipment sends a first uplink data packet to the base station through an air interface resource, wherein the air interface resource is a high-frequency resource used for transmitting information between the user equipment and the base station, the user equipment can send the first uplink data packet to the base station through a frame number corresponding to the first uplink data packet, and the frame number corresponding to the first uplink data packet can also be called a system frame number or an air interface system frame number. Therefore, after receiving the first uplink data packet, the base station may obtain the frame number corresponding to the first uplink data packet, and further may determine the time information of the first uplink data packet according to the frame number corresponding to the first uplink data packet and the preset time information. Optionally, the preset time information may be a preset initial sending time of the uplink data packet, or time information determined according to information sent by the user equipment. The preset time information may be a relative time and/or an absolute time. Similarly, the time information of the first uplink data packet may be a relative time and/or an absolute time.

S303, the base station sends the first uplink data packet and the time information of the first uplink data packet to the server, where the time information of the first uplink data packet is used to enable the server to process the multimedia data in the first uplink data packet according to the time information of the first uplink data packet.

After determining the time information of the first uplink data packet, the base station sends the first uplink data packet and the time information of the first uplink data packet to a server, where the server is a service server corresponding to the multimedia data, also called an application server. The server receives the time information of the first uplink data packet sent by the base station under the condition that the server receives the first uplink data packet, so that the server can process the multimedia data in the first uplink data packet according to the received time information of the first uplink data packet, for example, play the multimedia service according to the sequence of the time information.

In the data transmission method provided in this embodiment, a base station may receive a first uplink data packet sent by a user equipment, where the first uplink data packet includes multimedia data; the base station determines the time information of the first uplink data packet according to the frame number corresponding to the first uplink data packet and preset time information; and the base station sends the first uplink data packet and the time information of the first uplink data packet to a server, wherein the time information of the first uplink data packet is used for enabling the server to process the multimedia data in the first uplink data packet according to the time information of the first uplink data packet. In the method, the base station can determine the time information of the uplink data packet according to the frame number of the uplink data packet and the preset time information under the condition of receiving the uplink data packet without the time information, and sends the uplink data packet and the time information of the uplink data packet to the server, so that the server can process the multimedia data in the uplink data packet according to the time information, the multimedia data does not need to be processed according to the receiving sequence of the data packet, and the multimedia service abnormity can be effectively avoided.

In addition, in a multi-stream concurrent scene of a multimedia service, for example, a scene of concurrent video and audio, if the multimedia data included in the first uplink data packet is audio data, the server can synchronize the audio data included in the first uplink data with the video data included in other uplink data packets according to the time information of the first uplink data packet, thereby realizing audio and video synchronization; meanwhile, if the multimedia data included in the first uplink data packet is video data, the server can perform synchronous processing on the video data included in the first uplink data and audio data included in other uplink data packets according to the time information of the first uplink data packet, so that audio and video synchronization is realized. Therefore, the data transmission method provided by the embodiment of the invention can also realize multi-stream synchronization in a multi-stream concurrent scene, such as audio and video synchronization.

On the basis of the embodiment shown in fig. 3, the present invention may also provide a data transmission method. Fig. 4 is a second flowchart of a data transmission method provided by the present invention. As shown in fig. 4, before the base station receives the first uplink data packet sent by the user equipment in S301 shown in fig. 3, the method of this embodiment may include:

s401, the base station receives a second uplink data packet sent by the user equipment, where the second uplink data packet includes: multimedia data and time information of the second upstream data packet.

The preset time information is the time information of the second uplink data packet, the second uplink data packet is a first uplink data packet sent by the user equipment to the base station, and the first uplink data packet is any uplink data packet after the first uplink data packet sent by the user equipment.

In the uplink process of the multimedia service, a data packet sent by the user equipment to the base station can be a plurality of data packets, and when the sent data packet is a first data packet, the user equipment can send a second uplink data packet comprising the multimedia data and the time information of the second uplink data packet to the base station; if the transmitted data packet is any data packet after the first data packet, the ue may directly transmit the first uplink data packet including the multimedia data but not including the time information of the first uplink data packet to the base station. In this embodiment, the first uplink data packet sent by the ue to the base station refers to the first uplink data packet sent by the ue to the base station in one session. The first uplink data packet sent by the user equipment includes multimedia data and time information of the first uplink data packet, and the time information may be relative time and/or absolute time. The preset time information is the time information of the first uplink data packet, that is, the time information of the second uplink data packet. The second uplink data packet sent by the user equipment and received by the base station includes the multimedia data and the time information of the second uplink data packet.

In a specific application, when the user equipment sends the first uplink data packet or the second uplink data packet to the base station, the first uplink data packet or the second uplink data packet may be sent through an RRC message, where the RRC message may also be referred to as an RRC uplink direct transfer message. The ULInformationTransfer _ Voice is newly added on the basis of the prior art, and does not cause interference to uplink data packets of other services existing in the prior art. One specific example of a ULInformationTransfer _ Voice is as follows:

Figure BDA0002002677900000101

different Information Elements (IEs) in the voice uplink Information transmission message may include different data. The information element of the non-access stratum dedicated information (dedicatedInfoNA) includes multimedia data, such as AMR voice data, in the first uplink data packet or the second uplink data packet. The voice source information (voiceSourceInfo) information element includes a source name (sourceName), i.e. a multimedia source name (multimedia sourcecolorname); network Time Protocol (NTP) Time information (ntptimeformat), i.e., a Time value (TimeValue), which is absolute Time; synchronization Source Information (SSRCInformation), i.e., synchronization Source identification (SSRC ID); the initial TimeStamp information (initialtimestampinformation), i.e. the TimeStamp (TimeStamp), is a relative TimeStamp, and the unit of the TimeStamp represents the time interval between two consecutive timestamps, and the unit of the TimeStamp can be set according to actual needs, for example, the unit of the TimeStamp of the AMR speech data can be 20 ms. The above information included in the voice source information (voiceSourceInfo) may be referred to as RTP control information. The augmentation information (criticalExtensionsFuture) information element is used as a subsequent extension.

The ue only sends the first uplink data packet, that is, the second uplink data packet, to the base station, and carries the voice source information (voiceSourceInfo) information element in the RRC uplink direct transfer message, where the second uplink data packet includes the time information of the second uplink data packet because the voice source information (voiceSourceInfo) includes the above information. After receiving the second uplink data packet, the base station may store the voice information source (voiceSourceInfo) carried in the RRC uplink direct transfer message. In addition, when receiving the second uplink data packet, the base station may further obtain a frame number (SFN) corresponding to the second uplink data packeti)。

On this basis, in S302, the base station determines the time information of the first uplink data packet according to the frame number corresponding to the first uplink data packet and preset time information, which may specifically be: after receiving a first uplink data packet, namely any uplink data packet after the first uplink data packet, the base station acquires a frame number (SFN) corresponding to the first uplink data packetj) According to the frame number (SFN) corresponding to the first uplink data packetj) Frame Number (SFN) corresponding to second uplink data packeti) And the time information of the second uplink data packet included in the second uplink data packet, determines the time information of the first uplink data packet. The time information of the second uplink data packet included in the second context data may be time information carried in a voice information source (voiceSourceInfo) information element in the RRC uplink direct transfer message. Wherein the timestamp of the first upstream data packet is determined according to the following formula (1):

TSj=TSi+SFN0×TTI/t0formula (1)

Wherein, TSjA timestamp of the first upstream data packet; TS (transport stream)iA TimeStamp (TimeStamp) corresponding to initial TimeStamp information (initialtiTimeStampInformationin a voice information source (voiceSourceInfo) in an RRC uplink direct transfer message when the user equipment sends the second uplink data packet to the base station; SFN0Is SFNjAnd SFNiA difference of (d); TTI is a transmission time interval; t is t0Is a unit of time stamp.

Since the length of the frame number is 10 bits, the value of the frame number is cycled between 0 and 1023, and the cycle is restarted after the frame number is more than 1023 when calculating the difference value of the frame numbers of the first uplink data packet and the second uplink data packet, therefore, the base station can determine the frame number (SFN) corresponding to the first uplink data packet by adopting the following formula (2) according to the cycle number informationj) Frame Number (SFN) corresponding to second uplink data packeti) Can be expressed as SFN0

SFN0=SFNj+1024n-SFNiFormula (2)

Where n is the number of cycles of frame numbers between 0 and 1023, and when no cycle occurs in a frame number, n is 0.

In addition, the base station may further determine NTP time information of the first uplink data packet according to a difference between the timestamps of the first uplink data packet and the second uplink data packet and NTP time information of the second uplink data packet, which may specifically be determined according to the following formula (3):

Tj=Ti+(TSj-TSi)×t0formula (3)

Wherein, TjNTP time information for the first uplink data packet; t isiThe NTP Time information is NTP Time information of the second uplink data packet, that is, a Time value (TimeValue) corresponding to Network Time Protocol (NTP) Time information (ntptimeformat) in a Network Time Protocol (NTP) in a voice information source (voiceSourceInfo) in an RRC message when the user equipment sends the second uplink data packet to the base station.

In the data transmission method provided by this embodiment, the first uplink data packet sent by the user, that is, the second uplink data packet sent by the user includes the multimedia data and the time information of the second uplink data packet, and the base station may determine the time information of the first uplink data packet according to the time information of the second uplink data packet and the frame number of the first uplink data packet, so that the server may process the first uplink data packet according to the received time information of the first uplink data packet.

Optionally, before the base station in S303 in the embodiment shown in fig. 3 sends the first uplink data packet and the time information of the first uplink data packet to the server, the method may further include: and the base station generates an RTP packet header according to the time information of the first uplink data packet. The base station may use the RTP layer included in the protocol stack of the base station shown in fig. 2 to process the time information of the first uplink data packet, and generate an RTP packet header. Correspondingly, the step S303 of sending the first uplink data packet and the time information of the first uplink data packet to the server by the base station includes: and the base station sends the first uplink data packet and the RTP packet header to the server.

Specifically, after receiving the first uplink data packet, the base station determines time information of the first uplink data packet, and then the base station may further generate an RTP packet header according to the time information of the first uplink data packet, and the base station may send the first uplink data packet and the RTP packet header to the server, so that the server may process the multimedia data in the first uplink data packet according to the received time information of the first uplink data packet, for example, play the multimedia service according to the sequence of the time information.

Optionally, in the embodiment shown in fig. 3, the sending, by the base station in S303, the first uplink data packet and the time information of the first uplink data packet to the server may specifically be: the base station sends a non-access stratum (NAS) message to the core network equipment, wherein the NAS message comprises a first uplink data packet and time information of the first uplink data packet, and the NAS message is used for enabling the core network equipment to send the first uplink data packet and the time information of the first uplink data packet to a server.

In practical applications, the base station sends the first UPLINK data packet to the server through the core network device, for example, the base station sends a NAS message to the core network device through an S1 interface with the core network device, where the message may be referred to as an S1 UPLINK direct transfer message, and for example, the S1 UPLINK direct transfer message may be a non-access stratum Voice UPLINK TRANSPORT (UPLINK Voice NAS TRANSPORT) message, where the message includes the first UPLINK data packet sent by the base station to the core network device and time information of the first UPLINK data packet. The non-access stratum voice uplink transmission is added on the basis of the prior art, so that other services existing in the prior art cannot be interfered. In Table 1 below is an example of the IEs included in the UPLINK Voice NAS TRANSPORT.

TABLE 1

If the information element or Group Name (IE/Group Name) is a Message Type (Message Type), the information element or Group may be used to identify the Type of the Message being sent, all messages are forced to be displayed, and the value of the corresponding display (Presence) item may be identified as M. MME UE S1AP ID uniquely identifies the user equipment on one S1 interface of the MME; the eNB UE S1AP ID uniquely identifies the user equipment on the S1 interface within the eNB; the NAS-PDU includes multimedia data, such as AMR voice data, in a first uplink data packet transmitted by the base station to the core network device; the E-UTRAN CGI IE is used to globally identify one eNB; the TAI is used to uniquely identify a tracking area; GW Transport Layer Address is the gateway Transport Layer Address; SIPTO L-GW Transport Layer Address is the SIPTO L-GW Transport Layer Address; the LHNID is a local home network identification.

The RTP Header indicates a Header of the RTP packet, wherein the Header includes time information of the first uplink packet, the RTP Header is optionally displayed, that is, the display (Presence) identifier is O, the boundary information (critical) indicates error discarding, and the Assigned boundary information (Assigned critical) indicates ignoring when the IE is not carried in the message. The RTP Header is an IE added in the embodiment of the present invention. After determining the time information of the first uplink data packet, the base station may determine an RTP packet header according to the time information of the first uplink data packet, and send the RTP packet header in the uplink direct transfer message to the core network device through the RTP header in the S1.

Fig. 5 is a flow chart of a data transmission method provided by the present invention. The main execution body of the method is the terminal equipment in the network system shown in fig. 1. As shown in fig. 5, the method of this embodiment may include:

s501, the ue receives a first downlink data packet sent by the base station, where the first downlink data packet includes: multimedia data.

In the uplink transmission process of multimedia data, the ue receives a first downlink data packet sent by the base station, where the first downlink data packet is a data packet including multimedia data, such as video, picture, or voice, which is sent by the server and received by the base station, and the server is a service server corresponding to the multimedia data, also called an application server.

S502, the user equipment determines the time information of the first downlink data packet according to the frame number corresponding to the first downlink data packet and the preset time information.

The base station sends a first downlink data packet to the user equipment through an air interface resource, wherein the air interface resource is a high-frequency resource used for transmitting information between the user equipment and the base station, the base station can send the first downlink data packet to the user equipment through a frame number corresponding to the first downlink data packet, and the frame number corresponding to the first downlink data packet can also be called a system frame number or an air interface system frame number. Therefore, after receiving the first downlink data packet, the user equipment can obtain the frame number corresponding to the first downlink data packet, and further can determine the time information of the first downlink data packet according to the frame number corresponding to the first downlink data packet and the preset time information. Optionally, the preset time information may be the initial sending time of a preset downlink data packet, or the time information determined according to the information sent by the server, and the preset time information may be relative time and/or absolute time. Likewise, the time information of the first downlink data packet may also be a relative time and/or an absolute time.

And S503, the user equipment processes the multimedia data in the first downlink data packet according to the time information of the first downlink data packet.

After determining the time information of the first downlink data packet, the user equipment may process the multimedia data in the first downlink data packet according to the received time information of the first downlink data packet, for example, play the multimedia service according to the sequence of the time information of the first downlink data packet.

In the multimedia service transmission method provided in this embodiment, a first downlink data packet sent by a base station may be received by a user equipment, where the first downlink data packet includes: multimedia data; the user equipment determines the time information of the first downlink data packet according to the frame number corresponding to the first downlink data packet and preset time information; and the user equipment processes the multimedia data in the first downlink data packet according to the time information of the first downlink data packet. In the method, the user equipment can determine the time information of the downlink data packet according to the frame number of the downlink data packet and the preset time information under the condition of receiving the downlink data packet without including the time information, so that the downlink data packet can be processed according to the time information, multimedia data do not need to be processed according to the receiving sequence of the data packet, and multimedia service abnormity can be effectively avoided.

In addition, in a multi-stream concurrent scene of a multimedia service, for example, a scene of concurrent video and audio, if the multimedia data included in the first downlink data packet is audio data, the server can perform synchronous processing on the audio data included in the first downlink data and the video data included in other downlink data packets according to the time information of the first downlink data packet, so that audio and video synchronization is realized; meanwhile, if the multimedia data included in the first downlink data packet is video data, the server can perform synchronous processing on the video data included in the first downlink data and audio data included in other downlink data packets according to the time information of the first downlink data packet, so that audio and video synchronization is realized. Therefore, the data transmission method provided by the embodiment of the invention can also realize multi-stream synchronization in a multi-stream concurrent scene, such as audio and video synchronization.

On the basis of the embodiment shown in fig. 5, the present invention may also provide a data transmission method. Fig. 6 is a fourth flowchart of the data transmission method provided in the present invention. As shown in fig. 6, the user equipment in S501 shown in fig. 5 receives a first downlink data packet transmitted by the base station, where the first downlink data packet includes: before the multimedia data, the method of this embodiment may include:

s601, the ue receives a second downlink data packet sent by the base station, where the second downlink data packet includes: time information of the multimedia data and the second downlink data packet.

The preset time information is time information of the second downlink data packet, the second downlink data packet is a first downlink data packet to be sent to the user equipment, and the first downlink data packet is any downlink data packet after the first downlink data packet sent to the user equipment by the base station.

In the downlink process of the multimedia service, a data packet sent by the base station to the user equipment can be a plurality of data packets, and when the sent data packet is a first data packet, the base station can send a second downlink data packet comprising the multimedia data and the time information of the second downlink data packet to the user equipment; if the transmitted data packet is any data packet after the first data packet, the base station may directly transmit the first downlink data packet including the multimedia data but not including the time information of the first downlink data packet to the user equipment. In this embodiment, the first downlink data packet sent by the base station to the ue means the first downlink data packet sent by the base station to the ue in one session. The first downlink data packet sent by the base station to the ue includes multimedia data and time information of the first downlink data packet, where the time information may be relative time and/or absolute time. The preset time information is the time information of the first downlink data packet, i.e. the second downlink data packet. The second downlink data packet sent by the base station and received by the user equipment includes the multimedia data and the time information of the second downlink data packet.

In a specific application, when the base station sends the first downlink data packet or the second downlink data packet to the user equipment, the first downlink data packet or the second downlink data packet may be sent through an RRC message, where the RRC message may also be referred to as an RRC downlink direct transfer message, and in this embodiment, the RRC downlink direct transfer message may be a Voice downlink information transmission (DLInformationTransfer _ Voice) message. The dlinformation transfer _ Voice message is newly added on the basis of the prior art, and does not interfere with downlink data packets of other services existing in the prior art. One specific example of dlinformation transfer _ Voice is as follows:

Figure BDA0002002677900000161

different information elements in the voice downlink information transfer message may include different data. The information element of the non-access stratum dedicated information (dedicatedInfoNA) includes multimedia data, such as AMR voice data, in the first uplink data packet or the second uplink data packet. The voice source information (voiceSourceInfo) information element includes a source name (sourceName), i.e. a multimedia source name (multimedia sourcecolorname); network Time Protocol (NTP) Time information (ntptimeformat), i.e., a Time value (TimeValue), which is absolute Time; synchronization Source Information (SSRCInformation), i.e., synchronization Source identification (SSRC ID); the initial TimeStamp information (initialtimestampinformation), i.e. the TimeStamp (TimeStamp), is a relative TimeStamp, and the unit of the TimeStamp represents the time interval between two consecutive timestamps, and the unit of the TimeStamp can be set according to actual needs, for example, the unit of the TimeStamp of the AMR speech data can be 20 ms. The above information included in the voice source information (voiceSourceInfo) may be referred to as RTP control information.

The base station only sends the first downlink data packet, that is, the second downlink data packet, to the user equipment, and the RRC downlink direct transfer message carries a voice source information (voiceSourceInfo) information element, and the second downlink data packet includes the time information of the second downlink data packet because the voice source information (voiceSourceInfo) includes the above information having time information. After receiving the second downlink data packet, the base station may store the voice source information (voiceSourceInfo) carried in the RRC downlink direct transfer message. In addition, after receiving the second downlink data packet, the base station may further obtain a frame number of the second downlink data packet.

On this basis, the user equipment in S502 determines the time information of the first downlink data packet according to the frame number corresponding to the first downlink data packet and the preset time information, which may specifically be: the user equipment acquires a frame number corresponding to the first downlink data packet after receiving the first downlink data packet, namely any downlink data packet after the first downlink data packet, and can determine the time information of the first downlink data packet according to a difference value of the frame numbers of the first downlink data packet and the second downlink data packet and the time information of the second downlink data packet contained in a voice information source (voiceSourceInfo) information element in an RRC downlink direct transfer message of the second downlink data packet. The time information of the first downlink data packet may include relative time and/or absolute time, and a specific calculation method thereof is the same as the method for calculating the time information of the first uplink data packet in S401 in the embodiment shown in fig. 4, and is not described herein again.

Optionally, in the embodiment shown in fig. 5, the first downlink data packet sent by the base station to the server is a downlink data packet sent by the server to the base station through the core network device, and the server is various multimedia service servers in the network. The core network equipment receives the time information of the first downlink data packet which is started by the server and comprises the multimedia data and the first downlink data packet. And then the core network equipment sends a non-access stratum (NAS) message to the base station, wherein the NAS message comprises the first downlink data packet and the time information of the first downlink data packet.

Illustratively, the core network device sends a NAS message to the base station through an S1 interface with the base station, where the message may be referred to as an S1 DOWNLINK direct transfer message, and the S1 DOWNLINK direct transfer message may be a non access stratum Voice DOWNLINK transport (DOWNLINK Voice DOWNLINK) message, where the message includes a first DOWNLINK packet sent by the core network device to the core base station and time information of the first DOWNLINK packet. The non-access stratum Voice DOWNLINK transmission (download Voice NAS TRANSPORT) message is added on the basis of the prior art, so that other services existing in the prior art cannot be interfered. An example of the IEs included in table 2 below for the download Voice NAS TRANSPORT.

TABLE 2

The Message Type uniquely identifies the sent Message, and is forcibly displayed for all messages, namely, the Presence is M; MME UE S1AP ID uniquely identifies the user equipment on one S1 interface of the MME; the eNB UE S1AP ID uniquely identifies the user equipment on the S1 interface within the eNB; the NAS-PDU includes multimedia data, such as AMR voice data, in a first uplink data packet transmitted by the core network device to the base station; a HandoverRestriction List defines a roaming or access restricted area for handover; a Subscriber Profile ID for RAT/Frequency priority for defining camping priority in idle mode and controlling inter-Radio Access Technologies (RATs)/inter-Frequency handover in active mode; the SRVCC Operation Possible indicates that both the UE and the MME are SRVCC-capable; the UE Radio Capability comprises UE wireless Capability information; DL NAS PDUDelivery update Request indicates whether confirmation is needed; the Enhanced Coverage resource Restricted is the Coverage enhancement restriction; CE-mode-B reserved is a low-cost mode limit; NR UE security capabilities are relay UE security capabilities.

The RTP Header indicates an RTP packet Header, wherein the RTP packet Header includes time information of a first downlink packet, the RTP Header is optionally displayed, a display (Presence) is identified as O, boundary information (Criticality) indicates error discarding, and allocation boundary information (Assigned Criticality) indicates that ignoring can be performed when the IE is not carried in a message. The RTP Header is an IE added in the embodiment of the present invention. And the core network equipment sends the time information of the first downlink data packet to the base station through the RTP Header in the S1 downlink direct transmission message.

Fig. 3-4 show embodiments of data transmission methods performed by a base station in an uplink transmission process of multimedia data, and fig. 5-6 show embodiments of data transmission methods performed by a user equipment in a downlink transmission process of multimedia data. In practical applications, the base station may perform uplink and downlink multimedia data transmission simultaneously, that is, on the basis of the embodiments shown in fig. 3 or fig. 4, the base station may process the downlink data packet while processing the uplink data packet. The ue may also perform uplink and downlink multimedia data transmission simultaneously, that is, on the basis of the embodiments shown in fig. 5 or fig. 6, the ue may process uplink data packets while processing downlink data packets. The following examples are given to illustrate specific embodiments, respectively.

On the basis of the embodiment shown in fig. 3, the present invention may also provide a data transmission method. Fig. 7 is a fifth flowchart of a data transmission method provided in the present invention. As shown in fig. 7, on the basis of the embodiment shown in fig. 3, the method may further include:

s701, the base station receives a downlink data packet sent by the server and time information of the downlink data packet.

S702, the base station determines whether the downlink data packet is a first data packet to be sent to the user equipment.

S703, if not, the base station sends the downlink data packet to the user equipment, and the downlink data packet is used for enabling the user equipment to determine the time information of the downlink data packet according to the frame number of the downlink data packet and the time information of the first downlink data packet sent to the user equipment by the base station.

In the downlink transmission process of the multimedia data, a server sends downlink data packets to a base station through core network equipment, and the server is various multimedia service servers in a network. The core network equipment receives a downlink data packet initiated by the server and then sends the downlink data packet to the base station, wherein the downlink data packet comprises the multimedia data and the time information of the downlink data packet. After receiving a downlink data packet sent by a server, a base station firstly determines whether the downlink data packet is a first data packet to be sent to user equipment, if the downlink data packet is not the first data packet to be sent to the user equipment, the base station sends the downlink data packet to the user, and after receiving the downlink data packet, the user equipment can determine time information of the downlink data packet according to a frame number of the downlink data packet and time information of the first downlink data packet sent to the user equipment by the base station. The specific method for determining the time information of the downlink data packet by the base station is the same as the method for determining the time information of the first downlink data packet by the base station in the embodiment shown in fig. 5, and is not described herein again.

Optionally, the method further includes:

and S704, if so, the base station sends the downlink data packet and the time information of the downlink data packet to the user equipment.

And the base station determines that the downlink data packet is the first data packet to be sent to the user equipment, and then the base station sends the downlink data packet and the time information of the downlink data packet to the user equipment.

In the data transmission method provided in this embodiment, the base station may process the downlink data packet in addition to the uplink data packet, and further determine to send the downlink data packet to the user equipment according to whether the downlink data packet is the first downlink data packet to be sent to the user equipment, or send the downlink data packet and time information of the downlink data packet to the user equipment, and in a downlink process, the base station only sends the time information of the downlink data packet to the user equipment in the first downlink data packet, so that air interface resources are saved.

On the basis of the embodiment shown in fig. 5, the present invention may also provide a data transmission method. Fig. 8 is a sixth flowchart of a data transmission method provided in the present invention. As shown in fig. 8, on the basis of the embodiment shown in fig. 5, the method may further include:

s801, a user equipment sends a first uplink data packet to a base station, where the first uplink data packet includes: multimedia data; the first uplink data packet is used for enabling the base station to determine the time information of the first uplink data packet according to the frame number corresponding to the first uplink data packet and preset time information.

In the uplink transmission process of the multimedia data, the user equipment sends a first uplink data packet to the base station, where the first uplink data packet is a data packet including the multimedia data acquired by the user equipment, such as video, picture, or voice and other multimedia data shot or stored by the user equipment.

Specifically, the user equipment sends a first uplink data packet to the base station through an air interface resource, where the air interface resource is a high-frequency resource used for transmitting information between the user equipment and the base station, and the user equipment may send the first uplink data packet to the base station through a frame number corresponding to the first uplink data packet, and a frame number corresponding to the first uplink data packet may also be referred to as a system frame number or an air interface system frame number. Therefore, after receiving the first uplink data packet, the base station may obtain the frame number corresponding to the first uplink data packet, and further may determine the time information of the first uplink data packet according to the frame number corresponding to the first uplink data packet and the preset time information. Optionally, the preset time information may be a preset initial sending time of the uplink data packet, or time information determined according to information sent by the user equipment. The preset time information may be a relative time and/or an absolute time. Similarly, the time information of the first uplink data packet may be a relative time and/or an absolute time.

Optionally, before the ue sends the first uplink data packet to the base station in S801, the method further includes:

s802, the ue sends a second uplink data packet to the base station, where the second uplink data packet includes: multimedia data and time information of the second uplink data packet; the preset time information is time information of the second uplink data packet, the second uplink data packet is a first uplink data packet sent by the user equipment, and the first uplink data packet is any uplink data packet after the first uplink data packet sent by the user equipment.

The data packet sent by the user equipment to the base station may be a plurality of data packets, where the second uplink data packet sent by the user equipment is a first uplink data packet sent by the user equipment, and the first uplink data packet is any uplink data packet after the first uplink data packet sent by the user equipment. In this embodiment, the first uplink data packet sent by the ue to the base station refers to the first uplink data packet sent by the ue to the base station in one session. The first uplink data packet sent by the user equipment includes multimedia data and time information of the first uplink data packet, and the time information may be relative time and/or absolute time. The preset time information is the time information of the first uplink data packet, that is, the time information of the second uplink data packet. The second uplink data packet sent by the user equipment and received by the base station includes the multimedia data and the time information of the second uplink data packet, and after receiving the first uplink data packet, the subsequent base station can determine the time information of the first uplink data packet according to the frame number of the first uplink data packet and the time information of the second uplink data packet.

In the data transmission method provided in this embodiment, the ue may process an uplink data packet in addition to the downlink data packet, and determine to send the uplink data packet to the base station according to whether the uplink data packet is the first uplink data packet sent to the base station, or send the uplink data packet and time information of the uplink data packet to the base station. In the uplink process, the user equipment only sends the time information of the uplink data packet to the user equipment in the first uplink data packet, so that air interface resources are saved.

Fig. 9 is a schematic structural diagram of a base station provided in the present invention. As shown in fig. 9, the base station includes:

a receiving module 901, configured to receive a first uplink data packet sent by a user equipment, where the first uplink data packet includes: multimedia data.

A determining module 902, configured to determine the time information of the first uplink data packet according to a frame number corresponding to the first uplink data packet and preset time information.

A sending module 903, configured to send the first uplink data packet and the time information of the first uplink data packet to a server, where the time information of the first uplink data packet is used to enable the server to process the multimedia data in the first uplink data packet according to the time information of the first uplink data packet.

The base station provided in this embodiment may be used to execute the technical solution of the method embodiment shown in fig. 3, and the implementation principle and the technical effect are similar, which are not described herein again.

Optionally, on the basis of the embodiment shown in fig. 9, the present invention may also provide another embodiment of the base station.

In this embodiment, the receiving module 901 is further configured to receive a second uplink data packet sent by the user equipment, where the second uplink data packet includes: multimedia data and time information of the second uplink data packet; the preset time information is time information of the second uplink data packet, the second uplink data packet is a first uplink data packet sent by the user equipment, and the first uplink data packet is any uplink data packet after the first uplink data packet sent by the user equipment.

The base station provided in this embodiment may be used to execute the technical solution of the method embodiment shown in fig. 4, and the implementation principle and the technical effect are similar, which are not described herein again.

On the basis of the foregoing embodiment, optionally, the sending module 903 is further configured to generate an RTP packet header according to the time information of the first uplink data packet; and sending the first uplink data packet and the RTP packet header to the server.

Optionally, the sending module 903 is further configured to send a NAS message to the core network device, where the NAS message includes the first uplink data packet and the time information of the first uplink data packet, and the NAS message is used to enable the core network device to send the first uplink data packet and the time information of the first uplink data packet to the server.

Optionally, on the basis of the embodiment shown in fig. 9, the present invention may also provide another embodiment of the base station.

In this embodiment, the receiving module 901 is further configured to receive a downlink data packet sent by the server and time information of the downlink data packet; the downlink data packet includes: multimedia data.

The determining module 902 is further configured to determine whether the downlink data packet is a first data packet to be sent to the user equipment.

The sending module 903 is further configured to send the downlink data packet to the user equipment if the downlink data packet is not the first data packet to be sent to the user equipment, where the downlink data packet is used to enable the user equipment to determine the time information of the downlink data packet according to the frame number of the downlink data packet and the time information of the first data packet sent to the user equipment by the base station.

The sending module 903 is further configured to send the downlink data packet and the time information of the downlink data packet to the user equipment if the downlink data packet is a first data packet to be sent to the user equipment.

The base station provided in this embodiment may be used to execute the technical solution of the method embodiment shown in fig. 7, and the implementation principle and the technical effect are similar, which are not described herein again.

Fig. 10 is a schematic structural diagram of a user equipment provided in the present invention. As shown in fig. 10, the user equipment includes:

a receiving module 1001, configured to receive a first downlink data packet sent by a base station, where the first downlink data packet includes: multimedia data.

The determining module 1002 is configured to determine time information of the first downlink data packet according to a frame number corresponding to the first downlink data packet and preset time information.

The processing module 1003 is configured to process the multimedia data in the first downlink data packet according to the time information of the first downlink data packet.

The user equipment provided in this embodiment may be used to execute the technical solution of the method embodiment shown in fig. 5, and the implementation principle and the technical effect are similar, which are not described herein again.

On the basis of the embodiment shown in fig. 10, the present invention may also provide another embodiment of the user equipment.

In this embodiment, the receiving module 1001 is further configured to receive a second downlink data packet sent by the base station, where the second downlink data packet includes: multimedia data and time information of the second downlink data packet; the preset time information is time information of the second downlink data packet, the second downlink data packet is a first downlink data packet to be sent to the user equipment, and the first downlink data packet is any downlink data packet after the first downlink data packet sent to the user equipment by the base station.

The user equipment provided in this embodiment may be used to execute the technical solution of the method embodiment shown in fig. 6, and the implementation principle and the technical effect are similar, which are not described herein again.

On the basis of the embodiment shown in fig. 10, the present invention may further provide another embodiment of the user equipment, and with continued reference to fig. 10, the user equipment may further include:

a sending module 1004, configured to send a first uplink data packet to a base station, where the first uplink data packet includes: multimedia data; the first uplink data packet is used for enabling the base station to determine the time information of the first uplink data packet according to the frame number corresponding to the first uplink data packet and preset time information.

The sending module 1004 is further configured to send a second uplink data packet to the base station, where the second uplink data packet includes: multimedia data and time information of the second uplink data packet; the preset time information is time information of the second uplink data packet, the second uplink data packet is a first uplink data packet sent by the user equipment, and the first uplink data packet is any uplink data packet after the first uplink data packet sent by the user equipment.

The user equipment provided in this embodiment may be used to execute the technical solution of the method embodiment shown in fig. 8, and the implementation principle and the technical effect are similar, which are not described herein again.

The invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any of the above embodiments.

Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.

Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled 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 invention.

30页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:非激活态下SDAP配置方法、装置和计算机可读存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类