CN116074856A - Data transmission method, device, equipment and storage medium - Google Patents

Data transmission method, device, equipment and storage medium Download PDF

Info

Publication number
CN116074856A
CN116074856A CN202111277603.2A CN202111277603A CN116074856A CN 116074856 A CN116074856 A CN 116074856A CN 202111277603 A CN202111277603 A CN 202111277603A CN 116074856 A CN116074856 A CN 116074856A
Authority
CN
China
Prior art keywords
data
data packet
type
packet
frame
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
CN202111277603.2A
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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN202111277603.2A priority Critical patent/CN116074856A/en
Priority to PCT/CN2022/119449 priority patent/WO2023071599A1/en
Publication of CN116074856A publication Critical patent/CN116074856A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a data transmission method, a device, equipment and a storage medium, wherein the method comprises the following steps: determining the data type of a data packet to be transmitted; determining a corresponding data transmission operation type of the data packet according to the data type of the data packet; and transmitting the data packet according to the data transmission operation type corresponding to the data packet. In the application, when the terminal device performs data transmission, the data type of the data packet can be determined first, and the transmission modes corresponding to the data packets of different types are different and include repeated transmission and non-repeated transmission.

Description

Data transmission method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a data transmission method, apparatus, device, and storage medium.
Background
Extended Reality (XR) and Cloud Game (CG) are among the most important 5G media applications, with low latency, high throughput and high reliability requirements, requiring the transmission of large data in a short time, which means that its burst throughput may be much higher than the average throughput in a short time.
XR comprises a plurality of data frames, each frame having its transmission characteristics and transmission requirements. For example, I-frame (Intra-coded picture) is Intra-coded, which can characterize a complete picture; p-frame (Predicted picture) is inter-frame coding and need only carry different information from the previous frame. Therefore, the I-frame data volume is large, and the reliability requirement is high; the amount of P-frame data is small and reliability is low relative to I-frame requirements.
At present, for an I frame and a P frame, the prior art adopts the same data transmission mode, which is easy to cause resource waste.
The above information disclosed in the background section is only for enhancement of understanding of the background of the application and therefore it may contain information that does not form the prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
The application provides a data transmission method, a data transmission device, data transmission equipment and a storage medium, which are used for solving the problems existing in the prior art.
In a first aspect, the present application provides a data transmission method, applied to a terminal device, where the method includes:
determining the data type of a data packet to be transmitted;
determining the type of the data transmission operation corresponding to the data packet according to the data type of the data packet;
And transmitting the data packet according to the data transmission operation type corresponding to the data packet.
In some embodiments, further comprising:
acquiring configuration information;
transmitting the data packet according to the data transmission operation type corresponding to the data packet, including:
and transmitting the data packet according to the data transmission operation type corresponding to the data packet based on the configuration information.
In some embodiments, the data type of the data packet includes a first type of data frame and a non-first type of data frame;
when the data type of the data packet is a first type data frame, the data transmission operation type corresponding to the data packet is to repeatedly transmit the data packet;
and when the data type of the data packet is a non-first type data frame, the data transmission operation type corresponding to the data packet is that the data packet is subjected to non-repeated transmission.
In some embodiments, the first type of data frame comprises an intra-coded I frame;
the non-first type data frames include inter-coded P frames.
In some embodiments, the data packet to be transmitted is a data packet corresponding to a data frame sent to the AS layer by an upper layer of the terminal device;
determining a data type of a data packet to be transmitted, comprising:
Determining the data type of a data packet according to a data type label of a data frame corresponding to the data packet;
or determining the data type of the data packet according to the number information of the data frames with different data types and the data position of the data frame corresponding to the data packet;
or determining the data type of the data packet according to the data size threshold corresponding to the data of different types and the data size of the data packet.
In some embodiments, the number of data frames information of the different data types includes: a first number of data frames of the first type and a second number of data frames of a non-first type;
determining the data type of the data packet according to the number information of the data frames with different data types and the data position of the data frame corresponding to the data packet, wherein the method comprises the following steps:
determining that the data type of the data packet is a first type data frame under the condition that the count value of the counter is smaller than or equal to the first number;
determining that the data type of the data packet is a non-first type data frame when the count value of the counter is greater than the first number, less than or equal to the sum of the first number and the second number;
When the count value of the counter is equal to the sum of the first quantity and the second quantity, resetting the count value of the counter;
the count value of the counter is used for representing the data positions of the data frames corresponding to the data packets in all the data frames.
In some embodiments, determining the data transmission operation type corresponding to the data packet according to the data type of the data packet includes:
receiving indication information sent by network equipment, wherein the indication information is used for indicating data transmission operation types corresponding to different types of data;
and determining the data transmission operation type corresponding to the data packet according to the indication information and the data type of the data packet.
In some embodiments, determining the data transmission operation type corresponding to the data packet according to the data type of the data packet includes:
determining a data transmission operation type corresponding to the data packet according to a preset data transmission rule and the data type of the data packet, wherein the preset data transmission rule comprises data transmission operation types corresponding to different types of data.
In some embodiments, the method further comprises:
Detecting whether the current data packet is successfully received by the network equipment;
and stopping sending the residual data packets of the current data frame corresponding to the current data packet if the data type of the current data packet is a first type data frame when the current data packet is detected not to be successfully received by the network equipment, wherein the residual data packets are not sent data packets corresponding to the current data frame.
In some embodiments, detecting whether the current data packet was successfully received by the network device includes:
detecting whether the current data packet is successfully received by the network equipment or not through the lower layer of the terminal equipment;
or determining whether the current data packet is successfully received by the network equipment according to whether status report information sent by the network equipment is received, wherein the status report information indicates that the current data packet is not successfully received by the network equipment.
In a second aspect, the present application provides a data transmission method, applied to a network device, where the method includes:
and receiving a data packet sent by the terminal equipment, wherein the data packet is transmitted to the network equipment by the terminal equipment according to a data transmission operation type corresponding to the data packet, and the data transmission operation type corresponding to the data packet is obtained by determining by the terminal equipment according to the data type of the data packet.
In some embodiments, further comprising:
determining configuration information of data transmission of the terminal equipment;
and sending configuration information to the terminal equipment, wherein the configuration information is used for indicating the terminal equipment to transmit the data packet according to the data transmission operation type corresponding to the data packet based on the configuration information.
In some embodiments, the data type of the data packet includes a first type of data frame and a non-first type of data frame;
when the data type of the data packet is a first type data frame, the data transmission operation type corresponding to the data packet is to repeatedly transmit the data packet;
and when the data type of the data packet is a non-first type data frame, the data transmission operation type corresponding to the data packet is that the data packet is subjected to non-repeated transmission.
In some embodiments, the first type of data frame comprises an intra-coded I frame;
the non-first type data frames include inter-coded P frames.
In some embodiments, further comprising:
transmitting indication information to the terminal equipment, wherein the indication information comprises data transmission operation types corresponding to different types of data; the indication information is used for indicating the terminal equipment to determine the data transmission operation type corresponding to the data packet according to the indication information and the data type of the data packet.
In some embodiments, further comprising:
detecting whether the current data packet is successfully received;
and when the current data packet is detected to be unsuccessfully received, sending state report information to the terminal equipment, wherein the state report information represents that the current data packet is not successfully received by the network equipment.
In some embodiments, detecting whether the current data packet was successfully received includes:
configuring a packet timer, wherein the packet timer comprises a first timer corresponding to a first type of data frame and a second timer corresponding to a non-first type of data frame;
if the sequence SN number of the received data packet submitted by the first type of data frame is not equal to the SN number of the protocol data unit PDU of the first type of data frame to be received, opening the first timer;
if the SN of the received non-first type data frame submitting data packet is not equal to the SN of the non-first type data frame PDU, the second timer is started;
and after the first timer or the second timer is overtime, determining that the current data packet is not successfully received.
In a third aspect, the present application provides a terminal device, including a memory, a transceiver, and a processor:
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
Determining the data type of a data packet to be transmitted;
determining the type of the data transmission operation corresponding to the data packet according to the data type of the data packet;
and transmitting the data packet according to the data transmission operation type corresponding to the data packet.
In a fourth aspect, the present application provides a network device comprising a memory, a transceiver, and a processor:
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
and receiving a data packet sent by the terminal equipment, wherein the data packet is transmitted to the network equipment by the terminal equipment according to a data transmission operation type corresponding to the data packet, and the data transmission operation type corresponding to the data packet is obtained by determining by the terminal equipment according to the data type of the data packet.
In a fifth aspect, the present application provides a data transmission apparatus, applied to a terminal device, including:
the first determining module is used for determining the data type of the data packet to be transmitted;
the second determining module is used for determining the type of the data transmission operation corresponding to the data packet according to the data type of the data packet;
And the transmission module is used for transmitting the data packet according to the data transmission operation type corresponding to the data packet.
In a sixth aspect, the present application provides a data transmission apparatus, applied to a network device, including:
the receiving module is used for receiving a data packet sent by the terminal equipment, wherein the data packet is transmitted to the network equipment by the terminal equipment according to a data transmission operation type corresponding to the data packet, and the data transmission operation type corresponding to the data packet is obtained by determining the data type of the data packet by the terminal equipment.
In a seventh aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, are configured to implement the data transmission method described above.
The application provides a data transmission method, a device, equipment and a storage medium, wherein the method comprises the following steps: determining the data type of a data packet to be transmitted; determining a corresponding data transmission operation type of the data packet according to the data type of the data packet; and transmitting the data packet according to the data transmission operation type corresponding to the data packet. In the application, when the terminal device performs data transmission, the data type of the data packet can be determined first, and the transmission modes corresponding to the data packets of different types are different and include repeated transmission and non-repeated transmission.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic diagram of mapping an XR service data packet into a plurality of air interface IP packets of a 5G system in the prior art;
fig. 2 is a schematic diagram of a data transmission method applied to a terminal device according to an embodiment of the present application;
fig. 3 is a schematic diagram of a terminal device transmitting different types of data packets;
fig. 4 is a schematic diagram of a data transmission method applied to a network device according to an embodiment of the present application;
fig. 5 is a schematic diagram of a terminal device provided in an embodiment of the present application;
fig. 6 is a schematic diagram of a network device according to an embodiment of the present application;
fig. 7 is a schematic diagram of a data transmission device applied to a terminal device according to an embodiment of the present application;
fig. 8 is a schematic diagram of a data transmission device applied to a network device according to an embodiment of the present application.
Specific embodiments of the present disclosure have been shown by way of the above drawings and will be described in more detail below. These drawings and the written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the embodiments of the present application, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one relationship describing the association of the associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a product or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such product or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a commodity or system comprising such elements.
Extended Reality (XR) and Cloud Game (CG) are among the most important 5G media applications, with low latency, high throughput and high reliability requirements, requiring the transmission of large data in a short time, which means that its burst throughput may be much higher than the average throughput in a short time. For example, XR traffic with an average throughput of 100Mbps can reach 300Mbps burst throughput over a short measurement window, while at the same time high reliability needs to be guaranteed.
XR is a generic term for different types of reality and refers to all real and virtual combined environments and man-machine interactions generated by computer technology and equipment. It includes representative forms of augmented Reality (Augmented Reality, AR), mixed Reality (MR), and Virtual Reality (VR).
XR comprises a plurality of data frames, each frame having its transmission characteristics and transmission requirements. For example, I-frame (Intra-coded picture) is Intra-coded, which can characterize a complete picture; p-frame (Predicted picture) is inter-frame coding and need only carry different information from the previous frame.
Therefore, the I-frame data volume is large, and the reliability requirement is high; the amount of P-frame data is small and reliability is low relative to I-frame requirements.
In XR services, the service characteristic requirements are for data frames, for example for scenes, video mixed streams, and are: cycle 60fps (frame per second ); data rate 10Mbps/20Mbps; PDB (packet delay budget ) 30ms (optional) or 10/15/60ms (optional).
Fig. 1 is a schematic diagram of mapping one XR service data packet into a plurality of air interface IP packets of a 5G system in the prior art, AS shown in fig. 1, a data frame of one XR service may be divided into a plurality of IP packets, i.e. packets reaching an AS layer of an access layer in the figure, where each IP packet is independently transmitted on an air interface, specifically, one IP packet is mapped to an air interface corresponding to a plurality of packet data convergence protocol (Packet Data Convergence Protocol, PDCP) service data units (Service Data Unit, SDUs).
Since the data frame is divided into a plurality of IP packets at the access layer (AS layer), the packets of the I frame and the packets of the P frame are currently configured in one quality of service (Quality of Service, qoS) flow, and the packets in the same QoS flow are currently mapped to the same data radio bearer (Data Radio Bearer, DRB).
On the terminal side, the terminal performs data processing according to the DRB, for example, data repetition (repetition) transmission based on the DRB, or reliable transmission based on the DRB, for example, radio link control reliable (Radio Link Control AM, RLC AM) mode transmission or radio link control unreliable (Radio Link Control UM, RLC UM) mode. The RLC AM mode is that RLC provides full-function processing and has retransmission function; RLC UM mode means that RLC does not perform retransmission processing.
However, in order to ensure reliable transmission of the I frame, the DRB including the I frame may be configured in RLC AM mode while the retransmission is performed, but for the P frame, the retransmission is also performed in the same DRB as the I frame, which may cause resource waste.
The technical scheme that this application provided aims at solving prior art's above technical problem.
The main conception of the scheme is as follows: when the terminal equipment performs data transmission, the data type of the data packet can be determined first, and the transmission modes corresponding to the data packets of different types are different and include repeated transmission and non-repeated transmission.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
It will be appreciated that the processing steps of the data transmission method in the present application may be implemented by a terminal device or a network device.
The network device may be a base station, specifically, a base station (Base Transceiver Station, BTS) and/or a base station controller in global mobile communications (Global System of Mobile communication, GSM) or code division multiple access (Code Division Multiple Access, CDMA), a base station (NodeB, NB) and/or a radio network controller (Radio Network Controller, RNC) in wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), an evolved base station (Evolutional Node B, eNB or eNodeB) in long term evolution (Long Term Evolution, LTE), a relay station or an access point, or a base station (gNB) in a 5G network/other future network (such as a 6G network), etc., which are not limited herein.
The terminal device may be a wireless terminal device or a wired terminal device. A wireless terminal device may be a device that provides voice and/or other traffic data connectivity to a user, a handheld device with wireless connectivity, or other processing device connected to a wireless modem. The wireless terminal device may communicate with one or more core network devices via a radio access network (Radio Access Network, RAN for short), which may be mobile terminal devices such as mobile phones (or "cellular" phones) and computers with mobile terminal devices, for example, portable, pocket, hand-held, computer-built-in or vehicle-mounted mobile devices that exchange voice and/or data with the radio access network. For another example, the wireless terminal device may be a personal communication service (Personal Communication Service, abbreviated as PCS) phone, a cordless phone, a session initiation protocol (Session Initiation Protocol, abbreviated as SIP) phone, a wireless local loop (Wireless Local Loop, abbreviated as WLL) station, a personal digital assistant (Personal Digital Assistant, abbreviated as PDA), or the like. The wireless Terminal device may also be referred to as a system, subscriber Unit (Subscriber Unit), subscriber Station (Subscriber Station), mobile Station (Mobile Station), remote Station (Remote Station), remote Terminal device (Remote Terminal), access Terminal device (Access Terminal), user Terminal device (User Terminal), user Agent (User Agent), user device (User Device or User Equipment), without limitation. Optionally, the terminal device may also be a device such as a smart watch or a tablet computer.
In some embodiments, a data transmission method is provided and applied to a terminal device.
Fig. 2 is a schematic diagram of a data transmission method applied to a terminal device according to an embodiment of the present application, as shown in fig. 2, the method mainly includes the following steps:
s210, determining the data type of a data packet to be transmitted;
specifically, when the terminal device has a data packet to be transmitted, the terminal device does not immediately transmit the data packet, but first determines a data type corresponding to the data packet.
The data packets to be transmitted may be a plurality of data packets corresponding to one data frame, for example, the data packets reaching the AS layer in fig. 1. The data frame may be, for example, a data frame in XR traffic, such as the XR traffic data frame in fig. 1. Correspondingly, the data type of the data packet is the data frame type of the data frame corresponding to the data packet.
It will be appreciated that the data transmission requirements for different types of data packets may be different, for example, data with higher reliability may be classified into one type, data with lower reliability may be classified into another type, etc.
S220, determining a corresponding data transmission operation type of the data packet according to the data type of the data packet;
After determining the data type of the data packet to be transmitted, the terminal device determines the corresponding data transmission operation type for the data packet according to the data type of the data packet.
The data transmission operation type specifically includes repeated (duplicate) transmission and non-repeated transmission. For data with higher reliability requirements, repeated transmission can be performed; whereas for data with lower reliability requirements, non-repeated transmissions may be performed. Therefore, the resource waste is reduced by avoiding repeated transmission of all data while ensuring the reliability of the data.
It should be noted that, in this embodiment, repeated (duplicate) transmission specifically refers to repeated transmission through different carriers or base stations, where one way is to copy the data packet in the PDCP layer, and each copy version is transmitted through different carriers or gNB.
S230, transmitting the data packet according to the data transmission operation type corresponding to the data packet.
After determining the data transmission operation type corresponding to the data packet, the terminal device performs data transmission processing on the data packet based on the data transmission operation type, transmits the data packet to the network device, and after receiving the data packet, the network device performs corresponding processing according to the data packet.
For example, for data with higher reliability requirements, the corresponding data transmission operation type is repeated transmission, and the terminal device performs repeated transmission processing on the data with higher reliability requirements to ensure the data reliability.
For another example, for the data with low reliability requirement, the corresponding data transmission operation type is non-repeated transmission, and the terminal device performs non-repeated transmission processing on the data with low reliability requirement so as to avoid resource waste.
The embodiment provides a data transmission method, when a terminal device performs data transmission, the data type of a data packet can be determined first, and transmission modes corresponding to different types of data packets are different and include repeated transmission and non-repeated transmission.
In some embodiments, further comprising: acquiring configuration information;
optionally, the terminal device receives configuration information sent by the network device, where the configuration information includes configuration parameters of data transmission performed by the terminal device;
Alternatively, the terminal device may acquire the configuration information according to a protocol agreed manner.
Correspondingly, the terminal device transmits the data packet according to the data transmission operation type corresponding to the data packet, and the method comprises the following steps: and the terminal equipment transmits the data packet according to the data transmission operation type corresponding to the data packet based on the configuration information.
Specifically, taking the example that the network device sends configuration information to the terminal device, in order to ensure that the terminal device can correctly perform data transmission, the network device also sends corresponding configuration information to the terminal device, where the network device may carry the configuration information in QoS and/or DRB, where the configuration information includes configuration parameters of the terminal device for performing data transmission, for example, a Sequence Number (SN) length, an RLC mode, a timer size, and so on.
After receiving the configuration information sent by the network device, the terminal device transmits the data packets according to the data transmission operation types corresponding to the data packets for the data packets of different types based on the configuration parameters in the configuration information.
In some embodiments, the data type of the data packet includes a first type of data frame and a non-first type of data frame; when the data type of the data packet is a first type data frame, the data transmission operation type corresponding to the data packet is that the data packet is repeatedly transmitted; when the data type of the data packet is a non-first type data frame, the data transmission operation type corresponding to the data packet is non-repeated transmission of the data packet.
Specifically, the first type of data frame may be data with high reliability, and for the data with high reliability, the data reliability may be ensured by performing repeated transmission. For example, when the data packet to be transmitted is a data packet in XR service, the first type of data frame may be an intra-frame encoded I frame, and the data amount of the I frame is large, so that the reliability requirement is high, and repeated transmission of the I frame is required.
In addition, the non-first type data frame may be data with low reliability, and for the data with low reliability, resource waste may be avoided by performing non-repeated transmission. For example, when the data packet to be transmitted is a data packet in XR service, the non-first type data frame may be an inter-frame encoded P frame, and the reliability of the P frame is lower than that of the I frame, so that by performing non-repeated transmission on the P frame, resource waste can be avoided.
Fig. 3 is a schematic diagram of a terminal device transmitting different types of data packets, AS shown in fig. 3, for a first type of data frame, a data frame reaching an AS layer of the terminal includes N data packets, and the terminal device repeatedly transmits the N data packets of the first type of data frame; for the data frames of the non-first type, the data frames reaching the AS layer of the terminal comprise M data packets, and the terminal equipment carries out non-repeated transmission on the M data packets of the data frames of the non-first type.
In some embodiments, the data packet to be transmitted is a data packet corresponding to a data frame sent to the AS layer by an upper layer of the terminal device; wherein the upper layer may be, for example, a network (IP) layer. When the data of the IP layer reaches the AS layer, the terminal equipment determines that a data packet to be transmitted exists.
Specifically, the data type of the data packet may be determined by an AS layer (e.g., PDCP layer, RLC layer, etc.) in the terminal device. The AS layer detects the data format in the IP data packet through deep packet parsing (Deep packet inspection), thereby determining the data type corresponding to the data packet.
Further, the terminal device determines the data type of the data packet to be transmitted, including the following three modes:
(1) Determining the data type of the data packet according to the data type label of the data frame corresponding to the data packet;
specifically, when the upper layer (such AS the IP layer) performs data transmission, a type tag adding process is performed on the transmitted data frame, so that the AS layer can determine the data type of the data packet corresponding to the data frame according to the data type tag of the data frame.
For example, the IP layer may add corresponding labels to the first type data frame and the non-first type data frame to characterize a specific type of the data packet corresponding to the data frame; or the IP layer only adds the label to the first type data frame and adds no label to the non-first type data frame, so that the AS layer can determine the corresponding data type through whether the data packet has the label or not.
(2) Determining the data type of a data packet according to the quantity information of the data frames with different data types and the data position of the data frame corresponding to the data packet;
optionally, the number information of the data frames of different data types includes: a first number of data frames of the first type and a second number of data frames of a non-first type;
determining the data type of the data packet according to the number information of the data frames with different data types and the data position of the data frame corresponding to the data packet, wherein the method comprises the following steps: resetting the count value of a counter, and adding one to the count value of the counter when receiving a data frame sent by an upper layer; determining the data type of the data packet according to the count value of the counter; when the count value of the counter is smaller than or equal to the first number, determining that the data type of the data packet is a first type data frame; when the count value of the counter is greater than the first quantity, less than or equal to the sum of the first quantity and the second quantity, determining that the data type of the data packet is a non-first type data frame; when the count value of the counter is equal to the sum of the first quantity and the second quantity, the count value of the counter is cleared. The count value of the counter is used for representing the data positions of the data frames corresponding to the data packets in all the data frames.
Specifically, when the upper layer (such AS the IP layer) performs data transmission, the AS layer obtains the number information of different types of data frames transmitted by the IP layer through the notification message, and according to the number information of the data frames of different data types, the AS layer can determine the data type arrangement rule of all the data frames, so that based on the data positions of the data frames and the data type arrangement rule of all the data frames, the AS layer can determine the data type of the data packet.
For example, the AS layer acquires that the first number of the first type data frames is X frames (X is an integer greater than or equal to 0) through the notification message, the second number of the non-first type data frames is Y frames (Y is an integer greater than or equal to 0), the transmitted data is that the first type data frames precede the non-first type data frames, and then the AS layer may determine that the previous X frames (i.e., from the first data frame to the X-th data frame) are the first type data frames, i.e., the data types of the data packets corresponding to the previous X frame data frames are the first type data frames, and the later Y frames (i.e., from x+1 data frames to the Y-th data frame) are the non-first type data frames, i.e., the data types of the data packets corresponding to the later Y frame data frames are the first type data frames.
The AS layer starts data transmission, sets the count value of a counter to be zero, and supposing that the AS layer sequentially receives a data frame sent by an upper layer, accumulating the count value of the counter by 1, if the counter is less than or equal to X (X1 < X, and X1 is an integer greater than zero), representing that the data frame corresponding to the data packet is an X1 data frame in all data frames, wherein the data type corresponding to the X1 data frame is a first type data frame, so that the AS layer determines that the data type of the received data packet is the first type data frame, and repeatedly transmits the data packet;
If the counter is greater than X and less than or equal to (x+y), for example, X2 (X < X2< x+y, and X2 is an integer greater than zero), the data frame corresponding to the characterization data packet is the X2 data frame of all the data frames, the data type corresponding to the X2 data frame is a non-first type data frame, so that the AS layer determines that the data type of the received data packet is the non-first type data frame, and performs non-repeated transmission on the data packet; and, when the counter is equal to (x+y), the AS layer clears the counter.
Alternatively, the notification message may be sent to the terminal by the network side.
(3) And determining the data type of the data packet according to the data size threshold value corresponding to the different types of data sent by the upper layer and the data size of the data packet.
Specifically, when an upper layer (such AS an IP layer) performs data transmission, the AS layer obtains data size thresholds corresponding to different types of data through a notification message, and specifically includes a first data size threshold corresponding to a first type of data frame and/or a second data size threshold corresponding to a non-first type of data frame. Therefore, the AS layer determines the data type of the data packet according to the data size threshold value of different types of data sent by the upper layer and the data size of the received data packet.
The first data size threshold and the second data size threshold may be specific data sizes, for example, the first data size threshold is an a bit, and the second data size threshold is a b bit. When the AS layer simultaneously acquires a first data size threshold corresponding to the first type data frame and a second data size threshold corresponding to the non-first type data frame, if the AS layer determines that the data size of the current data meets the first data size threshold corresponding to the first type data frame, if the data size of the current data is a bit, determining that the current data is the first type data frame; if the data size of the current data meets the second data size threshold corresponding to the non-first type data frame, if the data size of the current data is b bit, the current data is determined to be the non-first type data frame. a. b are integers greater than or equal to zero.
Alternatively, the notification message may be sent to the terminal by the network side.
In some embodiments, the determining, by the terminal device, the data transmission operation type corresponding to the data packet according to the data type of the data packet includes:
the terminal equipment receives indication information sent by the network equipment, wherein the indication information is used for indicating data transmission operation types corresponding to different types of data;
And the terminal equipment determines the data transmission operation type corresponding to the data packet according to the indication information and the data type of the data packet.
Specifically, the network device may send, to the terminal device, indication information, where the indication information is used to indicate a data transmission operation type corresponding to different types of data, for example, the indication information is used to indicate that the first type of data frame is repeatedly transmitted, and that the non-first type of data frame is non-repeatedly transmitted.
After receiving the indication information sent by the network device, the terminal device determines the data transmission operation type corresponding to the data packet according to the data transmission operation type corresponding to the different types of data indicated by the indication information and the data type of the data packet to be transmitted.
In some embodiments, determining a data transmission operation type corresponding to the data packet according to the data type of the data packet includes:
the terminal equipment determines the data transmission operation type corresponding to the data packet according to a preset data transmission rule and the data type of the data packet, wherein the preset data transmission rule comprises the data transmission operation types corresponding to different types of data.
Specifically, the terminal device and the network device may also adopt a predetermined manner, for example, a protocol is adopted to perform a contract, and a data transmission operation type corresponding to different types of data is set by a preset data transmission rule, for example, the data transmission operation type is preset to perform repeated transmission on the first type of data frame, and non-repeated transmission is performed on the non-first type of data frame.
After determining the data type of the data packet, the terminal device can directly determine the data transmission operation type corresponding to the data packet according to a preset data transmission rule and the data type of the data packet, so that the network device is not required to send indication information to the terminal device, and resources are saved.
In some embodiments, further comprising: the terminal equipment detects whether the current data packet is successfully received by the network equipment; and stopping sending the residual data packets of the current data frame corresponding to the current data packet if the data type of the current data packet is a first type data frame when the current data packet is detected not to be successfully received by the network equipment, wherein the residual data packets are not sent data packets corresponding to the current data frame.
Specifically, after the terminal device transmits the data packet, it further detects whether the current data packet is successfully received by the network device.
And if the data type of the current data packet is a first type data frame, stopping sending the rest data packets of the current data frame corresponding to the current data packet when the terminal equipment detects that the current data packet is not successfully received by the network equipment.
For example, assuming that the data frame z is a first type of data frame, where the data frame z corresponds to N data packets, when the terminal device transmits the c (c < N) th data packet of the data frame z, if the terminal device detects that the c (c) th data packet is not successfully received by the network device, the terminal device does not send the remaining data packets (i.e., the c+1th to N (c+n) th data packets) of the data frame z. c and N are integers greater than or equal to zero.
Optionally, if the data type of the current data packet is a non-first type data frame, when the terminal device detects that the current data packet is not successfully received by the network device, the terminal device still continues to send the remaining data packets of the current data frame corresponding to the current data packet.
In some embodiments, the terminal device detecting whether the current data packet was successfully received by the network device includes:
detecting whether the current data packet is successfully received by the network device through a lower layer of the terminal device, such as an RLC or MAC layer; or determining whether the current data packet is successfully received by the network device by whether status report information sent by the network device is received, wherein the status report information indicates that the current data packet is not successfully received by the network device.
Specifically, the terminal device may detect whether the current data packet is successfully received by the network device through the lower layer, and the manner in which the lower layer detects whether the current data packet is successfully received may be implemented through the prior art, which is not limited herein.
In addition, when the current data packet is not successfully received by the network device, the network device transmits status report information to the terminal device, wherein the status report information characterizes that the current data packet is not successfully received by the network device, so that the terminal device can also determine whether the current data packet is successfully received by the network device by whether the status report information is received. If the terminal device receives the status report information sent by the network device, it is determined that the current data packet is not successfully received by the network device.
In some embodiments, a data transmission method is provided, which is applied to a network device.
Fig. 4 is a schematic diagram of a data transmission method applied to a network device according to an embodiment of the present application, as shown in fig. 4, the method mainly includes the following steps:
s410, receiving a data packet sent by the terminal equipment, wherein the data packet is transmitted to the network equipment by the terminal equipment according to a data transmission operation type corresponding to the data packet, and the data transmission operation type corresponding to the data packet is obtained by determining by the terminal equipment according to the data type of the data packet.
Specifically, the data packets received by the network device may include multiple types, such as a first type data frame and a non-first type data frame, where the data packets of different types are transmitted to the network device by using different data transmission operation types for the terminal device.
For example, if the data packet is a first type data frame, the data packet is transmitted to the network device by the terminal device in a repeated transmission mode, so as to ensure the data reliability; if the data packet is a non-first type data frame, the data packet is transmitted to the network device by the terminal device in a non-repeated transmission mode, so that resource waste is avoided.
In some embodiments, further comprising: s420, the network equipment determines configuration information of the terminal equipment for data transmission; the network equipment sends configuration information to the terminal equipment; the configuration information is used for indicating the terminal equipment to transmit the data packet according to the data transmission operation type corresponding to the data packet based on the configuration information.
The configuration parameters include, for example, sequence number SN length, RLC mode, timer size, etc.
In some embodiments, the data type of the data packet includes a first type of data frame and a non-first type of data frame; when the data type of the data packet is a first type data frame, the data transmission operation type corresponding to the data packet is that the data packet is repeatedly transmitted; when the data type of the data packet is a non-first type data frame, the data transmission operation type corresponding to the data packet is non-repeated transmission of the data packet.
In some embodiments, the first type of data frame comprises an intra-coded I frame; the non-first type data frames include inter-coded P frames.
In some embodiments, further comprising: s430, the network equipment sends indication information to the terminal equipment, wherein the indication information comprises data transmission operation types corresponding to different types of data; the indication information is used for indicating the terminal equipment to determine the data transmission operation type corresponding to the data packet according to the indication information and the data type of the data packet.
In some embodiments, further comprising: s440, the network device detects whether the current data packet is successfully received; and when the current data packet is detected to be unsuccessfully received, sending state report information to the terminal equipment, wherein the state report information represents that the current data packet is not successfully received by the network equipment.
Optionally, detecting whether the current data packet is successfully received includes: configuring a packet timer, wherein the packet timer comprises a first timer corresponding to a first type of data frame and a second timer corresponding to a non-first type of data frame; when starting to receive data, if the sequence SN number of a received data packet submitted by a first type of data frame is not equal to the SN number of a data unit PDU of a first type of data frame protocol to be received, opening the first timer; if the SN of the received non-first type data frame submitting data packet is not equal to the SN of the non-first type data frame PDU, the second timer is started; and after the first timer or the second timer is overtime, determining that the current data packet is not successfully received.
Specifically, the network device may detect whether the current data packet is successfully received by:
the network device firstly configures a packet timer (assembly timer) including a first timer T1 corresponding to a first type of data frame assemb And a second timer T2 corresponding to the data frames of the non-first type assemb
When starting to receive data, if the first type data frame received by the network device has packet loss, namely SN deliv1 Not equal to SN next1 When the network device opens the first timer T1 assemb The method comprises the steps of carrying out a first treatment on the surface of the Wherein SN is deliv1 SN number representing first class data frame submitted data packet, SN next1 An SN number indicating that a first type of data frame PDU is to be received.
If the non-first type data frame received by the network equipment has packet loss, namely SN deliv2 Not equal to SN next2 When the network device opens the second timer T2 assemb . Wherein SN is deliv2 Representing non-first class numberSN number of data packet submitted by frame, SN next2 An SN number indicating that a non-first type data frame PDU is to be received.
And when the first timer or the second timer is overtime, the network equipment triggers the state report information and sends the state report information to the terminal equipment, so that the terminal equipment executes data retransmission processing according to the state report information.
Optionally, the duration of the first timer is smaller than the duration of the second timer, that is, the status report information is more easily triggered for the first type of data frame, so that the terminal device performs the data retransmission processing, thereby ensuring the data reliability of the first type of data frame.
It should be understood that, although the steps in the flowcharts in the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily occurring in sequence, but may be performed alternately or alternately with other steps or at least a portion of the other steps or stages.
In some embodiments, a terminal device is provided.
Fig. 5 is a schematic diagram of a terminal device provided in an embodiment of the present application, as shown in fig. 5, where the terminal device includes: memory 51, transceiver 52, processor 53.
Wherein the memory is used for storing a computer program; a transceiver for transceiving data under the control of the processor; a processor for reading the computer program in the memory and performing the following operations:
determining the data type of a data packet to be transmitted;
determining the type of the data transmission operation corresponding to the data packet according to the data type of the data packet;
and transmitting the data packet according to the data transmission operation type corresponding to the data packet.
In some embodiments, further comprising:
acquiring configuration information;
transmitting the data packet according to the data transmission operation type corresponding to the data packet, including:
and transmitting the data packet according to the data transmission operation type corresponding to the data packet based on the configuration information.
In some embodiments, the data type of the data packet includes a first type of data frame and a non-first type of data frame;
when the data type of the data packet is a first type data frame, the data transmission operation type corresponding to the data packet is to repeatedly transmit the data packet;
And when the data type of the data packet is a non-first type data frame, the data transmission operation type corresponding to the data packet is that the data packet is subjected to non-repeated transmission.
In some embodiments, the first type of data frame comprises an intra-coded I frame;
the non-first type data frames include inter-coded P frames.
In some embodiments, the data packet to be transmitted is a data packet corresponding to a data frame sent to the AS layer by an upper layer of the terminal device;
determining a data type of a data packet to be transmitted, comprising:
determining the data type of a data packet according to a data type label of a data frame corresponding to the data packet;
or determining the data type of the data packet according to the number information of the data frames with different data types and the data position of the data frame corresponding to the data packet;
or determining the data type of the data packet according to the data size threshold corresponding to the data of different types and the data size of the data packet.
In some embodiments, the number of data frames information of the different data types includes: a first number of data frames of the first type and a second number of data frames of a non-first type;
determining the data type of the data packet according to the number information of the data frames with different data types and the data position of the data frame corresponding to the data packet, wherein the method comprises the following steps:
Determining that the data type of the data packet is a first type data frame under the condition that the count value of the counter is smaller than or equal to the first number;
determining that the data type of the data packet is a non-first type data frame when the count value of the counter is greater than the first number, less than or equal to the sum of the first number and the second number;
when the count value of the counter is equal to the sum of the first quantity and the second quantity, resetting the count value of the counter;
the count value of the counter is used for representing the data positions of the data frames corresponding to the data packets in all the data frames.
In some embodiments, determining the data transmission operation type corresponding to the data packet according to the data type of the data packet includes:
receiving indication information sent by network equipment, wherein the indication information is used for indicating data transmission operation types corresponding to different types of data;
and determining the data transmission operation type corresponding to the data packet according to the indication information and the data type of the data packet.
In some embodiments, determining the data transmission operation type corresponding to the data packet according to the data type of the data packet includes:
Determining a data transmission operation type corresponding to the data packet according to a preset data transmission rule and the data type of the data packet, wherein the preset data transmission rule comprises data transmission operation types corresponding to different types of data.
In some embodiments, the method further comprises:
detecting whether the current data packet is successfully received by the network equipment;
and stopping sending the residual data packets of the current data frame corresponding to the current data packet if the data type of the current data packet is a first type data frame when the current data packet is detected not to be successfully received by the network equipment, wherein the residual data packets are not sent data packets corresponding to the current data frame.
In some embodiments, detecting whether the current data packet was successfully received by the network device includes:
detecting whether the current data packet is successfully received by the network equipment or not through the lower layer of the terminal equipment;
or determining whether the current data packet is successfully received by the network equipment according to whether status report information sent by the network equipment is received, wherein the status report information indicates that the current data packet is not successfully received by the network equipment.
In some embodiments, a network device is provided.
Fig. 6 is a schematic diagram of a network device according to an embodiment of the present application, and as shown in fig. 6, the network device includes a memory 61, a transceiver 62, and a processor 63.
A memory for storing a computer program; a transceiver for transceiving data under the control of the processor; a processor for reading the computer program in the memory and performing the following operations:
and receiving the data packet sent by the terminal equipment, wherein the data packet is transmitted to the network equipment by the terminal equipment according to the data transmission operation type corresponding to the data packet, and the data transmission operation type corresponding to the data packet is obtained by the terminal equipment according to the data type of the data packet.
In some embodiments, further comprising:
determining configuration information of data transmission of the terminal equipment;
and sending configuration information to the terminal equipment, wherein the configuration information is used for indicating the terminal equipment to transmit the data packet according to the data transmission operation type corresponding to the data packet based on the configuration information.
In some embodiments, the data type of the data packet includes a first type of data frame and a non-first type of data frame;
when the data type of the data packet is a first type data frame, the data transmission operation type corresponding to the data packet is to repeatedly transmit the data packet;
And when the data type of the data packet is a non-first type data frame, the data transmission operation type corresponding to the data packet is that the data packet is subjected to non-repeated transmission.
In some embodiments, the first type of data frame comprises an intra-coded I frame;
the non-first type data frames include inter-coded P frames.
In some embodiments, further comprising:
transmitting indication information to the terminal equipment, wherein the indication information comprises data transmission operation types corresponding to different types of data; the indication information is used for indicating the terminal equipment to determine the data transmission operation type corresponding to the data packet according to the indication information and the data type of the data packet.
In some embodiments, further comprising:
detecting whether the current data packet is successfully received;
and when the current data packet is detected to be unsuccessfully received, sending state report information to the terminal equipment, wherein the state report information represents that the current data packet is not successfully received by the network equipment.
In some embodiments, detecting whether the current data packet was successfully received includes:
configuring a packet timer, wherein the packet timer comprises a first timer corresponding to a first type of data frame and a second timer corresponding to a non-first type of data frame;
If the sequence SN number of the received data packet submitted by the first type of data frame is not equal to the SN number of the protocol data unit PDU of the first type of data frame to be received, opening the first timer;
if the SN of the received non-first type data frame submitting data packet is not equal to the SN of the non-first type data frame PDU, the second timer is started;
and after the first timer or the second timer is overtime, determining that the current data packet is not successfully received.
In some embodiments, a data transmission apparatus is provided, which is applied to a terminal device.
Fig. 7 is a schematic diagram of a data transmission apparatus applied to a terminal device according to an embodiment of the present application, where, as shown in fig. 7, the apparatus includes:
a first determining module 71, configured to determine a data type of a data packet to be transmitted;
a second determining module 72, configured to determine a data transmission operation type corresponding to the data packet according to the data type of the data packet;
a transmission module 73, configured to transmit the data packet according to the data transmission operation type corresponding to the data packet.
In some embodiments, further comprising:
acquiring configuration information;
transmitting the data packet according to the data transmission operation type corresponding to the data packet, including:
And transmitting the data packet according to the data transmission operation type corresponding to the data packet based on the configuration information.
In some embodiments, the data type of the data packet includes a first type of data frame and a non-first type of data frame;
when the data type of the data packet is a first type data frame, the data transmission operation type corresponding to the data packet is to repeatedly transmit the data packet;
and when the data type of the data packet is a non-first type data frame, the data transmission operation type corresponding to the data packet is that the data packet is subjected to non-repeated transmission.
In some embodiments, the first type of data frame comprises an intra-coded I frame;
the non-first type data frames include inter-coded P frames.
In some embodiments, the data packet to be transmitted is a data packet corresponding to a data frame sent to the AS layer by an upper layer of the terminal device;
determining a data type of a data packet to be transmitted, comprising:
determining the data type of a data packet according to a data type label of a data frame corresponding to the data packet;
or determining the data type of the data packet according to the number information of the data frames with different data types and the data position of the data frame corresponding to the data packet;
Or determining the data type of the data packet according to the data size threshold corresponding to the data of different types and the data size of the data packet.
In some embodiments, the number of data frames information of the different data types includes: a first number of data frames of the first type and a second number of data frames of a non-first type;
determining the data type of the data packet according to the number information of the data frames with different data types and the data position of the data frame corresponding to the data packet, wherein the method comprises the following steps:
determining that the data type of the data packet is a first type data frame under the condition that the count value of the counter is smaller than or equal to the first number;
determining that the data type of the data packet is a non-first type data frame when the count value of the counter is greater than the first number, less than or equal to the sum of the first number and the second number;
when the count value of the counter is equal to the sum of the first quantity and the second quantity, resetting the count value of the counter;
the count value of the counter is used for representing the data positions of the data frames corresponding to the data packets in all the data frames.
In some embodiments, determining the data transmission operation type corresponding to the data packet according to the data type of the data packet includes:
receiving indication information sent by network equipment, wherein the indication information is used for indicating data transmission operation types corresponding to different types of data;
and determining the data transmission operation type corresponding to the data packet according to the indication information and the data type of the data packet.
In some embodiments, determining the data transmission operation type corresponding to the data packet according to the data type of the data packet includes:
determining a data transmission operation type corresponding to the data packet according to a preset data transmission rule and the data type of the data packet, wherein the preset data transmission rule comprises data transmission operation types corresponding to different types of data.
In some embodiments, the method further comprises:
detecting whether the current data packet is successfully received by the network equipment;
and stopping sending the residual data packets of the current data frame corresponding to the current data packet if the data type of the current data packet is a first type data frame when the current data packet is detected not to be successfully received by the network equipment, wherein the residual data packets are not sent data packets corresponding to the current data frame.
In some embodiments, detecting whether the current data packet was successfully received by the network device includes:
detecting whether the current data packet is successfully received by the network equipment or not through the lower layer of the terminal equipment;
or determining whether the current data packet is successfully received by the network equipment according to whether status report information sent by the network equipment is received, wherein the status report information indicates that the current data packet is not successfully received by the network equipment.
In some embodiments, a data transmission apparatus is provided for use in a network device.
Fig. 8 is a schematic diagram of a data transmission apparatus applied to a network device according to an embodiment of the present application, where, as shown in fig. 8, the apparatus includes:
the receiving module 81 is configured to receive a data packet sent by the terminal device, where the data packet is transmitted to the network device by the terminal device according to a data transmission operation type corresponding to the data packet, and the data transmission operation type corresponding to the data packet is determined by the terminal device according to a data type of the data packet.
In some embodiments, further comprising:
determining configuration information of data transmission of the terminal equipment;
and sending configuration information to the terminal equipment, wherein the configuration information is used for indicating the terminal equipment to transmit the data packet according to the data transmission operation type corresponding to the data packet based on the configuration information.
In some embodiments, the data type of the data packet includes a first type of data frame and a non-first type of data frame;
when the data type of the data packet is a first type data frame, the data transmission operation type corresponding to the data packet is to repeatedly transmit the data packet;
and when the data type of the data packet is a non-first type data frame, the data transmission operation type corresponding to the data packet is that the data packet is subjected to non-repeated transmission.
In some embodiments, the first type of data frame comprises an intra-coded I frame;
the non-first type data frames include inter-coded P frames.
In some embodiments, further comprising:
transmitting indication information to the terminal equipment, wherein the indication information comprises data transmission operation types corresponding to different types of data; the indication information is used for indicating the terminal equipment to determine the data transmission operation type corresponding to the data packet according to the indication information and the data type of the data packet.
In some embodiments, further comprising:
detecting whether the current data packet is successfully received;
and when the current data packet is detected to be unsuccessfully received, sending state report information to the terminal equipment, wherein the state report information represents that the current data packet is not successfully received by the network equipment.
In some embodiments, detecting whether the current data packet was successfully received includes:
configuring a packet timer, wherein the packet timer comprises a first timer corresponding to a first type of data frame and a second timer corresponding to a non-first type of data frame;
if the sequence SN number of the received data packet submitted by the first type of data frame is not equal to the SN number of the protocol data unit PDU of the first type of data frame to be received, opening the first timer;
if the SN of the received non-first type data frame submitting data packet is not equal to the SN of the non-first type data frame PDU, the second timer is started;
and after the first timer or the second timer is overtime, determining that the current data packet is not successfully received.
For specific limitations of the data transmission device, reference may be made to the above limitation of the data transmission method, and no further description is given here. The respective modules in the above-described data transmission apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In such devices, the memory and the processor are electrically connected, either directly or indirectly, to enable transmission or interaction of data. For example, the elements may be electrically connected to each other via one or more communication buses or signal lines, such as through a bus connection. The memory stores computer-executable instructions for implementing the data access control method, including at least one software functional module that may be stored in the memory in the form of software or firmware, and the processor executes the software programs and modules stored in the memory to perform various functional applications and data processing.
The Memory may be, but is not limited to, random access Memory (Random Access Memory, RAM), read Only Memory (ROM), programmable Read Only Memory (Programmable Read-Only Memory, PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc. The memory is used for storing a program, and the processor executes the program after receiving the execution instruction. Further, the software programs and modules within the memory may also include an operating system, which may include various software components and/or drivers for managing system tasks (e.g., memory management, storage device control, power management, etc.), and may communicate with various hardware or software components to provide an operating environment for other software components.
The processor may be an integrated circuit chip with signal processing capabilities. The processor may be a general-purpose processor including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), and the like. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In some embodiments, a computer-readable storage medium is provided, in which computer-executable instructions are stored, which when executed by a processor are configured to implement the steps of the method embodiments of the present application.
In some embodiments, a computer program product is provided comprising a computer program which, when executed by a processor, implements the steps of the method embodiments of the present application.
Those skilled in the art will appreciate that implementing all or part of the above-described methods may be accomplished by way of a computer program, which may be stored on a non-transitory computer readable storage medium and which, when executed, may comprise the steps of the above-described embodiments of the methods. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (22)

1. A data transmission method, applied to a terminal device, the method comprising:
determining the data type of a data packet to be transmitted;
determining a corresponding data transmission operation type of the data packet according to the data type of the data packet;
and transmitting the data packet according to the data transmission operation type corresponding to the data packet.
2. The method as recited in claim 1, further comprising:
acquiring configuration information;
transmitting the data packet according to the data transmission operation type corresponding to the data packet, including:
and transmitting the data packet according to the data transmission operation type corresponding to the data packet based on the configuration information.
3. The method of claim 1, wherein the data type of the data packet comprises a first type of data frame and a non-first type of data frame;
when the data type of the data packet is a first type data frame, the data transmission operation type corresponding to the data packet is to repeatedly transmit the data packet;
and when the data type of the data packet is a non-first type data frame, the data transmission operation type corresponding to the data packet is that the data packet is subjected to non-repeated transmission.
4. A method according to claim 3, wherein the first type of data frame comprises an intra-coded I-frame;
the non-first type data frames include inter-coded P frames.
5. The method according to claim 3 or 4, wherein the data packet to be transmitted is a data packet corresponding to a data frame sent to the AS layer by an upper layer of the terminal device;
Determining a data type of a data packet to be transmitted, comprising:
determining the data type of a data packet according to a data type label of a data frame corresponding to the data packet;
or determining the data type of the data packet according to the number information of the data frames with different data types and the data position of the data frame corresponding to the data packet;
or determining the data type of the data packet according to the data size threshold corresponding to the data of different types and the data size of the data packet.
6. The method of claim 5, wherein the number of data frames of the different data types information comprises: a first number of data frames of the first type and a second number of data frames of a non-first type;
determining the data type of the data packet according to the number information of the data frames with different data types and the data position of the data frame corresponding to the data packet, wherein the method comprises the following steps:
determining that the data type of the data packet is a first type data frame under the condition that the count value of the counter is smaller than or equal to the first number;
determining that the data type of the data packet is a non-first type data frame when the count value of the counter is greater than the first number, less than or equal to the sum of the first number and the second number;
When the count value of the counter is equal to the sum of the first quantity and the second quantity, resetting the count value of the counter;
the count value of the counter is used for representing the data positions of the data frames corresponding to the data packets in all the data frames.
7. The method according to any one of claims 1-4, wherein determining a data transmission operation type corresponding to the data packet according to the data type of the data packet includes:
receiving indication information sent by network equipment, wherein the indication information is used for indicating data transmission operation types corresponding to different types of data;
and determining the data transmission operation type corresponding to the data packet according to the indication information and the data type of the data packet.
8. The method according to any one of claims 1-4, wherein determining a data transmission operation type corresponding to the data packet according to the data type of the data packet includes:
determining a data transmission operation type corresponding to the data packet according to a preset data transmission rule and the data type of the data packet, wherein the preset data transmission rule comprises data transmission operation types corresponding to different types of data.
9. The method of claim 5, wherein the method further comprises:
detecting whether the current data packet is successfully received by the network equipment;
and stopping sending the residual data packets of the current data frame corresponding to the current data packet if the data type of the current data packet is a first type data frame when the current data packet is detected not to be successfully received by the network equipment, wherein the residual data packets are not sent data packets corresponding to the current data frame.
10. The method of claim 9, wherein detecting whether the current data packet was successfully received by the network device comprises:
detecting whether the current data packet is successfully received by the network equipment or not through the lower layer of the terminal equipment;
or determining whether the current data packet is successfully received by the network equipment according to whether status report information sent by the network equipment is received, wherein the status report information indicates that the current data packet is not successfully received by the network equipment.
11. A data transmission method, applied to a network device, the method comprising:
and receiving a data packet sent by the terminal equipment, wherein the data packet is transmitted to the network equipment by the terminal equipment according to a data transmission operation type corresponding to the data packet, and the data transmission operation type corresponding to the data packet is obtained by determining by the terminal equipment according to the data type of the data packet.
12. The method as recited in claim 11, further comprising:
determining configuration information of data transmission of the terminal equipment;
and sending configuration information to the terminal equipment, wherein the configuration information is used for indicating the terminal equipment to transmit the data packet according to the data transmission operation type corresponding to the data packet based on the configuration information.
13. The method of claim 11, wherein the data type of the data packet comprises a first type of data frame and a non-first type of data frame;
when the data type of the data packet is a first type data frame, the data transmission operation type corresponding to the data packet is to repeatedly transmit the data packet;
and when the data type of the data packet is a non-first type data frame, the data transmission operation type corresponding to the data packet is that the data packet is subjected to non-repeated transmission.
14. The method of claim 13, wherein the first type of data frame comprises an intra-coded I frame;
the non-first type data frames include inter-coded P frames.
15. The method according to any one of claims 11-14, further comprising:
Transmitting indication information to the terminal equipment, wherein the indication information comprises data transmission operation types corresponding to different types of data; the indication information is used for indicating the terminal equipment to determine the data transmission operation type corresponding to the data packet according to the indication information and the data type of the data packet.
16. The method according to any one of claims 11-14, further comprising:
detecting whether the current data packet is successfully received;
and when the current data packet is detected to be unsuccessfully received, sending state report information to the terminal equipment, wherein the state report information represents that the current data packet is not successfully received by the network equipment.
17. The method of claim 16, wherein detecting whether the current data packet was successfully received comprises:
configuring a packet timer, wherein the packet timer comprises a first timer corresponding to a first type of data frame and a second timer corresponding to a non-first type of data frame;
if the sequence SN number of the received data packet submitted by the first type of data frame is not equal to the SN number of the protocol data unit PDU of the first type of data frame to be received, opening the first timer;
If the SN of the received non-first type data frame submitting data packet is not equal to the SN of the non-first type data frame PDU, the second timer is started;
and after the first timer or the second timer is overtime, determining that the current data packet is not successfully received.
18. A terminal device comprising a memory, a transceiver, and a processor:
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
determining the data type of a data packet to be transmitted;
determining the type of the data transmission operation corresponding to the data packet according to the data type of the data packet;
and transmitting the data packet according to the data transmission operation type corresponding to the data packet.
19. A network device comprising a memory, a transceiver, and a processor:
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
And receiving a data packet sent by the terminal equipment, wherein the data packet is transmitted to the network equipment by the terminal equipment according to a data transmission operation type corresponding to the data packet, and the data transmission operation type corresponding to the data packet is obtained by determining by the terminal equipment according to the data type of the data packet.
20. A data transmission apparatus, characterized by being applied to a terminal device, comprising:
the first determining module is used for determining the data type of the data packet to be transmitted;
the second determining module is used for determining the type of the data transmission operation corresponding to the data packet according to the data type of the data packet;
and the transmission module is used for transmitting the data packet according to the data transmission operation type corresponding to the data packet.
21. A data transmission apparatus, for use in a network device, comprising:
the receiving module is used for receiving a data packet sent by the terminal equipment, wherein the data packet is transmitted to the network equipment by the terminal equipment according to a data transmission operation type corresponding to the data packet, and the data transmission operation type corresponding to the data packet is obtained by determining the data type of the data packet by the terminal equipment.
22. A processor-readable storage medium, characterized in that the processor-readable storage medium stores a computer program for causing the processor to perform the method of any one of claims 1-17.
CN202111277603.2A 2021-10-29 2021-10-29 Data transmission method, device, equipment and storage medium Pending CN116074856A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111277603.2A CN116074856A (en) 2021-10-29 2021-10-29 Data transmission method, device, equipment and storage medium
PCT/CN2022/119449 WO2023071599A1 (en) 2021-10-29 2022-09-16 Data transmission method and apparatus, device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111277603.2A CN116074856A (en) 2021-10-29 2021-10-29 Data transmission method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116074856A true CN116074856A (en) 2023-05-05

Family

ID=86159112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111277603.2A Pending CN116074856A (en) 2021-10-29 2021-10-29 Data transmission method, device, equipment and storage medium

Country Status (2)

Country Link
CN (1) CN116074856A (en)
WO (1) WO2023071599A1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143367B (en) * 2010-01-30 2013-01-30 华为技术有限公司 Method, device and system for checking error correction
US10098112B2 (en) * 2014-01-30 2018-10-09 Sony Corporation Identification of downlink messages using repeated transmission
CN108449600B (en) * 2018-03-16 2020-06-02 镇江视程影视有限公司 Transmission method and device of movie data
CN108616449A (en) * 2018-08-14 2018-10-02 深圳市共进电子股份有限公司 Data transmission method, device, equipment and medium
CN113691359B (en) * 2019-01-16 2023-04-18 Oppo广东移动通信有限公司 Method and apparatus for replicated data transmission
US11652528B2 (en) * 2020-04-28 2023-05-16 Qualcomm Incorporated Techniques for indicating selection of channel state information (CSI) report setting option by a demodulation reference signal (DMRS) pattern

Also Published As

Publication number Publication date
WO2023071599A1 (en) 2023-05-04

Similar Documents

Publication Publication Date Title
JP6907444B2 (en) Data transmission methods, communication devices, terminals, and base stations
US20210014722A1 (en) Communication Method And Apparatus
CN108667559B (en) Communication method and device
US11968565B2 (en) User plane information reporting method and apparatus
JPWO2013005818A1 (en) Communication system and base station apparatus
US20230090249A1 (en) Radio link control status report method and corresponding apparatus
AU2017436699B2 (en) Method for transmitting data, terminal device and network device
JP5169338B2 (en) RADIO COMMUNICATION SYSTEM AND METHOD, AND DEVICE AND PROGRAM USED FOR THEM
CN116134878A (en) Communication method and device
US10298509B2 (en) Managing a sequence number range for radio link control entities in a radio access network during an on-going connection
US11064503B2 (en) Method and apparatus for transmitting control information
CN113747537A (en) Priority determination method and device
CN113301605B (en) Message transmission method, system and related device
WO2023273514A1 (en) Data flow transmission method and apparatus
CN116074856A (en) Data transmission method, device, equipment and storage medium
WO2018058372A1 (en) Wireless communication method, terminal device and access network device
WO2015185105A9 (en) Packet handling in wireless networks
CN110191488B (en) Method, device and system for ensuring transmission of Volte
CN116210268A (en) Wireless communication method, terminal device and network device
WO2024207313A1 (en) Method and apparatus for wireless communication
WO2024055871A1 (en) Data transmission method in communication system, and communication apparatus
WO2023143431A1 (en) Communication method and communication apparatus
WO2023216803A1 (en) Data flow mapping updating method and apparatus, and storage medium
CN118826988A (en) Data processing method, device, network equipment and storage medium
CN118784165A (en) Communication method and communication 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