Data transmission method, sending device and receiving device
By using the HARQ transmission method to send important data in the media data transmission from small devices to large devices, it solves the problems of fluency and picture quality in media data transmission and improves the user experience.
Patent Information
- Application Number
- CN202411053352.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-14
- Publication Date
- 2024-11-22
AI Technical Summary
The prior art is difficult to achieve high-quality transmission of media data when projecting screens from small devices to large devices, resulting in poor user experience, especially in terms of fluency and picture quality.
Use HARQ transmission method to send important data of media data frames, and use non-HARQ transmission method to send non-important data after the important data is successfully sent. By dividing important and non-important data and switching between different transmission methods, the important data is preferred. Successful transmission reduces transmission overhead.
It improves the quality and efficiency of data transmission, reduces lag and frame drops, and improves user experience, especially in multi-screen interactive scenarios to ensure smoothness and picture quality.
Smart Images

Figure CN119011083A_ABST
Abstract
Description
[0001] This application is a divisional application. The application number of the original application is 202080099739.6, and the original application date is July 14, 2020. The entire contents of the original application are incorporated into this application by reference. Technical Field
[0002] The embodiments of the present application relate to the field of communication technology, and in particular to a data transmission method, a sending device, and a receiving device. Background Art
[0003] With the development of communication technology, users also hope to get a better user experience. For example, when users project the content on a device with a smaller screen onto a large-screen display device, they hope to see smooth and high-quality images. For another example, when users listen to music programs online through audio software, they hope to hear clear and smooth sound.
[0004] Therefore, how to achieve high-quality transmission of media data to ensure a better user experience is a problem that needs to be solved at present. Summary of the invention
[0005] The embodiments of the present application provide a data transmission method, a sending device and a receiving device to achieve high-quality transmission of media data to ensure a better user experience.
[0006] In a first aspect, an embodiment of the present application provides a data transmission method, including: using a HARQ transmission method to send important data of a media data frame to a receiving device; after the important data of the media data frame is successfully sent, using a non-HARQ transmission method to send non-important data of the media data frame to the receiving device.
[0007] Among them, important data refers to key information that can characterize the media stream, and non-important data is data other than important data. The important data of the media data frame includes the basic part of the media data frame and / or the encoding parameters corresponding to the media data frame, and the non-important data of the media data frame includes the enhanced part of the media data frame. As an example, when the media data frame is an image, the important data of the media data frame may include the contour information of the image, the character action information, the basic shape information of the image, etc., and the non-important data of the media data frame may include image color data, image detail data, etc. It should be understood that in an optional case, the entire I frame in the media stream can be considered to be important data.
[0008] Based on the above scheme, the data of the media data frame is divided into important data and unimportant data. After the important data is successfully sent, the unimportant data is sent. In this way, on the one hand, the important data is sent first, and the successful sending of the important data can be guaranteed by the HARQ transmission method, thereby improving the quality of data transmission. On the other hand, for unimportant data, the non-HARQ transmission method is used for transmission, which can reduce the transmission overhead compared with the HARQ transmission method.
[0009] In a possible implementation method, the source end (such as a data link layer, etc.) of a sending device obtains a media data frame to be transmitted, determines important data and unimportant data in the media data frame, and sends a first data packet and a second data packet to a channel end (such as a physical layer) of the sending device, wherein the first data packet carries first indication information and the important data, and the first indication information is used to indicate that the first data packet carries important data, and the second data packet carries second indication information and the unimportant data, and the second indication information is used to indicate that the second data packet carries unimportant data. Then, the channel end of the sending device determines that the data to be transmitted is important data based on the first indication information, and determines that the data to be transmitted is unimportant data based on the second indication information. In an optional case, the first indication information and the second indication information may be carried in the data, for example, the data carrying the first indication information is important data, and the data carrying the second indication information is unimportant data.
[0010] In a possible implementation method, the source end (such as a data link layer, etc.) of a sending device obtains a media data frame to be transmitted, determines the important data in the media data frame, and sends a first data packet to the channel end (such as a physical layer) of the sending device, the first data packet carries first indication information and the important data, and the first indication information is used to indicate that the first data packet carries important data. When the source end of the sending device determines that the important data has been sent successfully, a second data packet is sent to the channel end of the sending device, the second data packet carries second indication information and the non-important data, and the second indication information is used to indicate that the second data packet carries non-important data, and then the channel end of the sending device sends the non-important data in the second data packet to the receiving device according to the second indication information.
[0011] In a possible implementation method, the duration occupied by sending the important data of the media data frame does not exceed the length of a first sending time window, and the length of the first sending time window is the maximum duration allowed for sending the important data of the media data frame and the non-important data of the media data frame.
[0012] By limiting the sending time of each media data frame by sending a time window, each media data frame is sent only within the sending time window. When a media data frame fails to be sent within the corresponding sending time window, the media data frame is abandoned and a new media data frame is transmitted in the next sending time window. This can avoid the failure of a certain media data frame to affect the normal transmission of subsequent media data frames, which helps to improve the smoothness of transmission. For example, when the receiving device is a display device, the smoothness of the display device playback can be improved to avoid long-term freezes.
[0013] In a possible implementation method, an HARQ transmission method is used to send important data of a media data frame to a receiving device, including: using the HARQ transmission method to send the important data of the media data frame within the first sending time window; after the important data of the media data frame is successfully sent, a non-HARQ transmission method is used to send non-important data of the media data frame to the receiving device, including: after the important data of the media data frame is successfully sent, the non-important data is sent within the remaining duration of the first sending time window, and the remaining duration is the remaining time after the important data of the media data frame is successfully sent within the first sending time window.
[0014] Based on this method, the successful transmission of important data is prioritized, which can improve the quality and efficiency of data transmission.
[0015] In a possible implementation method, if the important data of the media data frame is successfully sent within the first sending time window, but the remaining time of the first sending time window is insufficient to send the non-important data of the media data frame, then the sending of the non-important data of the media data frame to the receiving device is stopped; wherein the remaining time is the remaining time after the important data of the media data frame is successfully sent within the first sending time window.
[0016] In a possible implementation method, if the important data of the media data frame is not sent successfully within the first sending time window, stop sending the important data of the media data frame to the receiving device, and stop sending the non-important data of the media data frame to the receiving device.
[0017] Since important data refers to key information that can characterize the media stream, when important data cannot be successfully sent, it is meaningless to send non-important data later. Therefore, in the above scheme, when important data cannot be successfully sent within the corresponding sending time window, the important data will be stopped from being sent to avoid affecting the timely transmission of other media data frames, which helps to ensure the smoothness of transmission. At the same time, the non-important data of the media data frame will also be stopped from being sent, which helps to save resource overhead.
[0018] In a possible implementation method, the non-HARQ transmission is a first transmission mode, and the first transmission mode is a transmission mode without a retransmission mechanism.
[0019] Since non-important data is relatively less important, the transmission reliability requirement is not particularly high. In the above scheme, a transmission method without a retransmission mechanism is adopted for non-important data, which is conducive to saving resource overhead.
[0020] In a possible implementation method, the non-HARQ transmission is a second transmission mode, and the second transmission mode is a transmission mode with a retransmission mechanism, and the forward error correction FEC coded version data corresponding to the non-important data is retransmitted each time.
[0021] Since non-important data is relatively unimportant, the transmission reliability requirement is not particularly high. In the above scheme, a transmission method with a retransmission mechanism is used for non-important data, and the FEC coded version data corresponding to the non-important data is retransmitted each time. The reliability of this transmission method is higher than the reliability of the above transmission method without a retransmission mechanism, but lower than the reliability of the HARQ transmission method corresponding to important data. Based on this scheme, transmission reliability is guaranteed and resource overhead is saved to a certain extent.
[0022] In a possible implementation method, the maximum number of retransmissions corresponding to the second transmission mode is smaller than the maximum number of retransmissions corresponding to the HARQ transmission mode.
[0023] In a possible implementation method, important data of a media data frame is sent to a receiving device using a HARQ transmission method, including: sending at least one first wireless frame corresponding to the important data of the media data frame to the receiving device using the HARQ transmission method, the at least one first wireless frame carrying a first sequence, and the first sequence is used to indicate that the at least one first wireless frame is sent using the HARQ transmission method; unimportant data of the media data frame is sent to the receiving device using a non-HARQ transmission method, including: sending at least one second wireless frame corresponding to the unimportant data to the receiving device using the non-HARQ transmission method, the at least one second wireless frame carrying a second sequence, and the second sequence is used to indicate that the at least one second wireless frame is sent using the non-HARQ transmission method; wherein the first sequence and the second sequence are different sequences.
[0024] In a possible implementation method, the first sequence and the second sequence are opposite sequences.
[0025] In a possible implementation method, the first radio frame and the second radio frame have the same frame format, and the frame format includes a long training field and a short training field; the long training field of the at least one first radio frame carries the first sequence, and the long training field of the second radio frame carries the second sequence; or, the short training field of the at least one first radio frame carries the first sequence, and the short training field of the second radio frame carries the second sequence.
[0026] Based on the above scheme, by carrying the first sequence or the second sequence on the existing field, the changes to the existing frame format can be reduced. The existing frame format contains a long training field and a short training field. The short training field is used for rough synchronization between the communicating parties, and the long training field is used for precise synchronization between the communicating parties. Taking the short training field as an example, in the prior art, the communicating parties agree to carry the first sequence in the short training field of the existing frame format, and the sending device carries the first sequence in the short training field. When the receiving device can correctly parse and obtain the first sequence, the rough synchronization of the sending and receiving parties can be achieved. On this basis, the above scheme of the present application adds a second sequence, and the second sequence is different from the first sequence. Optionally, the two are opposite sequences. Therefore, the sending device can carry the first sequence or the second sequence in the short training field. When the receiving device can correctly parse and obtain the first sequence or obtain the second sequence, the rough synchronization of the sending and receiving parties can be achieved. At the same time, the receiving device can also determine the transmission mode in which the current wireless frame is sent based on the first sequence or the second sequence: when the first sequence is correctly parsed, it indicates that the current wireless frame is sent using the HARQ transmission mode, and when the second sequence is correctly parsed, it indicates that the current wireless frame is sent using a non-HARQ transmission mode (such as the pre-agreed first transmission mode or the second transmission mode). In another example, when the long training field is used to implement the above-mentioned synchronization and transmission mode indication functions, its implementation principle is similar to that of the short training field and will not be repeated.
[0027] In a possible implementation method, the frame format is a non-HT format PPDU format or a HT mixed format.
[0028] In one possible implementation method, the HARQ transmission mode is used to send at least one first wireless frame corresponding to the important data of the media data frame to the receiving device, including: storing multiple different redundant coding versions of the important data in a HARQ cache, taking out any redundant coding version from the HARQ cache and carrying it in a first wireless frame to send to the receiving device.
[0029] In a possible implementation method, multiple different redundant coding versions of the important data are stored in a HARQ cache, including: performing Turbo coding on the important data to obtain multiple different redundant coding versions of the important data, and storing the multiple different redundant coding versions in the HARQ cache. Taking out any redundant coding version from the HARQ cache and carrying it in a first wireless frame to send to a receiving device, including: taking out a first redundant coding version from the multiple different redundant coding versions from the HARQ cache, carrying the first redundant coding version in a first wireless frame to send to the receiving device; when a negative response to the first wireless frame is received from the receiving device, taking out a second redundant coding version from the multiple different redundant coding versions from the HARQ cache, carrying the second redundant coding version in another first wireless frame to send to the receiving device; when a confirmation response to the first wireless frame is received from the receiving device or the maximum number of retransmissions is reached, stopping sending the remaining redundant coding versions in the HARQ cache to the receiving device.
[0030] In second aspect, an embodiment of the present application provides a data transmission method, including: receiving a wireless frame from a sending device; if the wireless frame carries a first sequence, decoding the wireless frame using a decoding method corresponding to a HARQ transmission method; if the wireless frame carries a second sequence, decoding the wireless frame using a decoding method corresponding to a non-HARQ transmission method, and the second sequence is different from the first sequence.
[0031] Based on the above scheme, different transmission modes are used to transmit data. For example, HARQ transmission mode can be used for important data, and non-HARQ transmission mode can be used for non-important data, so as to ensure the successful transmission of important data, thereby improving the quality of data transmission, and non-HARQ transmission mode can be used to transmit non-important data, which can reduce transmission overhead compared with HARQ transmission mode. Furthermore, by carrying the first sequence or the second sequence in the wireless frame to distinguish the transmission mode of the wireless frame, the implementation is relatively simple, and no change is required to the existing frame format, thereby improving the practicality of the scheme.
[0032] In a possible implementation method, the decoding mode corresponding to the HARQ transmission mode is Turbo decoding.
[0033] In a possible implementation method, the wireless frame is decoded using a Turbo decoding method, specifically including: when it is determined that the wireless frame carries initially transmitted data corresponding to the first data, the initially transmitted data carried by the wireless frame is decoded; when the decoding fails, the initially transmitted data is stored in a HARQ cache, and the HARQ cache is used to store different redundant coding versions corresponding to the first data that is received from the sending device and fails to be decoded; when it is determined that the wireless frame carries retransmitted data corresponding to the first data, different redundant coding versions corresponding to the first data are obtained from the HARQ cache, and the received retransmitted data is jointly decoded with the different redundant coding versions corresponding to the first data obtained from the HARQ cache.
[0034] In a possible implementation method, after the retransmitted data is successfully decoded, the HARQ buffer is cleared.
[0035] In a possible implementation method, the decoding mode corresponding to the non-HARQ transmission mode is FEC decoding.
[0036] In a possible implementation method, the non-HARQ transmission is a first transmission mode, and the first transmission mode is a transmission mode without a retransmission mechanism.
[0037] Since non-important data is relatively less important, the transmission reliability requirement is not particularly high. In the above scheme, a transmission method without a retransmission mechanism is adopted for non-important data, which is conducive to saving resource overhead.
[0038] In a possible implementation method, the non-HARQ transmission is a second transmission mode, and the second transmission mode is a transmission mode with a retransmission mechanism, and the FEC coded version data corresponding to the non-important data is retransmitted each time.
[0039] Since non-important data is relatively unimportant, the transmission reliability requirement is not particularly high. In the above scheme, a transmission method with a retransmission mechanism is used for non-important data, and the FEC coded version data corresponding to the non-important data is retransmitted each time. The reliability of this transmission method is higher than the reliability of the above transmission method without a retransmission mechanism, but lower than the reliability of the HARQ transmission method corresponding to important data. Based on this scheme, transmission reliability is guaranteed and resource overhead is saved to a certain extent.
[0040] In a possible implementation method, the maximum number of retransmissions corresponding to the second transmission mode is smaller than the maximum number of retransmissions corresponding to the HARQ transmission mode.
[0041] In a possible implementation method, the first sequence and the second sequence are opposite sequences.
[0042] In a possible implementation method, the frame format of the wireless frame includes a long training field and a short training field; the long training field of the wireless frame carries the first sequence, or carries the second sequence; or, the short training field of the wireless frame carries the first sequence, or carries the second sequence.
[0043] Based on the above scheme, by carrying the first sequence or the second sequence on the existing field, the changes to the existing frame format can be reduced. The existing frame format contains a long training field and a short training field. The short training field is used for rough synchronization between the communicating parties, and the long training field is used for precise synchronization and preliminary channel estimation between the communicating parties. Taking the short training field as an example, in the prior art, the communicating parties agree to carry the first sequence in the short training field of the existing frame format, and the sending device carries the first sequence in the short training field. When the receiving device can correctly parse and obtain the first sequence, the rough synchronization of the sending and receiving parties can be achieved. On this basis, the above scheme of the present application adds a second sequence, which is different from the first sequence, and optionally, the two are opposite sequences. Therefore, the sending device can carry the first sequence or the second sequence in the short training field. When the receiving device can correctly parse and obtain the first sequence or obtain the second sequence, the rough synchronization of the sending and receiving parties can be achieved. At the same time, the receiving device can also determine that: when the first sequence is correctly parsed, it indicates that the current wireless frame is sent using the HARQ transmission mode, and when the second sequence is correctly parsed, it indicates that the current wireless frame is sent using a non-HARQ transmission mode (such as a pre-agreed first transmission mode or a second transmission mode). In another example, when the long training field is used to implement the above-mentioned synchronization and transmission mode indication functions, its implementation principle is similar to that of the short training field and will not be repeated.
[0044] In a possible implementation method, the frame format is a non-HT format PPDU format or a HT mixed format.
[0045] In one possible implementation method, feedback information for the wireless frame is sent to the sending device using pre-scheduled time-frequency resources, and the feedback information is a confirmation response or a negative response; or, the feedback information is sent to the sending device using first time-frequency resources, and the first time-frequency resources are the time-frequency resources occupied by the wireless frame to be sent to the sending device; or, the feedback information is sent to the sending device using re-applied time-frequency resources.
[0046] In one possible implementation method, the pre-scheduled time-frequency resources are preferentially used to send feedback information for the wireless frame to the sending device; if the pre-scheduled time-frequency resources are not available, the first time-frequency resources are preferentially used to send the feedback information to the sending device; if both the pre-scheduled time-frequency resources and the first time-frequency resources are not available, the re-applied time-frequency resources are used to send the feedback information to the sending device.
[0047] Based on this method, there are multiple methods for sending feedback information. When one method cannot be used, other sending methods can be used, thereby ensuring the success rate of sending feedback information. At the same time, since the pre-scheduled time-frequency resources are used first, followed by the first time-frequency resources, and then the re-applied time-frequency resources, it can be ensured that when feedback information needs to be sent, the corresponding time-frequency resources can be obtained in time, thereby ensuring the rapidity of sending feedback information and helping to improve transmission performance.
[0048] In a third aspect, an embodiment of the present application provides a sending device, which has the function of implementing the above-mentioned first aspect or each implementation method of the first aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions.
[0049] In a fourth aspect, an embodiment of the present application provides a receiving device, which has the function of implementing the second aspect or each implementation method of the second aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0050] In a fifth aspect, an embodiment of the present application provides a sending device, comprising a processor and a transmission interface, wherein the processor is configured to call software instructions stored in a memory to execute the above-mentioned first aspect, or any implementation method of the first aspect.
[0051] In a sixth aspect, an embodiment of the present application provides a receiving device, comprising a processor and a transmission interface; the processor is configured to call software instructions stored in a memory to execute the second aspect above, or any implementation method of the second aspect.
[0052] In a seventh aspect, an embodiment of the present application provides a sending device, comprising a unit or means for executing each step of the above-mentioned first aspect, or any implementation method of the first aspect.
[0053] In an eighth aspect, an embodiment of the present application provides a receiving device, comprising a unit or means for executing each step of the above-mentioned second aspect, or any implementation method of the second aspect.
[0054] In a ninth aspect, an embodiment of the present application provides a sending device, including a processor and an interface circuit, wherein the processor is used to communicate with other devices through the interface circuit and execute the first aspect or any implementation method of the first aspect. The processor includes one or more.
[0055] In a tenth aspect, an embodiment of the present application provides a receiving device, including a processor and an interface circuit, wherein the processor is used to communicate with other devices through the interface circuit and execute the second aspect or any implementation method of the second aspect. The processor includes one or more.
[0056] In the eleventh aspect, an embodiment of the present application also provides a computer-readable storage medium, which includes a computer program. When the computer program runs on a computer or a processor, the computer or the processor executes the above-mentioned first aspect, the second aspect, any implementation method of the first aspect, or any implementation method of the second aspect.
[0057] In the twelfth aspect, an embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program runs on a computer or a processor, it enables the computer or the processor to execute the above-mentioned first aspect, the second aspect, any implementation method of the first aspect, or any implementation method of the second aspect.
[0058] In the thirteenth aspect, the embodiment of the present application also provides a communication system, including a sending device and a receiving device. The sending device is used to send important data of a media data frame to a receiving device using a HARQ transmission method, and the important data of the media data frame includes a basic part of the media data frame; after the important data of the media data frame is successfully sent, the non-HARQ transmission method is used to send the non-important data of the media data frame to the receiving device, and the non-important data of the media data frame includes an enhanced part of the media data frame. The receiving device is used to receive a wireless frame from the sending device; if the wireless frame carries a first sequence, the wireless frame is decoded using a decoding method corresponding to the HARQ transmission method; if the wireless frame carries a second sequence, the wireless frame is decoded using a decoding method corresponding to the non-HARQ transmission method, and the second sequence is different from the first sequence. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] FIG. 1( a ) is a schematic diagram of a network architecture applicable to an embodiment of the present application;
[0060] FIG1( b ) is a schematic diagram of a protocol structure provided in an embodiment of the present application;
[0061] FIG1( c ) is a schematic diagram of a device structure provided in an embodiment of the present application;
[0062] FIG1( d ) is a hardware architecture diagram of an exemplary data transmission device provided in an embodiment of the present application;
[0063] Figure 2 A schematic diagram of a data transmission method provided in an embodiment of the present application;
[0064] Figure 3 This is a schematic diagram of the sending time window;
[0065] Figure 4 A schematic diagram of a HARQ buffer of a transmitting device;
[0066] Figure 5 A schematic diagram of another data transmission method provided in an embodiment of the present application;
[0067] FIG6( a ) is a schematic diagram of a format of a Wi-Fi wireless frame;
[0068] FIG6( b ) is a schematic diagram of another format of a Wi-Fi wireless frame;
[0069] FIG. 7( a ) is a schematic diagram of another data transmission method provided in an embodiment of the present application;
[0070] FIG7( b ) is a schematic diagram of another data transmission method provided in an embodiment of the present application;
[0071] Figure 8 A schematic diagram of a sending device provided in an embodiment of the present application;
[0072] Fig. 9 A schematic diagram of a receiving device provided in an embodiment of the present application;
[0073] Fig.10 A schematic diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0074] As shown in Fig. 1(a), it is a schematic diagram of a network architecture applicable to an embodiment of the present application, including at least one terminal device and an access device. The terminal device communicates with the access device via a wireless interface.
[0075] Terminal device is a device with wireless transceiver function, which can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; it can also be deployed on the water (such as ships, etc.); it can also be deployed in the air (such as airplanes, balloons and satellites, etc.). The terminal device can be a smart phone, a tablet computer (pad), a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a user equipment (UE) smart TV and display screen, etc.
[0076] Access equipment is a device that provides wireless communication functions for terminal devices. Access equipment includes but is not limited to: radio network controller (RNC), home base station, mobile switching center, Wireless Fidelity (Wi-Fi) equipment, etc.
[0077] The sending device of the embodiment of the present application is a terminal device in Figure 1(a), and the receiving device is another terminal device in Figure 1(a). For example, when a user wants to project the content on a device with a smaller screen (such as a smart phone) to a device with a larger screen (such as a smart TV or display screen) for display, the smart phone can be the sending device, and the smart TV or display screen can be the receiving device.
[0078] The embodiments of the present application can be applied to a variety of application scenarios, such as a user receiving media data from an application server (i.e., a sending device) through a display device (i.e., a receiving device), so that the user can watch videos, listen to audio, etc. For another example, a user projects the screen of a small-screen device (i.e., a sending device) to a large-screen display device (i.e., a receiving device) for display, and so on.
[0079] Taking the above-mentioned application scenario of screen projection display as an example, with the launch of smart large screens, more and more consumers hope to be able to project the content on smaller screen devices such as mobile phones, portable computers or tablets to large screens through multi-screen interaction technology, so as to get a better viewing experience. From the perspective of multi-screen interaction functions, it includes the following three modes: a) Content sharing mode: that is, multi-screen interaction is achieved by sharing media content or media content links between different devices; b) Screen sharing mode: that is, multi-screen interaction is achieved by sharing the system screen or the screen within the application between different devices; c) Remote control mode: that is, controlling another device through one device to achieve interaction between multiple screens.
[0080] For these three multi-screen interaction methods, the International Organization for Standardization and various industry alliances have defined a variety of implementation solutions. For example, one solution is the technical solution developed by the Digital Living Network Alliance (DLNA), which is based on the Universal Plug and Play (UPnP) protocol cluster. The UPnP protocol cluster is an open system based on protocols such as the Transmission Control Protocol / Internet Protocol (TCP / IP), the User Datagram Protocol (UDP), and the HyperText Transfer Protocol Secure (HTTP). For another example, another solution is Miracast multi-screen interaction technology. This technology is a project for Wi-Fi to achieve product certification for Wi-Fi Display technology. Wi-Fi Display is a standard developed by the Wi-Fi Alliance. This technology is based on point-to-point (P2P) Wi-Fi transmission based on the media access control (MAC) layer. Devices that support this standard can share video images wirelessly. For example, a mobile phone can use Miracast to play videos or photos directly on a TV or other device without being affected by connecting cables.
[0081] The underlying wireless transmission technology of the above-mentioned technologies all uses Wi-Fi technology, that is, Wi-Fi is used as the underlying link. In the multi-screen interactive scenario, the terminal device and the display device are required to be synchronized in real time, and the bit rate requirement is very high. Therefore, how to improve the picture quality on the display screen is currently an urgent problem to be solved.
[0082] As shown in Figure 1(b), it is a schematic diagram of a protocol structure provided in an embodiment of the present application. When a terminal device (taking a mobile phone as an example) and a display device (taking a TV as an example) perform multi-screen interaction, the network transmission has a three-layer structure, including a network layer, a data link layer, and a physical layer. In an embodiment of the present application, the importance of the data to be transmitted can be indicated at the data link layer. If it is judged to be important data, the physical layer is instructed to use the HARQ transmission method for transmission to improve the reliability and anti-interference of the data. If it is judged to be unimportant data, the physical layer is instructed to use a non-HARQ transmission method (such as the first transmission method or the second transmission method) for transmission.
[0083] As shown in Figure 1 (c), it is a schematic diagram of a device structure provided in an embodiment of the present application. The device 200 can be used as a sending device or as a receiving device. The device 200 includes: an application processor 201, a microcontroller unit (MCU) 202, a memory 203, a modem 204, a radio frequency (RF) module 205, a Wi-Fi module 206, a Bluetooth module 207, a sensor 208, an input / output (I / O) device 209, a positioning module 210 and other components. These components can communicate via one or more communication buses or signal lines. The aforementioned communication bus or signal line may be a CAN bus provided in the present application. It will be appreciated by those skilled in the art that the device 200 may include more or fewer components than shown, or combine certain components, or arrange different components.
[0084] The following is a detailed introduction to the various components of the device 200 in conjunction with FIG. 1( c ):
[0085] The application processor 201 is the control center of the device 200, and uses various interfaces and buses to connect various components of the device 200. In some embodiments, the processor 201 may include one or more processing units.
[0086] The memory 203 stores computer programs, such as the operating system 211 and the application 212 shown in FIG. 1( c ). The application processor 201 is configured to execute the computer program in the memory 203 , so as to implement the functions defined by the computer program, for example, the application processor 201 executes the operating system 211 to implement various functions of the operating system on the device 200 . The memory 203 also stores other data besides the computer program, such as data generated during the operation of the operating system 211 and the application 212 . The memory 203 is a non-volatile storage medium, generally including internal memory and external memory. The internal memory includes, but is not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), or cache, etc. The external memory includes, but is not limited to, flash memory, hard disk, optical disk, universal serial bus (Universal Serial Bus, USB) disk, etc. The computer program is usually stored in the external memory, and the processor loads the program from the external memory to the internal memory before executing the computer program.
[0087] The memory 203 may be independent and connected to the application processor 201 via a bus; the memory 203 may also be integrated with the application processor 201 into a chip subsystem.
[0088] MCU 202 is a coprocessor for acquiring and processing data from sensor 208. The processing power and power consumption of MCU 202 are less than those of application processor 201, but it has the feature of "always on". It can continuously collect and process sensor data when application processor 201 is in sleep mode, and ensure the normal operation of the sensor with extremely low power consumption. In one embodiment, MCU 202 can be a sensor hub chip. Sensor 208 can include a light sensor and a motion sensor. Specifically, the light sensor can include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of display 2091 according to the brightness of the ambient light, and the proximity sensor can turn off the power of the display screen when the device 200 moves to the ear. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary; sensor 208 can also include other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc., which will not be repeated here. The MCU 202 and the sensor 208 may be integrated into the same chip, or may be separate components connected via a bus.
[0089] Modem 204 and radio frequency module 205 constitute the communication subsystem of device 200, which is used to implement the main functions of the wireless communication standard protocol. Among them, modem 204 is used for encoding and decoding, modulation and demodulation of signals, equalization, etc. Radio frequency module 205 is used for receiving and sending wireless signals, and radio frequency module 205 includes but is not limited to antenna, at least one amplifier, coupler, duplexer, etc. Radio frequency module 205 cooperates with modem 204 to implement wireless communication functions. Modem 204 can be used as a separate chip, or it can be combined with other chips or circuits to form a system-level chip or integrated circuit. These chips or integrated circuits can be applied to all devices that implement wireless communication functions, including: mobile phones, computers, notebooks, tablets, routers, wearable devices, cars, home appliances, etc.
[0090] The device 200 can also use Wi-Fi module 206, Bluetooth module 207, etc. for wireless communication. The Wi-Fi module 206 is used to provide network access that complies with Wi-Fi related standard protocols for the device 200. The device 200 can access the Wi-Fi access point through the Wi-Fi module 206 to access the Internet. In some other embodiments, the Wi-Fi module 206 can also be used as a Wi-Fi wireless access point to provide Wi-Fi network access for other devices. The Bluetooth module 207 is used to implement short-range communication between the device 200 and other devices (such as mobile phones, smart watches, etc.). The Wi-Fi module 206 in the embodiment of the present application can be an integrated circuit or a Wi-Fi chip, etc., and the Bluetooth module 207 can be an integrated circuit or a Bluetooth chip, etc.
[0091] The positioning module 210 is used to determine the geographic location of the device 200. It is understandable that the positioning module 210 can specifically be a receiver of a positioning system such as a global positioning system (GPS) or a Beidou satellite navigation system or a Russian GLONASS.
[0092] The Wi-Fi module 206, the Bluetooth module 207 and the positioning module 210 can be separate chips or integrated circuits, or they can be integrated together. For example, in one embodiment, the Wi-Fi module 206, the Bluetooth module 207 and the positioning module 210 can be integrated into the same chip. In another embodiment, the Wi-Fi module 206, the Bluetooth module 207, the positioning module 210 and the MCU 202 can also be integrated into the same chip.
[0093] The input / output device 209 includes but is not limited to: a display 2091 , a touch screen 2092 , and an audio circuit 2093 and the like.
[0094] The touch screen 2092 can collect touch events of the user of the device 200 on or near it (for example, the user uses a finger, a stylus, or any other suitable object on or near the touch screen 2092), and send the collected touch events to other devices (for example, the application processor 201). The user's operation near the touch screen 2092 can be called floating touch; through floating touch, the user can select, move, or drag the object (for example, an icon, etc.) without directly touching the touch screen 2092. In addition, the touch screen 2092 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave.
[0095] The display (also referred to as a display screen) 2091 is used to display information input by a user or information presented to a user. The display may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The touch screen 2092 may be overlaid on the display 2091. When the touch screen 2092 detects a touch event, it is transmitted to the application processor 201 to determine the type of the touch event, and then the application processor 201 may provide a corresponding visual output on the display 2091 according to the type of the touch event. Although in FIG. 1(c), the touch screen 2092 and the display 2091 are implemented as two independent components to implement the input and output functions of the device 200, in some embodiments, the touch screen 2092 and the display 2091 may be integrated to implement the input and output functions of the device 200. In addition, the touch screen 2092 and the display 2091 may be configured in the form of a full panel on the front of the device 200 to implement a frameless structure.
[0096] The audio circuit 2093, the speaker 2094, and the microphone 2095 can provide an audio interface between the user and the device 200. The audio circuit 2093 can transmit the electrical signal converted from the received audio data to the speaker 2094, which is converted into a sound signal for output; on the other hand, the microphone 2095 converts the collected sound signal into an electrical signal, which is received by the audio circuit 2093 and converted into audio data, and then the audio data is sent to another device through the modem 204 and the radio frequency module 205, or the audio data is output to the memory 203 for further processing.
[0097] In addition, the device 200 may also have a fingerprint recognition function. For example, a fingerprint acquisition device may be configured on the back of the device 200 (e.g., below the rear camera), or a fingerprint acquisition device may be configured on the front of the device 200 (e.g., below the touch screen 2092). For another example, a fingerprint acquisition device may be configured in the touch screen 2092 to implement the fingerprint recognition function, that is, the fingerprint acquisition device may be integrated with the touch screen 2092 to implement the fingerprint recognition function of the device 200. In this case, the fingerprint acquisition device is configured in the touch screen 2092, may be a part of the touch screen 2092, or may be configured in the touch screen 2092 in other ways. The main component of the fingerprint acquisition device in the embodiment of the present application is a fingerprint sensor, which may use any type of sensing technology, including but not limited to optical, capacitive, piezoelectric or ultrasonic sensing technology.
[0098] Furthermore, the operating system 211 carried by the device 200 may be Or other operating systems, the embodiments of the present application do not impose any limitations on this.
[0099] To carry Taking the device 200 with an operating system as an example, the device 200 can be logically divided into a hardware layer, an operating system 211, and an application layer. The hardware layer includes hardware resources such as the application processor 201, MCU 202, memory 203, modem 204, Wi-Fi module 206, sensor 208, and positioning module 210 as described above. The application layer includes one or more application programs, such as application 212, which can be any type of application program such as a social application, an e-commerce application, a browser, etc. The operating system 211, as a software middleware between the hardware layer and the application layer, is a computer program that manages and controls hardware and software resources.
[0100] In one embodiment, the operating system 211 includes a kernel, a hardware abstraction layer (HAL), libraries and runtime, and a framework. The kernel is used to provide underlying system components and services, such as power management, memory management, thread management, hardware drivers, etc.; hardware drivers include Wi-Fi drivers, sensor drivers, positioning module drivers, etc. The hardware abstraction layer is an encapsulation of the kernel driver, providing an interface to the framework and shielding the implementation details of the lower layer. The hardware abstraction layer runs in the user space, while the kernel driver runs in the kernel space.
[0101] The library and runtime are also called runtime libraries, which provide the required library files and execution environment for the executable program at runtime. In one embodiment, the library and runtime include Android runtime (ART), library, and scene package runtime. ART is a virtual machine or virtual machine instance that can convert the bytecode of an application into machine code. The library is a program library that provides support for the executable program at runtime, including a browser engine (such as webkit), a script execution engine (such as JavaScript engine), a graphics processing engine, etc. The scene package runtime is the operating environment of the scene package, mainly including a page execution environment (page context) and a script execution environment (script context), wherein the page execution environment parses page codes in formats such as html and css by calling the corresponding library, and the script execution environment parses and executes codes or executable files implemented in scripting languages such as JavaScript by calling the corresponding function library.
[0102] The framework is used to provide various basic common components and services for the application programs in the application layer, such as window management, location management, etc. In one embodiment, the framework includes a geo-fence service, a policy service, a notification manager, etc.
[0103] The functions of the various components of the operating system 211 described above can be implemented by the application processor 201 executing the program stored in the memory 203 .
[0104] Those skilled in the art may understand that the device 200 may include fewer or more components than those shown in FIG. 1( c ), where the device 200 only includes components that are more relevant to the multiple implementations disclosed in the present application.
[0105] As shown in FIG1(d), a hardware architecture diagram of an exemplary data transmission device provided in an embodiment of the present application is provided. The data transmission device 300 can also be used for a sending device or a receiving device. The data transmission device 300 can be, for example, a processor chip, and the device 300 includes: at least one CPU, a memory, a microcontroller unit (MCU), a GPU, an NPU, a memory bus, a receiving interface, and a sending interface. Although not shown in FIG1(d), the device 300 can also include an application processor (AP), a decoder, and a dedicated video or image processor.
[0106] The above-mentioned parts of the device 300 are coupled through a connector. Exemplarily, the connector includes various interfaces, transmission lines or buses, etc. These interfaces are usually electrical communication interfaces, but may also be mechanical interfaces or other forms of interfaces, which are not limited in this embodiment.
[0107] Optionally, the CPU can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor; Optionally, the CPU can be a processor group consisting of multiple processors, and the multiple processors are coupled to each other through one or more buses. The receiving interface can be an interface for data input of a processor chip. In an optional case, the receiving interface and the sending interface can be a High Definition Multimedia Interface (HDMI), a V-By-One interface, an Embedded Display Port (eDP), a Mobile Industry Processor Interface (MIPI) or a Display Port (DP), etc.
[0108] In one optional case, the above-mentioned parts are integrated on the same chip; in another optional case, the CPU, GPU, decoder, receiving interface and sending interface are integrated on one chip, and the various parts inside the chip access the external memory through the bus. The dedicated video / graphics processor can be integrated on the same chip as the CPU, or it can exist as a separate processor chip. For example, the dedicated video / graphics processor can be a dedicated ISP. In an optional case, the NPU can also be used as an independent processor chip. The NPU is used to implement various neural network or deep learning related operations.
[0109] The chip involved in the embodiments of the present application is a system manufactured on the same semiconductor substrate using an integrated circuit process, also called a semiconductor chip, which can be a collection of integrated circuits formed on a substrate (usually a semiconductor material such as silicon) using an integrated circuit process, and its outer layer is usually encapsulated by a semiconductor packaging material. The integrated circuit may include various functional devices, each of which includes transistors such as logic gate circuits, metal oxide semiconductor (MOS) transistors, bipolar transistors or diodes, and may also include other components such as capacitors, resistors or inductors. Each functional device can work independently or under the action of necessary driver software, and can realize various functions such as communication, calculation, or storage.
[0110] To achieve high-quality transmission of media data between a sending device (such as the above-mentioned terminal device) and a receiving device (such as the above-mentioned display device), Figure 2 As shown, an embodiment of the present application provides a data transmission method, which is executed by a sending side, such as a sending device or a chip used for a sending device.
[0111] The method comprises the following steps:
[0112] Step 201: important data of a media data frame is sent to a receiving device using a hybrid automatic repeat request (HARQ) transmission mode.
[0113] Step 202: After the important data of the media data frame is successfully sent, the non-important data of the media data frame is sent to the receiving device in a non-HARQ transmission mode.
[0114] Among them, the important data of the media data frame includes the basic part of the media data frame and / or the encoding parameters corresponding to the media data frame. The non-important data of the media data frame includes the enhanced part in the media data frame. Among them, the media data frame can be an image, or a piece of audio, etc. For example, when the media data frame is an image, the important data of the media data frame can include the outline information of the image, the character action information, the basic shape information of the image, the encoding parameters of the media data frame, etc., and the non-important data of the media data frame can include the image color data, the image detail data, etc. It should be understood that in an optional case, the entire I frame in the media stream can be considered to be important data. I frame represents a key frame, and I frame can also be called an intra picture or an intra-frame coded frame. It is an independent frame with all its own information. It can be encoded independently without referring to other images. When decoding, only the data of the I frame can be used to reconstruct the complete image.
[0115] Based on the above scheme, the data of the media data frame is divided into important data and unimportant data. After the important data is successfully sent, the unimportant data is sent. In this way, on the one hand, the important data is sent first, and the successful sending of the important data can be guaranteed by the HARQ transmission method, thereby improving the quality of data transmission. On the other hand, for unimportant data, the non-HARQ transmission method is used for transmission, which can reduce the transmission overhead compared with the HARQ transmission method.
[0116] As an implementation method, in an embodiment of the present application, the maximum duration for sending a media data frame can be preconfigured, so each media data frame corresponds to a sending time window, and the media data frame can be sent within the sending time window. If the sending time window is exceeded, it will no longer be sent to the media data frame. The length of the sending time window is the maximum duration allowed for sending important data of the media data frame and non-important data of the media data frame. Among them, the duration occupied by the important data of the sending media data frame does not exceed the length of the sending time window. In order to ensure the successful sending of the important data in the media data frame as much as possible, the maximum sending duration of the important data can be equal to the length of the sending time window. The duration of the sending time window corresponding to each media data frame can be the same or different.
[0117] For example, if the media data frame to be sent is sent in the first sending time window, the above step 201 may specifically be: sending important data of the media data frame in the first sending time window using the HARQ transmission method. The above step 202 may specifically be: after the important data of the media data frame is successfully sent, sending non-important data in the remaining time of the first sending time window, where the remaining time is the remaining time after the important data of the media data frame is successfully sent in the first sending time window.
[0118] Optionally, if the important data of the media data frame is not sent successfully within the first sending time window, the important data of the media data frame is stopped from being sent to the receiving device, and the non-important data of the media data frame is stopped from being sent to the receiving device. That is, the sending of the media data frame fails. Since the important data of the media data frame cannot be sent successfully, there is no need to send the non-important data of the media data frame, which can save resources.
[0119] Optionally, if the important data of the media data frame is successfully sent within the first sending time window, but the remaining duration of the first sending time window is not enough to send the non-important data of the media data frame, then stop sending the non-important data of the media data frame to the receiving device. That is, after the important data is successfully guaranteed, if the duration of the first sending time window is not enough to send the non-important data, then the sending of the non-important data is abandoned. Based on this method, although all the data of the media data frame cannot be sent to the receiving device, at least the sending of the important data of the media data frame is guaranteed, so the quality of data transmission can also be improved, thereby improving the user experience.
[0120] like Figure 3 As shown, it is a schematic diagram of the transmission time window. Assume that the length of the first transmission time window is 10 milliseconds (ms) (calculated from the 0th ms). One data transmission takes 3ms, wherein one data transmission includes sending data and receiving feedback information for the data from the receiving device (which can be a positive acknowlegment (ACK) or a negative acknowlegment (NACK)). The maximum number of retransmissions of HARQ retransmissions of important data is preset to 3 times.
[0121] For example, after important data is first sent at 0 ms, a confirmation response is received, indicating that the important data is successfully decoded by the receiving device, and the sending device starts sending non-important data from 3 ms of the first sending time window.
[0122] For another example, if a negative response is received after the important data is sent for the first time at 0ms, indicating that the important data has not been successfully decoded by the receiving device, the sending device continues to send the important data from the 3ms of the first sending time window, that is, performs HARQ retransmission. If a confirmation response is received after the important data is sent for the second time, indicating that the important data is successfully decoded by the receiving device, the sending device starts to send non-important data from the 6ms of the first sending time window.
[0123] For another example, if a negative response is received after the important data is sent for the first time at 0ms, it indicates that the important data has not been successfully decoded by the receiving device, and the sending device continues to send the important data from the 3ms of the first sending time window, that is, performs HARQ retransmission. If a negative response is received after the important data is sent for the second time, it indicates that the important data has not been successfully decoded by the receiving device, and the sending device continues to send the important data from the 6ms of the first sending time window. If a confirmation response is received after the important data is sent for the third time, it indicates that the important data is successfully decoded by the receiving device, that is, the important data is sent successfully, but the remaining time (that is, 1ms) is not enough to send non-important data, and the sending of non-important data is abandoned. If a negative response is received after the important data is sent for the third time, it indicates that the important data has not been successfully decoded by the receiving device, that is, the important data has failed to be sent. Due to the failure to send the important data, the sending of non-important data is abandoned.
[0124] Exemplarily, the source end (such as a data link layer, etc.) of a sending device obtains a media data frame to be transmitted, and then divides the media data frame into important data and unimportant data. For important data, when the source end sends a data packet carrying the important data to the channel end (such as a physical layer), the source end also carries a first indication information in the data packet, and the first indication information is used to indicate that the data packet carries important data, so that the channel end will use the HARQ transmission method to send the important data to the receiving device. For unimportant data, when the source end sends a data packet carrying the unimportant data to the channel end (such as a physical layer), the source end also carries a second indication information in the data packet, and the second indication information is used to indicate that the data packet carries unimportant data, so that the channel end will use the non-HARQ transmission method to send the unimportant data to the receiving device. The first indication information is different from the second indication information.
[0125] The HARQ transmission mode and the non-HARQ transmission mode in the above embodiment are described below.
[0126] 1. HARQ transmission method
[0127] The channel end of the sending device can send important data of the media data frame to be transmitted to the receiving device through one or more first wireless frames according to the current resource scheduling situation.
[0128] For example, if the important data of the media data frame to be transmitted is 1200 bytes, and the currently scheduled wireless time-frequency resources can be used to transmit 200 bytes of data, the channel end of the sending device can perform channel coding (such as Turbo coding) on the first 200 bytes of the important data to obtain N different redundant coding versions of the 200 bytes of data, and then store the multiple different redundant coding versions in the HARQ cache. Where N is the number of redundant coding versions, and N is a positive integer.
[0129] Subsequently, after the above 200 bytes of data are successfully transmitted, or the maximum number of retransmissions is reached but the transmission is still unsuccessful, the channel end of the transmitting device can clear the above HARQ cache, and then continue to transmit the other parts of the above important data according to the currently scheduled wireless time-frequency resources. For example, if the currently scheduled wireless time-frequency resources can be used to transmit 400 bytes of data, the channel end of the transmitting device can perform channel coding (such as using Turbo coding) on bytes 201 to 600 (a total of 400 bytes) of the important data to obtain N different redundant coding versions, and then store the multiple different redundant coding versions in the HARQ cache.
[0130] In this way, a data frame can be encapsulated into a first radio frame through one resource scheduling and sent to a receiving device. Alternatively, a data frame can be encapsulated into multiple first radio frames through multiple resource scheduling and sent to a receiving device in multiple times.
[0131] The following takes the above 200-byte data as an example to describe the specific process of sending through the HARQ transmission mode. Figure 4 As shown, it is a schematic diagram of HARQ buffer. Here, the implementation of HARQ buffer by queue mode is taken as an example. The 200-byte data is Turbo-encoded to obtain N different redundant coding versions (respectively D1, D2, ..., DN) and stored in the HARQ buffer. When the 200-byte data needs to be sent, the channel end of the sending device takes out D1 from the HARQ buffer, encapsulates it into the first radio frame, and then sends the first radio frame to the receiving device. If a confirmation response for the first radio frame is received from the receiving device, it means that the receiving device successfully decodes D1, and the 200-byte data is sent successfully. If a negative response for the first radio frame is received from the receiving device, it means that the receiving device fails to successfully decode D1, then the channel end of the sending device takes out D2 from the HARQ buffer, encapsulates it into the first radio frame, and then sends the first radio frame to the receiving device. And so on, until a confirmation response for the first radio frame is received from the receiving device, indicating that the 200 bytes are sent successfully. Or if no confirmation response is received after all N redundant coding versions are sent, it means that the 200 bytes have failed to be sent.
[0132] After the 200 bytes are successfully sent, the HARQ buffer on the sending device needs to be cleared so that the HARQ buffer can be used to send other bytes of data in the important data.
[0133] 2. Non-HARQ transmission mode
[0134] As examples, the embodiments of the present application provide specific implementation methods of two non-HARQ transmission modes.
[0135] In one implementation method, non-HARQ transmission is the first transmission mode, and the first transmission mode is a transmission mode without a retransmission mechanism. For example, for non-important data of the media data frame to be transmitted, since the non-important data is large, it needs to be encapsulated into multiple second wireless frames through multiple resource scheduling for transmission, then each second wireless frame corresponding to the non-important data is only sent once. Compared with the above-mentioned HARQ retransmission method, this method occupies fewer time-frequency resources, but the reliability of data transmission is not as good as the HARQ retransmission method.
[0136] In another implementation method, non-HARQ transmission is the second transmission mode, and the second transmission mode is a transmission mode with a retransmission mechanism, and the forward error correction (FEC) coded version of the data corresponding to the non-important data is retransmitted each time. The second transmission mode and the above-mentioned HARQ transmission mode are both transmission modes with a retransmission mechanism, but the biggest difference is that: in the second transmission mode, for the data to be transmitted, each time it is transmitted (including initial transmission and retransmission), the coding version of the data is the same, that is, FEC coding is used, while in the above-mentioned HARQ transmission mode, for the data to be transmitted, each time it is transmitted (including initial transmission and retransmission), the coding version of the data is a different redundant coding version. Since in the second transmission mode, the coding version of the retransmitted data received by the receiving device each time is the same, joint decoding cannot be achieved during decoding, and therefore there is no decoding gain compared to the HARQ transmission mode. However, the advantage of the second transmission mode is that for the retransmission frame carrying the retransmission data, the second transmission mode only needs to decode the retransmission data, and does not need to obtain the previously decoded data from the HARQ cache like the decoding mode corresponding to the HARQ transmission mode, and then perform joint decoding based on the newly received retransmission data and the data obtained from the HARQ cache, so the single decoding of the decoding mode corresponding to the second transmission mode is faster than the single decoding of the decoding mode corresponding to the HARQ transmission mode. Optionally, the maximum number of retransmissions corresponding to the second transmission mode is less than the maximum number of retransmissions corresponding to the HARQ transmission mode.
[0137] The above is a comparative description of the HARQ transmission mode and the non-HARQ transmission mode.
[0138] As an implementation method, in order to enable a receiving device to identify whether a received radio frame (such as the first radio frame or the second radio frame) carries important data or non-important data, or in order to enable a receiving device to identify whether a received radio frame (such as the first radio frame or the second radio frame) adopts a HARQ transmission mode or a non-HARQ transmission mode, exemplarily, a channel end of a transmitting device may carry a first sequence in a first radio frame and a second sequence in a second radio frame, and the first sequence and the second sequence are different sequences. Optionally, the first sequence and the second sequence are opposite sequences. Thus, when a receiving device receives a radio frame from a transmitting device, if it is determined that the radio frame carries the first sequence, it is determined that the radio frame carries important data, or that the radio frame is transmitted using the HARQ transmission mode, and if it is determined that the radio frame carries the second sequence, it is determined that the radio frame carries non-important data, or that the radio frame is transmitted using a non-HARQ transmission mode (which may be preconfigured as the first transmission mode or the second transmission mode).
[0139] The first sequence is used to indicate that the first radio frame is sent using the HARQ transmission mode, or to indicate that the first radio frame carries important data. The second sequence is used to indicate that the second radio frame is sent using the non-HARQ transmission mode, or to indicate that the second radio frame carries non-important data.
[0140] As an example, the first radio frame and the second radio frame have the same frame format, and the frame format includes a long training field and a short training field. For example, the frame format is a non-high-throughput format (non-HT format) physical layer protocol data unit (physical protocol data unit, PPDU) format, or a high-throughput mixed format (high-throughput mixed format, HT mixed format).
[0141] In one implementation method, the long training field of the first radio frame carries a first sequence, and the long training field of the second radio frame carries a second sequence. Therefore, when a receiving device receives a radio frame, if the long training field of the radio frame carries the first sequence, the receiving device determines that the radio frame carries important data, or determines that the radio frame is transmitted using a HARQ transmission mode; if the long training field of the radio frame carries the second sequence, the receiving device determines that the radio frame carries non-important data, or determines that the radio frame is transmitted using a non-HARQ transmission mode.
[0142] In another implementation method, the short training field of the first radio frame carries the first sequence, and the short training field of the second radio frame carries the second sequence. Therefore, when a receiving device receives a radio frame, if the short training field of the radio frame carries the first sequence, the receiving device determines that the radio frame carries important data, or determines that the radio frame is transmitted using the HARQ transmission mode; if the short training field of the radio frame carries the second sequence, the receiving device determines that the radio frame carries non-important data, or determines that the radio frame is transmitted using the non-HARQ transmission mode.
[0143] To achieve high-quality transmission of media data between the sending device and the receiving device, such as Figure 5 As shown, the embodiment of the present application provides a data transmission method, which is executed by a receiving side, such as a receiving device or a chip for a receiving device. It should be noted that the method embodiment of the receiving side can be implemented in combination with the method embodiment of the sending side.
[0144] The method comprises the following steps:
[0145] Step 501: Receive a wireless frame from a transmitting device.
[0146] Specifically, the channel end (i.e., the physical layer) of the receiving device may receive a wireless frame from the transmitting device. The received wireless frame may be the above-mentioned Figure 2 The first radio frame sent by adopting the HARQ transmission mode described in the embodiment may also be the above Figure 2 The second radio frame described in the embodiment is sent using a non-HARQ transmission mode (ie, a preconfigured first transmission mode or a second transmission mode).
[0147] The wireless frame carries the first sequence or the second sequence. If the wireless frame carries the first sequence, the following step 502 is executed; if the wireless frame carries the second sequence, the following step 503 is executed.
[0148] Exemplarily, a specific manner in which a wireless frame carries the first sequence or the second sequence may be, for example, that the wireless frame includes a random access preamble, and the random access preamble carries the first sequence or the second sequence. Among them, for a Wi-Fi wireless frame, the random access preamble includes a long training field and a short training field, so when the wireless frame carries the first sequence, it may be specifically: the first sequence is carried in a long training field (or a short training field). When the wireless frame carries the second sequence, it may be specifically: the second sequence is carried in a long training field (or a short training field). Among them, the first sequence is different from the second sequence. Optionally, the first sequence and the second sequence are opposite sequences.
[0149] The formats of the first wireless frame and the second wireless frame are described below with reference to a specific example. The first wireless frame and the second wireless frame may be Wi-Fi wireless frames.
[0150] As shown in FIG6(a), it is a schematic diagram of a format of a Wi-Fi wireless frame. The Wi-Fi wireless frame is a non-HT format PPDU. The meaning of each field in the non-HT format PPDU is shown in Table 1.
[0151] Table 1
[0152]
[0153] Based on the wireless frame format shown in FIG6(a) above, STF can be used to carry the first sequence or the second sequence, or LTF can be used to carry the first sequence or the second sequence. When STF is used to carry the first sequence or the second sequence, STF is used for rough synchronization between the communicating parties, and is also used to indicate the transmission mode adopted by the data carried by the wireless frame, or in other words, STF is also used to indicate whether the data carried by the wireless frame is important data or unimportant data. Correspondingly, when LTF is used to carry the first sequence or the second sequence, LTF is used for precise synchronization and preliminary channel estimation between the communicating parties, and is also used to indicate the transmission mode corresponding to the data carried by the wireless frame, or in other words, LTF is also used to indicate whether the data carried by the wireless frame is important data or unimportant data.
[0154] As shown in FIG6(b), it is a schematic diagram of another format of a Wi-Fi wireless frame. The Wi-Fi wireless frame is an HT mixed format PPDU. The meaning of each field of the HT mixed format PPDU is shown in Table 2.
[0155] Table 2
[0156]
[0157] Based on the wireless frame format shown in FIG. 6(b) above, L-STF can be used to carry the first sequence or the second sequence, or L-LTF can be used to carry the first sequence or the second sequence. When L-STF is used to carry the first sequence or the second sequence, L-STF is used for rough synchronization between the communicating parties, and is also used to indicate the transmission mode adopted by the data carried by the wireless frame, or in other words, L-STF is also used to indicate whether the data carried by the wireless frame is important data or unimportant data. Correspondingly, when L-LTF is used to carry the first sequence or the second sequence, L-LTF is used for precise synchronization and preliminary channel estimation between the communicating parties, and is also used to indicate the transmission mode corresponding to the data carried by the wireless frame, or in other words, L-LTF is also used to indicate whether the data carried by the wireless frame is important data or unimportant data.
[0158] Wherein, the first sequence is different from the second sequence. Optionally, the first sequence and the second sequence are opposite sequences.
[0159] Take the LTF of the radio frame format shown in FIG6(a) as an example, which carries the first sequence or the second sequence. As an example, the first sequence carried by the LTF may be:
[0160] L -26,26 ={1,1,-1,-1,1,1,-1,1,-1,1,1,1,1,1,-1,-1,1,1,-1,1,-1,1,-1,1,1,1,1,0,1,
[0161] -1,-1,1,1,-1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,1,-1,-1,1,-1,1,1,1}
[0162] The second sequence carried by the LTF may be, for example:
[0163] L -26,26 ={-1,-1,1,1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,1,-1,-1,
[0164] -1,-1,0,-1,1,1,-1,-1,1,-1,1,-1,1,1,1,1,-1,-1,-1,1,1,1,-1,-1,1,-1,1,-1,-1,-1,-1,-1}
[0165] Step 502: If the radio frame carries the first sequence, the radio frame is decoded using a decoding method corresponding to the HARQ transmission method.
[0166] The specific description of HARQ transmission mode can be referred to Figure 2 Corresponding descriptions in the embodiments. Exemplarily, the decoding mode corresponding to the HARQ transmission mode may be Turbo decoding.
[0167] The decoding method corresponding to the HARQ transmission method is described below.
[0168] In the decoding method corresponding to the HARQ transmission method, there is a HARQ cache on the receiving device, which is empty in the initial state. The HARQ cache is used to store the initial transmission frame or retransmission frame that failed to be decoded by the receiving device. Specifically, when the receiving device receives a retransmission frame of a wireless frame, the receiving device obtains the initial transmission frame or retransmission frame (if any) of the wireless frame that failed to be decoded from the HARQ cache, and then soft-combines the received retransmission frame with the wireless frame obtained from the HARQ cache and jointly decodes them, thereby improving the decoding success rate.
[0169] The decoding method corresponding to the HARQ transmission method is described below with reference to an example.
[0170] For important data to be sent, the sending device stores 10 different redundant coding versions of the important data encoded in the HARQ cache of the sending device, which are X1, X2, X3, X4, X5, X6, X7, X8, X9, and X10, respectively. The redundant coding version of the first transmission is X1. When retransmission is required, it is retransmitted in the order of X2, X3, X4, X5, X6, X7, X8, X9, and X10 until the sending device receives the confirmation response sent by the receiving device and stops sending other redundant coding versions.
[0171] The process of a receiving device receiving a wireless frame from a sending device is, for example:
[0172] First reception (initial transmission): The sending device sends wireless frame 1 (carrying X1) to the receiving device. The receiving device receives wireless frame 1 and decodes X1. If the receiving device fails to decode X1, it stores X1 in the HARQ buffer and sends a negative response to the sending device. At this time, {X1} is stored in the HARQ buffer of the receiving device.
[0173] Second reception (retransmission): The sending device sends wireless frame 2 (carrying X2) to the receiving device. The receiving device receives wireless frame 2, obtains X1 from the HARQ cache, and then soft-combines X1 and X2 for joint decoding. If the receiving device fails to jointly decode X1 and X2, it stores X2 in the HARQ cache and sends a negative response to the sending device. At this time, {X1, X2} is stored in the HARQ cache of the receiving device.
[0174] The third reception (retransmission): The sending device sends wireless frame 3 (carrying X3) to the receiving device. The receiving device receives wireless frame 3, obtains X1 and X2 from the HARQ cache, and then soft-combines X1, X2, and X3 for joint decoding. If the receiving device fails to jointly decode X1, X2, and X3, it stores X3 in the HARQ cache and sends a negative response to the sending device. At this time, {X1, X2, X3} is stored in the HARQ cache of the receiving device;
[0175] Fourth reception (retransmission): The sending device sends wireless frame 4 (carrying X4) to the receiving device. The receiving device receives wireless frame 4, obtains X1, X2 and X3 from the HARQ cache, and then soft-combines X1, X2, X3 and X4 and jointly decodes them. If the receiving device successfully jointly decodes X1, X2, X3 and X4, it clears the HARQ cache and sends a confirmation response to the sending device. Then the sending device also clears the HARQ cache of the sending device.
[0176] Based on the above decoding method, since multiple different redundant coding versions are soft-combined and then jointly decoded, there is a decoding gain, which can improve the decoding success rate, thereby ensuring the success rate of sending important data.
[0177] Step 503: If the radio frame carries the second sequence, the radio frame is decoded using a decoding method corresponding to a non-HARQ transmission method.
[0178] The specific description of the non-HARQ transmission mode (which may be the first transmission mode or the second transmission mode) can be referred to. Figure 2 The relevant description in the corresponding embodiment. Among them, the decoding method corresponding to the non-HARQ transmission method can be FEC decoding.
[0179] For the non-HARQ transmission mode, when decoding a wireless frame, only the coded data of the currently received wireless frame is decoded each time, and joint decoding is not used like the decoding method corresponding to the HARQ transmission mode, so the decoding speed is faster, but the decoding success rate is not as good as the decoding method corresponding to the HARQ transmission mode. For a detailed description of the non-HARQ transmission mode, reference can be made to the description of the non-HARQ transmission mode in the aforementioned transmission side method embodiment, which will not be repeated here.
[0180] Based on the above scheme, different transmission methods are used to transmit data. For example, important data can be transmitted using the HARQ transmission method, and non-important data can be transmitted using the non-HARQ transmission method. This can ensure the successful transmission of important data, thereby improving the quality of data transmission. In addition, non-HARQ transmission methods are used to transmit non-important data, which can reduce transmission overhead compared to the HARQ transmission method.
[0181] As an implementation method, when the receiving device needs to send a confirmation response or a negative response to the received wireless frame to the sending device, the receiving device can select any one of the following methods 1 to 3 to send a confirmation response or a negative response to the sending device:
[0182] Method 1: Use pre-scheduled time and frequency resources to send a confirmation response or a negative response to the sending device.
[0183] The pre-scheduled time-frequency resource may be a time-frequency resource pre-scheduled by an access device (such as a base station, an access point (AC), etc.) for sending a confirmation response or a negative response.
[0184] Method 2: The receiving device sends a confirmation response or a negative response to the sending device using a first time-frequency resource, where the first time-frequency resource is the time-frequency resource occupied by the wireless frame to be sent by the receiving device to the sending device.
[0185] That is, when the receiving device needs to send a confirmation response or a negative response to the sending device, and the receiving device also needs to send a wireless frame to the sending device, the confirmation response or the negative response can be carried in the wireless frame and sent to the sending device. This method does not take up additional overhead. As an example, if the format of the wireless frame to be sent by the receiving device to the sending device is shown in Figure 6 (a) or Figure 6 (b), the confirmation response or the negative response can be carried in the tail field or the padding field of the wireless frame.
[0186] Method 3: The receiving device uses the re-applied time and frequency resources to send a confirmation response or a negative response to the sending device.
[0187] For example, the receiving device may reapply for time and frequency resources from the base station or access point for sending a confirmation response or a negative response.
[0188] As another implementation method, the receiving device may also pre-set priorities for the above methods 1 to 3, for example, the priorities of method 1, method 2, and method 3 are successively lowered, and the receiving device may select a method according to the priorities of the three methods to send a confirmation response or a negative response to the sending device. Specifically, if method 1 can be used, method 1 is used; if method 1 cannot be used but method 2 can be used, method 2 is used; if method 1 and method 2 cannot be used but method 3 can be used, method 3 is used.
[0189] It should be noted that if the above three methods cannot be used, you can give up sending a confirmation response or a negative response, or wait for a set period of time before sending a confirmation response or a negative response. This embodiment of the present application does not limit this.
[0190] It can be understood that, in the above-mentioned method embodiments, the steps or operations implemented by the sending device can also be implemented by components configured in the sending device (such as chips or circuits), and the steps or operations implemented by the receiving device can also be implemented by components configured in the receiving device (such as chips or circuits).
[0191] The data transmission method on the sending device side is described below through a complete flowchart. Referring to FIG. 7( a ), another data transmission method provided in an embodiment of the present application includes the following steps:
[0192] Step 701a, obtaining data to be transmitted.
[0193] The data to be transmitted is important data or non-important data.
[0194] Exemplarily, a source end (such as a data link layer) of a sending device obtains a media data frame to be transmitted, and then divides the media data frame into important data and unimportant data.
[0195] For important data, when the source end sends a data packet carrying the important data to the channel end (such as the physical layer), it also carries first indication information in the data packet. The first indication information is used to indicate that the data packet carries important data, so that the channel end can identify that the data packet carries important data based on the first indication information.
[0196] For non-important data, when the source end sends a data packet carrying the non-important data to the channel end (such as the physical layer), it also carries second indication information in the data packet. The second indication information is used to indicate that the data packet carries non-important data, so that the channel end can identify whether the data packet carries non-important data based on the second indication information.
[0197] After step 701a, the process proceeds to step 702a.
[0198] Step 702a, determining whether to adopt the HARQ transmission mode.
[0199] After receiving the data packet from the source end of the sending device, the channel end of the sending device determines whether the data packet carries important data or unimportant data. If the data packet carries the first indication information, the data in the data packet is important data; if the data packet carries the second indication information, the data in the data packet is unimportant data.
[0200] If it is important data, the channel end uses the HARQ transmission mode to send the important data to the receiving device, that is, the following step 703a is executed.
[0201] If the data is non-important, the non-important data is sent to the receiving device using the first transmission mode or the second transmission mode, that is, the process proceeds to execute the following step 709a.
[0202] It should be noted that, for a media data frame, the important data of the media data frame is first sent successfully according to the method of step 703a to step 708a, and then the non-important data of the media data frame is sent according to the method of step 709a. If the important data fails to be sent, the non-important data is no longer sent.
[0203] The following steps 703a to 708a describe that the channel end of the sending device uses the HARQ transmission method to send important data to the receiving device.
[0204] Step 703a: store important data into the HARQ buffer.
[0205] The channel end of the sending device determines to use the HARQ transmission mode to send the important data to the receiving device, and can send the important data to the receiving device through one or more first wireless frames according to the current resource scheduling situation.
[0206] For example, if the important data to be transmitted is 1200 bytes, and the currently scheduled wireless time-frequency resources can be used to transmit 200 bytes of data, the channel end of the transmitting device can perform channel coding (such as Turbo coding) on the first 200 bytes of the important data to obtain multiple different redundant coding versions of the 200 bytes of data, and then store the multiple different redundant coding versions in the HARQ cache. The number of redundant coding versions can be pre-configured to indicate the maximum number of retransmissions.
[0207] Subsequently, after the above 200 bytes of data are successfully transmitted, or the transmission is still unsuccessful when the maximum number of retransmissions is reached, the channel end of the transmitting device can clear the above HARQ cache, and then continue to transmit the subsequent bytes of the important data according to the currently scheduled wireless time-frequency resources. For example, if the currently scheduled wireless time-frequency resources can be used to transmit 400 bytes of data, the channel end of the transmitting device can channel encode the 201st to 600th bytes (a total of 400 bytes) of the important data to obtain multiple different redundant coded versions of the 400 bytes of data, and then store the multiple different redundant coded versions in the HARQ cache.
[0208] After step 703a, the process proceeds to step 704a.
[0209] Step 704a, taking out important data from the HARQ buffer for transmission.
[0210] The channel end of the transmitting device can retrieve important data from the HARQ buffer for transmission. For example, the channel end of the transmitting device can retrieve one of N different redundant coding versions from the HARQ buffer, and then transmit the retrieved redundant coding version to the channel end of the receiving device through the channel transmission of the physical layer.
[0211] It should be noted that, after one redundant coding version among the N different redundant coding versions is retrieved from the HARQ cache, the retrieved redundant coding version is no longer stored in the HARQ cache.
[0212] As an implementation method, if the HARQ cache caches N different redundant coding versions in the form of a queue, the channel end of the transmitting device can take out the redundant coding version at the head of the queue from the HARQ cache each time for transmission. As another implementation method, if the HARQ cache caches N different redundant coding versions in the form of a hash function, the channel end of the transmitting device can take out a redundant coding version from the HARQ cache each time according to the hash operation for transmission.
[0213] It should be noted that the sending device carries the extracted redundant coding version in a radio frame (referred to as the first radio frame) and sends it to the receiving device.
[0214] After step 704a, the process proceeds to step 705a.
[0215] Step 705a, determine whether a confirmation response is received.
[0216] In the HARQ transmission mode, each time the transmitting device sends a radio frame to the receiving device, it will receive feedback information for the radio frame sent by the receiving device. If the received feedback information is an acknowledgment (ACK), it means that the data in the radio frame has been successfully decoded. If the received feedback information is a negative acknowledgment (NACK), it means that the data in the radio frame has not been successfully decoded.
[0217] When the feedback information received by the sending device from the receiving device for the first wireless frame is a confirmation response, the sending device determines that the receiving device has successfully decoded the data in the first wireless frame, and thus proceeds to execute the following step 707a, i.e., checking whether the important data has been transmitted. If not, continuing to transmit other parts of the important data.
[0218] When the transmitting device receives a negative or positive response to the feedback information for the first radio frame from the receiving device, the transmitting device determines that the receiving device fails to successfully decode the data in the first radio frame, and thus proceeds to perform the following step 706a, ie, attempting to retransmit the data.
[0219] Step 706a, determining whether the maximum number of retransmissions has been reached.
[0220] When data needs to be retransmitted, the sending device must first determine whether the maximum number of retransmissions has been reached.
[0221] If the maximum number of retransmissions is reached, the data will no longer be retransmitted, indicating that the data transmission has failed, that is, the receiving device has not successfully decoded the data, and then go to step 707a, that is, check whether the important data has been transmitted. If not, continue to transmit the other parts of the important data.
[0222] If the maximum number of retransmissions has not been reached, it indicates that retransmission is currently possible, so the process can proceed to step 704a, i.e., taking out important data from the HARQ cache for transmission. It should be noted that the redundant coding version corresponding to the important data taken out from the HARQ cache this time is different from the redundant coding version taken out last time. That is, retransmitting important data means retransmitting a different redundant coding version corresponding to the important data each time.
[0223] Based on this method, when the receiving device fails to decode a redundant coding version corresponding to the received important data, the receiving device can receive other redundant coding versions corresponding to the important data from the sending device, and then soft-merge these redundant coding redundant versions to achieve joint decoding, which can improve the decoding success rate. Therefore, the HARQ transmission has a decoding gain.
[0224] It should be noted that the embodiments of the present application do not limit the implementation method of how to determine whether the number of retransmissions reaches the maximum number of retransmissions.
[0225] As an example, a counter may be set to determine whether the number of retransmissions reaches the maximum number of retransmissions. For example, the initial value of the counter is 0. When a first wireless frame is sent, before sending, it is determined whether the counter is less than the maximum number of retransmissions. If so, a first wireless frame carrying a redundant coded version (which may be an initial transmission or a retransmission) is sent, and then the counter is incremented by 1. If not, the first wireless frame is not allowed to be sent.
[0226] As another example, whether the maximum number of retransmissions has been reached may also be determined by judging whether there are any remaining redundant coding versions in the HARQ buffer. If so, it indicates that the maximum number of retransmissions has not been reached, and the data may be retransmitted; if not, it indicates that the maximum number of retransmissions has been reached, and the data may not be retransmitted.
[0227] Step 707a, determining whether the important data has been transmitted.
[0228] Based on the description in step 703a above, it can be known that an important data may be large and thus needs to be transmitted in multiple times. Therefore, after a portion of the important data is transmitted, it is necessary to determine whether there is any remaining data of the important data that needs to be further transmitted.
[0229] When the sending device determines that the important data transmission is completed, the process ends, indicating that the important data transmission is completed.
[0230] When the sending device determines that the important data has not been completely transmitted, it proceeds to step 708a, ie, clearing the HARQ buffer.
[0231] Step 708a: Clear the HARQ buffer.
[0232] As an implementation method, the sending device first determines whether there is data stored in the HARQ buffer, and if so, erases the HARQ buffer, and if not, does not perform any operation. This method can reduce the number of erasures of the HARQ buffer.
[0233] As another implementation method, the sending device does not determine whether there is data stored in the HARQ buffer, but directly erases the HARQ buffer, thereby clearing the HARQ buffer. This method does not require determining whether there is data in the HARQ buffer.
[0234] After step 708a, go to step 703a. It should be noted that when step 703a is executed next time, other parts of the important data are targeted. For example, in combination with the previous example, an important data has 1200 bytes. When step 703a is executed for the first time, the first 200 bytes of the important data are encoded to obtain multiple different redundant coding versions and stored in the HARQ cache. When step 703a is executed for the second time, the 201st to 600th bytes (400 bytes in total) of the important data are encoded to obtain multiple different redundant coding versions and stored in the HARQ cache.
[0235] The following step 709a describes that the channel end of the sending device uses a non-HARQ transmission mode (specifically, it can be the first transmission mode or the second transmission mode) to send non-important data to the receiving device.
[0236] Step 709a, sending non-important data.
[0237] Exemplarily, when the channel end of the sending device determines that the data to be transmitted is non-important data, the sending device uses a non-HARQ transmission method to send at least one second radio frame corresponding to the non-important data to the receiving device.
[0238] As an example, the non-HARQ transmission mode may be a first transmission mode, which refers to a transmission mode without a retransmission mechanism. As another example, the non-HARQ transmission mode may also be a second transmission mode, which refers to a transmission mode with a retransmission mechanism and a FEC encoding version corresponding to a wireless frame is retransmitted each time.
[0239] For a detailed introduction to the first transmission mode and the second transmission mode, please refer to the description of the aforementioned embodiment and will not be repeated here.
[0240] Through the above scheme, at least one first radio frame corresponding to important data is sent to the receiving device using the HARQ transmission mode, and at least one second radio frame corresponding to non-important data is sent to the receiving device using the non-HARQ transmission mode.
[0241] In order to enable the receiving device to identify whether the received radio frame (such as the first radio frame or the second radio frame mentioned above) adopts the HARQ transmission mode, exemplarily, the channel end of the transmitting device can carry the first sequence in the first radio frame and the second sequence in the second radio frame, and the first sequence and the second sequence are different sequences. Optionally, the first sequence and the second sequence are opposite sequences. Thus, when the receiving device receives a radio frame from the transmitting device, if it is determined that the radio frame carries the first sequence, it is determined that the radio frame is transmitted using the HARQ transmission mode. If it is determined that the radio frame carries the second sequence, it is determined that the radio frame is transmitted using the non-HARQ transmission mode (specifically, it can be the pre-agreed first transmission mode or the second transmission mode). As an example, the first radio frame carries the first sequence, such as: the first radio frame includes a random access preamble, and the random access preamble carries the first sequence. Wherein, when the random access preamble includes a long training field and a short training field, the first sequence can be carried in the long training field or in the short training field. As an example, the second radio frame carries the second sequence in a manner such as: the second radio frame includes a random access preamble, and the random access preamble carries the second sequence. When the random access preamble includes a long training field and a short training field, the second sequence may be carried in the long training field or in the short training field. For specific embodiments of the first sequence and the second sequence, reference may be made to the relevant description of the embodiment of the receiving side method.
[0242] Based on the above scheme, the sending device can adopt different sending methods according to whether the data to be sent is important data. For important data, since it contributes more to the recovery of the original content (such as images and audio) by the receiving device, the HARQ transmission method is used for transmission, which can improve the decoding success rate of the receiving device for important data. For non-important data, since it contributes less to the recovery of the original content (such as images and audio) by the receiving device, the non-HARQ transmission method is used for transmission. Under the premise of not affecting the recovery of the original content by the receiving device, the occupancy of sending resources can be reduced and the decoding speed can be improved. Through this solution, it is possible to reduce freezes and frame losses, improve the reliability and anti-interference ability of data transmission, and thus improve the user experience.
[0243] The data transmission method on the receiving device side is described below through a complete flowchart. Referring to FIG. 7( b ), another data transmission method provided in an embodiment of the present application includes the following steps:
[0244] Step 701b: receiving a wireless frame sent by a sending device.
[0245] Specifically, the channel end (i.e., the physical layer) of the receiving device may receive a wireless frame from the transmitting device. The received wireless frame may be a first wireless frame sent using the HARQ transmission mode during transmission, or may be a second wireless frame sent using the non-HARQ transmission mode (i.e., the pre-agreed first transmission mode or the second transmission mode) described in the above two embodiments.
[0246] Step 702b, determining whether the wireless frame adopts the HARQ transmission mode.
[0247] Exemplarily, the receiving device may determine whether the received wireless frame adopts the HARQ transmission mode according to whether the received wireless frame carries the first sequence or the second sequence. For example, when the received wireless frame carries the first sequence, the receiving device determines that the wireless frame adopts the HARQ transmission mode. When the received wireless frame carries the second sequence, the receiving device determines that the wireless frame adopts the non-HARQ transmission mode (i.e., the pre-agreed first transmission mode or the second transmission mode).
[0248] It should be noted that when a radio frame adopts the HARQ transmission mode, it indicates that the radio frame carries important data, and when a radio frame adopts the non-HARQ transmission mode, it indicates that the radio frame carries non-important data.
[0249] Among them, the specific implementation method of the wireless frame carrying the first sequence or the second sequence can refer to the above description and will not be repeated here.
[0250] In step 702b, if it is determined that the received wireless frame is sent using the HARQ transmission mode, then go to step 703b, that is, use a decoding mode corresponding to the HARQ transmission mode (such as Turbo decoding) to decode the wireless frame (that is, decode the important data in the wireless frame). If it is determined that the received wireless frame is sent using a non-HARQ transmission mode, then go to step 714b, that is, use a decoding mode corresponding to the non-HARQ transmission mode (such as FEC decoding) to decode the wireless frame (that is, decode the non-important data in the wireless frame).
[0251] The following steps 703b to 712b describe decoding the wireless frame using a decoding method corresponding to the HARQ transmission method.
[0252] In the decoding method corresponding to the HARQ transmission method, there is a HARQ cache on the receiving device, and the HARQ cache is empty in the initial state. The HARQ cache is used to store the initial transmission data or retransmission data that the receiving device fails to decode. When the receiving device determines that the received wireless frame is transmitted using the HARQ transmission method, the receiving device can decode the data in the wireless frame in combination with the HARQ cache. Specifically, when the receiving device receives a retransmission frame (the retransmission frame carries retransmission data), the receiving device can obtain the initial transmission data or retransmission data (if any) that failed to decode corresponding to the important data from the HARQ cache, and then soft-merge the received retransmission data with the data obtained from the HARQ cache, and jointly decode, thereby improving the decoding success rate. The following is a detailed explanation.
[0253] Step 703b, determining whether the data carried by the wireless frame is initial transmission data.
[0254] If it is the initial data transmission, go to step 704b.
[0255] If it is not the initial transmission data (ie, the retransmission data), the process goes to step 705b.
[0256] Step 704b, decode the data.
[0257] When the receiving device determines that the initial transmission data is received, the HARQ buffer is empty, so the receiving device directly decodes the initial transmission data. It should be noted that the initial transmission data here is one of multiple different redundant encoding versions obtained by the transmitting device encoding the data to be transmitted. For details, please refer to the relevant instructions on the transmitting side.
[0258] After step 704b, the process proceeds to step 706b.
[0259] Step 705b: fetch the redundant coded version from the HARQ cache for combined decoding.
[0260] Since the HARQ cache is used to store data that fails to be decoded, when the received data is not the initial transmission data (that is, the retransmission data), it indicates that the last received data (which can be the initial transmission data or the retransmission data) failed to be decoded and stored in the HARQ cache.
[0261] It should be noted that the initially transmitted data or different retransmitted data of a data received by the receiving device are respectively one of multiple redundant coded versions obtained after the transmitting device encodes the data, and are different from each other.
[0262] When redundant coded versions of the data are stored in the HARQ cache, these redundant coded versions are taken out from the HARQ cache, and then the currently received redundant coded version is combined and decoded with the redundant coded version taken out from the HARQ cache (or called joint decoding). Since the combined decoding is performed according to multiple redundant coded versions, the decoding success rate can be improved, that is, compared with decoding a coded version of the data separately, there is a decoding gain.
[0263] After step 705b, the process proceeds to step 706b.
[0264] Step 706b, determine whether the decoding is successful.
[0265] After decoding an initially transmitted data (ie, the above step 704b) or decoding a retransmitted data (ie, the above step 705b), it is necessary to determine whether the decoding is successful.
[0266] If the decoding is successful, go to step 707b.
[0267] If the decoding fails, go to step 709b.
[0268] Step 707b: Clear the HARQ buffer.
[0269] Since the receiving device successfully decodes the above-mentioned received data (it can be successful decoding of the initially transmitted data, or successful joint decoding of the retransmitted data), it indicates that the reception process of the wireless frame is completed. Therefore, the redundant coded version of the decoding failure stored in the HARQ cache (if any) is no longer needed. Therefore, the HARQ cache can be cleared so that the HARQ cache can be used for the reception of the next wireless frame.
[0270] Methods for a receiving device to clear a HARQ buffer include but are not limited to:
[0271] Method 1: The receiving device first determines whether there is data stored in the HARQ buffer, and if so, erases the HARQ buffer, otherwise, does not perform any operation. This method can reduce the number of erasures of the HARQ buffer.
[0272] Method 2: The receiving device does not determine whether there is data stored in the HARQ buffer, but directly erases the HARQ buffer, thereby clearing the HARQ buffer. This method does not require determining whether there is data in the HARQ buffer.
[0273] After step 707b, go to step 708b.
[0274] Step 708b, mark the feedback confirmation response.
[0275] Since the receiving device decodes the data successfully, it needs to send feedback information to the sending device, and the feedback information is a confirmation response. Therefore, the receiving device marks the feedback confirmation response so that the corresponding time-frequency resources can be scheduled later to feedback the confirmation response to the sending device.
[0276] After step 708b, go to step 713b.
[0277] Step 709b, determine whether the maximum number of retransmissions has been reached.
[0278] The maximum number of retransmissions may be preconfigured.
[0279] When it is determined in the above step 706b that decoding of the received data (which may be initially transmitted data or retransmitted data) fails, it is necessary to determine whether the number of retransmissions of the data reaches the maximum number of retransmissions.
[0280] When the number of retransmissions reaches the maximum number of retransmissions, the receiving device determines that the data reception has failed (ie, the data content of the wireless frame has not been successfully decoded and acquired) and will not be retransmitted subsequently, and then goes to execute step 710b.
[0281] When the number of retransmissions does not reach the maximum number of retransmissions, the receiving device determines that the data is not currently successfully decoded and the data content of the wireless frame is not obtained, but the data will be retransmitted later, and then goes to execute step 711b.
[0282] Step 710b: Clear the HARQ buffer.
[0283] Since the receiving device failed to receive the above data (that is, it failed to successfully decode and obtain the data content of the wireless frame) and the maximum number of retransmissions has been reached, the reception process of the wireless frame has been completed. Therefore, the decoding failed data stored in the HARQ cache (if any) is no longer needed. Therefore, the HARQ cache can be cleared so that the HARQ cache can be used for the reception of the next data.
[0284] The method for the receiving device to clear the HARQ buffer is similar to the method for clearing the HARQ buffer in the above step 707b, and reference may be made to the above description.
[0285] After step 710b, the process proceeds to step 712b.
[0286] Step 711b: store the data in the HARQ buffer.
[0287] Since the receiving device fails to decode the most recently received data (i.e., a redundant coding version), but the data will be retransmitted later, the receiving device can store the redundant coding version that is currently received and failed to be decoded in the HARQ cache, so that when the retransmitted data of the data (i.e., another redundant coding version) is received next time, it can be combined with the redundant coding version that failed to be decoded in the HARQ cache for joint decoding to improve the decoding gain.
[0288] It should be noted that for a piece of data, each time decoding fails, a different redundant coded version of the data will be stored in the HARQ cache, so when the retransmitted data of the data is received next time, the number of redundant coded versions that can be jointly decoded will also increase by one, thereby improving the decoding success rate. In other words, the more times the data has been retransmitted, the higher the decoding success rate.
[0289] After step 711b, go to step 712b.
[0290] Step 712b, mark the feedback as a negative response.
[0291] Since the receiving device fails to decode the data, it needs to send feedback information to the sending device, and the feedback information is a negative acknowledgement. Therefore, the receiving device marks the feedback negative acknowledgement so that the corresponding time-frequency resources can be scheduled to feedback the negative acknowledgement to the sending device later.
[0292] After step 712b, go to step 713b.
[0293] Step 713b, sending a confirmation response or a negative response.
[0294] If the above process executes step 708b, the receiving device sends a confirmation response to the sending device, indicating that the decoding is successful. If the above process executes step 712b, the receiving device sends a negative response to the sending device, indicating that the decoding fails.
[0295] The specific implementation method of the receiving device sending a confirmation response or a negative response to the sending device can refer to the aforementioned Figure 5 The relevant descriptions in the corresponding embodiments are not repeated here.
[0296] The following steps 714b to 718b describe the use of a decoding method corresponding to a non-HARQ transmission method to decode the data carried in the wireless frame (for example, FEC decoding).
[0297] In a specific implementation, the non-HARQ transmission mode may be the first transmission mode or the second transmission mode. The description of these two transmission modes may refer to the related description of the above embodiments. In practical applications, the sending device and the receiving device may pre-agree on one of them for transmission.
[0298] Step 714b, decode the data.
[0299] When the sending device uses the first transmission mode to send a wireless frame to the receiving device, the receiving device only decodes the wireless frame according to the data carried in the wireless frame after receiving the wireless frame, and does not perform joint decoding like the decoding corresponding to the HARQ transmission mode.
[0300] When the sending device uses the second transmission mode to send a wireless frame to the receiving device, the receiving device only decodes the wireless frame according to the data carried in the wireless frame after receiving the wireless frame, and does not perform joint decoding like the decoding corresponding to the HARQ transmission mode.
[0301] After step 714b, execute step 715b.
[0302] Step 715b, determine whether the decoding is successful.
[0303] For the first transmission mode, when the receiving device decodes successfully, the process ends. When the receiving device decodes unsuccessfully, the process goes to step 717b, i.e., discards the data. Here, because the first transmission mode transmits each data only once, the sending device will not retransmit regardless of whether the receiving device decodes successfully. Therefore, when the receiving device decodes unsuccessfully, the data is discarded, indicating that the data has not been successfully acquired.
[0304] For the second transmission mode, when the receiving device decodes successfully, the process ends. When the receiving device decodes unsuccessfully, the process goes to step 717b, i.e., discards the data. Here, although the second transmission mode also retransmits, the data retransmitted each time is encoded using FEC, so the retransmitted data is the same, unlike HARQ transmission, which retransmits different redundant coded versions of the same data each time. Therefore, in the second transmission mode, joint encoding cannot be performed like HARQ transmission. Therefore, when the receiving device fails to decode the received data, the data is discarded, indicating that the data has not been successfully acquired.
[0305] After step 715b, step 716b is executed.
[0306] Step 716b, mark the feedback confirmation response.
[0307] Since the receiving device decodes the wireless frame successfully, it needs to send feedback information to the sending device, and the feedback information is a confirmation response. Therefore, the receiving device marks the feedback confirmation response so that the corresponding time-frequency resources can be scheduled later to feedback the confirmation response to the sending device.
[0308] After step 716b, go to step 713b.
[0309] Step 717b, discard the data.
[0310] After discarding the data, the receiving device proceeds to execute step 718b.
[0311] Step 718b, mark the feedback as a negative response.
[0312] Since the receiving device fails to decode the data, it needs to send feedback information to the sending device, and the feedback information is a negative acknowledgement. Therefore, the receiving device marks the feedback negative acknowledgement so that the corresponding time-frequency resources can be scheduled to feedback the negative acknowledgement to the sending device later.
[0313] After step 718b, go to step 713b.
[0314] Based on the method of steps 715b to 718b above, when the data received by the receiving device is sent using a non-HARQ transmission method, it indicates that the data is not important data, so the data is directly discarded after parsing fails without being stored for joint decoding.
[0315] Based on the above scheme, the sending device can adopt different sending methods according to whether the data to be sent is important data. For important data, since it contributes more to the recovery of the original content (such as images and audio) by the receiving device, the HARQ transmission method is used for transmission, which can improve the decoding success rate of the receiving device for important data. For non-important data, since it contributes less to the recovery of the original content (such as images and audio) by the receiving device, the non-HARQ transmission method is used for transmission. Under the premise of not affecting the recovery of the original content by the receiving device, the occupancy of sending resources can be reduced and the decoding speed can be improved. Through this solution, it is possible to reduce freezes and frame losses, improve the reliability and anti-interference ability of data transmission, and thus improve the user experience.
[0316] refer to Figure 8 , is a schematic diagram of a sending device provided in an embodiment of the present application. The device is used to implement the above Figure 2 The various steps of the embodiment, such as Figure 8 As shown, the sending device 800 includes a sending unit 810 and a processing unit 820 .
[0317] The sending unit 810 is used to send important data of the media data frame to the receiving device by adopting the HARQ transmission mode, and the important data of the media data frame includes the basic part of the media data frame; after the important data of the media data frame is successfully sent, the non-HARQ transmission mode is used to send the non-important data of the media data frame to the receiving device, and the non-important data of the media data frame includes the enhanced part of the media data frame.
[0318] In a possible implementation method, the important data of the media data frame also includes encoding parameters corresponding to the media data frame.
[0319] In a possible implementation method, the duration occupied by sending the important data of the media data frame does not exceed the length of a first sending time window, and the length of the first sending time window is the maximum duration allowed for sending the important data of the media data frame and the non-important data of the media data frame.
[0320] In a possible implementation method, the sending unit 810 is used to send the important data of the media data frame to the receiving device by adopting the HARQ transmission mode, specifically including: using the HARQ transmission mode to send the important data of the media data frame within the first sending time window. The sending unit 810 is used to send the non-important data of the media data frame to the receiving device by adopting the non-HARQ transmission mode after the important data of the media data frame is successfully sent, specifically including: after the important data of the media data frame is successfully sent, sending the non-important data within the remaining duration of the first sending time window, and the remaining duration is the remaining time after the important data of the media data frame is successfully sent within the first sending time window.
[0321] In one possible implementation method, the processing unit 820 is used to determine to stop sending the non-important data of the media data frame to the receiving device if the important data of the media data frame is successfully sent within the first sending time window, but the remaining duration of the first sending time window is insufficient to send the non-important data of the media data frame; wherein the remaining duration is the remaining time after the important data of the media data frame is successfully sent within the first sending time window.
[0322] In a possible implementation method, the processing unit 820 is used to determine to stop sending the important data of the media data frame to the receiving device, and determine to stop sending the non-important data of the media data frame to the receiving device if the important data of the media data frame is not sent successfully within the first sending time window.
[0323] In a possible implementation method, the non-HARQ transmission is a first transmission mode, and the first transmission mode is a transmission mode without a retransmission mechanism.
[0324] In a possible implementation method, the non-HARQ transmission is a second transmission mode, and the second transmission mode is a transmission mode with a retransmission mechanism, and the forward error correction FEC encoded version data corresponding to the non-important data is retransmitted each time.
[0325] In a possible implementation method, the maximum number of retransmissions corresponding to the second transmission mode is smaller than the maximum number of retransmissions corresponding to the HARQ transmission mode.
[0326] In a possible implementation method, the sending unit 810 is used to send important data of the media data frame to the receiving device using the HARQ transmission mode, specifically including: sending at least one first radio frame corresponding to the important data of the media data frame to the receiving device using the HARQ transmission mode, the at least one first radio frame carrying a first sequence, and the first sequence is used to indicate that the at least one first radio frame is sent using the HARQ transmission mode. The sending unit 810 is used to send unimportant data of the media data frame to the receiving device using the non-HARQ transmission mode, specifically including: sending at least one second radio frame corresponding to the unimportant data to the receiving device using the non-HARQ transmission mode, the at least one second radio frame carrying a second sequence, and the second sequence is used to indicate that the at least one second radio frame is sent using the non-HARQ transmission mode; wherein the first sequence and the second sequence are different sequences.
[0327] In a possible implementation method, the first sequence and the second sequence are opposite sequences.
[0328] In a possible implementation method, the first radio frame and the second radio frame have the same frame format, and the frame format includes a long training field and a short training field; the long training field of at least one first radio frame carries the first sequence, and the long training field of the second radio frame carries the second sequence; or, the short training field of at least one first radio frame carries the first sequence, and the short training field of the second radio frame carries the second sequence.
[0329] In a possible implementation method, the frame format is a non-HT format PPDU format or a high throughput mixed format HT mixed format.
[0330] Optionally, the sending device 800 may further include a storage unit for storing data or instructions (also referred to as code or program), and the above-mentioned units may interact or couple with the storage unit to implement the corresponding method or function. For example, the processing unit 820 may read the data or instructions in the storage unit so that the sending device implements the method in the above-mentioned embodiment.
[0331] It should be understood that the division of the units in the above sending device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And the units in the sending device can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some units can also be implemented in the form of software calling through processing elements, and some units can be implemented in the form of hardware. For example, each unit can be a separately established processing element, or it can be integrated in a chip of the sending device. In addition, it can also be stored in the memory in the form of a program, and called and executed by a processing element of the sending device. The function of the unit. In addition, all or part of these units can be integrated together, or they can be implemented independently. The processing element described here can also be a processor, which can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each unit above can be implemented by an integrated logic circuit of hardware in the processor element or in the form of software calling through a processing element.
[0332] In one example, the unit in any of the above sending devices may be one or more integrated circuits configured to implement the above method, such as: one or more specific integrated circuits (Application Specific Integrated Circuit, ASIC), or, one or more microprocessors (digital singnal processor, DSP), or, one or more field programmable gate arrays (Field Programmable Gate Array, FPGA), or a combination of at least two of these integrated circuit forms. For another example, when the unit in the sending device can be implemented in the form of a processing element scheduler, the processing element can be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processors that can call programs. For another example, these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0333] refer to Fig. 9 , is a schematic diagram of a receiving device provided in an embodiment of the present application. The device is used to implement the above Figure 5 The various steps of the embodiment, such as Fig. 9 As shown, the receiving device 900 includes a transceiver unit 910 and a processing unit 920 .
[0334] The transceiver unit 910 is configured to receive a wireless frame from a transmitting device. The processing unit 930 is configured to decode the wireless frame using a decoding method corresponding to a hybrid automatic repeat request (HARQ) transmission method if the wireless frame carries a first sequence; and decode the wireless frame using a decoding method corresponding to a non-HARQ transmission method if the wireless frame carries a second sequence, and the second sequence is different from the first sequence.
[0335] In a possible implementation method, the decoding mode corresponding to the HARQ transmission mode is Turbo decoding.
[0336] In a possible implementation method, the decoding mode corresponding to the non-HARQ transmission mode is forward error correction FEC decoding.
[0337] In a possible implementation method, the non-HARQ transmission is a first transmission mode, and the first transmission mode is a transmission mode without a retransmission mechanism.
[0338] In a possible implementation method, the non-HARQ transmission is a second transmission mode, and the second transmission mode is a transmission mode with a retransmission mechanism, and the forward error correction FEC encoded version data corresponding to the non-important data is retransmitted each time.
[0339] In a possible implementation method, the maximum number of retransmissions corresponding to the second transmission mode is smaller than the maximum number of retransmissions corresponding to the HARQ transmission mode.
[0340] In a possible implementation method, the first sequence and the second sequence are opposite sequences.
[0341] In a possible implementation method, the frame format of the radio frame includes a long training field and a short training field. The long training field of the radio frame carries the first sequence or carries the second sequence; or the short training field of the radio frame carries the first sequence or carries the second sequence.
[0342] In a possible implementation method, the frame format is a non-HT format PPDU format or a high throughput mixed format HT mixed format.
[0343] In a possible implementation method, the transceiver unit 910 is used to use pre-scheduled time-frequency resources to send feedback information for the wireless frame to the sending device, and the feedback information is a confirmation response or a negative response; or, use the first time-frequency resources to send the feedback information to the sending device, and the first time-frequency resources are the time-frequency resources occupied by the wireless frame to be sent to the sending device; or, use the re-applied time-frequency resources to send the feedback information to the sending device.
[0344] In a possible implementation method, the transceiver unit 910 is used to give priority to using the pre-scheduled time-frequency resources to send feedback information for the wireless frame to the sending device; if the pre-scheduled time-frequency resources are not available, then giving priority to using the first time-frequency resources to send the feedback information to the sending device; if both the pre-scheduled time-frequency resources and the first time-frequency resources are not available, then using the re-applied time-frequency resources to send the feedback information to the sending device.
[0345] Optionally, the receiving device 900 may further include a storage unit for storing data or instructions (also referred to as code or program), and each of the above units may interact or couple with the storage unit to implement the corresponding method or function. For example, the processing unit 920 may read the data or instructions in the storage unit so that the receiving device implements the method in the above embodiment.
[0346] It should be understood that the division of the units in the above receiving device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And the units in the receiving device can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some units can also be implemented in the form of software calling through processing elements, and some units can be implemented in the form of hardware. For example, each unit can be a separately established processing element, or it can be integrated in a chip of the receiving device. In addition, it can also be stored in the memory in the form of a program, and called and executed by a processing element of the receiving device. The function of the unit. In addition, all or part of these units can be integrated together or implemented independently. The processing element described here can also be a processor, which can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each unit above can be implemented by an integrated logic circuit of hardware in the processor element or in the form of software calling through a processing element.
[0347] In one example, the unit in any of the above receiving devices may be one or more integrated circuits configured to implement the above method, such as one or more ASICs, or one or more DSPs, or one or more FPGAs, or a combination of at least two of these integrated circuit forms. For another example, when the unit in the receiving device can be implemented in the form of a processing element scheduler, the processing element can be a general-purpose processor, such as a CPU or other processor that can call a program. For another example, these units can be integrated together and implemented in the form of a SOC.
[0348] refer to Fig.10 , is a schematic diagram of a communication device provided in an embodiment of the present application, which is used to implement the operation of the sending device or the receiving device in the above embodiment. Fig.10 As shown, the communication device includes: a processor 1010 and an interface 1030. Optionally, the communication device also includes a memory 1020. The interface 1030 is used to implement communication with other devices.
[0349] The method performed by the sending device or the receiving device in the above embodiment can be implemented by the processor 1010 calling the program stored in the memory (which can be the memory 1020 in the sending device or the receiving device, or it can be an external memory). That is, the sending device or the receiving device may include a processor 1010, and the processor 1010 executes the method performed by the sending device or the receiving device in the above method embodiment by calling the program in the memory. The processor here can be an integrated circuit with signal processing capabilities, such as a CPU. The sending device or the receiving device can be implemented by configuring one or more integrated circuits to implement the above method. For example: one or more ASICs, or one or more microprocessors DSPs, or one or more FPGAs, etc., or a combination of at least two of these integrated circuit forms. Alternatively, the above implementation method can be combined.
[0350] Specifically, Figure 8 The functions / implementation processes of the sending unit 810 and the processing unit 820 in the embodiment can be Fig.10 The processor 1010 in the communication device 1000 shown calls the computer executable instructions stored in the memory 1020 to implement. Or, Figure 8 The function / implementation process of the processing unit 820 in Fig.10 The processor 1010 in the communication device 1000 shown calls the computer execution instructions stored in the memory 1020 to implement, Figure 8 The function / implementation process of the sending unit 810 can be Fig.10, the function / implementation process of the sending unit 810 can be implemented by the processor calling the program instructions in the memory to drive the interface 1030.
[0351] Specifically, Fig. 9 The functions / implementation processes of the transceiver unit 910 and the processing unit 920 in the embodiment can be realized by Fig.10 The processor 1010 in the communication device 1000 shown calls the computer executable instructions stored in the memory 1020 to implement. Or, Fig. 9 The function / implementation process of the processing unit 920 in Fig.10 The processor 1010 in the communication device 1000 shown calls the computer execution instructions stored in the memory 1020 to implement, Fig. 9 The function / implementation process of the transceiver unit 910 can be Fig.10 The function / implementation process of the transceiver unit 910 can be implemented by the interface 1030 in the communication device 1000 shown in FIG. 1 , and the function / implementation process of the transceiver unit 910 can be implemented by the processor calling the program instructions in the memory to drive the interface 1030 .
[0352] Those of ordinary skill in the art will appreciate that the various digital numbers such as the first and second involved in this application are only for the convenience of description, and are not used to limit the scope of the embodiments of this application, and also represent the order of precedence. "And / or" describes the association relationship of the associated objects, indicating that there may be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one" refers to one or more. At least two refers to two or more. "At least one", "any one" or similar expressions refer to any combination of these items, including any combination of single items (individuals) or plural items (individuals). For example, at least one item (individuals, kinds) of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. "Multiple" refers to two or more, and other quantifiers are similar.
[0353] It should be understood that in various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0354] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0355] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
[0356] The various illustrative logic units and circuits described in the embodiments of the present application can be implemented or operated by a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic, a discrete hardware component, or the design of any combination of the above functions. The general-purpose processor can be a microprocessor, and optionally, the general-purpose processor can also be any traditional processor, controller, microcontroller or state machine. The processor can also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration to implement.
[0357] The steps of the method or algorithm described in the embodiments of the present application can be directly embedded in the software unit executed by the hardware, processor, or a combination of the two. The software unit can be stored in a random access memory (Random Access Memory, RAM), flash memory, read-only memory (Read-Only Memory, ROM), EPROM memory, EEPROM memory, register, hard disk, removable disk, CD-ROM or other storage media of any form in the art. Exemplarily, the storage medium can be connected to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Optionally, the storage medium can also be integrated into the processor. The processor and the storage medium can be arranged in an ASIC.
[0358] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0359] In one or more exemplary designs, the above functions described in this application can be implemented in hardware, software, firmware, or any combination of the three. If implemented in software, these functions can be stored on a computer-readable medium, or transmitted in the form of one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media that facilitate the transfer of computer programs from one place to another. The storage medium can be any available medium that can be accessed by any general or special computer. For example, such computer-readable media can include but are not limited to RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage or other magnetic storage devices, or any other medium that can be used to carry or store program codes in the form of instructions or data structures and other forms that can be read by general or special computers, or general or special processors. In addition, any connection can be appropriately defined as a computer-readable medium, for example, if the software is transmitted from a website site, server or other remote resource through a coaxial cable, fiber optic computer, twisted pair, digital subscriber line (DSL) or wirelessly, such as infrared, wireless and microwave, it is also included in the defined computer-readable medium. The disk and disc include compact disk, laser disk, optical disk, digital versatile disc (DVD), floppy disk and blue-ray disc. Disks usually copy data magnetically, while discs usually copy data optically with lasers. The above combinations can also be included in computer readable media.
[0360] Those skilled in the art should be aware that in one or more of the above examples, the functions described in this application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.
[0361] The specific implementation methods described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only the specific implementation methods of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present application should be included in the protection scope of the present application. The above description of the specification of the present application can make any technical field in the art use or implement the content of the present application. Any modification based on the disclosed content should be considered obvious in the art. The basic principles described in the present application can be applied to other variations without departing from the inventive essence and scope of the present application. Therefore, the content disclosed in the present application is not limited to the described embodiments and designs, but can also be extended to the maximum scope consistent with the principles of the present application and the disclosed new features.
[0362] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A data transmission method, characterized in that: include: Use hybrid automatic repeat request (HARQ) transmission mode to send important data of media data frames to the receiving device; After the important data of the media data frame is sent successfully, the non-important data of the media data frame is sent to the receiving device in a non-HARQ transmission mode.
2. The method according to claim 1, characterized in that The important data of the media data frame includes the basic part of the media data frame and / or the encoding parameters corresponding to the media data frame.
3. The method according to claim 1 or 2, characterized in that The duration of sending the important data of the media data frame does not exceed the length of the first sending time window, and the length of the first sending time window is the maximum duration allowed for sending the important data of the media data frame and the non-important data of the media data frame.
4. The method according to claim 3, characterized in that The HARQ transmission method is used to send important data of the media data frame to the receiving device, including: Using the HARQ transmission mode to send important data of the media data frame within the first sending time window; After the important data of the media data frame is successfully sent, sending the non-important data of the media data frame to the receiving device in a non-HARQ transmission mode includes: After the important data of the media data frame is sent successfully, the non-important data is sent within the remaining duration of the first sending time window, and the remaining duration is the remaining time after the important data of the media data frame is successfully sent within the first sending time window.
5. The method according to claim 3, characterized in that The method further comprises: If the important data of the media data frame is successfully sent within the first sending time window, but the remaining time of the first sending time window is insufficient to send the non-important data of the media data frame, then stop sending the non-important data of the media data frame to the receiving device; The remaining duration is the remaining time after the important data of the media data frame is successfully sent within the first sending time window.
6. The method according to claim 3 or 4, characterized in that The method further comprises: If the important data of the media data frame is not sent successfully within the first sending time window, stop sending the important data of the media data frame to the receiving device, and stop sending the non-important data of the media data frame to the receiving device.
7. The method according to any one of claims 1 to 6, characterized in that: The non-HARQ transmission is a first transmission mode, and the first transmission mode is a transmission mode without a retransmission mechanism.
8. The method according to any one of claims 1 to 7, characterized in that: The non-HARQ transmission is a second transmission mode, and the second transmission mode is a transmission mode with a retransmission mechanism, and the forward error correction FEC encoded version data corresponding to the non-important data is retransmitted each time.
9. The method according to claim 8, characterized in that The maximum number of retransmissions corresponding to the second transmission mode is less than the maximum number of retransmissions corresponding to the HARQ transmission mode.
10. The method according to any one of claims 1 to 9, characterized in that: The HARQ transmission method is used to send important data of the media data frame to the receiving device, including: Sending at least one first radio frame corresponding to the important data of the media data frame to the receiving device by using the HARQ transmission mode, where the at least one first radio frame carries a first sequence, and the first sequence is used to indicate that the at least one first radio frame is sent by using the HARQ transmission mode; The non-important data of the media data frame is sent to the receiving device in a non-HARQ transmission mode, including: Sending at least one second radio frame corresponding to the non-important data to the receiving device in the non-HARQ transmission mode, where the at least one second radio frame carries a second sequence, and the second sequence is used to indicate that the at least one second radio frame is sent in the non-HARQ transmission mode; The first sequence and the second sequence are different sequences.
11. The method according to claim 10, characterized in that The first sequence and the second sequence are opposite sequences.
12. The method according to claim 10 or 11, characterized in that The first radio frame and the second radio frame have the same frame format, and the frame format includes a long training field and a short training field; The long training field of the at least one first radio frame carries the first sequence, and the long training field of the second radio frame carries the second sequence; or, The short training field of the at least one first radio frame carries the first sequence, and the short training field of the second radio frame carries the second sequence.
13. The method according to claim 12, characterized in that The frame format is a non-HTformat PPDU format or a high-throughput mixed format HT mixed format.
14. The method according to any one of claims 1 to 13, characterized in that: The non-important data of the media data frame includes an enhanced portion of the media data frame.
15. A data transmission method, characterized in that: include: receiving a wireless frame from a transmitting device; The wireless frame is decoded using a decoding method corresponding to a hybrid automatic repeat request (HARQ) transmission method, or the wireless frame is decoded using a decoding method corresponding to a non-HARQ transmission method.
16. The method according to claim 15, characterized in that The decoding mode corresponding to the HARQ transmission mode is Turbo decoding.
17. The method according to claim 15 or 16, characterized in that The decoding mode corresponding to the non-HARQ transmission mode is forward error correction FEC decoding.
18. The method according to any one of claims 15 to 17, characterized in that: The non-HARQ transmission is a first transmission mode, and the first transmission mode is a transmission mode without a retransmission mechanism.
19. The method according to claim 18, characterized in that The non-HARQ transmission is a second transmission mode, and the second transmission mode is a transmission mode with a retransmission mechanism, and the forward error correction FEC encoded version data corresponding to non-important data is retransmitted each time.
20. The method of claim 19, wherein: The maximum number of retransmissions corresponding to the second transmission mode is less than the maximum number of retransmissions corresponding to the HARQ transmission mode.
21. The method according to any one of claims 15 to 20, characterized in that: The decoding of the wireless frame using a decoding method corresponding to the HARQ transmission method includes: If the radio frame carries the first sequence, decoding the radio frame using a decoding method corresponding to the HARQ transmission method; The decoding of the wireless frame using a decoding method corresponding to a non-HARQ transmission method includes: If the wireless frame carries a second sequence, the wireless frame is decoded using a decoding method corresponding to a non-HARQ transmission method, and the second sequence is different from the first sequence.
22. The method according to claim 21, characterized in that The first sequence and the second sequence are opposite sequences.
23. The method according to claim 21 or 22, characterized in that The frame format of the wireless frame includes a long training field and a short training field; The long training field of the radio frame carries the first sequence, or carries the second sequence; or, The short training field of the radio frame carries the first sequence or carries the second sequence.
24. The method of claim 23, wherein: The frame format is a non-HTformat PPDU format or a high-throughput mixed format HT mixed format.
25. The method according to any one of claims 15 to 24, characterized in that: Also includes: Sending feedback information for the radio frame to the sending device using pre-scheduled time-frequency resources, where the feedback information is a confirmation response or a negative response; or, Sending the feedback information to the sending device using a first time-frequency resource, where the first time-frequency resource is a time-frequency resource occupied by a radio frame to be sent to the sending device; or, The feedback information is sent to the sending device using the reapplied time-frequency resources.
26. The method of claim 25, wherein: preferentially using the pre-scheduled time-frequency resources to send feedback information for the radio frame to the sending device; If the pre-scheduled time-frequency resource is unavailable, preferentially using the first time-frequency resource to send the feedback information to the sending device; If both the pre-scheduled time-frequency resources and the first time-frequency resources are unavailable, the feedback information is sent to the sending device using the re-applied time-frequency resources.
27. A sending device, characterized in that: include: A processor and a transmission interface; the processor is configured to call software instructions stored in a memory to execute the method according to any one of claims 1-14.
28. A receiving device, characterized in that: include: A processor and a transmission interface; the processor is configured to call software instructions stored in a memory to execute the method according to any one of claims 15-26.
29. A computer-readable storage medium, characterized in that: The method comprises a computer program, which, when executed on a computer or a processor, causes the computer or the processor to execute the method according to any one of claims 1 to 26.
30. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is run on a computer or a processor, the computer or the processor is caused to execute the method according to any one of claims 1 to 26.
