CN107743275A - A kind of video adjusting method and device - Google Patents

A kind of video adjusting method and device Download PDF

Info

Publication number
CN107743275A
CN107743275A CN201711001580.6A CN201711001580A CN107743275A CN 107743275 A CN107743275 A CN 107743275A CN 201711001580 A CN201711001580 A CN 201711001580A CN 107743275 A CN107743275 A CN 107743275A
Authority
CN
China
Prior art keywords
video
client
frame
packet loss
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
CN201711001580.6A
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.)
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
State Grid Jibei Electric Power Co Ltd
Beijing Guodiantong Network Technology Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
State Grid Jibei Electric Power Co Ltd
Beijing China Power Information 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 State Grid Corp of China SGCC, State Grid Information and Telecommunication Co Ltd, State Grid Jibei Electric Power Co Ltd, Beijing China Power Information Technology Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201711001580.6A priority Critical patent/CN107743275A/en
Publication of CN107743275A publication Critical patent/CN107743275A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64784Data processing by the network
    • H04N21/64792Controlling the complexity of the content stream, e.g. by dropping packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities

Abstract

The invention discloses a kind of video adjusting method and device, this method includes:In predetermined period, statistics sends the video data volume received to the video data volume of client and the client;Transmission of video packet loss is calculated, judges whether transmission of video packet loss meets predetermined threshold value, if it is not, then the frame of video that current video is transmitted carries out drop framing control, the frame of video after being adjusted;Video is transmitted under frame of video after the adjustment, and transmission of video packet loss is recalculated, when transmission of video packet loss can not meet predetermined threshold value in default adjusting range, it will be prompted to instruction and send to the client, and the instruction returned according to client, the frame of video is adjusted.Solve the problems, such as network it is poor in the case of video-see interim card.

Description

A kind of video adjusting method and device
Technical field
The present invention relates to technical field of network video, more particularly to a kind of video adjusting method and device.
Background technology
With the development of Internet technology, the mode of propagation and species of Internet video are also increasingly abundanter.Also, due to regarding The difference of frequency application environment, the requirement to video image quality it is also proposed higher and higher requirement.Such as when live class video system When applying inside large-size enterprise group, remote interview choosing can be carried out by the way of net cast during selection of talented people Pull out, but requirement of the live class system when enterprises operate to network bandwidth is higher, but most enterprises group is each Do not have CDN (Content Delivery Network, content distributing network) in the internal network of company to accelerate, and super large Networking situation between each unit of type conglomerate also has larger gap, and this allows for go out during video-see Existing interim card, reduce the Experience Degree of user.
The content of the invention
Be directed to above mentioned problem, the present invention provides a kind of video adjusting method and device, solve network it is poor in the case of The problem of video-see interim card.
To achieve these goals, according to the first aspect of the invention, there is provided a kind of video adjusting method, this method bag Include:
In predetermined period, statistics sends the video data received to the video data volume of client and the client Amount;
According to described the video data volume for sending and being received to the video data volume of client and the client, calculate To transmission of video packet loss;
Judge whether the transmission of video packet loss meets predetermined threshold value, if it is not, then the video that current video is transmitted Frame carries out drop framing control, the frame of video after being adjusted;
Video is transmitted under frame of video after the adjustment, and recalculates transmission of video packet loss, is adjusted when default When transmission of video packet loss can not meet predetermined threshold value in whole scope, it will be prompted to instruction and send to the client, and according to visitor The instruction that family end returns, is adjusted to the frame of video.
Preferably, this method also includes:
The acquisition video flowing request that client is sent is received, establishes the connection with the client, will be with the video flowing The corresponding video of request is sent to the client.
Preferably, it is described according to the video counts for sending and being received to the video data volume of client and the client According to amount, transmission of video packet loss is calculated, including:
Obtain described send to the video data volume RS1 of client;
Obtain the video data volume RS2 that the client receives;
According to formula S=(RS1-RS2)/RS1*100%, transmission of video packet loss S is calculated.
Preferably, video is transmitted under the frame of video after the adjustment, and recalculates transmission of video packet loss, When transmission of video packet loss can not meet predetermined threshold value in default adjusting range, it will be prompted to instruction and send to the client End, and the instruction returned according to client, are adjusted to the frame of video, including:
Video is transmitted under frame of video after the adjustment, and transmission of video packet loss is recalculated in predetermined period Rate;
Whether the packet loss for judging to recalculate to obtain meets predetermined threshold value, if it is, according to regarding after the adjustment Frequency frame carries out transmission of video;If it is not, then drop framing control is carried out to the frame of video after the adjustment;
The adjusting range for when frame of video drop framing control meets default adjusting range and the video packet loss is unsatisfactory for During predetermined threshold value, then hint instructions are sent to the client;
The feedback information that the client is carried out according to the hint instructions is received, parses the feedback information, judgement is It is no that drop framing control is carried out to frame of video, if it is, drop framing control is carried out to current video frame, if it is not, then stopping to video The adjustment of frame.
Preferably, this method also includes:
Judge whether the frame of video after drop framing control is less than default minimum frame of video, if it is, stopping regarding to described The adjustment of frequency frame.
According to the second aspect of the invention, there is provided a kind of video adjusting means, the device include:
Statistical module, in predetermined period, statistics to send to the video data volume of client and the client and terminated The video data volume received;
Computing module, for sending the video received to the video data volume of client and the client according to described Data volume, transmission of video packet loss is calculated;
Judge module, for judging whether the transmission of video packet loss meets predetermined threshold value, if it is not, then forward sight will be worked as Keep pouring in defeated frame of video and carry out drop framing control, the frame of video after being adjusted;
Adjusting module, for being transmitted under frame of video after the adjustment to video, and recalculate transmission of video packet loss Rate, when transmission of video packet loss can not meet predetermined threshold value in default adjusting range, it will be prompted to instruction and send to the visitor Family end, and the instruction returned according to client, are adjusted to the frame of video.
Preferably, the device also includes:
Module is established, for receiving the acquisition video flowing request of client transmission, establishes the connection with the client, will Sent with the corresponding video of video flowing request to the client.
Preferably, the computing module includes:
First acquisition unit, for obtaining described send to the video data volume RS1 of client;
Second acquisition unit, the video data volume RS2 received for obtaining the client;
First computing unit, for according to formula S=(RS1-RS2)/RS1*100%, transmission of video packet loss to be calculated Rate S.
Preferably, the adjusting module includes:
Second computing unit, for being transmitted under frame of video after the adjustment to video, and in predetermined period again Calculate transmission of video packet loss;
First judging unit, whether the packet loss for judging to recalculate to obtain meets predetermined threshold value, if it is, pressing Transmission of video is carried out according to the frame of video after the adjustment;If it is not, then drop framing control is carried out to the frame of video after the adjustment;
Transmitting element, the adjusting range for when frame of video drop framing control meet default adjusting range and the video When packet loss is unsatisfactory for predetermined threshold value, then hint instructions are sent to the client;
Second judging unit, the feedback information carried out for receiving the client according to the hint instructions, parse institute Feedback information is stated, judges whether to carry out drop framing control to frame of video, if it is, carrying out drop framing control to current video frame, such as Fruit is no, then stops the adjustment to frame of video.
Preferably, the adjusting module also includes:
3rd judging unit, for judging whether the frame of video after drop framing control is less than default minimum frame of video, if It is then to stop the adjustment to the frame of video.
Compared to prior art, the present invention sends what is received to the video data volume and client of client by counting The video data volume, transmission of video packet loss is then calculated, enters Mobile state adjustment to frame of video according to transmission of video packet loss, Namely enter Mobile state adjustment to frame of video according to the network quality of real-time Transmission, can be carried out dropping frame tune automatically according to packet loss It is whole, when frame of video is dropped in certain limit, client can be carried out asking whether continuing to drop frame, according to the feedback of client after Continuous follow-up adjustment.By reducing frame of video, enable each frame that there is preferable spatial domain quality, make user in relatively low speed bar Under part, preferable picture quality still can be obtained.And then solves the problems, such as video-see interim card under network crossing instances.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet for video adjusting method that the embodiment of the present invention one provides;
Fig. 2 is a kind of structural representation for video adjusting means that the embodiment of the present invention three provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Term " first " and " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are to be used for area Not different objects, rather than for describing specific order.In addition term " comprising " and " having " and their any deformations, It is intended to cover non-exclusive include.Such as contain the process of series of steps or unit, method, system, product or set It is standby not to be set in the step of having listed or unit, but the step of may include not list or unit.
Embodiment one
It is a kind of video adjusting method that the embodiment of the present invention one provides referring to Fig. 1, this method comprises the following steps:
S11, in predetermined period, statistics sends the video that is received to the video data volume of client and the client Data volume;
S12, the video data volume received according to the transmission to the video data volume of client and the client, meter Calculation obtains transmission of video packet loss;
It should be noted that what video was all made up of static picture, these static pictures are referred to as frame, during unit Interior frame number is bigger, and video file is also bigger.Frame of video is changeless generally in video transmitting procedure, but certain The application environment of a little transmission of video, video in the case of fixed frame of video, can be made due to the limitation of own net bandwidth Caton phenomenon occurs for transmission, that is, video pictures stagnation behavior occurs, and carrying out expansion to transmission network to solve this phenomenon changes It is unpractical to make, so proposing by dynamic adjustment frame of video to solve this problem, first has to calculate acquisition packet loss.
Packet loss, refer to that lost data packet number in test accounts for the ratio of transmitted data packet group, general calculating side Method is:Packet loss=(incoming message-outgoing message)/incoming message * 100%, and packet loss and data packet length and transmission Frequency is relevant.Then judge the relation between packet loss and predetermined threshold value, that is, perform step S13.
S13, judge whether the transmission of video packet loss meets predetermined threshold value, if it is not, then performing step S14;
Specifically, after the packet loss of transmission of video is got, then whether the packet loss for judging to get meets default threshold Value, the packet loss threshold value can flexibly be set according to being actually needed.If the packet loss got meets default packet loss threshold Value, then it can determine that current transmission of video interference is smaller, video cardton phenomenon will not occur, thus any processing need not be made;If Predetermined threshold value is unsatisfactory for, then proves that the broadcasting to video can have an impact, that is, performs step S14.
S14, by current video transmit frame of video carry out drop framing control, the frame of video after being adjusted, be then back to and hold Row S11;
When circulation is performed in said process, when packet loss meets predetermined threshold value, then stop adjustment, when packet loss is discontented with During sufficient predetermined threshold value, then drop framing control is carried out, but in order to meet the balance of the Experience Degree of user and regulated efficiency and time, no Drop framing control infinitely can be carried out to frame of video, that is, needs to perform step S15;
S15, judge whether frame of video adjusting range has reached default scope, if it is, performing step S16;
S16, instruction transmission is will be prompted to the client, and the instruction returned according to client, the frame of video is entered Row adjustment.
It should be noted that next successive step is carried out according to the feedback of user, i.e., after frame of video is adjusted to certain limit, The adjustment of frame of video is carried out according to the feedback of user, the viewing experience effect for combining user improves the Experience Degree of user.
By technical scheme disclosed in the embodiment of the present invention one, statistics first sends the video data volume to client and visitor The video data volume that family termination receives, is then calculated transmission of video packet loss, according to transmission of video packet loss to frame of video Enter Mobile state adjustment, that is, Mobile state adjustment is entered to frame of video according to the network quality of real-time Transmission, can be according to packet loss Automatically drop framing control is carried out, when frame of video is dropped in certain limit, client can be carried out to ask whether to continue to drop frame, according to The feedback of client continues follow-up adjustment.By reducing frame of video, enable each frame that there is preferable spatial domain quality, make user Under relatively low rate conditions, preferable picture quality still can be obtained.And then solves video observing under network crossing instances The problem of seeing interim card.
Embodiment two
With reference to the detailed process of S11 to the S15 steps described in the embodiment of the present invention one and Fig. 1, in present invention implementation A kind of video adjusting method will be specifically described in example two.
In the embodiment of the present invention two, with reference to specific application scenarios, by a kind of video adjusting method provided by the invention Apply on streaming media server, when a client for receiving video be present, the client is entered with streaming media server Row communication connection.The client can send to streaming media server and receive video flowing request, after asking successfully, streaming media server Can record the state of this client, at the same this client can according to predetermined period, i.e., every predetermined period when Between section just send information to streaming media server, to feed back the state of itself to streaming media server, the state is primarily referred to as connecing Receive the state of video stream signal.
It is to be appreciated that when client is first connected to streaming media server, streaming media server can be newly-built one Thread is to respond the demand of this client video flowing, should if client is not first connected to streaming media server certainly Link information before streaming media server meeting basis, finds thread corresponding with the client to respond the client video The demand of stream.After the video flowing for receiving client is asked, video frame number can be sent to client by streaming media server, this When be defaulted as 25 frames.
When client and streaming media server successful connection, streaming media server start recording sends regarding for client to Frequency data volume R1, while the video data stream R2 that client start recording receives, when reaching predetermined period, client will can tire out The video data volume that meter receives is sent to streaming media server, when streaming media server receives the data, variable be present In RS2, while streaming media server has the data volume of accumulative transmission in RS1, i.e., referring to the step S11 in Fig. 1, default In cycle, statistics sends the video data volume received to the video data volume of client and the client.It is, send The video data volume to client is present in RS1, R1 summation, as RS1 as in predetermined period;What client received The video data volume is present in RS2, and R2 synthesis, as RS2 as in predetermined period, predetermined period therein can flexibly be entered Row calculates, preferably 10 seconds in the present embodiment;
Then, streaming media server calculates transmission of video packet loss according to RS1 and RS2, i.e. step S12 in Fig. 1, the step The calculation formula used for:S=(RS1-RS2)/RS1*100%, wherein, S is transmission of video packet loss.
Then packet loss of the packet loss namely in the case of 25 frames is transmitted according to current video, judges that the packet loss is It is no to meet predetermined threshold value.Assuming that in the present embodiment, packet loss threshold value is arranged to 98%, if packet loss is less than 98%, Illustrate that packet loss is higher, be bound to have an impact the broadcasting of video, now streaming media server can be adjusted to this client Video frame number, that is, step S14 and S15 in Fig. 1 are performed, original video frame number is subjected to drop framing control, often in the present embodiment The scope of secondary drop framing control is that original video frame number subtracts 1, i.e., current video frame number is 25, after the first drop framing control, this When video frame number be 24, then video frame number be 24 in the case of again statistics send to client the video data volume and The video data volume that the client receives, into next predetermined period, transmission of video packet loss is calculated, if the video Transmission then continues to carry out drop framing control to video frame number, will be 23 frames, then proceed to calculating and lose with being still unsatisfactory for predetermined threshold value Bag rate, when packet loss meets predetermined threshold value, stop adjustment, if packet loss is unsatisfactory for predetermined threshold value always, persistently dropped Framing control, i.e., the processing that frame of video in the present embodiment subtracts one;
When frame of video drop reaches default adjusting range, if packet loss now can not still meet predetermined threshold value, first Stop the drop framing control to frame of video, i.e., still have higher packet loss, then if when frame of video drops to 12 in the present embodiment Streaming media server sends hint instructions to client, that is, prompts the user whether that drop framing control is further continued to be carried out, if client The message that end is fed back then terminates the video regulation process of ability, if the message of client feedback is to continue to adjust to stop adjusting It is whole, then frame of video is continued on this basis to drop and continued on the basis of framing control, that is, 12 frames in the present embodiment Frame drops.It is understood that frame of video reduces, the data volume of network transmission is just few, although image quality and unaffected, It is more serious in order to avoid the coherent degree decline of picture but the coherent degree of picture can decline, so frame of video is not Drop framing control can be infinitely carried out, i.e., when frame of video has reached default minimum frame of video, no matter now the instruction of client is What, also no matter whether packet loss now meets predetermined threshold value, will all stop the drop framing control to frame of video.
Technical scheme disclosed according to embodiments of the present invention two, count to issue in current network conditions and deliver to client and be somebody's turn to do The video data volume that client receives, is then calculated packet loss, according to packet loss and predetermined threshold value according to the video data volume Comparison can dynamically adjust frame of video, that is, adjust the transmission of frame of video, ensure the image quality in the case of low network band width, and And solve the problems, such as the Consumer's Experience in some application scenarios, for example need that image quality is higher and bandwidth can not also internal During support, the problem of can not meeting user's request of appearance, it can so cause in enterprise's large-scale use, without to network Expansion transformation is carried out, has saved railway information infrastructure construction cost.Due to having carried out drop framing control, frame of video drop to frame of video Low, the data volume of transmitted per unit time just reduces, and when network condition is poor, solves showing for video-see interim card As.
Embodiment three
It is corresponding with the video adjusting method disclosed in the embodiment of the present invention one and embodiment two, embodiments of the invention three A kind of video adjusting means is additionally provided, referring to Fig. 2, the device includes:
Statistical module 1, in predetermined period, statistics to send to the video data volume of client and the client and terminated The video data volume received;
Computing module 2, for being regarded according to the transmission to what the video data volume of client and the client received Frequency data volume, transmission of video packet loss is calculated;
Judge module 3, for judging whether the transmission of video packet loss meets predetermined threshold value, if it is not, then will be current The frame of video of transmission of video carries out drop framing control, the frame of video after being adjusted;
Adjusting module 4, for being transmitted under frame of video after the adjustment to video, and recalculate transmission of video packet loss Rate, when transmission of video packet loss can not meet predetermined threshold value in default adjusting range, it will be prompted to instruction and send to the visitor Family end, and the instruction returned according to client, are adjusted to the frame of video.
Corresponding, the device also includes:
Module 5 is established, for receiving the acquisition video flowing request of client transmission, establishes the connection with the client, It will be sent with the corresponding video of video flowing request to the client.
Specifically, the computing module 2 includes:
First acquisition unit 21, for obtaining described send to the video data volume RS1 of client;
Second acquisition unit 22, the video data volume RS2 received for obtaining the client;
First computing unit 23, for according to formula S=(RS1-RS2)/RS1*100%, transmission of video being calculated and loses Bag rate S.
Accordingly, the adjusting module 4 includes:
Second computing unit 41, for being transmitted under frame of video after the adjustment to video, and the weight in predetermined period It is new to calculate transmission of video packet loss;
Whether the first judging unit 42, the packet loss for judging to recalculate to obtain meet predetermined threshold value, if it is, Transmission of video is carried out according to the frame of video after the adjustment;If it is not, then drop framing control is carried out to the frame of video after the adjustment;
Transmitting element 43, the adjusting range for when frame of video drop framing control meet default adjusting range and described regarded When frequency packet loss is unsatisfactory for predetermined threshold value, then hint instructions are sent to the client;
Second judging unit 44, the feedback information carried out for receiving the client according to the hint instructions, parsing The feedback information, judge whether to carry out drop framing control to frame of video, if it is, drop framing control is carried out to current video frame, If it is not, then stop the adjustment to frame of video.
Corresponding, the adjusting module 4 also includes:
3rd judging unit 45, for judging whether the frame of video after drop framing control is less than default minimum frame of video, such as Fruit is then to stop the adjustment to the frame of video.
In embodiments of the invention three, sent by statistical module counts to the video data volume of client and client The video data volume received, transmission of video packet loss is then calculated in computing module, according to transmission of video packet loss Enter Mobile state adjustment to frame of video, that is, Mobile state adjustment is entered to frame of video according to the network quality of real-time Transmission, adjusting Drop framing control can be carried out automatically according to packet loss in module, when frame of video is dropped in certain limit, client can be carried out Ask whether to continue to drop frame, follow-up adjustment is continued according to the feedback of client.By reducing frame of video, each frame is set to have Preferable spatial domain quality, makes user still can obtain preferable picture quality under relatively low rate conditions.And then solve Under network crossing instances the problem of video-see interim card.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment For, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is said referring to method part It is bright.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (10)

1. a kind of video adjusting method, it is characterised in that this method includes:
In predetermined period, statistics sends the video data volume received to the video data volume of client and the client;
According to described the video data volume for sending and being received to the video data volume of client and the client, it is calculated and regards Keep pouring in defeated packet loss;
Judge whether the transmission of video packet loss meets predetermined threshold value, if it is not, then the frame of video that current video is transmitted is entered Row drop framing control, the frame of video after being adjusted;
Video is transmitted under frame of video after the adjustment, and recalculates transmission of video packet loss, when in default adjustment model When predetermined threshold value can not be met by enclosing interior transmission of video packet loss, it will be prompted to instruction and send to the client, and according to client The instruction of return, the frame of video is adjusted.
2. according to the method for claim 1, it is characterised in that this method also includes:
The acquisition video flowing request that client is sent is received, the connection with the client is established, will be asked with the video flowing Corresponding video is sent to the client.
3. according to the method for claim 1, it is characterised in that described to be sent according to described to the video data volume of client The video data volume received with the client, transmission of video packet loss is calculated, including:
Obtain described send to the video data volume RS1 of client;
Obtain the video data volume RS2 that the client receives;
According to formula S=(RS1-RS2)/RS1*100%, transmission of video packet loss S is calculated.
4. according to the method for claim 1, it is characterised in that video is passed under the frame of video after the adjustment It is defeated, and transmission of video packet loss is recalculated, when transmission of video packet loss can not meet predetermined threshold value in default adjusting range When, it will be prompted to instruction and send to the client, and the instruction returned according to client, the frame of video is adjusted, wrapped Include:
Video is transmitted under frame of video after the adjustment, and transmission of video packet loss is recalculated in predetermined period;
Whether the packet loss for judging to recalculate to obtain meets predetermined threshold value, if it is, according to the frame of video after the adjustment Carry out transmission of video;If it is not, then drop framing control is carried out to the frame of video after the adjustment;
The adjusting range for when frame of video drop framing control meets default adjusting range and the video packet loss is unsatisfactory for presetting During threshold value, then hint instructions are sent to the client;
The feedback information that the client is carried out according to the hint instructions is received, parses the feedback information, is judged whether pair Frame of video carries out drop framing control, if it is, drop framing control is carried out to current video frame, if it is not, then stopping to frame of video Adjustment.
5. according to the method for claim 4, it is characterised in that this method also includes:
Judge whether the frame of video after drop framing control is less than default minimum frame of video, if it is, stopping to the frame of video Adjustment.
6. a kind of video adjusting means, it is characterised in that the device includes:
Statistical module, in predetermined period, statistics to send to the video data volume of client and the client and received The video data volume;
Computing module, for sending the video data received to the video data volume of client and the client according to described Amount, is calculated transmission of video packet loss;
Judge module, for judging whether the transmission of video packet loss meets predetermined threshold value, if it is not, then current video is passed Defeated frame of video carries out drop framing control, the frame of video after being adjusted;
Adjusting module, for being transmitted under frame of video after the adjustment to video, and transmission of video packet loss is recalculated, when When transmission of video packet loss can not meet predetermined threshold value in default adjusting range, it will be prompted to instruction and send to the client, And the instruction returned according to client, the frame of video is adjusted.
7. device according to claim 6, it is characterised in that the device also includes:
Module is established, for receiving the acquisition video flowing request of client transmission, establishes the connection with the client, will be with institute The corresponding video of video flowing request is stated to send to the client.
8. device according to claim 6, it is characterised in that the computing module includes:
First acquisition unit, for obtaining described send to the video data volume RS1 of client;
Second acquisition unit, the video data volume RS2 received for obtaining the client;
First computing unit, for according to formula S=(RS1-RS2)/RS1*100%, transmission of video packet loss S to be calculated.
9. device according to claim 6, it is characterised in that the adjusting module includes:
Second computing unit, for being transmitted under frame of video after the adjustment to video, and recalculated in predetermined period Transmission of video packet loss;
First judging unit, whether the packet loss for judging to recalculate to obtain meets predetermined threshold value, if it is, according to institute State the frame of video after adjustment and carry out transmission of video;If it is not, then drop framing control is carried out to the frame of video after the adjustment;
Transmitting element, the adjusting range for when frame of video drop framing control meet default adjusting range and the video packet loss When rate is unsatisfactory for predetermined threshold value, then hint instructions are sent to the client;
Second judging unit, the feedback information carried out for receiving the client according to the hint instructions, parse described anti- Feedforward information, judge whether to carry out drop framing control to frame of video, if it is, drop framing control is carried out to current video frame, if not, Then stop the adjustment to frame of video.
10. according to the method for claim 9, it is characterised in that the adjusting module also includes:
3rd judging unit, for judging whether the frame of video after drop framing control is less than default minimum frame of video, if it is, Stop the adjustment to the frame of video.
CN201711001580.6A 2017-10-24 2017-10-24 A kind of video adjusting method and device Pending CN107743275A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711001580.6A CN107743275A (en) 2017-10-24 2017-10-24 A kind of video adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711001580.6A CN107743275A (en) 2017-10-24 2017-10-24 A kind of video adjusting method and device

Publications (1)

Publication Number Publication Date
CN107743275A true CN107743275A (en) 2018-02-27

Family

ID=61238229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711001580.6A Pending CN107743275A (en) 2017-10-24 2017-10-24 A kind of video adjusting method and device

Country Status (1)

Country Link
CN (1) CN107743275A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769734A (en) * 2018-05-15 2018-11-06 安徽天卓信息技术有限公司 Real-time progress adjusting method and its control system is broadcast live based on BS structural networks
CN109412753A (en) * 2018-10-25 2019-03-01 网易(杭州)网络有限公司 Data transmission method and device, electronic equipment and storage medium
CN115102669A (en) * 2022-06-24 2022-09-23 珠海格力电器股份有限公司 Network communication method and device for multi-split air conditioning system and multi-split air conditioning system
CN115102669B (en) * 2022-06-24 2024-04-26 珠海格力电器股份有限公司 Multi-split air conditioning system network communication method and device and multi-split air conditioning system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413307A (en) * 2011-11-30 2012-04-11 苏州希图视鼎微电子有限公司 Self-adaptive code rate adjustment method and device for television video chat
CN104349158A (en) * 2013-07-26 2015-02-11 腾讯科技(深圳)有限公司 Communication video quality adjusting method and relevant equipment and system
CN104980411A (en) * 2014-04-14 2015-10-14 腾讯科技(深圳)有限公司 Control method, server and terminal for video call and video call system
WO2017129090A1 (en) * 2016-01-28 2017-08-03 腾讯科技(深圳)有限公司 Data transmission method and device for mobile terminal
US20170302722A1 (en) * 2016-04-19 2017-10-19 Ringcentral, Inc. Systems and methods for improving media data communications over a network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413307A (en) * 2011-11-30 2012-04-11 苏州希图视鼎微电子有限公司 Self-adaptive code rate adjustment method and device for television video chat
CN104349158A (en) * 2013-07-26 2015-02-11 腾讯科技(深圳)有限公司 Communication video quality adjusting method and relevant equipment and system
CN104980411A (en) * 2014-04-14 2015-10-14 腾讯科技(深圳)有限公司 Control method, server and terminal for video call and video call system
WO2017129090A1 (en) * 2016-01-28 2017-08-03 腾讯科技(深圳)有限公司 Data transmission method and device for mobile terminal
US20170302722A1 (en) * 2016-04-19 2017-10-19 Ringcentral, Inc. Systems and methods for improving media data communications over a network

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769734A (en) * 2018-05-15 2018-11-06 安徽天卓信息技术有限公司 Real-time progress adjusting method and its control system is broadcast live based on BS structural networks
CN108769734B (en) * 2018-05-15 2020-09-04 安徽赛安安全技术有限公司 Method for adjusting live broadcast real-time progress based on BS (browser/server) structure network and control system thereof
CN109412753A (en) * 2018-10-25 2019-03-01 网易(杭州)网络有限公司 Data transmission method and device, electronic equipment and storage medium
CN115102669A (en) * 2022-06-24 2022-09-23 珠海格力电器股份有限公司 Network communication method and device for multi-split air conditioning system and multi-split air conditioning system
CN115102669B (en) * 2022-06-24 2024-04-26 珠海格力电器股份有限公司 Multi-split air conditioning system network communication method and device and multi-split air conditioning system

Similar Documents

Publication Publication Date Title
US20150082345A1 (en) System for generating enhanced advertizements and methods for use therewith
CN103533451B (en) Method and system for regulating jitter buffer
CN105307010B (en) The video uploading system and method for a kind of cloud net cast platform
CN103733680B (en) Method and apparatus for controlling wireless uplink session
DE60213185T2 (en) Method and device for data transmission
CN106254899A (en) The control method of a kind of live even wheat and system
CN103051978A (en) H264-based real-time mobile video service control method
CN105491393A (en) Method for implementing multi-user live video business
US20150244760A1 (en) Efficient bitrate adaptation in video communications over ip networks
US8634300B2 (en) Reducing communication delay of video data
CN103532909A (en) Multi-stream service concurrent transmission method, sub-system, system and multi-interface terminal
CN106658051B (en) A kind of control method and system of buffered play Streaming Media
CN108696772A (en) A kind of transmission method and device of real-time video
EP2833575A1 (en) Methods and systems for video quota management
CN104427286B (en) A kind of method and system carrying out video calling
CN107743275A (en) A kind of video adjusting method and device
CN106790532A (en) A kind of online live method for uploading and system based on edge network polymerization
CN105338288A (en) Multi-people network video session method and system
CN104683866A (en) Playing processing method for received streaming video
EP3325116A1 (en) Method and telecommunications network for streaming and for reproducing applications
Muntean Efficient delivery of multimedia streams over broadband networks using QOAS
CN110445723A (en) A kind of network data dispatching method and fringe node
CN101917406A (en) Data transmission method and data transmission system
Kesidis A simple two-sided market model with side-payments and ISP service classes
CN106658058A (en) Multiple-client-terminal-based video transmission rate synchronization management method and the management 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
CB02 Change of applicant information

Address after: 100053 No. 56 Caishikou South Street, Xicheng District, Beijing

Applicant after: STATE GRID JIBEI ELECTRIC POWER Co.,Ltd.

Applicant after: BEIJING CHINA POWER INFORMATION TECHNOLOGY Co.,Ltd.

Applicant after: STATE GRID CORPORATION OF CHINA

Applicant after: STATE GRID INFORMATION & TELECOMMUNICATION GROUP Co.,Ltd.

Address before: 100053 No. 56 Caishikou South Street, Xicheng District, Beijing

Applicant before: STATE GRID JIBEI ELECTRIC POWER Co.,Ltd.

Applicant before: BEIJING CHINA POWER INFORMATION TECHNOLOGY Co.,Ltd.

Applicant before: State Grid Corporation of China

Applicant before: STATE GRID INFORMATION & TELECOMMUNICATION GROUP Co.,Ltd.

CB02 Change of applicant information
TA01 Transfer of patent application right

Effective date of registration: 20190722

Address after: 100085 Building 32-3-4108-4109, Pioneer Road, Haidian District, Beijing

Applicant after: BEIJING GUODIANTONG NETWORK TECHNOLOGY Co.,Ltd.

Applicant after: STATE GRID CORPORATION OF CHINA

Applicant after: STATE GRID INFORMATION & TELECOMMUNICATION GROUP Co.,Ltd.

Applicant after: STATE GRID JIBEI ELECTRIC POWER Co.,Ltd.

Address before: 100053 No. 56 Caishikou South Street, Xicheng District, Beijing

Applicant before: STATE GRID JIBEI ELECTRIC POWER Co.,Ltd.

Applicant before: BEIJING CHINA POWER INFORMATION TECHNOLOGY Co.,Ltd.

Applicant before: STATE GRID CORPORATION OF CHINA

Applicant before: STATE GRID INFORMATION & TELECOMMUNICATION GROUP Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20180227

RJ01 Rejection of invention patent application after publication