A data transmission method and apparatus, a communication device, and a storage medium

By differentiating the importance of video frames and using different sessions to transmit key frames and non-key frames, the video stuttering problem caused by key frame loss is solved, improving transmission efficiency and user experience.

CN118826954BActive Publication Date: 2026-01-16CHINA MOBILE COMM LTD RES INST +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311154003.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-07
Publication Date
2026-01-16
Estimated Expiration
2043-09-07

AI Technical Summary

Technical Problem

In video streaming, the loss of keyframes leads to video playback stuttering and waste of wireless network resources. Existing technologies have failed to effectively distinguish video frames for differentiated transmission.

Method used

Network devices categorize video frames into critical frames and non-critical frames based on the importance of the data, transmitting them through different sessions to ensure the successful transmission of critical frames and prioritizing the discarding of non-critical frames when channel conditions are poor.

Benefits of technology

It improved the success rate of keyframe transmission, ensured video continuity and user experience, and enhanced the transmission efficiency of wireless resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118826954B_ABST
    Figure CN118826954B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a data transmission method and device, communication equipment and a storage medium. The method comprises: a network device transmitting first data and second data associated with the first data according to a first characteristic of the data; wherein the first data is transmitted through a first session, the second data is transmitted through a second session; or the first data is transmitted through a first session, the second data and the first data are transmitted through a second session; the first characteristic is at least related to the importance of the data, and the first data and the second data have different first characteristics.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, in particular to a data transmission method and device, a communication device and a storage medium. BACKGROUND

[0002] Currently, different quality video streams (for example, 720P and 1080P) of the same video service are transmitted in the same protocol data unit (PDU) session, and key frames and non-key frames of the same video stream are also transmitted in the same PDU session. That is, when transmitted in the core network and the wireless network, the video frames in the video stream are not distinguished. However, in actual transmission, due to the change of the channel state, the transmission of part of the data packets fails. If the key frame is lost at this time, even if the subsequent non-key frame is successfully transmitted, the video frame cannot be normally displayed, which not only wastes the wireless network resources, but also causes the video playing to be stuck, thereby affecting the service experience of the user. SUMMARY

[0003] To solve the existing technical problems, the embodiments of the present application provide a data transmission method and device, a communication device and a storage medium.

[0004] To achieve the above-mentioned purpose, the technical scheme of the embodiments of the present application is as follows:

[0005] In a first aspect, the embodiments of the present application provide a data transmission method, which comprises the following steps:

[0006] The network device transmits first data and second data associated with the first data according to a first characteristic of the data; wherein the first data is transmitted through a first session, and the second data is transmitted through a second session; or the first data is transmitted through a first session, and the second data and the first data are transmitted through a second session; the first characteristic is at least related to the importance of the data, and the first data and the second data have different first characteristics.

[0007] In the above-mentioned scheme, the importance of the first data is higher than that of the second data.

[0008] One first data is associated with one or more second data; and / or, one first data corresponds to a transmission window in one second session, and the length of the transmission window is the length of the second data related to the first data.

[0009] In the above-mentioned scheme, the method further comprises the following steps: after the network device determines that the transmission of the first data through the first session fails or discards the first data to be transmitted through the first session, the second data transmitted through the second session is discarded.

[0010] The method further includes: transmitting, by the network device, the first data and the second data associated with the first data through the first session.

[0011] The network device transmits the first data through the first session, and determines that the first data is successfully transmitted, and then transmits the second data associated with the first data through the second session.

[0012] The method further includes: determining, by the network device, that the first data is successfully transmitted based on receiving an acknowledgement feedback of the first data.

[0013] The method further includes: determining, by the network device, whether to transmit the second data through the second session or to discard the second data to be transmitted through the second session according to channel state information of a terminal; wherein, when the channel quality indicated by the channel state information is less than a first value, the second data to be transmitted through the second session is discarded; and when the channel quality indicated by the channel state information is greater than or equal to the first value, the second data is transmitted through the second session.

[0014] The method further includes: when the second data and the first data are transmitted through the second session, transmitting, by the network device, the first data and the second data associated with the first data through the second session.

[0015] The network device determines that the first data is successfully transmitted through the first session, discards the first data to be transmitted through the second session, and transmits the second data associated with the first data through the second session; or

[0016] The network device determines that the first data is unsuccessfully transmitted through the first session, and transmits the second data associated with the first data and the first data through the second session.

[0017] The method further includes: discarding, by the network device, the second data associated with the first data to be transmitted through the second session after determining that the first data is unsuccessfully transmitted through the first session and the first data is unsuccessfully transmitted through the second session.

[0018] The method further includes: determining, by the network device, at least one of the following information according to a transport block size:

[0019] A length of a transmission window in the second session;

[0020] A quantity of the second data associated with the first data to be transmitted through the second session;

[0021] a quantity of data corresponding to the second session that needs to be discarded.

[0022] In the above solution, determining the quantity of data corresponding to the second session that needs to be discarded comprises:

[0023] According to a first characteristic of data, determining the quantity of data corresponding to the second session that needs to be discarded, the first characteristic representing an importance level of data.

[0024] In the above solution, the method further comprises: the network device sending first information related to discarded data to the terminal, the first information at least comprising an identifier of the discarded data.

[0025] In a second aspect, an embodiment of the present application further provides a data transmission method, the method comprising:

[0026] The terminal receives first data and second data associated with the first data according to a first characteristic of data; wherein the first data is transmitted through a first session, and the second data is transmitted through a second session; or the first data is transmitted through a first session, and the second data and the first data are transmitted through a second session; the first characteristic is at least related to an importance level of data, and the first data and the second data have different first characteristics.

[0027] In the above solution, the importance level of the first data is higher than that of the second data.

[0028] One first data is associated with one or more second data; and / or, one first data corresponds to a transmission window in a second session, and the length of the transmission window is the length of the second data related to the first data.

[0029] In the above solution, the method further comprises: the terminal receiving first information related to discarded data sent by the network device, the first information at least comprising an identifier of the discarded data.

[0030] In a third aspect, an embodiment of the present application further provides a data transmission device, the device comprising a first communication unit, configured to transmit first data and second data associated with the first data according to a first characteristic of data; wherein the first data is transmitted through a first session, and the second data is transmitted through a second session; or the first data is transmitted through a first session, and the second data and the first data are transmitted through a second session; the first characteristic is at least related to an importance level of data, and the first data and the second data have different first characteristics.

[0031] Fourthly, embodiments of the present invention also provide a data transmission apparatus, the apparatus including a second communication unit, configured to receive first data and second data associated with the first data according to a first characteristic of the data; wherein the first data is transmitted through a first session and the second data is transmitted through a second session; or, the first data is transmitted through the first session and the second data and the first data are transmitted through the second session; the first characteristic is at least related to the importance of the data, and the first data and the second data have different first characteristics.

[0032] Fifthly, embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the data transmission method described in the first or second aspect of the present invention.

[0033] In a sixth aspect, embodiments of the present invention also provide a communication device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the data transmission method described in the first or second aspect of the present invention.

[0034] The present invention provides a data transmission method, apparatus, communication device, and storage medium. The method includes: a network device transmitting first data and second data associated with the first data based on a first characteristic of the data; wherein the first data is transmitted through a first session, and the second data is transmitted through a second session; or, the first data is transmitted through the first session, and the second data and the first data are transmitted through the second session; the first characteristic is at least related to the importance of the data, and the first data and the second data have different first characteristics. By adopting the technical solution of the present invention, the network side transmits data packets with different first characteristics (importance levels) through different sessions based on the first characteristic of the data (such as the importance level of the data). This ensures the successful transmission of the most important data in subsequent transmissions, guaranteeing the continuity of user services and improving the user's service experience. It also improves the success rate of key frame transmission and enhances the efficiency of wireless resource transmission. Attached Figure Description

[0035] Figure 1 This is a flowchart illustrating the data transmission method according to an embodiment of the present invention. Figure One ;

[0036] Figure 2 This is a schematic diagram of data transmission in an embodiment of the present invention.

[0037] Figure 3 This is a flowchart illustrating the data transmission method according to an embodiment of the present invention. Figure Two ;

[0038] Figure 4 Schematic diagram of the composition structure of the data transmission device of an embodiment of the application Figure One ;

[0039] Figure 5 Schematic diagram of the composition structure of the data transmission device of an embodiment of the application Figure Two ;

[0040] Figure 6 Schematic diagram of the hardware composition structure of the communication device of an embodiment of the application. DETAILED DESCRIPTION

[0041] The application will be further described below in conjunction with the drawings and specific embodiments.

[0042] The technical solution of the embodiments of the application can be applied to various communication systems, for example, a Global System of Mobile communication (GSM) system, a Long Term Evolution (LTE) system or a 5G system, etc. Optionally, the 5G system or 5G network can also be referred to as a New Radio (NR) system or NR network.

[0043] For example, the communication system to which the embodiments of the application are applied can include a network device and a terminal device (also referred to as a terminal, a communication terminal, etc.); the network device can be a device that communicates with the terminal device. The network device can provide communication coverage in a certain area range and can communicate with terminals located in the area. Optionally, the network device can be a base station in each communication system, for example, an Evolutional Node B (eNB) in an LTE system, and for example, a base station (gNB) in a 5G system or an NR system.

[0044] It should be understood that the devices with communication functions in the network / system in the embodiments of the application can be referred to as communication devices. The communication devices can include network devices and terminals with communication functions, and the network devices and terminal devices can be the specific devices described above, which will not be described here again; the communication devices can also include other devices in the communication system, for example, network controllers, mobile management entities and other network entities, which are not limited in the embodiments of the application.

[0045] It should be understood that the terms "system" and "network" are often used interchangeably herein. The term "and / or", used herein only describes an associated relationship, which means that there can be three relationships, for example, A and / or B, which means that A exists alone, A and B exist together, and B exists alone. In addition, the character " / " generally represents an "or" relationship between the front and rear associated objects.

[0046] The terms "first", "second", and the like in the specification and claims of the present application are used to distinguish similar objects, and do not necessarily have to describe a specific order or sequence. It should be understood that the data used in this way can be exchanged under appropriate circumstances, so that the embodiments of the application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0047] The embodiment of the application provides a data transmission method. Figure 1 The flowchart of the data transmission method of the embodiment of the application is shown in Figure One ; as shown in Figure 1 , the method comprises:

[0048] Step 101: The network device transmits first data and second data associated with the first data according to a first characteristic of the data; wherein the first data is transmitted through a first session, and the second data is transmitted through a second session; or the first data is transmitted through a first session, and the second data and the first data are transmitted through a second session; the first characteristic is at least related to the importance of the data, and the first data and the second data have different first characteristics.

[0049] In this embodiment, the network device sends data to the terminal, at least according to the importance of the data, the data has a corresponding first characteristic. For example, when the terminal plays an online video, the video data may include a 720P video stream, a 1080P video stream, and the like. In addition, according to different video compression algorithms or video encoding algorithms, the same definition video stream also includes video frames with different importance, such as I frames, P frames and B frames. The I frame, also known as an intra picture, is also called a full-frame compression encoding frame. The I frame is usually the first frame of each picture group (GOP, Group of Pictures). The P frame, also known as a predictive-frame, is usually an encoding image that removes the time redundancy information of the previously encoded frame in the image sequence to compress the transmission data amount, also known as a prediction frame. The B frame, also known as a bi-directional interpolated prediction frame, considers the time redundancy information between the previously encoded frames and the subsequently encoded frames in the image sequence to compress the transmission data amount of the encoding image, also known as a bi-directional prediction frame. For the I frame, it can be decompressed into a single complete video picture by a video decompression algorithm, so the importance of the I frame is the highest, which can be called a key frame. The P frame needs to refer to the previous I frame or P frame to decode a complete video picture; the B frame needs to refer to the previous I frame or P frame and the subsequent P frame to generate a complete video picture, so the importance of the P frame and the B frame is lower than that of the I frame, which can be called a non-key frame. In addition, if the video data includes 720P and 1080P video streams, the 1080P video stream is usually incrementally transmitted based on the 720P video stream. In this case, the video frame can include key frames and non-key frames of the 720P video stream, and incremental video frames (which can also include key frames and non-key frames) of the 1080P video stream. The I frame of the 720P video stream can be called a key frame, and the P frame and B frame of the 720P video stream and the incremental video frame of the 1080P video stream can be called a non-key frame. Only when the key frame is correctly transmitted, the video can be successfully decoded; if the key frame is lost, the video cannot be decoded only by relying on the non-key frame.

[0050] Based on this, in this embodiment, the network device determines the first characteristic of the data based on at least the importance of the data, and places data with different importance in different sessions according to the first characteristic of the data, and transmits the data through different sessions. The session may be a PDU session (PDU session), for example. Optionally, the data transmitted through different sessions can use the same or different (5QI, 5G QoS Identifier) requirements.

[0051] For example, if the first definition (e.g. 720P) video data is divided into key frame data (e.g. I frame) and non-key frame data (e.g. P frame and / or B frame), the key frame data can be referred to as the first data, transmitted through the first session, and the non-key frame data can be referred to as the second data, transmitted through the second session; or the first data as the key frame is transmitted through the first session, and the first data and the second data as the non-key frame are transmitted through the second session. For example, referring to Figure 2 As shown, the key frame data is transmitted through PDU session 1, and the non-key frame data is transmitted through PDU session 2. In addition, the second definition (e.g. 1080P) video data (incremental video frame) can be transmitted through PDU session 2, or transmitted through other PDU session (e.g. PDU session 3).

[0052] In some optional embodiments of the present application, the importance of the first data is higher than the importance of the second data; one first data is associated with one or more second data; and / or, one first data corresponds to a transmission window in a second session, and the length of the transmission window is the length of the second data associated with the first data.

[0053] In the present embodiment, the first data and the second data are different in importance, and the first data and the second data different in importance have an association or a corresponding relationship. As an example, the importance of the first data is higher than the importance of the second data, in which case one first data is associated with one or more second data; one first data corresponds to a transmission window in a second session, and the length of the transmission window is the length of the second data associated with the first data. For example, referring to Figure 2 As shown, the key frame transmitted through PDU session 1 corresponds to multiple non-key frames transmitted through PDU session 2, for example, one key frame corresponds to three non-key frames, and in PDU session 2, one key frame corresponds to one transmission window, and the length of the transmission window is the length of all non-key frames associated with the key frame.

[0054] In some optional embodiments, the first data and the second data have an association or a correspondence, which can be achieved by a manner of establishing an association or a correspondence through a tag or an identifier. For example, the network device can add a first tag or a first identifier (e.g., adding the first tag or the first identifier in a packet header of the first data) to the first data transmitted through the first session, the first tag or the first identifier being associated with the first data; and add a second tag or a second identifier (e.g., adding the second tag or the second identifier in a packet header of the second data) to the second data transmitted through the second session, the first tag and the second tag having an association, and the first identifier and the second identifier having an association. As an example, the first tag and the second tag can be the same tag, and the first identifier and the second identifier can be the same identifier. As another example, the network device can also obtain the tags or the identifiers having an association or a correspondence through configuration or pre-configuration, that is, the network device can pre-know two tags or identifiers having an association or a correspondence, and fill the tags or the identifiers into the first data and the second data according to the tags or the identifiers having an association or a correspondence.

[0055] For example, the network device can fill or add the identifier N to the data packet of the key frame N in the session 1, fill or add the identifier N to all the data packets of the non-key frames corresponding to the key frame N in the session 2, or fill or add the identifier N to the first data packet and the last data packet of the non-key frames corresponding to the key frame N in the session 2, or fill or add the identifier N to the first data packet of the non-key frames corresponding to the key frame N in the session 2, and fill or add the identifier N' to the last data packet of the non-key frames corresponding to the key frame N in the session 2, wherein N and N' have an association or a correspondence.

[0056] In this embodiment, the network device maintains a transmission window for each non-key frame corresponding to each key frame transmitted through the second session, the length of the transmission window being the length of all the non-key frames corresponding to the key frame, or, in the case of using the identifier N and the identifier N' to identify the non-key frames corresponding to the key frame N, the start point of the transmission window being the data packet of the identifier N, and the end point of the transmission window being the data packet of the identifier N'.

[0057] In some optional embodiments of the present application, the transmission of the first data and the second data associated with the first data comprises: the network device transmits the first data through the first session, and after determining that the transmission of the first data is successful, transmits the second data associated with the first data through the second session.

[0058] In some optional embodiments, the determining that the first data transmission is successful comprises that the network device receives an acknowledgement feedback of the first data, and determines that the first data transmission is successful.

[0059] In the embodiment, when the first data (e.g., key frame N) transmitted through the first session is successfully transmitted, the second data in the transmission window associated with the first data and transmitted through the second session is started to be transmitted. The network device determines that the first data transmission is successful when an acknowledgement feedback (e.g., ACK) of the first data is received after the first data is sent through the first session.

[0060] In some optional embodiments of the application, the method further comprises that, after the network device determines that the first data transmitted through the first session fails to be transmitted or discards the first data to be transmitted through the first session, the second data transmitted through the second session is discarded.

[0061] In the embodiment, when the first data (e.g., key frame N) transmitted through the first session fails to be transmitted, for example, the network device receives a negative acknowledgement (e.g., NACK) of the first data or does not receive any feedback of the first data after the first data is sent through the first session, it is determined that the first data fails to be transmitted. Alternatively, the network device does not transmit the first data through the first session, but actively discards the first data. Since the first data as a key frame fails to be transmitted successfully, the network device discards the second data transmitted through the second session, i.e., discards all data packets in the transmission window associated with the first data and transmitted through the second session. In this way, the limited transmission resource is preferentially reserved for key frame transmission, and only when the key frame transmission is successful, the non-key frame is started to be transmitted, which can save transmission resource and improve transmission efficiency.

[0062] For example, the network device determines that the first data transmitted through the first session fails to be transmitted, which can be that the network device detects that the first data fails to be transmitted M times, and determines that the first data fails to be transmitted. M is a positive integer. For example, the network device transmits the first data through the first session, does not receive a feedback message of the first data, or receives a NACK message of the first data, retransmits the first data, does not receive a feedback message of the first data again, or receives a NACK message of the first data, and so on for a total of M times, and it is determined that the first data fails to be transmitted.

[0063] The retransmission mechanism between the network device and the terminal can be a hybrid automatic repeat request (HARQ) mechanism or an automatic repeat request (ARQ) mechanism, and the embodiment is not limited in this regard.

[0064] In some optional embodiments of the application, the method further comprises: determining, by the network device, whether to transmit the second data through the second session or to discard the second data to be transmitted through the second session according to channel state information of the terminal; wherein, when a channel quality parameter indicated by the channel state information is less than a first value, it corresponds to discarding the second data to be transmitted through the second session; and when the channel quality parameter indicated by the channel state information is greater than or equal to the first value, it corresponds to transmitting the second data through the second session.

[0065] In the embodiment, the network device can determine the channel quality between the network device and the terminal according to the channel state information (CSI) reported by the terminal. If the network device learns that the channel state quality is poor, for example, the channel quality parameter is less than a first value, the network device can actively discard the second data transmitted through the second session, that is, discard the non-key frames in the transmission window associated with the key frame; if the network device learns that the channel state quality is good, for example, the channel quality parameter is greater than or equal to the first value, it can be determined that the second data is transmitted through the second session. In other optional embodiments, the network device can also determine the number of second data to be transmitted through the second session according to the channel state information, and then transmit the second data through the second session according to the number. In the embodiment, the network device can also select to discard part of the non-key frames in the transmission window associated with the key frame, retain part of the non-key frames, and transmit part of the non-key frames in the transmission window associated with the key frame through the second session.

[0066] In some optional embodiments of the application, in the case where the second data and the first data are transmitted through the second session, the method of transmitting the first data and the second data associated with the first data comprises: discarding the first data to be transmitted through the second session and transmitting the second data associated with the first data through the second session after the network device determines that the transmission of the first data through the first session is successful; or transmitting the second data associated with the first data and the first data through the second session after the network device determines that the transmission of the first data through the first session fails.

[0067] The embodiment is applicable to a scenario of repeatedly transmitting first data as a key frame through two sessions. The first data is transmitted through a first session. Whether the first data needs to be repeatedly transmitted in a second session is determined according to whether the transmission of the first data is successful.

[0068] In the embodiment, in the case of transmitting the first data through the first session and transmitting the first data and second data through the second session, if the transmission of the first data through the first session is successful, the network device can discard the first data to be transmitted through the second session and only keep the second data to be transmitted through the second session, that is, only non-key frames are transmitted through the second session. If the transmission of the first data through the first session fails, the network device still transmits the first data and the second data associated with the first data through the second session, that is, key frames and non-key frames are transmitted through the second session.

[0069] In this way, in the application scenario of video data transmission, the transmission of the first data transmitted through the first session is preferentially ensured to be successful. If the transmission of the first data transmitted through the first session fails due to poor channel quality, the first data is retransmitted through the second session. If the transmission of the first data in the second session also fails, the second data associated with the first data cannot be correctly recovered into image data even if the transmission of the second data is successful, and therefore the second data associated with the first data can be discarded.

[0070] In some optional embodiments of the application, the method further comprises: determining, by the network device, at least one of the following information according to a transmission block size:

[0071] The length of a transmission window in the second session;

[0072] The number of second data related to the first data to be transmitted through the second session;

[0073] The number of data to be discarded corresponding to the second session.

[0074] In the embodiment, the transport block is a physical resource for data transmission, and the transport block size is a quantity of physical resources for data transmission. Then, the network device can determine at least one of the following information according to the quantity of available resources: a length of a transmission window in the second session; a quantity of second data related to the first data to be transmitted through the second session; and a quantity of data to be discarded corresponding to the second session. It can be understood that, when the transport block size is greater than the first value, it indicates that the quantity of available resources is relatively large, and the network device can determine that the length of the transmission window in the second session is a sum of lengths of all second data (i.e., non-key frames) associated with the corresponding first data (i.e., key frames); the quantity of second data related to the first data to be transmitted through the second session is all second data (i.e., non-key frames) related to the first data (i.e., key frames) to be transmitted through the second session; and the quantity of data to be discarded corresponding to the second session is zero. When the transport block size is less than the first value, it indicates that the quantity of available resources is insufficient, and the network device can determine that the length of the transmission window in the second session is a sum of lengths of part of second data (i.e., non-key frames) associated with the corresponding first data (i.e., key frames), or even the length of the transmission window is 0, i.e., no second data is transmitted through the second session; the quantity of second data related to the first data to be transmitted through the second session is part of second data (i.e., non-key frames) related to the first data (i.e., key frames) to be transmitted through the second session; part of second data (i.e., non-key frames) related to the first data (i.e., key frames) needs to be discarded, and the length of the transmission window is shortened.

[0075] In some optional embodiments, the network device can determine the second data to be discarded according to the priority or importance. For example, the priority or importance of the data can be ranked as follows from high to low: key frame, low-definition non-key frame, high-definition key frame, high-definition non-key frame. In the above example, the definition can also be referred to as resolution, and the smaller the value, the lower the resolution or definition, and the larger the value, the higher the resolution or definition. Then, the network device can perform the discarding processing on the second data according to at least one of the following information: the length of the transmission window in the second session, the quantity of second data related to the first data to be transmitted through the second session, and the quantity of data to be discarded corresponding to the second session, according to the priority or importance and the determined information.

[0076] In some optional embodiments, determining the quantity of data to be discarded corresponding to the second session includes: determining the quantity of data to be discarded corresponding to the second session according to a first identifier of the data, where the first identifier represents an importance of the data.

[0077] In this embodiment, the core network device can add or join a first identifier indicating the importance level in the data according to the importance level of the data. The network device can determine the importance level of the data according to the first identifier, and then perform the discarding processing on the second data according to at least one of the length of the transmission window in the second session, the number of the second data related to the first data to be transmitted through the second session, and the number of the data to be discarded corresponding to the second session.

[0078] In some optional embodiments of the present application, the method further comprises: after the network device determines that the transmission of the first data through the first session fails and the transmission of the first data through the second session fails, discarding the second data associated with the first data to be transmitted through the second session.

[0079] In some optional embodiments of the present application, the method further comprises: the network device sending first information related to the discarded data to the terminal, wherein the first information at least comprises the identifier of the discarded data.

[0080] In this embodiment, for the scenario that the network device actively discards data, for example, actively discards the first data and / or the second data, the network device sends first information to the terminal, wherein the first information at least comprises the identifier of the discarded data, so as to inform the terminal which data are actively discarded by the network side; after the terminal obtains the first information, it does not need to feed back the data in the first information.

[0081] In the embodiments of the present application, the network device can be a core network device, for example, a user plane function (UPF, User Plane Function), or an access network device, for example, a base station device.

[0082] In one specific example, the network device can associate the key frame of session 1 with the non-key frame of session 2, for example, add an association identifier. Optionally, session 2 includes non-key frames and can also include key frames. The network device can determine the number of non-key frames and / or the length of the transmission window transmitted through session 2 according to the channel quality and / or the size of the physical layer resource block, that is, determine whether to discard the non-key frames, or determine whether to discard part of the non-key frames, or the network device can determine whether to actively discard all non-key frames to be transmitted through session 2 according to the feedback of the transmitted key frames; if all non-key frames to be transmitted through session 2 need to be discarded, the discarding processing is performed; if part of the non-key frames to be transmitted through session 2 need to be discarded, part of the non-key frames to be transmitted through session 2 are discarded according to the importance ranking or priority ranking obtained in advance; further, the network device sends first information to the terminal to inform the terminal which data are actively discarded by the network side; after the terminal obtains the first information, it does not need to feed back the data in the first information.

[0083] Based on the above embodiment, the embodiment of the present application provides a data transmission method. Figure 3 The flowchart of the data transmission method of the embodiment of the present application is shown in Figure Two Figure 3 The method comprises the following steps.

[0084] Step 201: The terminal receives first data and second data associated with the first data according to a first characteristic of the data; wherein the first data is transmitted through a first session, and the second data is transmitted through a second session; or the first data is transmitted through a first session, and the second data and the first data are transmitted through a second session; the first characteristic is at least related to the importance of the data, and the first data and the second data have different first characteristics.

[0085] In this embodiment, the terminal receives data from the network device. Based on the above-mentioned embodiment, the network device transmits data with different importance through different sessions according to the first characteristic of the data, so that the terminal receives data with different importance according to different sessions during the data receiving process.

[0086] In some optional embodiments, the importance of the first data is higher than the importance of the second data; one first data is associated with one or more second data; and / or one first data corresponds to a transmission window in a second session, and the length of the transmission window is the length of the second data related to the first data.

[0087] In this embodiment, the first data and the second data are different at least in importance, and the first data and the second data with different importance have an association or a corresponding relationship. As an example, the importance of the first data is higher than the importance of the second data, in which case one first data is associated with one or more second data; one first data corresponds to a transmission window in a second session, and the length of the transmission window is the length of the second data related to the first data. For example, as shown in Figure 2 The key frame transmitted through the PDU session 1 corresponds to the multiple non-key frames transmitted through the PDU session 2, for example, one key frame corresponds to three non-key frames, and in the PDU session 2, one key frame corresponds to a transmission window, and the length of the transmission window is the length of all non-key frames associated with the key frame.

[0088] In some optional embodiments, the method further comprises: the terminal receives first information related to the discarded data sent by the network device, and the first information at least comprises the identification of the discarded data.

[0089] ​In the embodiment, for the scenario that the network device actively discards data, for example, actively discards the first data and / or the second data, the network device sends first information to the terminal, the first information at least including the identification of the discarded data, to inform the terminal which data are actively discarded by the network side; after the terminal obtains the first information, the terminal does not need to feed back the data in the first information.

[0090] Based on the above embodiment, the embodiment of the application further provides a data transmission device, which is applied to a network device. Figure 4 The composition structure of the data transmission device of the embodiment of the application is shown in Figure One FIG. 1. Figure 4 As shown in the figure, the device includes a first communication unit 31, which is configured to transmit first data and second data associated with the first data according to a first characteristic of the data; wherein the first data is transmitted through a first session, and the second data is transmitted through a second session; or the first data is transmitted through a first session, and the second data and the first data are transmitted through a second session; the first characteristic is at least related to the importance of the data, and the first data and the second data have different first characteristics.

[0091] In some optional embodiments of the application, the importance of the first data is higher than the importance of the second data.

[0092] One first data is associated with one or more second data; and / or, one first data corresponds to a transmission window in one second session, and the length of the transmission window is the length of the second data related to the first data.

[0093] In some optional embodiments of the application, the device further includes a first processing unit 32, which is configured to, after determining that the transmission of the first data through the first session fails or the first data to be transmitted through the first session is discarded, discard the second data transmitted through the second session.

[0094] In some optional embodiments of the application, the first communication unit 31 is configured to transmit the first data through the first session, and after determining that the transmission of the first data succeeds, transmit the second data associated with the first data through the second session.

[0095] In some optional embodiments of the application, the first communication unit 31 is configured to receive the confirmation feedback of the first data, and determine that the transmission of the first data succeeds.

[0096] In some embodiments of the present application, the apparatus further comprises a first processing unit 32 configured to determine whether to transmit the second data via the second session or to discard the second data to be transmitted via the second session according to channel state information of the terminal; wherein, when a channel quality parameter indicated by the channel state information is less than a first value, it corresponds to discarding the second data to be transmitted via the second session; when the channel quality parameter indicated by the channel state information is greater than or equal to the first value, it corresponds to transmitting the second data via the second session.

[0097] In some embodiments of the present application, the apparatus further comprises a first processing unit 32 configured to, in the case that the second data and the first data are transmitted via the second session, determine to discard the first data to be transmitted via the second session after successfully transmitting the first data via the first session.

[0098] The first communication unit 31 is configured to transmit the second data associated with the first data via the second session; or,

[0099] The first communication unit 31 is configured to, after unsuccessfully transmitting the first data via the first session, transmit the second data associated with the first data and the first data via the second session.

[0100] In some embodiments of the present application, the first processing unit 32 is further configured to, after unsuccessfully transmitting the first data via the first session and unsuccessfully transmitting the first data via the second session, discard the second data associated with the first data to be transmitted via the second session.

[0101] In some embodiments of the present application, the apparatus further comprises a first processing unit 32 configured to determine at least one of the following information according to a transport block size:

[0102] The length of the transmission window in the second session;

[0103] The number of the second data associated with the first data to be transmitted via the second session;

[0104] The number of the data to be discarded corresponding to the second session.

[0105] In some embodiments of the present application, the first processing unit 32 is configured to determine the number of the data to be discarded corresponding to the second session according to a first identifier of the data, wherein the first identifier indicates the importance of the data.

[0106] In some embodiments of the present application, the first communication unit 31 is configured to send first information related to the discarded data to the terminal, wherein the first information at least comprises an identifier of the discarded data.

[0107] In the embodiment of the present application, the first processing unit 32 in the device can be implemented by a central processing unit (CPU), a digital signal processor (DSP), a microcontroller unit (MCU) or a field-programmable gate array (FPGA) in actual application; and the first communication unit 31 in the device can be implemented by a communication module (including a basic communication suite, an operating system, a communication module, a standardized interface and a protocol, etc.) and a transceiving antenna in actual application.

[0108] The embodiment of the present application further provides a data transmission device, which is applied to a terminal. Figure 5 The composition structure of the data transmission device in the embodiment of the present application is shown in Fig. 1. Figure Two As shown in Fig. 1, the device comprises a second communication unit 41, which is configured to receive first data and second data associated with the first data according to a first characteristic of the data; wherein the first data is transmitted through a first session, the second data is transmitted through a second session, or the first data is transmitted through a first session and the second data and the first data are transmitted through a second session; the first characteristic is at least related to the importance of the data, and the first data and the second data have different first characteristics. Figure 5 In some optional embodiments of the present application, the importance of the first data is higher than that of the second data.

[0109] One first data is associated with one or more second data; and / or, one first data corresponds to a transmission window in one second session, and the length of the transmission window is the length of the second data related to the first data.

[0110] In some optional embodiments of the present application, the second communication unit 41 is further configured to receive first information related to the discarded data sent by a network device, and the first information at least comprises the identification of the discarded data.

[0111] In the embodiment of the present application, the second communication unit 41 in the device can be implemented by a communication module (including a basic communication suite, an operating system, a communication module, a standardized interface and a protocol, etc.) and a transceiving antenna in actual application.

[0112]

[0113] ​It should be noted that the data transmission apparatus provided by the above embodiments is only taken as an example for the division of the above program modules when performing data transmission, and in actual application, the above processing can be completed by different program modules according to needs, that is, the internal structure of the apparatus is divided into different program modules to complete all or part of the above processing. In addition, the data transmission apparatus and the data transmission method provided by the above embodiments belong to the same concept, and the specific implementation process is described in the method embodiments, which will not be repeated here.

[0114] The embodiment of the present application further provides a communication device, which can be a network device or a terminal. Figure 6 The schematic diagram of the hardware composition structure of the communication device of the embodiment of the present application is shown in Figure 6 The communication device comprises a memory 52, a processor 51, and a computer program stored in the memory 52 and capable of running on the processor 51, and the processor 51 implements the steps of the data transmission method applied to the network device or the terminal when executing the program.

[0115] Optionally, the communication device further comprises at least one network interface 53. Wherein, each component in the communication device is coupled together through a bus system 54. It can be understood that the bus system 54 is used to realize the connection communication between the components. The bus system 54 includes not only a data bus, but also a power supply bus, a control bus and a state signal bus. However, in order to clearly illustrate, all kinds of buses are marked as the bus system 54 in Figure 6 .

[0116] It can be understood that the memory 52 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a ferromagnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM). The magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM) used as an external cache. By way of example but not limitation, many forms of RAM can be used, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), sync link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM).The memory 52 described in the embodiments of the present application is intended to include, but not limited to, these and any other suitable type of memory.

[0117] The method disclosed in the embodiments of the present application can be applied in the processor 51 or implemented by the processor 51. The processor 51 can be an integrated circuit chip having a processing capability of signals. In the implementation process, each step of the above method can be completed by the integrated logic circuit of hardware in the processor 51 or the instruction in the form of software. The processor 51 described above can be a general processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The processor 51 can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application. The general processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiments of the present application, the hardware decoding processor can be directly embodied to be executed by the decoding processor or executed by the combination of hardware and software modules in the decoding processor. The software module can be located in the storage medium, which is located in the memory 52. The processor 51 reads the information in the memory 52 and combines the hardware to complete the steps of the above method.

[0118] In the exemplary embodiments, the communication device can be implemented by one or more ASICs (Application Specific Integrated Circuits), DSPs, PLDs (Programmable Logic Devices), CPLDs (Complex Programmable Logic Devices), FPGAs, general-purpose processors, controllers, MCUs, microprocessors, or other electronic elements, for executing the above method.

[0119] In the exemplary embodiments, the embodiments of the present application also provide a computer readable storage medium, such as the memory 52 including a computer program, which can be executed by the processor 51 of the communication device to complete the steps of the above method. The computer readable storage medium can be a FRAM, a ROM, a PROM, an EPROM, an EEPROM, a Flash Memory, a magnetic surface memory, an optical disc, or a CD-ROM, etc. The computer readable storage medium can also be various devices including one or any combination of the above memories.

[0120] The computer readable storage medium provided by the embodiments of the present application has a computer program stored thereon, which is executed by the processor to implement the steps of the data transmission method applied to the network device or terminal by the embodiments of the present application.

[0121] The methods disclosed in the several method embodiments provided in the present application can be combined arbitrarily without conflict to obtain new method embodiments.

[0122] The features disclosed in the several product embodiments provided in the present application can be combined arbitrarily without conflict to obtain new product embodiments.

[0123] The features disclosed in the several method or device embodiments provided in the present application can be combined arbitrarily without conflict to obtain new method embodiments or device embodiments.

[0124] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic, for example, the division of the units is merely a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the various components shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0125] The units described above as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the present embodiment.

[0126] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be realized in the form of hardware or in the form of hardware plus software functional unit.

[0127] Those of ordinary skill in the art can understand that all or part of the steps of the above method embodiments can be completed by program instructions related to hardware, and the foregoing programs can be stored in a computer readable storage medium, and the programs execute the steps of the above method embodiments when executed; and the foregoing storage medium includes mobile storage devices, ROM, RAM, magnetic disks or optical disks and various storage media that can store program codes.

[0128] Alternatively, the above-mentioned integrated unit of the present application, if realized in the form of a software function module and sold or used as an independent product, can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of the embodiments of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the methods described in the embodiments of the present application. The aforementioned storage medium includes: mobile storage devices, ROM, RAM, magnetic disks or optical disks, and various media that can store program codes.

[0129] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto, any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A data transmission method, characterized by, The method comprises: The network device transmits first data and second data associated with the first data according to a first characteristic of the data; wherein the first data is transmitted through a first session, the second data and the first data are transmitted through a second session; the first characteristic is at least related to importance of the data, and the importance of the first data is higher than that of the second data; The method comprises: After the network device determines that the first data is successfully transmitted through the first session, the network device discards the first data to be transmitted through the second session and transmits the second data associated with the first data through the second session; or After the network device determines that the first data is unsuccessfully transmitted through the first session, the network device transmits the second data associated with the first data and the first data through the second session.

2. The method of claim 1, wherein, One first data is associated with one or more second data; and / or, one first data corresponds to a transmission window in a second session, and the length of the transmission window is the length of the second data related to the first data.

3. The method of claim 1, wherein, The method further comprises: After the network device determines that the first data is unsuccessfully transmitted through the first session and the first data is unsuccessfully transmitted through the second session, the network device discards the second data associated with the first data to be transmitted through the second session.

4. The method of claim 2, wherein, The method further comprises: The network device determines at least one of the following information according to a transmission block size: The length of the transmission window in the second session; The number of the second data related to the first data to be transmitted through the second session; The number of the data corresponding to the second session that needs to be discarded.

5. The method of claim 4, wherein, Determining the number of the data corresponding to the second session that needs to be discarded comprises: According to a first identifier of the data, determining the number of the data corresponding to the second session that needs to be discarded, wherein the first identifier represents the importance of the data.

6. The method of claim 4, wherein, The method further comprises: The network device sends first information related to the discarded data to a terminal, wherein the first information at least comprises an identifier of the discarded data.

7. A data transmission method, characterized by, The method comprises: The terminal receives first data and second data associated with the first data according to a first characteristic of the data; wherein the first data is transmitted through a first session, the second data and the first data are transmitted through a second session; the first characteristic is at least related to importance of the data, and the importance of the first data is higher than that of the second data; The first data to be transmitted through the second session is discarded after the first data is successfully transmitted through the first session, and the second data associated with the first data is transmitted through the second session; or the second data associated with the first data and the first data are transmitted through the second session after the first data is unsuccessfully transmitted through the first session.

8. The method of claim 7, wherein, One first data is associated with one or more second data; and / or, one first data corresponds to a transmission window in a second session, and the length of the transmission window is the length of the second data related to the first data.

9. The method of claim 7, wherein, The method further comprises: The terminal receives first information related to the discarded data sent by the network device, and the first information at least includes an identifier of the discarded data.

10. A data transmission apparatus, characterized by comprising: The apparatus comprises a first communication unit configured to transmit first data and second data associated with the first data according to a first characteristic of the data; wherein the first data is transmitted through a first session, and the second data and the first data are transmitted through a second session; the first characteristic is at least related to importance of the data, and the importance of the first data is higher than that of the second data. The apparatus further comprises a first processing unit configured to discard the first data to be transmitted through the second session after successful transmission of the first data through the first session. The first communication unit is configured to transmit the second data associated with the first data through the second session. Alternatively, the first communication unit is configured to transmit the second data associated with the first data and the first data through the second session after failure of the first data transmission through the first session.

11. A data transmission apparatus, characterized by comprising: The apparatus comprises a second communication unit configured to receive first data and second data associated with the first data according to a first characteristic of the data; wherein the first data is transmitted through a first session, and the second data and the first data are transmitted through a second session; the first characteristic is at least related to importance of the data, and the importance of the first data is higher than that of the second data. After successful transmission of the first data through the first session, the first data to be transmitted through the second session is discarded, and the second data associated with the first data is transmitted through the second session; or after failure of the first data transmission through the first session, the second data associated with the first data and the first data are transmitted through the second session.

12. A computer readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the steps of the method of any one of claims 1 to 6; or The program is executed by the processor to implement the steps of the method of any one of claims 7 to 9.

13. A communication device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein, The processor executes the program to implement the steps of the method of any one of claims 1 to 6; or The processor executes the program to implement the steps of the method of any one of claims 7 to 9.

Citation Information

Patent Citations

  • Avoiding discard of critical video data in modem long term evolution stack

    WO2017196380A1

  • Data packet processing method and apparatus, and terminal

    WO2023098695A1