CN113225608A - Video transmission method, device, equipment and storage medium based on wireless network - Google Patents

Video transmission method, device, equipment and storage medium based on wireless network Download PDF

Info

Publication number
CN113225608A
CN113225608A CN202110282939.1A CN202110282939A CN113225608A CN 113225608 A CN113225608 A CN 113225608A CN 202110282939 A CN202110282939 A CN 202110282939A CN 113225608 A CN113225608 A CN 113225608A
Authority
CN
China
Prior art keywords
queue
video data
image frame
frame
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
CN202110282939.1A
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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202110282939.1A priority Critical patent/CN113225608A/en
Publication of CN113225608A publication Critical patent/CN113225608A/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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • 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 or rendering scenes according to encoded video stream scene graphs
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a video transmission method, a video transmission device, video transmission equipment and a video transmission storage medium based on a wireless network. The method comprises the following steps: detecting the channel utilization rate of a wireless network; adjusting transmission parameters of video data of the obtained transmission opportunity according to the channel utilization rate; the video data is transmitted based on the transmission parameters. Therefore, the fluency of video preview is improved.

Description

Video transmission method, device, equipment and storage medium based on wireless network
Technical Field
The invention belongs to the technical field of video transmission, and particularly relates to a video transmission method, a video transmission device, video transmission equipment and a video transmission storage medium based on a wireless network.
Background
The IEEE sets an 802.11e standard for the service quality of multimedia data under a wifi link, and the wifi alliance optimizes the standard and sets a wmm (wifi multimedia) standard, but these standards do not further optimize the characteristics of video data, so that the video preview through wifi in an interference environment is prone to cause a stuck problem.
Disclosure of Invention
The invention provides a video transmission method, a device, equipment and a storage medium based on a wireless network. The method is used for improving the fluency of video browsing.
In order to solve the above technical problems, a first technical solution provided by the present invention is: a video transmission method based on a wireless network is provided, which comprises the following steps: detecting the channel utilization rate of a wireless network; adjusting transmission parameters of video data of the obtained transmission opportunity according to the channel utilization rate; the video data is transmitted based on the transmission parameters.
Wherein the video data comprises a plurality of image frames; before detecting the channel utilization of the wireless network, the method further comprises the following steps: detecting a type of the image frame; storing different types of image frames into queues with different priorities; video data for obtaining a transmission opportunity is obtained from the queue.
The adjusting of the transmission parameters of the video data for obtaining the transmission opportunity according to the channel utilization rate includes: if the channel utilization rate is smaller than a first preset value, performing aggregation processing on image frames of the video data with the transmission opportunity to adjust transmission parameters of the video data with the transmission opportunity; and if the channel utilization rate is greater than the second preset value, performing fragmentation processing on the image frame of the video data with the transmission opportunity to adjust the transmission parameters of the video data with the transmission opportunity.
Wherein storing different types of image frames into queues of different priorities comprises: judging whether the image frame is an I frame; if the image frame is an I frame, storing the image frame into a first queue; if the image frame is not an I-frame, the image frame is stored in a second queue.
Wherein the priority of the first queue is greater than the priority of the second queue.
Wherein if the image frame is an I-frame, storing the image frame in the first queue further comprises: if the first queue is full, storing the image frame with the longest time in the first queue into a third queue and deleting the image frame from the first queue; if the second queue is full, deleting part of image frames in the second queue; wherein the priority of the third queue is greater than the priority of the first queue and the priority of the second queue.
In order to solve the above technical problems, a second technical solution provided by the present invention is: there is provided a wireless network-based video transmission apparatus including: the detection module is used for detecting the channel utilization rate of the wireless network; the parameter adjusting module is used for adjusting the transmission parameters of the video data of the transmission opportunity according to the channel utilization rate; and the sending module is used for sending the video data based on the transmission parameters.
In order to solve the above technical problems, a third technical solution provided by the present invention is: a video transmission method based on a wireless network is provided, which includes detecting a type of an image frame in video data; storing different types of image frames into queues with different priorities; and acquiring the video data acquiring the transmission opportunity from the queue and sending the video data.
Wherein storing different types of image frames into queues of different priorities comprises: judging whether the image frame is an I frame; if the image frame is an I frame, storing the image frame into a first queue; if the image frame is not an I frame, storing the image frame into a second queue; wherein the priority of the first queue is greater than the priority of the second queue.
Wherein if the image frame is an I-frame, storing the image frame in the first queue further comprises: if the first queue is full, storing the image frame with the longest time in the first queue into a third queue and deleting the image frame from the first queue; if the second queue is full, deleting part of image frames in the second queue; wherein the priority of the third queue is greater than the priority of the first queue and the priority of the second queue.
In order to solve the above technical problems, a fourth technical solution provided by the present invention is: there is provided a wireless network-based video transmission apparatus including: the judging module is used for detecting the type of an image frame in the video data; the queue storage module is used for storing different types of image frames into queues with different priorities; and the sending module is used for acquiring the video data of the transmission opportunity from the queue and sending the video data.
In order to solve the above technical problems, a fifth technical solution provided by the present invention is: provided is an electronic device including: a memory storing program instructions and a processor retrieving the program instructions from the memory to perform any of the above methods.
In order to solve the above technical problems, a sixth technical solution provided by the present invention is: there is provided a computer readable storage medium storing a program file executable to implement the method of any of the above.
The method has the advantages that the method is different from the prior art, and the transmission parameters of the video data of the transmission opportunity are obtained by adjusting according to the channel utilization rate of the wireless network; the video data is transmitted based on the transmission parameters. Therefore, the previewing fluency of the video data is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without inventive efforts, wherein:
fig. 1 is a schematic flow chart of a video transmission method based on a wireless network according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a second embodiment of a wireless network-based video transmission method according to the present invention;
FIG. 3 is a schematic structural diagram of a wireless network-based video transmission apparatus according to a first embodiment of the present invention;
FIG. 4 is a flowchart illustrating a video transmission method based on a wireless network according to a third embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a wireless network-based video transmission apparatus according to a second embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the invention;
FIG. 7 is a structural diagram of an embodiment of a computer-readable storage medium according to the invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Please refer to fig. 1, which is a flowchart illustrating a video transmission method based on a wireless network according to a first embodiment of the present invention, including:
step S11: channel utilization of a wireless network is detected.
For the sender, the time required for the sender to effectively send data in one cycle accounts for the ratio of the whole sending cycle. The transmission cycle is the time from the transmission of the first data to the reception of the first acknowledgement frame by the transmitting side. Assuming that a transmission period is T, the amount of data transmitted in the period is L, the rate of the transmitting side is C, the time for the transmitting side to transmit valid data is L/C, and the channel utilization rate is (L/C)/T. In the present application, the channel utilization rate of the wireless network is detected, that is, the ratio of the time required by the sender to effectively send data to the whole sending period in one period is detected.
Step S12: and adjusting the transmission parameters of the video data of the obtained transmission opportunity according to the channel utilization rate.
In a specific embodiment, a transmission parameter of video data of a transmission opportunity is obtained by adjusting according to a channel utilization rate, and the video data is sent based on the transmission parameter, so that fluency of video preview under a wireless network (e.g., WIFI) link of a receiving party can be improved.
Specifically, if the channel utilization rate is smaller than the first preset value, the image frames of the video data with the transmission opportunity are aggregated to adjust the transmission parameters of the video data with the transmission opportunity. As will be appreciated, the video data comprises a number of image frames. For example, if the image frames of the video data for which the transmission opportunity is obtained have n frames, the n frames of the image frames are aggregated together, so as to adjust the transmission parameters of the video data for which the transmission opportunity is obtained. In one embodiment, the first preset value is 25% to 40%, and preferably, the first preset value is 30%.
And if the channel utilization rate is greater than the second preset value, performing fragmentation processing on the image frame of the video data with the transmission opportunity to adjust the transmission parameters of the video data with the transmission opportunity. For example, if the image frame of the video data for which the transmission opportunity is obtained has n frames, each image frame is sliced so that each image frame includes a plurality of sub-slices, thereby adjusting the transmission parameters of the video data for which the transmission opportunity is obtained. In one embodiment, the second predetermined value is 65% to 80%, and preferably, the first predetermined value is 70%.
In another embodiment, if the channel utilization is greater than the first preset value and less than the second preset value, the original image frame is sent without any processing on the image frame of the video data obtaining the transmission opportunity.
Step S13: the video data is transmitted based on the transmission parameters.
And transmitting the video data based on the adjusted transmission parameters.
In the video transmission method shown in this embodiment, the transmission parameters of the image frames of the video data are changed according to the channel utilization rate of the wireless network, and the image frames of the video data are transmitted to the receiving party based on the transmission parameters. Therefore, the fluency of video preview under a wireless network link can be ensured.
Referring to fig. 2, a flowchart of a second embodiment of the video transmission method based on a wireless network according to the present invention is shown, wherein steps S24, S25 and S26 are the same as steps S11, S12 and S13 shown in fig. 1, except that the embodiment further includes, before step S24:
step S21: the type of the image frame is detected.
Specifically, the image frames generally include I frames, B frames, and P frames. The I frame is a full frame compression coding frame, which carries out compression coding and transmission on full frame image information, and a complete image can be reconstructed only by using the data of the I frame during decoding. I frames are reference frames for B frames as well as P frames. Where a P frame has one reference frame and a B frame has two reference frames. And marking the corresponding type of each image frame, and detecting the type of each image frame, namely detecting which one of the I frame, the B frame and the P frame the image frame is.
Step S22: different types of image frames are stored in queues of different priorities.
The wireless network such as WIFI has corresponding priority queues at the bottom layer, and the priority queues are divided into the following parts from high to low according to the priority: VO queue (voice), VI queue (video), BE queue (best effort), BK queue (back ground). The four queues at the bottom level are working simultaneously, but the high priority queues have a greater probability of getting a transmission opportunity.
Specifically, in one embodiment, each image frame in the video data has a type flag, such as 11100000 for the IP header TOS field of the I frame flag and 00000000 for the IP header TOS field of the P frame flag. Judging whether each image frame in the video data is an I frame or not according to the mark; if the image frame is an I frame, storing the image frame into a first queue; if the image frame is not an I-frame, such as a B-frame or P-frame, the image frame is stored in a second queue. Wherein the priority of the first queue is greater than the priority of the second queue.
In one embodiment, the first queue is a VI queue and the second queue is a BE queue (best effort).
In one embodiment, if the first queue is full, the oldest image frame in the first queue (i.e., I-frame) is stored in the third queue and the image frames stored in the third queue are removed from the first queue. For example, the third queue is a VO queue (voice). Wherein the priority of the third queue is greater than the priority of the first queue and the priority of the second queue.
In one embodiment, if the second queue is full, a portion of the image frames in the second queue, which are either B frames or P frames, are deleted.
Step S23: video data for obtaining a transmission opportunity is obtained from the queue.
Video data for obtaining a transmission opportunity is obtained from the queue. Specifically, the higher the priority, the greater the probability that the image frames in the queue will get a transmission opportunity. Specifically, the probability that the image frames in the third queue obtain the transmission opportunity is greater than the probability that the image frames in the first queue obtain the transmission opportunity and greater than the probability that the image frames in the second queue obtain the transmission opportunity. The video data for which the transmission opportunity is obtained is acquired from the queue and transmitted by performing the steps of step S24, step S25, and step S26. Step S24, step S25, and step S26 are the same as step S11, step S12, and step S13 shown in fig. 1, and are not repeated herein.
In an embodiment, taking an I frame as an example for description, if the channel utilization rate is smaller than a first preset value, performing aggregation processing on I frame image frames of video data of which transmission opportunities are obtained so as to adjust transmission parameters of the video data of which the transmission opportunities are obtained; if the channel utilization rate is greater than a second preset value, performing fragmentation processing on the I frame image frame of the video data with the transmission opportunity to adjust the transmission parameters of the video data with the transmission opportunity, and sending the video data with the high rate based on the transmission parameters; and if the channel utilization rate is greater than the first preset value and less than the second preset value, the I frame image frame of the video data with the transmission opportunity is not processed, and the I frame image frame is directly sent at a high rate.
According to the video transmission method based on the wireless network, the image frames in the video data are divided according to the types according to the influences of the types of the image frames in the video data and the previewing fluency, different types of data are mapped into different priority queues, different priorities are reasonably scheduled on a WIFI link layer, transmission parameters are adjusted according to different channel utilization rates and the video data, and the fluency of video previewing under the WIFI link is better guaranteed.
Referring to fig. 3, a schematic structural diagram of a first embodiment of the wireless network-based video transmission apparatus according to the present invention includes: a detection module 31, a parameter adjustment module 32 and a transmission module 33.
The detecting module 31 is configured to detect a channel utilization of a wireless network. In a specific embodiment, the detection module 31 is further configured to detect a type of an image frame in the video data; different types of image frames are stored in queues of different priorities. Specifically, if the image frame is an I frame, the image frame is stored in a first queue; if the image frame is not an I-frame, the image frame is stored in a second queue. The priority of the first queue is greater than the priority of the second queue. If the first queue is full, storing the image frame with the longest time in the first queue into a third queue and deleting the image frame from the first queue; if the second queue is full, deleting part of image frames in the second queue; wherein the priority of the third queue is greater than the priority of the first queue and the priority of the second queue. The detection module 31 is further configured to obtain video data for obtaining transmission opportunities from the queue.
The parameter adjusting module 32 is configured to adjust a transmission parameter of the video data for obtaining the transmission opportunity according to the channel utilization. Specifically, if the channel utilization rate is smaller than the first preset value, the parameter adjusting module 32 performs aggregation processing on the image frames of the video data with the transmission opportunity to adjust the transmission parameters of the video data with the transmission opportunity; if the channel utilization rate is greater than the second preset value, the parameter adjusting module 32 performs slicing processing on the image frame of the video data with the transmission opportunity to adjust the transmission parameters of the video data with the transmission opportunity.
The sending module 33 is configured to send video data based on the transmission parameter.
The video transmission device based on the wireless network divides the image frames in the video data according to the types and influences of previewing fluency of the image frames in the video data, maps different types of data into different priority queues, reasonably schedules different priorities on a WIFI link layer, adjusts transmission parameters according to different channel utilization rates and the combination of the video data, and better guarantees the fluency of video previewing under a WIFI link.
Referring to fig. 4, a flow chart of a video transmission method based on a wireless network according to a third embodiment of the present invention is shown, which includes:
step S41: the type of image frame in the video data is detected.
The type of image frame in the video data is detected. The image frames generally include I-frames, B-frames, and P-frames. The I frame is a full frame compression coding frame, which carries out compression coding and transmission on full frame image information, and a complete image can be reconstructed only by using the data of the I frame during decoding. I frames are reference frames for B frames as well as P frames. Where a P frame has one reference frame and a B frame has two reference frames. And marking the corresponding type of each image frame, and detecting the type of each image frame, namely detecting which one of the I frame, the B frame and the P frame the image frame is.
In one embodiment, each image frame in the video data has a type tag, such as an IP header TOS field of the I frame tag of 11100000 and an IP header TOS field of the P frame tag of 00000000. And judging whether each image frame in the video data is an I frame or not according to the mark.
Step S42: different types of image frames are stored in queues of different priorities.
Specifically, the wireless network, for example, a WIFI, has a corresponding priority queue at the bottom layer, and is divided into the following priority queues from high to low according to the priority: VO queue (voice), VI queue (video), BE queue (best effort), BK queue (back ground). The four queues at the bottom level are working simultaneously, but the high priority queues have a greater probability of getting a transmission opportunity.
If the image frame is an I frame, storing the image frame into a first queue; if the image frame is not an I-frame, such as a B-frame or P-frame, the image frame is stored in a second queue. Wherein the priority of the first queue is greater than the priority of the second queue.
In one embodiment, the first queue is a VI queue and the second queue is a BE queue (best effort).
In one embodiment, if the first queue is full, the oldest image frame in the first queue (i.e., I-frame) is stored in the third queue and the image frames stored in the third queue are removed from the first queue. For example, the third queue is a VO queue (voice). Wherein the priority of the third queue is greater than the priority of the first queue and the priority of the second queue.
In one embodiment, if the second queue is full, a portion of the image frames in the second queue, which are either B frames or P frames, are deleted.
Step S43: and acquiring the video data acquiring the transmission opportunity from the queue and sending the video data.
Video data for obtaining a transmission opportunity is obtained from the queue. Specifically, the higher the priority, the greater the probability that the image frames in the queue will get a transmission opportunity. Specifically, the probability that the image frames in the third queue obtain the transmission opportunity is greater than the probability that the image frames in the first queue obtain the transmission opportunity and greater than the probability that the image frames in the second queue obtain the transmission opportunity. And acquiring the video data acquiring the transmission opportunity from the queue, and sending the video data acquiring the transmission opportunity.
According to the video transmission method based on the wireless network, the image frames in the video data are divided according to the types according to the influence of the types of the image frames in the video data and the previewing fluency, different types of data are mapped into different priority queues, and the video data with transmission opportunities obtained in the queues are sent, so that the fluency of video previewing is improved.
Referring to fig. 5, a schematic structural diagram of a video transmission apparatus based on a wireless network according to a second embodiment of the present invention includes: a judging module 51, a queue storage module 52 and a sending module 53.
The judging module 51 is used for detecting the type of the image frame in the video data. Specifically, the judging module 51 is further configured to judge whether the image frame is an I frame; if the image frame is an I frame, storing the image frame into a first queue; if the image frame is not an I frame, storing the image frame into a second queue; wherein the priority of the first queue is greater than the priority of the second queue. If the first queue is full, storing the image frame with the longest time in the first queue into a third queue and deleting the image frame from the first queue; if the second queue is full, deleting part of image frames in the second queue; wherein the priority of the third queue is greater than the priority of the first queue and the priority of the second queue.
The queue storage module 52 is used to store different types of image frames into queues with different priorities. The sending module 53 is configured to obtain video data of a transmission opportunity from the queue and send the video data.
According to the video transmission device based on the wireless network, the image frames in the video data are divided according to the types according to the influence of the types of the image frames in the video data and the previewing fluency, different types of data are mapped into different priority queues, and the video data with transmission opportunities obtained in the queues are sent, so that the fluency of video previewing is improved.
Referring to fig. 6, a schematic structural diagram of an electronic device according to an embodiment of the present invention is shown, where the electronic device includes a memory 202 and a processor 201 that are connected to each other.
The memory 202 is used to store program instructions implementing the method of any of the above.
The processor 201 is used to execute program instructions stored by the memory 202.
The processor 201 may also be referred to as a Central Processing Unit (CPU). The processor 201 may be an integrated circuit chip having signal processing capabilities. The processor 201 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 202 may be a memory bank, a TF card, etc., and may store all information in the electronic device of the device, including the input raw data, the computer program, the intermediate operation results, and the final operation results. It stores and retrieves information based on the location specified by the controller. With the memory, the electronic device can only have the memory function to ensure the normal operation. The storage of electronic devices can be classified into a main storage (internal storage) and an auxiliary storage (external storage) according to the use, and also into an external storage and an internal storage. The external memory is usually a magnetic medium, an optical disk, or the like, and can store information for a long period of time. The memory refers to a storage component on the main board, which is used for storing data and programs currently being executed, but is only used for temporarily storing the programs and the data, and the data is lost when the power is turned off or the power is cut off.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a system server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method of the embodiments of the present application.
Fig. 7 is a schematic structural diagram of a computer-readable storage medium according to the present invention. The storage medium of the present application stores a program file 203 capable of implementing all the methods described above, wherein the program file 203 may be stored in the storage medium in the form of a software product, and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. The aforementioned storage device includes: various media capable of storing program codes, such as a usb disk, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, or terminal devices, such as a computer, a server, a mobile phone, and a tablet.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (13)

1. A video transmission method based on a wireless network is characterized by comprising the following steps:
detecting the channel utilization rate of a wireless network;
adjusting transmission parameters of video data of the obtained transmission opportunity according to the channel utilization rate;
transmitting the video data based on the transmission parameters.
2. The video transmission method according to claim 1, wherein the video data includes a plurality of image frames;
before the detecting the channel utilization rate of the wireless network, the method further comprises:
detecting a type of the image frame;
storing the image frames of different types into queues of different priorities;
and acquiring video data for obtaining the transmission opportunity from the queue.
3. The video transmission method according to claim 1 or 2, wherein the adjusting the transmission parameters of the video data for obtaining the transmission opportunity according to the channel utilization comprises:
if the channel utilization rate is smaller than a first preset value, performing aggregation processing on image frames of the video data with the transmission opportunity to adjust transmission parameters of the video data with the transmission opportunity;
and if the channel utilization rate is greater than a second preset value, performing fragmentation processing on the image frame of the video data with the transmission opportunity to adjust the transmission parameters of the video data with the transmission opportunity.
4. The video transmission method according to claim 3, wherein said storing the image frames of different types into queues of different priorities comprises:
judging whether the image frame is an I frame;
if the image frame is an I frame, storing the image frame into a first queue;
and if the image frame is not an I frame, storing the image frame into a second queue.
5. The video transmission method according to claim 4, wherein the priority of the first queue is greater than the priority of the second queue.
6. The video transmission method according to claim 4, wherein said storing the image frame in the first queue if the image frame is an I-frame further comprises:
if the first queue is full, storing the image frame with the longest time in the first queue into a third queue and deleting the image frame from the first queue;
if the second queue is full, deleting part of the image frames in the second queue;
wherein the priority of the third queue is greater than the priority of the first queue and the priority of the second queue.
7. A video transmission apparatus based on a wireless network, comprising:
the detection module is used for detecting the channel utilization rate of the wireless network;
the parameter adjusting module is used for adjusting the transmission parameters of the video data of the transmission opportunity according to the channel utilization rate;
a sending module, configured to send the video data based on the transmission parameter.
8. A video transmission method based on a wireless network is characterized by comprising the following steps:
detecting a type of an image frame in video data;
storing the image frames of different types into queues of different priorities;
and acquiring the video data of the transmission opportunity from the queue and sending the video data.
9. The video transmission method of claim 8, wherein said storing the image frames of different types into queues of different priorities comprises:
judging whether the image frame is an I frame;
if the image frame is an I frame, storing the image frame into a first queue;
if the image frame is not an I frame, storing the image frame into a second queue;
wherein the priority of the first queue is greater than the priority of the second queue.
10. The video transmission method according to claim 9, wherein said storing the image frame in the first queue if the image frame is an I-frame further comprises:
if the first queue is full, storing the image frame with the longest time in the first queue into a third queue and deleting the image frame from the first queue;
if the second queue is full, deleting part of the image frames in the second queue;
wherein the priority of the third queue is greater than the priority of the first queue and the priority of the second queue.
11. A video transmission apparatus based on a wireless network, comprising:
the judging module is used for detecting the type of an image frame in the video data;
the queue storage module is used for storing the image frames of different types into queues of different priorities;
and the sending module is used for acquiring the video data of the transmission opportunity from the queue and sending the video data.
12. An electronic device, comprising: a memory and a processor, wherein the memory stores program instructions that the processor retrieves from the memory to perform the wireless network based video transmission method of any of claims 1-6, 8-10.
13. A computer-readable storage medium, characterized in that a program file is stored, which can be executed to implement the wireless network-based video transmission method according to any one of claims 1-6, 8-10.
CN202110282939.1A 2021-03-16 2021-03-16 Video transmission method, device, equipment and storage medium based on wireless network Pending CN113225608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110282939.1A CN113225608A (en) 2021-03-16 2021-03-16 Video transmission method, device, equipment and storage medium based on wireless network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110282939.1A CN113225608A (en) 2021-03-16 2021-03-16 Video transmission method, device, equipment and storage medium based on wireless network

Publications (1)

Publication Number Publication Date
CN113225608A true CN113225608A (en) 2021-08-06

Family

ID=77083738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110282939.1A Pending CN113225608A (en) 2021-03-16 2021-03-16 Video transmission method, device, equipment and storage medium based on wireless network

Country Status (1)

Country Link
CN (1) CN113225608A (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567736A (en) * 2003-07-08 2005-01-19 联想(北京)有限公司 A method for improving transmission efficiency of wireless network channel
US20090180549A1 (en) * 2008-01-15 2009-07-16 Futurewei Technologies, Inc. Method and Apparatus for Scheduling Multimedia Streams over a Wireless Broadcast Channel
GB201201827D0 (en) * 2012-02-02 2012-03-21 Canon Kk Method and system of transmitting video frame data to improve the use of network bandwidth
CN102468883A (en) * 2010-11-16 2012-05-23 北京中电华大电子设计有限责任公司 Speed adjustment method for transmitting aggregation frame at 802.11n
CN102958109A (en) * 2012-10-26 2013-03-06 合肥工业大学 Node energy self-adaption management strategy of wireless sensor network
US20130148640A1 (en) * 2011-12-08 2013-06-13 Renesas Mobile Corporation Mechanism for Controlling Data Transmission in Fragmentation Transmission Mode
US20130202025A1 (en) * 2012-02-02 2013-08-08 Canon Kabushiki Kaisha Method and system for transmitting video frame data to reduce slice error rate
CN103828384A (en) * 2011-09-30 2014-05-28 英特尔公司 Software based wireless channel-aware adaptive video bit rate encoding
JP2015050591A (en) * 2013-08-30 2015-03-16 株式会社リコー Information processor, information processing method, and program
CN105263066A (en) * 2014-06-13 2016-01-20 珠海全志科技股份有限公司 Mobile equipment video stream transmission control method and system
US20160037515A1 (en) * 2014-08-01 2016-02-04 Spreadtrum Communications (Shanghai) Co., Ltd. Method and apparatus for controlling length of aggregation frame in wireless network
CN105681931A (en) * 2016-01-12 2016-06-15 清华大学 Video data packet transmission method and system based on wireless network
US20160248494A1 (en) * 2015-02-20 2016-08-25 Nokia Technologies Oy Configuring Simultaneous Transmissions in Wireless Network
CN107070599A (en) * 2017-04-06 2017-08-18 中国人民解放军理工大学 A kind of long-distance link variable Rate selects repeating method
CN108306713A (en) * 2018-01-19 2018-07-20 京信通信系统(中国)有限公司 A kind of information transferring method and device of wireless communication system
US20190244029A1 (en) * 2016-10-18 2019-08-08 Zhejiang Dahua Technology Co., Ltd. Methods and systems for video processing
US20190261007A1 (en) * 2018-02-20 2019-08-22 Netgear, Inc. Adaptive encoding in security camera applications
CN110875806A (en) * 2018-08-30 2020-03-10 广东新岸线计算机系统芯片有限公司 Ultra-high throughput wireless broadband data transmission method and system

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060153150A1 (en) * 2003-07-08 2006-07-13 Xuexian Yang Method for improving channel transmission efficiency in wireless network
CN1567736A (en) * 2003-07-08 2005-01-19 联想(北京)有限公司 A method for improving transmission efficiency of wireless network channel
US20090180549A1 (en) * 2008-01-15 2009-07-16 Futurewei Technologies, Inc. Method and Apparatus for Scheduling Multimedia Streams over a Wireless Broadcast Channel
CN102468883A (en) * 2010-11-16 2012-05-23 北京中电华大电子设计有限责任公司 Speed adjustment method for transmitting aggregation frame at 802.11n
CN103828384A (en) * 2011-09-30 2014-05-28 英特尔公司 Software based wireless channel-aware adaptive video bit rate encoding
US20130148640A1 (en) * 2011-12-08 2013-06-13 Renesas Mobile Corporation Mechanism for Controlling Data Transmission in Fragmentation Transmission Mode
US20130202025A1 (en) * 2012-02-02 2013-08-08 Canon Kabushiki Kaisha Method and system for transmitting video frame data to reduce slice error rate
GB201201827D0 (en) * 2012-02-02 2012-03-21 Canon Kk Method and system of transmitting video frame data to improve the use of network bandwidth
CN102958109A (en) * 2012-10-26 2013-03-06 合肥工业大学 Node energy self-adaption management strategy of wireless sensor network
JP2015050591A (en) * 2013-08-30 2015-03-16 株式会社リコー Information processor, information processing method, and program
CN105263066A (en) * 2014-06-13 2016-01-20 珠海全志科技股份有限公司 Mobile equipment video stream transmission control method and system
US20160037515A1 (en) * 2014-08-01 2016-02-04 Spreadtrum Communications (Shanghai) Co., Ltd. Method and apparatus for controlling length of aggregation frame in wireless network
US20160248494A1 (en) * 2015-02-20 2016-08-25 Nokia Technologies Oy Configuring Simultaneous Transmissions in Wireless Network
CN105681931A (en) * 2016-01-12 2016-06-15 清华大学 Video data packet transmission method and system based on wireless network
US20190244029A1 (en) * 2016-10-18 2019-08-08 Zhejiang Dahua Technology Co., Ltd. Methods and systems for video processing
CN107070599A (en) * 2017-04-06 2017-08-18 中国人民解放军理工大学 A kind of long-distance link variable Rate selects repeating method
CN108306713A (en) * 2018-01-19 2018-07-20 京信通信系统(中国)有限公司 A kind of information transferring method and device of wireless communication system
US20190261007A1 (en) * 2018-02-20 2019-08-22 Netgear, Inc. Adaptive encoding in security camera applications
CN110875806A (en) * 2018-08-30 2020-03-10 广东新岸线计算机系统芯片有限公司 Ultra-high throughput wireless broadband data transmission method and system

Similar Documents

Publication Publication Date Title
US9699099B2 (en) Method of transmitting data in a communication system
CN107342848B (en) Self-adaptive code stream transmission method, device and equipment
CN109753207B (en) Information processing method and device and storage medium
US10484750B2 (en) Methods, radio communication device and base station device for managing a media stream
CN110944220B (en) Video screen projection playing method, device, equipment and system
CN112868265B (en) Network resource management method, management device, electronic equipment and storage medium
US11012724B2 (en) Video transmission method, apparatus, and system, and computer readable storage medium
US9813742B2 (en) Method, device and system for evaluating user experience value of video quality
WO2023174254A1 (en) Video posting method and apparatus, and device and storage medium
CN115037416A (en) Data forward error correction processing method, device, electronic equipment and storage medium
US8681860B2 (en) Moving picture compression apparatus and method of controlling operation of same
CN112929704B (en) Data transmission method, device, electronic equipment and storage medium
WO2021129742A1 (en) Network data recovery method and device, and mobile terminal
CN113225608A (en) Video transmission method, device, equipment and storage medium based on wireless network
WO2015044104A1 (en) Video traffic management
CN109104581B (en) Wireless screen transmission method, system and receiving terminal
CN113473125B (en) Code rate control method, equipment, storage medium and product
WO2019029569A1 (en) Phr reporting method, related equipment and system
CN103414938A (en) Method for controlling internal communication of digital television all-in-one machine and digital television all-in-one machine
US11129044B2 (en) Method for transmitting wireless network data, sending terminal and receiving terminal
CN114499553A (en) Method for guaranteeing operation reliability of radio frequency unit and communication device
US8791981B2 (en) Bit rate control apparatus and method thereof
CN113542798A (en) Video stream transmission method, electronic device and storage medium
JP6360765B2 (en) Mirroring system and mirroring method
CN112671693B (en) Video data compression method, device, storage medium and base station

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210806