CN108933917A - A kind of video retransmission method and device - Google Patents

A kind of video retransmission method and device Download PDF

Info

Publication number
CN108933917A
CN108933917A CN201710364484.1A CN201710364484A CN108933917A CN 108933917 A CN108933917 A CN 108933917A CN 201710364484 A CN201710364484 A CN 201710364484A CN 108933917 A CN108933917 A CN 108933917A
Authority
CN
China
Prior art keywords
video image
code rate
resolution ratio
terminal device
resolution
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
CN201710364484.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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201710364484.1A priority Critical patent/CN108933917A/en
Publication of CN108933917A publication Critical patent/CN108933917A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Landscapes

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

Abstract

The invention discloses a kind of video retransmission method and devices, not can guarantee image fluency when carrying out video passback to solve the problems, such as that terminal device exists in the prior art.The method specifically includes:Terminal device acquires video image;The terminal device detects the signal strength of the received wireless network of the terminal device when receiving the request message for being used to obtain the video image of dispatching desk transmission;The terminal device adjusts the compressed encoding parameter of the video image based on the signal strength, and the compressed encoding parameter includes:Resolution ratio and/or code rate;The terminal device be based on the compressed encoding parameter adjusted the video image is compressed, encode after be sent to the dispatching desk.

Description

A kind of video retransmission method and device
Technical field
The present invention relates to wireless communication technology field, in particular to a kind of video retransmission method and device.
Background technique
In long term evolution (English:Long Term Evolution, referred to as:LTE) in wireless private network, video passback is ratio A kind of more typical application scenarios.Video passback refers to sends out the dynamic video data for transferring terminal acquisition after compressed encoding Give the dispatching desk of the rear end LTE.The application scenarios are the dispatching desks for the video image of mobile terminal shooting being passed back to the rear end LTE On, so as to realize long-range monitoring.
After mobile terminal succeeds in registration under LTE wireless network, the dispatching desk of the rear end LTE is initiated video to mobile terminal and is returned Pass request.Mobile terminal receive video passback request after, the video image of acquisition is compressed using H.264 algorithm, Coded treatment, and the video image through overcompression, coded treatment passed back on the dispatching desk of the rear end LTE.
In the prior art, mobile terminal uses pre-set video image compression coding parameter (code rate, resolution ratio etc. Parameter) carry out compressed encoding processing.But in LTE wireless network, when to be in wireless network environment relatively good for mobile terminal When position, the uplink throughput of mobile terminal is relatively high, can achieve 50mbps, and when mobile terminal is in wireless network environment When poor position, such as encounters building and block or be moved to cell edge, the uplink throughput of mobile terminal is relatively low, reaches To tens kbps.The uplink throughput of mobile terminal is different, the requirement of the parameters such as code rate and resolution ratio to video image With regard to difference.If the parameters such as code rate and resolution ratio are arranged based on higher uplink throughput, then relatively low in uplink throughput When, the quality of the video image of mobile terminal passback will be affected, the video received such as the dispatching desk of the rear end LTE There is phenomena such as Caton or flower screen in image, not can guarantee image fluency.
Summary of the invention
The embodiment of the present invention provides a kind of video retransmission method and device, and terminal device exists in the prior art to solve Not the problem of not can guarantee image fluency when carrying out video passback.
In a first aspect, the embodiment of the invention provides a kind of video retransmission methods, including:
Terminal device acquires video image;
The terminal device is when receiving the request message for being used to obtain the video image of dispatching desk transmission, detection The signal strength of the received wireless network of terminal device;
The terminal device adjusts the compressed encoding parameter of the video image based on the signal strength, and the compression is compiled Code parameter include:Resolution ratio and/or code rate;
After the terminal device is compressed, is encoded to the video image based on the compressed encoding parameter adjusted It is sent to the dispatching desk.
Video image is acquired by terminal device in the embodiment of the present invention, and receive dispatching desk transmission for obtaining When the request message of the video image, the signal strength of the received wireless network of the terminal device is detected, is then based on institute State the compressed encoding parameter that signal strength adjusts the video image, compared with the prior art in preset the pressure of video image The mode of contracting coding parameter adjusts video image according to the signal strength of the wireless network where dispatching desk in the embodiment of the present invention Compressed encoding parameter, improve video passback flexibility, ensure that the fluency of video image.
With reference to first aspect, in the first possible embodiment of first aspect, the terminal device is based on described Signal strength adjusts the compressed encoding parameter of the video image, including:
When determining that the signal strength is less than first threshold, the terminal device turns down the resolution ratio of the video image And/or code rate.
The possible embodiment of with reference to first aspect the first, in second of possible embodiment of first aspect In, the terminal device turns down the resolution ratio and/or code rate of the video image, including:
When determining that the signal strength is less than first threshold and is greater than second threshold, by the resolution ratio of the video image Second resolution is reduced to by first resolution, and/or the code rate of the video image is reduced to second code by the first code rate Rate.
The possible embodiment of second with reference to first aspect, in the third possible embodiment of first aspect In, the method also includes:
When determining that the signal strength is less than the second threshold, the terminal device is by the resolution of the video image Rate is reduced to third resolution ratio by the first resolution, and/or the code rate of the video image is dropped by first code rate Low is third code rate, wherein the second resolution is higher than the third resolution ratio, second code rate is higher than the third yard Rate.
The possible embodiment of second with reference to first aspect or the third possible embodiment, in first aspect In 4th kind of possible embodiment, the terminal device adjusts the compressed encoding of the video image based on the signal strength Parameter, including:
Determining that the signal strength is greater than or equal to first threshold, and the resolution ratio of the video image is less than the 4th point When resolution, the resolution ratio of the video image is set the 4th resolution ratio by the terminal device, and/or by the video image Code rate be set as the 4th code rate;4th resolution ratio is greater than or equal to the first resolution;4th code rate is higher than Or it is equal to first code rate.
Second aspect, the embodiment of the invention provides a kind of video return device, described device is applied to terminal device, packet It includes:
Acquisition module, for acquiring video image;
Detection module, in the video figure acquired for obtaining the acquisition module for receiving dispatching desk transmission When the request message of picture, the signal strength of the received wireless network of terminal device is detected;
Module is adjusted, the signal strength for detecting based on the detection module adjusts the acquisition module acquisition The compressed encoding parameter of the video image, the compressed encoding parameter include:Resolution ratio and/or code rate;
Compressed encoding module, for the compressed encoding parameter based on the adjustment module adjustment to the video image It compressed, encoded;
Sending module, for the video image of the compressed encoding module compressed encoding to be sent to the scheduling Platform.
In conjunction with second aspect, in the first possible embodiment of second aspect, the adjustment module is specifically used for:
When determining that the signal strength of the detection module detection is less than first threshold, the video image is turned down Resolution ratio and/or code rate.
In conjunction with the first possible embodiment of second aspect, in second of possible embodiment of second aspect In, the adjustment module is specifically used in the resolution ratio and/or code rate for turning down the video image:
When determining that the signal strength of the detection module detection is less than first threshold and is greater than second threshold, by institute The resolution ratio for stating video image is reduced to second resolution by first resolution, and/or by the code rate of the video image by One code rate is reduced to the second code rate.
In conjunction with second of possible embodiment of second aspect, in the third possible embodiment of second aspect In, the adjustment module is also used to:
When determining that the signal strength of the detection module detection is less than the second threshold, by the video image Resolution ratio third resolution ratio is reduced to by the first resolution, and/or by the code rate of the video image by described first Code rate is reduced to third code rate, wherein the second resolution is higher than the third resolution ratio, second code rate is higher than described Third code rate.
In conjunction with second of the possible embodiment or the third possible embodiment of second aspect, in second aspect In 4th kind of possible embodiment, the adjustment module, in the signal strength adjustment detected based on the detection module When the compressed encoding parameter of the video image, it is specifically used for:
Determining that the signal strength is greater than or equal to first threshold, and the resolution ratio of the video image is less than the 4th point When resolution, the 4th resolution ratio is set by the resolution ratio of the video image, and/or set the code rate of the video image to 4th code rate;4th resolution ratio is greater than or equal to the first resolution;4th code rate is greater than or equal to described the One code rate.
Video image is acquired by terminal device in the embodiment of the present invention, and receive dispatching desk transmission for obtaining When the request message of the video image, the signal strength of the received wireless network of the terminal device is detected, is then based on institute State the compressed encoding parameter that signal strength adjusts the video image, compared with the prior art in preset the pressure of video image The mode of contracting coding parameter adjusts video image according to the signal strength of the wireless network where dispatching desk in the embodiment of the present invention Compressed encoding parameter, improve video passback flexibility, ensure that the fluency of video image.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of common LTE private wireless network system provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of the private network broadband cluster system provided in an embodiment of the present invention based on TD-LTE technology;
Fig. 3 is the schematic diagram of common LTE private wireless network system user face protocol stack provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of video retransmission method provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram that a kind of signal strength provided in an embodiment of the present invention determines method;
Fig. 6 is a kind of flow chart of compressed encoding parameter regulation means provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of video return device provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
In private network system, video passback is a kind of relatively common application scenarios.The application scenarios are to determine terminal For equipment after private network system succeeds in registration, dispatching desk sends video passback request to terminal device.Terminal device is receiving this After video passback request, the video image of shooting is compressed using H.264 algorithm, passes back to wireless network after coded treatment On the dispatching desk of rear end, so as to realize long-range monitoring.Under wireless network environment, when terminal device is in wireless network ring When the relatively good position in border, the uplink throughput of terminal device is relatively high, can achieve 50mbps, and when terminal device is in nothing When the poor position of line network environment, such as encounters building and block or be moved to cell edge, the uplink of terminal device is handled up Rate is relatively low, reaches tens kbps.When uplink throughput is relatively low, the quality of video passback will be affected, The video image that wireless network rear end is seen just will appear the phenomenon that flower screen or Caton.Based on this, the embodiment of the present invention proposes one Kind of video retransmission method and device, by reduced automatically when uplink throughput is relatively low resolution ratio and the code rate of video image with The fluency for guaranteeing image, not can guarantee image when carrying out video passback to solve and terminal device exists in the prior art The problem of fluency.
Wherein, method and apparatus be based on the same inventive concept, since the principle that method and device solves the problems, such as is similar, Therefore the implementation of apparatus and method can be with cross-reference, and overlaps will not be repeated.
Video retransmission method and device provided in an embodiment of the present invention can be applied to private network system.
Private network system includes two kinds at present:One is common long term evolution (English:Long Term Evolution, letter Claim:LTE) private wireless network system, the system use LTE standard identical with public network, and only frequency range is different, system structure tool Body is as shown in fig.1, carry out Signalling exchange by Uu interface including LTE private network terminal and base station;Base station and block core Evolution (English:Evolved Packet Core, referred to as:EPC Signalling exchange) is carried out by S1 interface;EPC and network protocol (English:Internet Protocol, referred to as:IP) IP multimedia subsystem, IMS (English:IPMultimedia Subsystem, letter Claim:IMS Signalling exchange) is carried out by Sgi interface;IMS and dispatching desk carry out Signalling exchange.
Another kind is based on timesharing long term evolution (English:Time Division Long Term Evolution, referred to as: TD-LTE) the private network broadband cluster system of technology, using private network specialized protocol B-TrunC, the system structure is referring particularly to Fig. 2 institute Show, wherein the broadband TD-LTE colony terminal and the broadband TD-LTE trunked base station pass through Uu-T interface progress Signalling exchange;TD-LTE Data terminal and the broadband TD-LTE trunked base station pass through Uu interface progress Signalling exchange;The broadband TD-LTE trunked base station and TD-LTE Broadband cluster core net carries out Signalling exchange by S1-T interface;The broadband TD-LTE cluster core net and dispatching desk pass through D interface Carry out Signalling exchange.
As shown in fig.3, protocol stack of the user face protocol stack between terminal, base station, core net and scheduling system.
Wherein, terminal includes:Session initiation protocol (English:Session Initiation Protocol, referred to as: SIP)/G711/H.264 layers, real-time transport protocol/RTCP Real-time Transport Control Protocol (English:Realtime Transport Protocol/Realtime Transport Control Protocol, referred to as:RTP/RTCP) layer, User Datagram Protocol (English:User Datagram Protocol, referred to as:UDP) layer, IP layers, Packet Data Convergence Protocol (English:Packet Data Convergence Protocol, referred to as:PDCP) layer, radio link control (English:Radio Link Control, referred to as:RLC) layer, media access control (English:Medium access control, referred to as:MAC) layer, physics (English:Physical, referred to as:PHY) layer.
Base station includes:PDCP layers, rlc layer, MAC layer, PHY layer, General Packet Radio Service (English: GeneralPacketRadioService, referred to as:GPRS) tunnel protocol (English:GPRS TunnellingProtocol for The user plane, referred to as:GTP-U) layer, UDP layer, IP layers, two-layer protocol (English:Layer2, referred to as:L2) layer, one layer Agreement (English:Layer1, referred to as:L1) layer.
Core net includes:GTP-U layers, UDP layer, IP layers, L2 layers, L1 layers.
Scheduling system includes:SIP/G711/H.264 layers, RTP/RTCP layers, UDP layer, IP layers, L2 layers, L1 layers.
Wherein, the SIP/G711/H.264 layer of terminal, RTP/RTCP layers, UDP layer respectively with scheduling system SIP/G711/ H.264 layer, RTP/RTCP layers, UDP layer progress Signalling exchange.The PDCP layer of terminal, rlc layer, MAC layer, PHY layer respectively with base station PDCP layer, rlc layer, MAC layer, PHY layer carry out Signalling exchange.The GTP-U layer of base station, UDP layer, IP layers, L2 layers, L1 layers of difference With the GTP-U layer, UDP layer, IP layers, L2 layers, L1 layers of progress Signalling exchange of core net.
In order to enable the embodiment of the present invention is more easily understood, in the following, first to involved in the embodiment of the present invention Some descriptions are illustrated, these explanations are not construed as the restriction to protection scope of the presently claimed invention.
H.264 it is a kind of video high compression techniques, is by international telecommunication standardization sector and International Organization for standardization's (English Text:International Standardization Organization, referred to as:ISO)/International Power association (English: International Electrotechnical Commission, referred to as:IEC a kind of moving picture) worked out jointly The international standard format of mode.There are compression frame per second, code rate, resolution ratio etc. in the parameter that H.264 algorithm includes, H.264 parameter Format referring specifically to table 1.Resolution ratio refers to the information content stored in image, is how many pixel in per inch image.
Table 1
Wherein, resolution ratio mainly includes following several:
4/1 Video Graphics Array (English:QuarterVideo Graphics Array, referred to as:QVGA), in particular to 240*320 resolution ratio.
Video Graphics Array (English:Video Graphics Array, referred to as:VGA), in particular to 640*480 is differentiated Rate.
Common video standard format (English:Common Intermediate Format, referred to as:CIF), in particular to 352*288 resolution ratio.
The public intermediate form of a quarter (English:Quarter common intermediate format, referred to as: ), in particular to 176*144 resolution ratio QCIF.
Super Video Graphics Array (English:SuperVideo Graphics Array, referred to as:SVGA), in particular to 800*600 resolution ratio.
Extended graphics array (English:ExtendedGraphicsArray, referred to as:XGA), in particular to 1024*768 divides Resolution.
720p fine definition (English:High definition, referred to as:), in particular to 1280*720 resolution ratio HD.
1080HD, in particular to 1920*1088 resolution ratio.
D1 is the standard, in particular to 720*576 resolution ratio of digital television system display format.
4CIF, in particular to 704 × 576 resolution ratio.
In the description of the embodiment of the present invention, the vocabulary such as " first ", " second " are only used for distinguishing the purpose of description, without It can be interpreted as indication or suggestion relative importance, indication or suggestion sequence can not be interpreted as.
The preferred embodiment of the present invention is described in detail with reference to the accompanying drawing.
As shown in fig.4, being a kind of flow chart of data receiver method provided in an embodiment of the present invention, the method is specific It may include as follows:
S401, terminal device acquire video image.
S402, the terminal device is in the request message for being used to obtain the video image for receiving dispatching desk transmission When, detect the signal strength of the received wireless network of the terminal device.
Wherein, the signal strength can be Reference Signal Received Power (English:Reference Signal Receiving Power, referred to as:RSRP), or Reference Signal Received Quality (English: ReferenceSignalReceivingQuality, referred to as:RSRQ), or other parameters, the embodiment of the present invention is at this In be not specifically limited.
S403, the terminal device adjust the compressed encoding parameter of the video image based on the signal strength.
The compressed encoding parameter includes:Resolution ratio and/or code rate.
The compressed encoding parameter can also include that parameters, the embodiment of the present invention such as compression frame per second do not do specific limit herein It is fixed.
S404, the terminal device be based on the compressed encoding parameter adjusted the video image is compressed, The dispatching desk is sent to after coding.
Video image is acquired by terminal device in the embodiment of the present invention, and receive dispatching desk transmission for obtaining When the request message of the video image, the signal strength of the received wireless network of the terminal device is detected, is then based on institute State the compressed encoding parameter that signal strength adjusts the video image, compared with the prior art in preset the pressure of video image The mode of contracting coding parameter adjusts video image according to the signal strength of the wireless network where dispatching desk in the embodiment of the present invention Compressed encoding parameter, improve video passback flexibility, ensure that the fluency of video image.
Optionally, as shown in fig.5, general-purpose interface obtains inside the Android android that the terminal device passes through PHY layer The signal strength of wireless network where the dispatching desk, and the reporting signal strength that will acquire is to the user of the terminal device The SIP/G711/H.264 layer of face protocol stack.The SIP/G711/H.264 layers of service adaptation module for including are according to what is received Signal strength adjusts the compressed encoding parameter of the video image.
In a kind of possible embodiment, the terminal device adjusts the video image based on the signal strength Compressed encoding parameter can be realized in the following way:
When determining that the signal strength is less than first threshold, the terminal device turns down the resolution ratio of the video image And/or code rate.
First threshold can be -72dbm, -76dbm, -75.5dbm, -73.3dbm etc., or other values, this hair Bright embodiment is not specifically limited herein.
Specifically, the terminal device turns down the resolution ratio and/or code rate of the video image, the following two kinds can be passed through Any mode is realized in mode:
Mode one:When determining that the signal strength is less than first threshold and is greater than second threshold, by the video image Resolution ratio second resolution is reduced to by first resolution, and/or the code rate of the video image is reduced by the first code rate For the second code rate.
Second threshold can be -102dbm, -107dbm, -105.5dbm, -103.3dbm etc., or other values, The embodiment of the present invention is not specifically limited herein.It should be noted that second threshold is less than first threshold.
Second resolution can be SVGA, or VGA, or other resolution ratio, the embodiment of the present invention is at this In be not specifically limited.
Second code rate can be 625k, 512k, 512.8k etc., or other values, the embodiment of the present invention is herein It is not specifically limited.
When network environment is general, the fluency of the video image of terminal device passback is also general, reduction by a small margin at this time The resolution ratio and/or code rate of image, not only ensure that the fluency of video image but also maximum possible ensure that the clear of video image Clear degree.
Mode two:When determining that the signal strength is less than the second threshold, the terminal device is by the video figure The resolution ratio of picture is reduced to third resolution ratio by the first resolution, and/or by the code rate of the video image by described One code rate is reduced to third code rate, wherein the second resolution is higher than the third resolution ratio, second code rate is higher than institute State third code rate.
Third resolution ratio can be CIF, or QVGA, or other resolution ratio, the embodiment of the present invention is at this In be not specifically limited.
Third code rate can be 200k, 312k, 200.5k etc., or other values, the embodiment of the present invention is herein It is not specifically limited.
When network environment is poor, the fluency of the video image of terminal device passback is also poor, significantly reduces at this time The resolution ratio and/or code rate of image, ensure that the fluency of video image.
In alternatively possible embodiment, the terminal device is based on the signal strength and adjusts the video image Compressed encoding parameter, can also realize in the following way:
Determining that the signal strength is greater than or equal to first threshold, and the resolution ratio of the video image is less than the 4th point When resolution, the resolution ratio of the video image is set the 4th resolution ratio by the terminal device, and/or by the video image Code rate be set as the 4th code rate, wherein the 4th resolution ratio be greater than or equal to the first resolution;4th code rate Greater than or equal to first code rate.
4th resolution ratio can be 720p HD, or 1080HD, or other resolution ratio, the present invention are implemented Example is not specifically limited herein.
4th code rate can be 1m, 1.5m, 10m etc., or other values, the embodiment of the present invention is not done herein to be had Body limits.
Embodiment for a better understanding of the present invention is given below concrete application scene, is RSRP with the signal strength, First threshold is -75dbm, and second threshold is -105dbm, and second resolution VGA, third resolution ratio is CIF, the 4th resolution ratio For 720p HD, the second code rate is 512k, and third code rate is 200k, specific to be described in detail for the 4th code rate is 1m, refering to Fig. 6 Shown in mode realize that the method can specifically include as follows:
S601, judges whether RSRP is greater than or equal to -75dbm;If so, executing step S602;If it is not, executing step S604。
S602 judges whether the resolution ratio of video image is 720p HD;If so, executing step S607;If it is not, executing step Rapid S603.
S603 sets 720p HD for the resolution ratio of video image, and/or sets 1m for the code rate of video image.
S604, judges whether RSRP is greater than or equal to -105dbm;If so, executing step S605;If it is not, executing step S606。
The resolution ratio of video image is reduced to VGA, and/or the code rate of video image is reduced to 512k by S605.
The resolution ratio of video image is reduced to CIF, and/or the code rate of video image is reduced to 200k by S606.
Video image is carried out compressed encoding by S607.
Video image is acquired by terminal device in the embodiment of the present invention, and receive dispatching desk transmission for obtaining When the request message of the video image, the signal strength of the received wireless network of the terminal device is detected, is then based on institute State the compressed encoding parameter that signal strength adjusts the video image, compared with the prior art in preset the pressure of video image The mode of contracting coding parameter adjusts video image according to the signal strength of the wireless network where dispatching desk in the embodiment of the present invention Compressed encoding parameter, improve video passback flexibility, ensure that the fluency of video image.
Based on the same inventive concept of embodiment of the method corresponding with Fig. 4, the embodiment of the invention provides a kind of videos to return Device 7 is passed, described device can be applied to terminal device.The structure of the device 7 is as shown in fig. 7, comprises acquisition module 71, detection Module 72, adjustment module 73, compressed encoding module 74 and sending module 75, wherein:
Acquisition module 71, for acquiring video image;
Detection module 72, in the view acquired for obtaining the acquisition module 71 for receiving dispatching desk transmission When the request message of frequency image, the signal strength of the received wireless network of terminal device is detected;
Module 73 is adjusted, the signal strength for detecting based on the detection module 72 adjusts the acquisition module 71 The compressed encoding parameter of the video image of acquisition, the compressed encoding parameter include:Resolution ratio and/or code rate;
Compressed encoding module 74, the compressed encoding parameter for being adjusted based on the adjustment module 73 is to the video Image is compressed, is encoded;
Sending module 75, for the video image of 74 compressed encoding of compressed encoding module to be sent to the tune Spend platform.
Optionally, the adjustment module 73 is specifically used for:
When the signal strength for determining that the detection module 72 detects is less than first threshold, the video image is turned down Resolution ratio and/or code rate.
In a kind of possible embodiment, the adjustment module 73, in the resolution ratio for turning down the video image and/or When code rate, it is specifically used for:
It, will when the signal strength for determining that the detection module 72 detects is less than first threshold and is greater than second threshold The resolution ratio of the video image is reduced to second resolution by first resolution, and/or by the code rate of the video image by First code rate is reduced to the second code rate.
Optionally, the adjustment module 73, is also used to:
When the signal strength for determining that the detection module 72 detects is less than the second threshold, by the video figure The resolution ratio of picture is reduced to third resolution ratio by the first resolution, and/or by the code rate of the video image by described One code rate is reduced to third code rate, wherein the second resolution is higher than the third resolution ratio, second code rate is higher than institute State third code rate.
In a kind of possible embodiment, the adjustment module 73, based on described in the detection module 72 detection When signal strength adjusts the compressed encoding parameter of the video image, it is specifically used for:
Determining that the signal strength is greater than or equal to first threshold, and the resolution ratio of the video image is less than the 4th point When resolution, the 4th resolution ratio is set by the resolution ratio of the video image, and/or set the code rate of the video image to 4th code rate, wherein the 4th resolution ratio is greater than or equal to the first resolution;4th code rate is greater than or equal to institute State the first code rate.
Video image is acquired by terminal device in the embodiment of the present invention, and receive dispatching desk transmission for obtaining When the request message of the video image, the signal strength of the received wireless network of the terminal device is detected, is then based on institute State the compressed encoding parameter that signal strength adjusts the video image, compared with the prior art in preset the pressure of video image The mode of contracting coding parameter adjusts video image according to the signal strength of the wireless network where dispatching desk in the embodiment of the present invention Compressed encoding parameter, improve video passback flexibility, ensure that the fluency of video image.
Based on the same inventive concept of embodiment of the method corresponding with Fig. 4, the embodiment of the invention also provides a kind of terminals Equipment.The structure of the terminal device as shown in figure 8, include processor 801, memory 802 and transceiver 803, wherein:
Processor 801 executes following process for reading the program in memory 802:
Data are received by transceiver 803, and execute method as described in the examples corresponding with above-mentioned fig. 4 to fig. 6.
Transceiver 803, for acquiring video image under the control of processor 801 and sending video image.
Memory 802, for storing software program.
In fig. 8, bus architecture (being represented with bus 800), bus 800 may include the bus of any number of interconnection And bridge, the memory that bus 800 will include the one or more processors represented by processor 801 and memory 802 represents Various circuits link together.Bus 800 can also be by each of such as peripheral equipment, voltage-stablizer and management circuit or the like Other circuits of kind link together, and these are all it is known in the art, and therefore, it will not be further described herein. Bus interface 804 provides interface between bus 800 and transceiver 803.Transceiver 803 can be an element, be also possible to Multiple element, such as multiple receivers and transmitter, provide the unit for communicating over a transmission medium with various other devices.
Processor 801 is responsible for management bus 800 and common processing, can also provide various functions, including timing, periphery Interface, voltage adjusting, power management and other control functions.And memory 802 can be used for storage processor 801 and hold Used data when row operation.
Optionally, processor 801 can be centre and bury device (English:Central Processing Unit, referred to as: CPU), specific integrated circuit (English:Application Specific Integrated Circuit, referred to as:ASIC), existing Field programmable gate array (English:Field-Programmable Gate Array, referred to as:) or complex programmable logic FPGA Device (English:Complex Programmable Logic Device, referred to as:CPLD) etc..
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of video retransmission method, which is characterized in that including:
Terminal device acquires video image;
The terminal device is when receiving the request message for being used to obtain the video image of dispatching desk transmission, described in detection The signal strength of the received wireless network of terminal device;
The terminal device adjusts the compressed encoding parameter of the video image, the compressed encoding ginseng based on the signal strength Number includes:Resolution ratio and/or code rate;
The terminal device be based on the compressed encoding parameter adjusted the video image is compressed, encode after send To the dispatching desk.
2. the method as described in claim 1, which is characterized in that the terminal device is based on the signal strength and adjusts the view The compressed encoding parameter of frequency image, including:
Determine the signal strength be less than first threshold when, the terminal device turn down the video image resolution ratio and/ Or code rate.
3. method according to claim 2, which is characterized in that the terminal device turns down the resolution ratio of the video image And/or code rate, including:
When determining that the signal strength is less than first threshold and is greater than second threshold, by the resolution ratio of the video image by the One resolution ratio is reduced to second resolution, and/or the code rate of the video image is reduced to the second code rate by the first code rate.
4. method as claimed in claim 3, which is characterized in that the method also includes:
Determine the signal strength be less than the second threshold when, the terminal device by the resolution ratio of the video image by The first resolution is reduced to third resolution ratio, and/or the code rate of the video image is reduced to by first code rate Third code rate, wherein the second resolution is higher than the third resolution ratio, second code rate is higher than the third code rate.
5. the method as claimed in claim 3 or 4, which is characterized in that the terminal device is based on the signal strength and adjusts institute The compressed encoding parameter of video image is stated, including:
Determining that the signal strength is greater than or equal to first threshold, and the resolution ratio of the video image is less than the 4th resolution ratio When, the resolution ratio of the video image is set the 4th resolution ratio by the terminal device, and/or by the code of the video image Rate is set as the 4th code rate;4th resolution ratio is greater than or equal to the first resolution;4th code rate is higher than or waits In first code rate.
6. a kind of video return device, which is characterized in that described device is applied to terminal device, including:
Acquisition module, for acquiring video image;
Detection module, in the video image for obtaining the acquisition module acquisition for receiving dispatching desk transmission When request message, the signal strength of the received wireless network of terminal device is detected;
Module is adjusted, the signal strength for being detected based on the detection module is adjusted described in the acquisition module acquisition The compressed encoding parameter of video image, the compressed encoding parameter include:Resolution ratio and/or code rate;
Compressed encoding module carries out the video image for the compressed encoding parameter based on the adjustment module adjustment Compression, coding;
Sending module, for the video image of the compressed encoding module compressed encoding to be sent to the dispatching desk.
7. device as claimed in claim 6, which is characterized in that the adjustment module is specifically used for:
When determining that the signal strength of the detection module detection is less than first threshold, the resolution of the video image is turned down Rate and/or code rate.
8. device as claimed in claim 7, which is characterized in that the adjustment module, in the resolution for turning down the video image When rate and/or code rate, it is specifically used for:
When determining that the signal strength of the detection module detection is less than first threshold and is greater than second threshold, by the view The resolution ratio of frequency image is reduced to second resolution by first resolution, and/or by the code rate of the video image by first yard Rate is reduced to the second code rate.
9. device as claimed in claim 8, which is characterized in that the adjustment module is also used to:
When determining that the signal strength of the detection module detection is less than the second threshold, by point of the video image Resolution is reduced to third resolution ratio by the first resolution, and/or by the code rate of the video image by first code rate It is reduced to third code rate, wherein the second resolution is higher than the third resolution ratio, second code rate is higher than the third Code rate.
10. device as claimed in claim 8 or 9, which is characterized in that the adjustment module is examined based on the detection module When the signal strength surveyed adjusts the compressed encoding parameter of the video image, it is specifically used for:
Determining that the signal strength is greater than or equal to first threshold, and the resolution ratio of the video image is less than the 4th resolution ratio When, the 4th resolution ratio is set by the resolution ratio of the video image, and/or set the 4th for the code rate of the video image Code rate;4th resolution ratio is greater than or equal to the first resolution;4th code rate is greater than or equal to described first yard Rate.
CN201710364484.1A 2017-05-22 2017-05-22 A kind of video retransmission method and device Pending CN108933917A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710364484.1A CN108933917A (en) 2017-05-22 2017-05-22 A kind of video retransmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710364484.1A CN108933917A (en) 2017-05-22 2017-05-22 A kind of video retransmission method and device

Publications (1)

Publication Number Publication Date
CN108933917A true CN108933917A (en) 2018-12-04

Family

ID=64450781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710364484.1A Pending CN108933917A (en) 2017-05-22 2017-05-22 A kind of video retransmission method and device

Country Status (1)

Country Link
CN (1) CN108933917A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213549A (en) * 2019-07-03 2019-09-06 成都汇纳智能科技有限公司 A kind of plug-flow method and system based on libRTMP
CN110933513A (en) * 2019-11-18 2020-03-27 维沃移动通信有限公司 Audio and video data transmission method and device
CN111083529A (en) * 2019-12-31 2020-04-28 联想(北京)有限公司 Data processing method, image acquisition device and electronic equipment
CN111464817A (en) * 2020-03-12 2020-07-28 视联动力信息技术股份有限公司 Code rate control method and device and readable storage medium
CN112104840A (en) * 2020-09-09 2020-12-18 深圳市有方科技股份有限公司 Video acquisition method and electronic equipment
CN113973231A (en) * 2020-07-23 2022-01-25 成都鼎桥通信技术有限公司 Video control method and system based on wireless signals and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1716821A (en) * 2004-06-30 2006-01-04 日本电气株式会社 Mobile communication system, radio network controller and information rate control method
US20100323609A1 (en) * 2009-06-17 2010-12-23 Casio Hitachi Mobile Communications Co., Ltd. Terminal Device and Control Program Thereof
CN104581385A (en) * 2014-12-23 2015-04-29 深圳市九洲电器有限公司 Multi-screen interactive self-adaptive playback method and system
CN106060447A (en) * 2016-05-17 2016-10-26 国网山西省电力公司 Monitoring method and monitoring system based on mobile communication terminal and videophone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1716821A (en) * 2004-06-30 2006-01-04 日本电气株式会社 Mobile communication system, radio network controller and information rate control method
US20100323609A1 (en) * 2009-06-17 2010-12-23 Casio Hitachi Mobile Communications Co., Ltd. Terminal Device and Control Program Thereof
CN104581385A (en) * 2014-12-23 2015-04-29 深圳市九洲电器有限公司 Multi-screen interactive self-adaptive playback method and system
CN106060447A (en) * 2016-05-17 2016-10-26 国网山西省电力公司 Monitoring method and monitoring system based on mobile communication terminal and videophone

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213549A (en) * 2019-07-03 2019-09-06 成都汇纳智能科技有限公司 A kind of plug-flow method and system based on libRTMP
CN110933513A (en) * 2019-11-18 2020-03-27 维沃移动通信有限公司 Audio and video data transmission method and device
CN111083529A (en) * 2019-12-31 2020-04-28 联想(北京)有限公司 Data processing method, image acquisition device and electronic equipment
CN111464817A (en) * 2020-03-12 2020-07-28 视联动力信息技术股份有限公司 Code rate control method and device and readable storage medium
CN113973231A (en) * 2020-07-23 2022-01-25 成都鼎桥通信技术有限公司 Video control method and system based on wireless signals and electronic equipment
CN112104840A (en) * 2020-09-09 2020-12-18 深圳市有方科技股份有限公司 Video acquisition method and electronic equipment
CN112104840B (en) * 2020-09-09 2022-10-04 深圳市有方科技股份有限公司 Video acquisition method and mobile baseband workstation

Similar Documents

Publication Publication Date Title
CN108933917A (en) A kind of video retransmission method and device
CN105472477B (en) A kind of data transmission method, device and equipment
CN104581405B (en) A kind of display content processing method and equipment
JP6247324B2 (en) Method for dynamically adapting video image parameters to facilitate subsequent applications
CN101023678B (en) Method and apparatus for motion vector assignment
CN101755454B (en) Method and apparatus for determining preferred image format between mobile video telephones
EP4336850A2 (en) Systems and methods for region-of-interest tone remapping
CN106664458A (en) Direct streaming for wireless display
US20140098182A1 (en) Comparison-based selection of video resolutions in a video call
US11394978B2 (en) Video fidelity measure
US11991233B2 (en) QoE metrics reporting for RTP-based 360-degree video delivery
CN110865782B (en) Data transmission method, device and equipment
CN105635636A (en) Video conference system and method for realizing transmission control of video image
US20150007238A1 (en) Systems and mehtods for content streaming to event spectators
CN106454348B (en) A kind of video coding-decoding method and device
CN103686056B (en) The method for processing video frequency of conference terminal and the conference terminal
CN102972033B (en) For the method and system of the communication of stereoscopic three dimensional video information
CN106464969A (en) System and method to optimize video performance in wireless-dock with ultra-high definition display
CN109963106A (en) A kind of method of video image processing, device, storage medium and terminal
CN107079132A (en) Port in visual telephone feeds the frame of video of intraframe decoding after reconfiguring
US20230247472A1 (en) Intralink based session negotiation and media bit rate adaptation
US20230064508A1 (en) Method and apparatus for processing immersive media
WO2016119386A1 (en) Video signal processing method, device and computer storage media
CN106998328A (en) A kind of video transmission method and device
KR20220001312A (en) Method and apparatus for controlling transmission and reception of data in a wireless communication system

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

Application publication date: 20181204

RJ01 Rejection of invention patent application after publication