CN110839164A - Video transmission method and device - Google Patents

Video transmission method and device Download PDF

Info

Publication number
CN110839164A
CN110839164A CN201810943172.0A CN201810943172A CN110839164A CN 110839164 A CN110839164 A CN 110839164A CN 201810943172 A CN201810943172 A CN 201810943172A CN 110839164 A CN110839164 A CN 110839164A
Authority
CN
China
Prior art keywords
video data
data packet
target layer
physical layer
current transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810943172.0A
Other languages
Chinese (zh)
Inventor
赵振华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Pinecone Electronic Co Ltd
Original Assignee
Beijing Pinecone Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Pinecone Electronics Co Ltd filed Critical Beijing Pinecone Electronics Co Ltd
Priority to CN201810943172.0A priority Critical patent/CN110839164A/en
Publication of CN110839164A publication Critical patent/CN110839164A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • H04N21/4382Demodulation or channel decoding, e.g. QPSK demodulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2383Channel coding or modulation of digital bit-stream, e.g. QPSK modulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display

Abstract

The present disclosure relates to a video transmission method and apparatus, relating to the technical field of terminals, and applied to a transmitting end, the method includes: the method comprises the steps that transmission parameters of a current transmission environment are sent to a target layer of a sending end through a physical layer of the sending end, the target layer is an upper layer protocol stack of the physical layer, the transmission parameters are used for indicating the quality of the current transmission environment, whether the current transmission environment is a weak field or not is determined through the target layer according to the transmission parameters, a video data stream to be sent is analyzed through the target layer, at least one video data packet is obtained, when the current transmission environment is the weak field and the coding form of the first video data packet is a key frame form, the first video data packet is sent to the physical layer through the target layer, the first video data packet is any one of the at least one video data packet, and the first video data packet is sent to a receiving end through the physical layer. The method can reduce the error rate and transmission delay of video transmission and improve the quality of video transmission in the scene of weak field transmission.

Description

Video transmission method and device
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a video transmission method and apparatus.
Background
With the continuous development of terminal technology and image transmission technology, people can more conveniently use various intelligent terminals to watch video data, the requirements on video and image quality are increasingly improved, the problem of data packet loss often occurs in the video data transmission process, especially in the scene of low signal intensity or large interference, the wireless transmission bandwidth is low in code rate, the transmittable data volume is limited, the data transmission delay is large, meanwhile, the data packet loss is serious in the scene, the video quality can be seriously influenced, the problems of blocking, blurring or mosaic and the like are caused, and the user experience is reduced.
Disclosure of Invention
To overcome the problems in the related art, it is an object of the present disclosure to provide a video transmission method and apparatus.
According to a first aspect of the embodiments of the present disclosure, a video transmission method is provided, which is applied to a sending end, and the method includes:
transmitting a transmission parameter of a current transmission environment to a target layer of the transmitting end through a physical layer of the transmitting end, wherein the target layer is an upper protocol stack of the physical layer, and the transmission parameter is used for indicating the quality of the current transmission environment;
determining whether the current transmission environment is a weak field or not according to the transmission parameters through the target layer;
analyzing a video data stream to be sent through the target layer to obtain at least one video data packet;
when the current transmission environment is a weak field and the coding form of a first video data packet is a key frame form, sending the first video data packet to the physical layer through the target layer, wherein the first video data packet is any one of the at least one video data packet;
and sending the first video data packet to a receiving end through the physical layer.
Optionally, the sending the first video data packet to a receiving end through the physical layer includes:
and repeatedly sending the first video data packet to the receiving end according to preset times through the physical layer.
Optionally, the method further includes:
when the current transmission environment is a weak field and the encoding form of a first video data packet is a non-key frame form, discarding the first video data packet by the target layer.
Optionally, the method further includes:
when the current transmission environment is not a weak field, sending the at least one video data packet to the physical layer through the target layer according to the sequence of the at least one video data packet reaching the target layer;
and sending the at least one video data packet to the receiving end through the physical layer.
Optionally, the method further includes:
the transmission parameters are: a signal to interference plus noise ratio, SINR, and a reference signal received power, RSRP;
the determining, by the target layer, whether the current transmission environment is a weak field according to the transmission parameter includes:
when the SINR is smaller than or equal to a preset first threshold and the RSRP is smaller than or equal to a preset second threshold, determining that the current transmission environment is a weak field;
and when the SINR is greater than the first threshold or the RSRP is greater than the second threshold, determining that the current transmission environment is not a weak field.
According to a second aspect of the embodiments of the present disclosure, there is provided a video transmission apparatus applied to a transmitting end, the apparatus including:
a first sending module, configured to send a transmission parameter of a current transmission environment to a target layer of the sending end through a physical layer of the sending end, where the target layer is an upper protocol stack of the physical layer, and the transmission parameter is used to indicate quality of the current transmission environment;
the determining module is used for determining whether the current transmission environment is a weak field or not according to the transmission parameters through the target layer;
the analysis module is used for analyzing the video data stream to be sent through the target layer to obtain at least one video data packet;
a processing module, configured to send a first video data packet to the physical layer through the target layer when the current transmission environment is a weak field and an encoding form of the first video data packet is a key frame form, where the first video data packet is any one of the at least one video data packet;
and the second sending module is used for sending the first video data packet to a receiving end through the physical layer.
Optionally, the second sending module is configured to:
and repeatedly sending the first video data packet to the receiving end according to preset times through the physical layer.
Optionally, the processing module is further configured to:
when the current transmission environment is a weak field and the encoding form of a first video data packet is a non-key frame form, discarding the first video data packet by the target layer.
Optionally, the processing module is further configured to:
when the current transmission environment is not a weak field, sending the at least one video data packet to the physical layer through the target layer according to the sequence of the at least one video data packet reaching the target layer;
the second sending module is further configured to:
and sending the at least one video data packet to the receiving end through the physical layer.
Optionally, the transmission parameters are: a signal to interference plus noise ratio, SINR, and a reference signal received power, RSRP;
the determining module comprises:
a first determining submodule, configured to determine that the current transmission environment is a weak field when the SINR is less than or equal to a preset first threshold and the RSRP is less than or equal to a preset second threshold;
a second determining submodule, configured to determine that the current transmission environment is not a weak field when the SINR is greater than the first threshold or the RSRP is greater than the second threshold.
According to the technical scheme, the transmission parameters capable of reflecting the quality of the current transmission environment are sent to the target layer of the sending end through the physical layer of the sending end, whether the current transmission environment is a weak field or not is determined according to the transmission parameters through the target layer, the video data stream to be sent is analyzed through the target layer to obtain a plurality of video data packets, the video data packets are distinguished according to coding forms under the condition that the current transmission environment is the weak field, when the coding form of the first video data packet is a key frame form, the first video data packet is sent to the physical layer through the target layer, and finally the first video data packet is sent to the receiving end through the physical layer. The method can reduce the error rate and transmission delay of video transmission and improve the quality of video transmission under the scene of low signal intensity or large interference.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flow chart illustrating a method of video transmission according to an exemplary embodiment;
FIG. 2 is a flow diagram illustrating another method of video transmission in accordance with an exemplary embodiment;
FIG. 3 is a flow diagram illustrating another method of video transmission in accordance with an exemplary embodiment;
FIG. 4 is a flow diagram illustrating another method of video transmission in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating a video transmission device according to an exemplary embodiment;
fig. 6 is a block diagram illustrating another video transmission apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Before introducing the video transmission method and apparatus provided by the present disclosure, an application scenario related to each embodiment in the present disclosure is first introduced, where the application scenario includes a sending end that sends video data and a receiving end that receives video data in a video transmission process. The sending end may be any server in the internet or other types of data terminals, and the receiving end may be any terminal, for example, a mobile terminal such as a smart phone, a tablet computer, a smart television, a smart watch, a PDA (Personal Digital Assistant, chinese), a portable computer, or a fixed terminal such as a desktop computer.
Fig. 1 is a flowchart illustrating a video transmission method according to an exemplary embodiment, where the method is applied to a transmitting end, as shown in fig. 1, and the method includes:
step 101, transmitting a transmission parameter of a current transmission environment to a target layer of a transmitting end through a physical layer of the transmitting end, where the target layer is an upper protocol stack of the physical layer, and the transmission parameter is used to indicate quality of the current transmission environment.
For example, in the wireless video data transmission process, the quality of the transmission environment largely determines the quality of video transmission, so the quality of the transmission environment can be detected by the physical layer of the sending end, for example, the strength of a useful signal, the strength of an interference signal (which may include noise and interference), the strength of a reference signal (pilot signal), and the like can be measured according to various signals (e.g., pilot signals, acknowledgement signals, and the like) received by the physical layer, so as to obtain a transmission parameter capable of reflecting the quality of the current transmission environment, and the transmission parameter is sent to the target layer of the sending end, so that the target layer adjusts the transmission mode of the video data according to the quality of the current transmission environment. The transmission parameter may be a specific value or a Ratio, and may include any one or more of SINR (Signal to Interference plus Noise Ratio, chinese), SNR (Signal Noise Ratio, chinese), RSRP (reference Signal Receiving Power, chinese), and CINR (Carrier to Interference plus Noise Ratio, chinese).
It should be noted that the target layer may be a protocol stack on a physical layer in a computer network structure, and may be, for example: a data link layer, a network layer, or a transport layer. The target layer in this embodiment includes, but is not limited to, a structure in an Open System interconnection (Open System interconnection, chinese) or five-layer network protocol, and may also be applicable to other network structures.
And step 102, determining whether the current transmission environment is a weak field or not according to the transmission parameters through the target layer.
Step 103, analyzing the video data stream to be sent through the target layer to obtain at least one video data packet.
For example, the target layer determines the transmission mode of the video data according to the transmission parameter, for example, it may determine whether the current transmission environment is a weak field according to a preset threshold, where the weak field is an area with a weak signal field and corresponds to a scene with low signal strength or large interference, where the preset threshold may be determined according to a large amount of experimental data, or may be flexibly adjusted according to an actual transmission environment, for example, when the transmission parameter is less than or equal to the threshold, it is determined that the current transmission environment is a weak field, and when the transmission parameter is greater than the threshold, it is determined that the current transmission environment is not a weak field. And the target layer parses the video data stream to be sent (for example, the video data stream may be generated by an image processing module of the sending end) according to a preset parsing manner to obtain at least one video data packet, where one video data packet may only include one frame of video data and a corresponding check code, or may also include multiple frames of video data and a corresponding check code for each frame of video data, and the parsing manner may be specified according to a preset protocol between the receiving end and the sending end.
And 104, when the current transmission environment is a weak field and the coding form of the first video data packet is a key frame form, sending the first video data packet to the physical layer through the target layer, wherein the first video data packet is any one of at least one video data packet.
And 105, sending the first video data packet to a receiving end through a physical layer.
For example, when the target layer determines that the current transmission environment is a weak field according to the transmission parameters, the data transmission rate is low, the transmission bandwidth is small, and the transmittable video data is limited, so that the transmission delay is large, and the video quality is reduced due to serious packet loss of the video data. Further, in the process of transmitting video data, the RLC (Radio Link Control, chinese: Radio Link Control protocol) layer in the data Link layer generally adopts an UM (Unacknowledged Mode) which is an unsecured transmission Mode, and if a lost or erroneous data packet is a key frame, the video quality is affected more seriously, but the non-key frame is lost or erroneous, and the data packet can be recovered according to a previous video data packet and/or a next video data packet. Taking the first video data packet as an example, when the encoding form of the first video data packet is the key frame form, the target layer sends the first video data packet to the physical layer, and then the physical layer sends the first video data packet to the receiving end.
The key frame is an independent frame including all video data in a video data packet, and can be independently decoded without referring to images of other frames, and meanwhile, the key frame can also be used as a reference frame for decoding other frames, and is exemplified by a standard MPEG-4 (English: Moving Picture Experts Group, Chinese: motion Picture Experts Group) coding mode, and includes three types of frames: i frames (intra coded frames), P frames (inter predictive coded frames), and B frames (bi-directional predictive coded frames), where I frames are key frames and can be decoded independently without other information.
It should be noted that, in step 101, the physical layer may send the transmission parameters to the target layer on time according to a preset period, or send the transmission parameters to the target layer in real time after acquiring the transmission parameters, and the target layer sequentially executes steps 102 to 105 each time the target layer receives the transmission parameters.
In summary, in the present disclosure, first, a transmission parameter capable of reflecting a quality of a current transmission environment is sent to a target layer of a sending end through a physical layer of the sending end, then the target layer determines whether the current transmission environment is a weak field according to the transmission parameter, and the target layer parses a video data stream to be sent to obtain a plurality of video data packets, under a condition that the current transmission environment is the weak field, the video data packets are distinguished according to a coding form, when the coding form of a first video data packet is a key frame form, the first video data packet is sent to the physical layer through the target layer, and finally the physical layer sends the first video data packet to a receiving end. The method can reduce the error rate and transmission delay of video transmission and improve the quality of video transmission under the scene of low signal intensity or large interference.
Optionally, step 105 may be implemented by:
and repeatedly sending the first video data packet to a receiving end through the physical layer according to the preset times.
For example, in order to further ensure the quality of video transmission, the video data packets may be repeatedly sent by controlling the physical layer to reduce the transmission delay, and then the video data packets encoded in the form of key frames are ensured not to be lost according to the HARQ (english: Hybrid automatic repeat Request) technology of the physical layer of the receiving end. Taking the preset number of times as 2 for example, the physical layer sends the first video data packet to the receiving end twice, so as to further reduce the probability of packet loss of the first video data packet. The physical layer can send the transmission parameters to the target layer periodically, the target layer judges the quality of the current transmission environment once when receiving the transmission parameters, and when the target layer detects that the current transmission environment is a weak field last time, the current transmission environment is detected whether the current transmission environment is a weak field or not, and the physical layer sends the first video data packet for the first time, the physical layer can stop the operation of repeatedly sending the first video data packet for the second time.
Fig. 2 is a flow chart illustrating another video transmission method according to an example embodiment, as shown in fig. 2, the method further comprising:
and 106, when the current transmission environment is a weak field and the coding form of the first video data packet is a non-key frame form, discarding the first video data packet through the target layer.
For example, when the target layer determines that the current transmission environment is a weak field according to the transmission parameters, the target layer discards the video data packet encoded in the form of a non-key frame, and makes full use of the limited transmission bandwidth on the premise of not affecting the video transmission quality.
Fig. 3 is a flow chart illustrating another video transmission method according to an example embodiment, as shown in fig. 3, the method further comprising:
and step 107, when the current transmission environment is not a weak field, sending the at least one video data packet to the physical layer through the target layer according to the sequence of the at least one video data packet reaching the target layer.
And step 108, sending at least one video data packet to a receiving end through a physical layer.
For example, when the target layer determines that the current transmission environment is not a weak field according to the transmission parameters, the target layer sends at least one video data packet obtained in step 103 to the physical layer according to a normal processing manner and according to the sequence in which the at least one video data packet reaches the target layer, that is, the target layer parses the video data stream to be sent according to a preset parsing manner to obtain a plurality of video data packets in sequence, the target layer sends all the video data packets to the physical layer in sequence according to the sequence in which the plurality of video data packets are obtained, and then the physical layer sends all the video data packets to the receiving end.
Fig. 4 is a flow chart illustrating another video transmission method according to an exemplary embodiment, where, as shown in fig. 4, the transmission parameters are: signal to interference plus noise ratio, SINR, and reference signal received power, RSRP.
Step 102 comprises:
and step 1021, when the SINR is less than or equal to a preset first threshold and the RSRP is less than or equal to a preset second threshold, determining that the current transmission environment is a weak field.
And step 1022, when the SINR is greater than the first threshold or the RSRP is greater than the second threshold, determining that the current transmission environment is not a weak field.
For example, the transmission parameters include SINR and RSRP, a first threshold (for example, 3dB) corresponding to SINR and a second threshold (for example, -105dBm) corresponding to RSRP are preset, when SINR is less than or equal to the preset first threshold and RSRP is less than or equal to the preset second threshold, it is determined that the current transmission environment is a weak field, and when SINR is greater than the first threshold or RSRP is greater than the second threshold, it is determined that the current transmission environment is not a weak field.
In summary, in the present disclosure, first, a transmission parameter capable of reflecting a quality of a current transmission environment is sent to a target layer of a sending end through a physical layer of the sending end, then the target layer determines whether the current transmission environment is a weak field according to the transmission parameter, and the target layer parses a video data stream to be sent to obtain a plurality of video data packets, under a condition that the current transmission environment is the weak field, the video data packets are distinguished according to a coding form, when the coding form of a first video data packet is a key frame form, the first video data packet is sent to the physical layer through the target layer, and finally the physical layer sends the first video data packet to a receiving end. The method can reduce the error rate and transmission delay of video transmission and improve the quality of video transmission under the scene of low signal intensity or large interference.
Fig. 5 is a block diagram illustrating a video transmission apparatus according to an exemplary embodiment, as shown in fig. 5, applied to a transmitting end, the apparatus 200 including:
the first sending module 201 is configured to send a transmission parameter of a current transmission environment to a target layer of the sending end through a physical layer of the sending end, where the target layer is an upper protocol stack of the physical layer, and the transmission parameter is used to indicate quality of the current transmission environment.
And a determining module 202, configured to determine, by the target layer, whether the current transmission environment is a weak field according to the transmission parameter.
The parsing module 203 is configured to parse, through the target layer, the video data stream to be sent to obtain at least one video data packet.
The processing module 204 is configured to send the first video data packet to the physical layer through the target layer when the current transmission environment is a weak field and the encoding form of the first video data packet is a key frame form, where the first video data packet is any video data packet in the at least one video data packet.
A second sending module 205, configured to send the first video data packet to a receiving end through a physical layer.
Optionally, the second sending module 205 may implement the following steps:
and repeatedly sending the first video data packet to a receiving end through the physical layer according to the preset times.
Optionally, the processing module 204 is further configured to:
when the current transmission environment is a weak field and the encoded form of the first video data packet is a non-key frame form, the first video data packet is discarded through the target layer.
Optionally, the processing module 204 is further configured to:
and when the current transmission environment is not a weak field, sending the at least one video data packet to the physical layer through the target layer according to the sequence of the at least one video data packet reaching the target layer.
The second sending module 205 is further configured to:
and sending at least one video data packet to a receiving end through a physical layer.
Fig. 6 is a block diagram illustrating another video transmission apparatus according to an exemplary embodiment, as shown in fig. 6, wherein the transmission parameters are: the signal to interference plus noise ratio SINR and the reference signal received power RSRP, the determining module 202 includes:
the first determining submodule 2021 is configured to determine that the current transmission environment is a weak field when the SINR is less than or equal to a preset first threshold and the RSRP is less than or equal to a preset second threshold.
The second determining submodule 2022 is configured to determine that the current transmission environment is not a weak field when the SINR is greater than the first threshold or the RSRP is greater than the second threshold.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In summary, in the present disclosure, first, a transmission parameter capable of reflecting a quality of a current transmission environment is sent to a target layer of a sending end through a physical layer of the sending end, then the target layer determines whether the current transmission environment is a weak field according to the transmission parameter, and the target layer parses a video data stream to be sent to obtain a plurality of video data packets, under a condition that the current transmission environment is the weak field, the video data packets are distinguished according to a coding form, when the coding form of a first video data packet is a key frame form, the first video data packet is sent to the physical layer through the target layer, and finally the physical layer sends the first video data packet to a receiving end. The method can reduce the error rate and transmission delay of video transmission and improve the quality of video transmission under the scene of low signal intensity or large interference.
Preferred embodiments of the present disclosure are described in detail above with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and other embodiments of the present disclosure may be easily conceived by those skilled in the art within the technical spirit of the present disclosure after considering the description and practicing the present disclosure, and all fall within the protection scope of the present disclosure.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. Meanwhile, any combination can be made between various different embodiments of the disclosure, and the disclosure should be regarded as the disclosure of the disclosure as long as the combination does not depart from the idea of the disclosure. The present disclosure is not limited to the precise structures that have been described above, and the scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A video transmission method is applied to a sending end, and the method comprises the following steps:
transmitting a transmission parameter of a current transmission environment to a target layer of the transmitting end through a physical layer of the transmitting end, wherein the target layer is an upper protocol stack of the physical layer, and the transmission parameter is used for indicating the quality of the current transmission environment;
determining whether the current transmission environment is a weak field or not according to the transmission parameters through the target layer;
analyzing a video data stream to be sent through the target layer to obtain at least one video data packet;
when the current transmission environment is a weak field and the coding form of a first video data packet is a key frame form, sending the first video data packet to the physical layer through the target layer, wherein the first video data packet is any one of the at least one video data packet;
and sending the first video data packet to a receiving end through the physical layer.
2. The method of claim 1, wherein the sending the first video packet to a receiving end through the physical layer comprises:
and repeatedly sending the first video data packet to the receiving end according to preset times through the physical layer.
3. The method of claim 1, further comprising:
when the current transmission environment is a weak field and the encoding form of a first video data packet is a non-key frame form, discarding the first video data packet by the target layer.
4. The method of claim 1, further comprising:
when the current transmission environment is not a weak field, sending the at least one video data packet to the physical layer through the target layer according to the sequence of the at least one video data packet reaching the target layer;
and sending the at least one video data packet to the receiving end through the physical layer.
5. The method according to any of claims 1-4, wherein the transmission parameters are: a signal to interference plus noise ratio, SINR, and a reference signal received power, RSRP;
the determining, by the target layer, whether the current transmission environment is a weak field according to the transmission parameter includes:
when the SINR is smaller than or equal to a preset first threshold and the RSRP is smaller than or equal to a preset second threshold, determining that the current transmission environment is a weak field;
and when the SINR is greater than the first threshold or the RSRP is greater than the second threshold, determining that the current transmission environment is not a weak field.
6. A video transmission apparatus, applied to a transmitting end, the apparatus comprising:
a first sending module, configured to send a transmission parameter of a current transmission environment to a target layer of the sending end through a physical layer of the sending end, where the target layer is an upper protocol stack of the physical layer, and the transmission parameter is used to indicate quality of the current transmission environment;
the determining module is used for determining whether the current transmission environment is a weak field or not according to the transmission parameters through the target layer;
the analysis module is used for analyzing the video data stream to be sent through the target layer to obtain at least one video data packet;
a processing module, configured to send a first video data packet to the physical layer through the target layer when the current transmission environment is a weak field and an encoding form of the first video data packet is a key frame form, where the first video data packet is any one of the at least one video data packet;
and the second sending module is used for sending the first video data packet to a receiving end through the physical layer.
7. The apparatus of claim 6, wherein the second sending module is configured to:
and repeatedly sending the first video data packet to the receiving end according to preset times through the physical layer.
8. The apparatus of claim 6, wherein the processing module is further configured to:
when the current transmission environment is a weak field and the encoding form of a first video data packet is a non-key frame form, discarding the first video data packet by the target layer.
9. The apparatus of claim 6, wherein the processing module is further configured to:
when the current transmission environment is not a weak field, sending the at least one video data packet to the physical layer through the target layer according to the sequence of the at least one video data packet reaching the target layer;
the second sending module is further configured to:
and sending the at least one video data packet to the receiving end through the physical layer.
10. The apparatus according to any of claims 6-9, wherein the transmission parameters are: a signal to interference plus noise ratio, SINR, and a reference signal received power, RSRP;
the determining module comprises:
a first determining submodule, configured to determine that the current transmission environment is a weak field when the SINR is less than or equal to a preset first threshold and the RSRP is less than or equal to a preset second threshold;
a second determining submodule, configured to determine that the current transmission environment is not a weak field when the SINR is greater than the first threshold or the RSRP is greater than the second threshold.
CN201810943172.0A 2018-08-17 2018-08-17 Video transmission method and device Pending CN110839164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810943172.0A CN110839164A (en) 2018-08-17 2018-08-17 Video transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810943172.0A CN110839164A (en) 2018-08-17 2018-08-17 Video transmission method and device

Publications (1)

Publication Number Publication Date
CN110839164A true CN110839164A (en) 2020-02-25

Family

ID=69574339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810943172.0A Pending CN110839164A (en) 2018-08-17 2018-08-17 Video transmission method and device

Country Status (1)

Country Link
CN (1) CN110839164A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104538A (en) * 2010-12-08 2011-06-22 浙江工业大学 Mapping parameter dynamic adaptive wireless streaming media transmission control method
CN103338375A (en) * 2013-06-27 2013-10-02 公安部第一研究所 Dynamic code rate allocation method based on video data importance in wideband clustered system
CN103580773A (en) * 2012-07-18 2014-02-12 中兴通讯股份有限公司 Method and device for transmitting data frame
CN103814582A (en) * 2013-11-05 2014-05-21 华为技术有限公司 Data transmission method, data receiving device and data sending device for video service
CN103945281A (en) * 2014-04-29 2014-07-23 中国联合网络通信集团有限公司 Method, device and system for video transmission processing
CN104025484A (en) * 2011-12-22 2014-09-03 Lg电子株式会社 METHOD FOR MEASURING A WIRELESS COMMUNICATION STATE IN A WIRELESS ACCESS SYSTEM, AND APPARATUS THEREFOr

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104538A (en) * 2010-12-08 2011-06-22 浙江工业大学 Mapping parameter dynamic adaptive wireless streaming media transmission control method
CN104025484A (en) * 2011-12-22 2014-09-03 Lg电子株式会社 METHOD FOR MEASURING A WIRELESS COMMUNICATION STATE IN A WIRELESS ACCESS SYSTEM, AND APPARATUS THEREFOr
CN103580773A (en) * 2012-07-18 2014-02-12 中兴通讯股份有限公司 Method and device for transmitting data frame
CN103338375A (en) * 2013-06-27 2013-10-02 公安部第一研究所 Dynamic code rate allocation method based on video data importance in wideband clustered system
CN103814582A (en) * 2013-11-05 2014-05-21 华为技术有限公司 Data transmission method, data receiving device and data sending device for video service
CN103945281A (en) * 2014-04-29 2014-07-23 中国联合网络通信集团有限公司 Method, device and system for video transmission processing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵刚: "《赛博力量与国家安全》", 31 January 2017 *

Similar Documents

Publication Publication Date Title
US10652580B2 (en) Video data processing method and apparatus
US8005028B2 (en) Data communication system, data transmitting device, data transmitting method, data receiving device, and data receiving method
US7747921B2 (en) Systems and methods for transmitting data over lossy networks
CN1476268A (en) Error detecting method of mobile communication system
CN102113277A (en) Efficient packet handling for timer-based discard in wireless communication system
CN103580773A (en) Method and device for transmitting data frame
US7505465B2 (en) Packet transmission method with packet retransmission requests and a control mechanism relating to the transmission of such requests
CN105681342A (en) Anti-error code method and system of multi-channel video conference system based on H264
Yao et al. IPB-frame adaptive mapping mechanism for video transmission over IEEE 802.11 e WLANs
US20230231787A1 (en) Communication method and an apparatus
WO2006012911A1 (en) Dynamic optimization of wireless real-time video data flow
CN110830818A (en) Video transmission method and device
CN110572721B (en) Video transmission method and device
US20120124443A1 (en) Ad-hoc multimedia group communication terminal robust to packet loss and method of operating the same
CN110839164A (en) Video transmission method and device
KR100363550B1 (en) Encoder and decoder in a wireless terminal for retransmitting a moving picture
CN111225238A (en) Information processing method and related equipment
US11917206B2 (en) Video codec aware radio access network configuration and unequal error protection coding
WO2023115473A9 (en) Methods and apparatuses for supporting a packet discarding operation in a pdcp layer due to a packet loss
WO2024065477A1 (en) Wireless communication method and device
WO2023115477A1 (en) Methods and apparatuses for supporting a packet discarding operation in rlc layer due to a packet loss
Hannikainen et al. Architecture of a wireless video transfer demonstrator
CN117062142A (en) Communication method and device
CN117459994A (en) Data packet processing method, terminal and network side equipment
Dawood Error resilient packet switched H. 264 video telephony over third generation networks.

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100085 unit C, building C, lin66, Zhufang Road, Qinghe, Haidian District, Beijing

Applicant after: Beijing Xiaomi pinecone Electronic Co.,Ltd.

Address before: 100085 Beijing city Haidian District Qinghe Shun Yip things Park Building 3 unit A

Applicant before: BEIJING PINECONE ELECTRONICS Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20200225

RJ01 Rejection of invention patent application after publication