CN103747077B - A kind of transmission mechanism method of adjustment and service end, client - Google Patents

A kind of transmission mechanism method of adjustment and service end, client Download PDF

Info

Publication number
CN103747077B
CN103747077B CN201310754274.5A CN201310754274A CN103747077B CN 103747077 B CN103747077 B CN 103747077B CN 201310754274 A CN201310754274 A CN 201310754274A CN 103747077 B CN103747077 B CN 103747077B
Authority
CN
China
Prior art keywords
client
service end
data
algorithm
compression
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.)
Active
Application number
CN201310754274.5A
Other languages
Chinese (zh)
Other versions
CN103747077A (en
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.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310754274.5A priority Critical patent/CN103747077B/en
Publication of CN103747077A publication Critical patent/CN103747077A/en
Priority to PCT/CN2014/089641 priority patent/WO2015101092A1/en
Application granted granted Critical
Publication of CN103747077B publication Critical patent/CN103747077B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/23805Controlling the feeding rate to the network, e.g. by controlling the video pump
    • 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/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6582Data stored in the client, e.g. viewing habits, hardware capabilities, credit card number

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

Embodiments of the invention provide a kind of transmission mechanism method of adjustment and service end, client, are related to network technique field, solve because client type and transmission mechanism coordinate deficiency to cause remote desktop to realize the problem of effect is poor.Its method is:The view data performed after respective handling is sent to client with Preset Transfer mechanism by service end, and after the feedback information that client feedback mechanism is sent is received, corresponding adjustment operation is performed further according to feedback information, the transmission mechanism that service end is used is adjusted.Embodiments of the invention are used under the scene that remote desktop is transmitted.

Description

A kind of transmission mechanism method of adjustment and service end, client
Technical field
The present invention relates to network technique field, more particularly to a kind of transmission mechanism method of adjustment and service end, client.
Background technology
Remote desktop technology is a kind of common technique in enterprise's office application now, can be controlled by network connection another Platform computer, and its desktop is shown in real time.Because remote desktop is necessary not only for common display data on the screen is transmitted, bag is also needed Long-range sound transmission, the mapping of pluggable hardware etc. are included, it is very big by the data volume of network transmission, easily cause network congestion And transmission delay.Therefore pass through vision facilities interface at present more(Graphics Device Interface, GDI)Driven with display, The vector plotting order about graphics command and view data are obtained, and is encapsulated as instruction.After remote desktop is built successfully, Service end is correctly run, and receives above-mentioned instruction and image is identified with specific image identification technology, adopted according to recognition result View data is handled with corresponding specific transmission mechanism, bandwidth demand is reduced as much as possible, client is then forwarded to;Visitor Family end decodes and rendered after receiving again obtains the complete screen picture of a width, realizes real-time operation of the user in client.
But, because client is polytype, in the prior art, service end is according to the knowledge of specific image identification technology Other result selects corresponding specific transmission mechanism, is only capable of improving the process performance of service end, and client is different in hardware condition When, decoding performance can produce very big difference, and had a strong impact on remote desktop realizes effect, reduces Consumer's Experience.
The content of the invention
Embodiments of the invention provide a kind of transmission mechanism method of adjustment and service end, client, by the client Add feedback mechanism, service end receive client feedback information transmission mechanism is adjusted, solve because client type with Transmission mechanism coordinates not enough and causes remote desktop to realize the problem of effect is poor, improves Consumer's Experience.
To reach above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that:
First aspect includes there is provided a kind of transmission mechanism method of adjustment, methods described:
Service end sends the first data using Preset Transfer mechanism to client;The Preset Transfer mechanism is including the use of One compression algorithm is compressed, caching piecemeal is carried out using the first image buffer storage mechanism, carried out using the first video coding algorithm At least one in coding;First data are the view data after Preset Transfer mechanism processing;
After the client receives first data, the service end receives the first feedback letter from the client Breath, first feedback information is used to indicate disposal ability of the client to first data, the disposal ability bag Include at least one in decoding speed, bandwidth value or the decoded frame rate when receiving or handle first data;
The service end performs default adjustment operation, the biography used the service end according to first feedback information Defeated mechanism is adjusted;The default adjustment operation includes:Compression algorithm is adjusted, according to the bandwidth according to the decoding speed Value adjustment image buffer storage mechanism, at least one in decoded frame rate adjustment video coding algorithm.
With reference in a first aspect, in the first possible implementation, being calculated if the service end is compressed using described first Method compression handles described image data, then first feedback information is decoded including the client to first data When the first decoding speed;
The service end performs default adjustment operation, the biography used the service end according to first feedback information Defeated mechanism be adjusted including:
The service end retrieves the known client algorithm table in the service end according to first decoding speed, if First decoding speed falls the first decoding speed model under the first compression algorithm described in the known client algorithm table In enclosing, then known client type corresponding with the first decoding speed scope, and the pressure that the service end is used are obtained Compression algorithm is adjusted to the corresponding targeted compression algorithm of the known client type.
With reference to the first possible implementation of first aspect, in second of possible implementation, methods described Also include:
If any of first decoding speed not described in the known client algorithm table under the first compression algorithm In the range of decoding speed, or, being less than using the decoding speed of the client feedback after the targeted compression algorithm described known The corresponding default decoding speed threshold value of known client type described in client algorithm table;Then,
The service end obtains Optimize Compression Algorithm, and the compression algorithm that the service end is used is adjusted to the optimization Compression algorithm.
With reference to second of possible implementation of first aspect, in the third possible implementation, the service End, which obtains Optimize Compression Algorithm, to be included:
The service end obtains Alternative algorithms set, and the Alternative algorithms set is included in the known client algorithm table With the first compression algorithm compression ratio difference in the first preset range, compression speed difference in the second preset range, Correspondence decoding speed is more than all known compression algorithms of default decision threshold under default client type;The default judgement threshold It is worth and corresponds to decoding speed under default client type for first compression algorithm;
Sent respectively using each known compression algorithms in the Alternative algorithms set to the client at compression Described image data after reason, and receive the decoding speed of the client correspondence feedback;Wherein described decoding speed is most fast A known compression algorithms be chosen to be the Optimize Compression Algorithm.
With reference in a first aspect, in the 4th kind of possible implementation, if the service end is slow using described first image Mechanism caching piecemeal processing described image data are deposited, then first feedback information includes client reception first number According to when the first bandwidth value, the network speed that is currently connected with the client of the service end;
The service end performs default adjustment operation, the biography used the service end according to first feedback information Defeated mechanism be adjusted including:
Judge whether first bandwidth value is more than the first predetermined threshold value;If being more than, the service end reduces image and delayed Piecemeal size is deposited, and/or, the service end indicates that the client increases the image buffer storage capacity of the client;
It if is not more than, and the network speed is more than the second predetermined threshold value, then the service end increases image buffer storage piecemeal Size, and/or, the service end indicates that the client reduces the image buffer storage capacity of the client.
With reference in a first aspect, in the 5th kind of possible implementation, if the service end uses first video to compile Code algorithm coding handles described image data, then first feedback information is carried out including the client to first data The first decoded frame rate during decoding;
The service end performs default adjustment operation, the biography used the service end according to first feedback information Defeated mechanism be adjusted including:
If first decoded frame rate is less than the 3rd predetermined threshold value, the service end retrieves encryption algorithm table, determines institute State all targets with the first video coding algorithm image fault degree difference in the 3rd preset range in encryption algorithm table Encryption algorithm, using coding rate in all target code algorithms, most fast one is used as optimization video coding algorithm;By institute State the video coding algorithm that service end uses and be adjusted to the optimization video coding algorithm.
With reference to the 5th kind of possible implementation of first aspect, in the 6th kind of possible implementation, incited somebody to action described The video coding algorithm that the service end is used is adjusted to after the optimization video coding algorithm, and methods described also includes:
If the decoded frame rate of client feedback is less than the 3rd predetermined threshold value, the transmission frame per second of the service end is dropped Low default frame number value, predetermined level is reduced by compression quality.
Second aspect includes there is provided a kind of transmission mechanism method of adjustment, methods described:
Client receives the first data that service end is sent using Preset Transfer mechanism;The Preset Transfer mechanism includes making It is compressed with the first compression algorithm, carries out caching piecemeal, using the first video coding algorithm using the first image buffer storage mechanism At least one in being encoded;First data are the view data after Preset Transfer mechanism processing;
The client sends the first feedback information, so as to described after first data are received to the service end Service end is adjusted to the transmission mechanism used;First feedback information is used to indicate that the client is counted to described first According to disposal ability, decoding speed, bandwidth value or solution when the disposal ability includes receiving or handling first data Code frame per second at least one;
With reference to second aspect, in the first possible implementation, the client after first data are received, Sending the first feedback information to the service end includes:
If the service end uses first compression algorithm compression processing described image data, first feedback letter Breath includes the first decoding speed when the client is decoded to first data;
If the service end uses described first image caching mechanism caching piecemeal processing described image data, described the One feedback information includes the first bandwidth value, the service end and the client when client receives first data The network speed currently connected;
If the service end uses the first video coding algorithm coded treatment described image data, described first is anti- Feedforward information includes the first decoded frame rate when the client is decoded to first data.
With reference to the first possible implementation of second aspect, in second of possible implementation, methods described Also include:
If the service end is using a kind of compression algorithm compression processing described image data, and at the client transmission Data after reason, then the client is to the service end send feedback information, and the feedback information is included to number after the processing According to decoding speed when being decoded;
If the service end uses a kind of video coding algorithm coded treatment described image data, and is sent out to the client Data after processing are sent, then the client is to the service end send feedback information, and the feedback information includes the client Decoded frame rate when being decoded to data after the processing.
The third aspect includes there is provided a kind of service end, the service end:
Data transmission unit, for sending the first data to client using Preset Transfer mechanism;The Preset Transfer machine System is compressed including the use of the first compression algorithm, caching piecemeal is carried out using the first image buffer storage mechanism, using the first video Encryption algorithm encoded at least one;First data are the picture number after Preset Transfer mechanism processing According to;
Feedback unit is received, for after the client receives first data, first to be received from the client Feedback information, first feedback information is used to indicate disposal ability of the client to first data, the processing Ability is including receiving or handling at least one in decoding speed, bandwidth value or the decoded frame rate during first data;
Mechanism adjustment unit, for according to first feedback information, performing default adjustment operation, to the conveyer used System is adjusted;The default adjustment operation includes:Compression algorithm is adjusted according to the decoding speed, adjusted according to the bandwidth value Whole image buffer storage mechanism, at least one in decoded frame rate adjustment video coding algorithm.
With reference to the third aspect, in the first possible implementation, if the service end is calculated using the described first compression Method compression handles described image data, then first feedback information is decoded including the client to first data When the first decoding speed;
The mechanism adjustment unit also includes:
First adjustment unit, for according to first decoding speed, the known client retrieved in the service end to be calculated Method table, if first decoding speed falls the first decoding under the first compression algorithm described in the known client algorithm table In velocity interval, then known client type corresponding with the first decoding speed scope is obtained, and the service end is made Compression algorithm is adjusted to the corresponding targeted compression algorithm of the known client type.
With reference to the first possible implementation of the third aspect, in second of possible implementation, if described In the range of any decoding speed of one decoding speed not described in the known client algorithm table under the first compression algorithm, Or, being less than institute in the known client algorithm table using the decoding speed of the client feedback after the targeted compression algorithm State the corresponding default decoding speed threshold value of known client type;Then,
The mechanism adjustment unit also includes:
Second adjustment unit, for obtaining Optimize Compression Algorithm, and the compression algorithm that the service end is used is adjusted to The Optimize Compression Algorithm.
With reference to second of possible implementation of the third aspect, in the third possible implementation, described second Adjustment unit also particularly useful for:
Alternative algorithms set is obtained, the Alternative algorithms set is included in the known client algorithm table with described first Compression algorithm compression ratio difference is in the first preset range, compression speed difference is in the second preset range, in default client Correspondence decoding speed is more than all known compression algorithms of default decision threshold under type;The default decision threshold is described the One compression algorithm correspondence decoding speed under default client type;
Sent respectively using each known compression algorithms in the Alternative algorithms set to the client at compression Described image data after reason, and receive the decoding speed of the client correspondence feedback;Wherein described decoding speed is most fast A known compression algorithms be chosen to be the Optimize Compression Algorithm.
With reference to the third aspect, in the 4th kind of possible implementation, if the service end is slow using described first image Mechanism caching piecemeal processing described image data are deposited, then first feedback information includes client reception first number According to when the first bandwidth value, the network speed that is currently connected with the client of the service end;
The mechanism adjustment unit also includes:
3rd adjustment unit, for according to first feedback information, performing default adjustment operation, makes to the service end Transmission mechanism is adjusted, and is specifically included:
Judge whether first bandwidth value is more than the first predetermined threshold value;If being more than, the service end reduces image and delayed Piecemeal size is deposited, and/or, the service end indicates that the client increases the image buffer storage capacity of the client;
It if is not more than, and the network speed is more than the second predetermined threshold value, then the service end increases image buffer storage piecemeal Size, and/or, the service end indicates that the client reduces the image buffer storage capacity of the client.
With reference to the third aspect, in the 5th kind of possible implementation, if the service end is compiled using first video Code algorithm coding handles described image data, then first feedback information is carried out including the client to first data The first decoded frame rate during decoding;
The mechanism adjustment unit also includes:
4th adjustment unit, for according to first feedback information, performing default adjustment operation, makes to the service end Transmission mechanism is adjusted, and is specifically included:
If first decoded frame rate is less than the 3rd predetermined threshold value, encryption algorithm table is retrieved, the encryption algorithm is determined All target code algorithms in table with the first video coding algorithm image fault degree difference in the 3rd preset range, will Most fast one of coding rate is used as optimization video coding algorithm in all target code algorithms;The service end is used Video coding algorithm be adjusted to the optimization video coding algorithm.
With reference to the 5th kind of possible implementation of the third aspect, in the 6th kind of possible implementation, by described in The video coding algorithm that service end is used is adjusted to after the optimization video coding algorithm, and the 4th adjustment unit is also used In:
If the decoded frame rate of client feedback is less than the 3rd predetermined threshold value, the transmission frame per second of the service end is dropped Low default frame number value, predetermined level is reduced by compression quality.
Fourth aspect includes there is provided a kind of client, the client:
Data receipt unit, for receiving the first data that service end is sent using Preset Transfer mechanism;The default biography Defeated mechanism is compressed including the use of the first compression algorithm, caching piecemeal is carried out using the first image buffer storage mechanism, using first Video coding algorithm encoded at least one;First data are the figure after Preset Transfer mechanism processing As data;
Information feedback unit, for after first data are received, the first feedback information to be sent to the service end, with Toilet states service end and the transmission mechanism used is adjusted;First feedback information is used to indicate the client to described The disposal ability of first data, decoding speed, bandwidth value when the disposal ability includes reception or handles first data Or at least one in decoded frame rate;
With reference to fourth aspect, in the first possible implementation, described information feedback unit is used for the service End sends the first feedback information, specifically includes:
If the service end uses first compression algorithm compression processing described image data, first feedback letter Breath includes the first decoding speed when the client is decoded to first data;
If the service end uses described first image caching mechanism caching piecemeal processing described image data, described the One feedback information includes the first bandwidth value, the service end and the client when client receives first data The network speed currently connected;
If the service end uses the first video coding algorithm coded treatment described image data, described first is anti- Feedforward information includes the first decoded frame rate when the client is decoded to first data.
With reference to fourth aspect, in second of possible implementation, if the service end uses a kind of compression algorithm pressure Contracting processing described image data, and to the client transmission handle after data, then described information feedback unit be additionally operable to institute State service end send feedback information, the decoding speed when feedback information includes decoding data after the processing;
If the service end uses a kind of video coding algorithm coded treatment described image data, and is sent out to the client Data after processing are sent, then described information feedback unit is additionally operable to the service end send feedback information, the feedback information bag Include the decoded frame rate when client is decoded to data after the processing.
Embodiments of the invention provide a kind of transmission mechanism method of adjustment and service end, client, by service end with pre- If transmission mechanism sends the view data performed after respective handling to client, and is receiving the anti-of client feedback mechanism transmission After feedforward information, perform corresponding adjustment further according to feedback information and operate, the transmission mechanism that service end is used is adjusted.So, Solve because client type and transmission mechanism cooperation are not enough, remote desktop realizes the problem of effect is poor, improves Consumer's Experience.
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 The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet one of transmission mechanism method of adjustment provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet two of transmission mechanism method of adjustment provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet one of another transmission mechanism method of adjustment provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet two of another transmission mechanism method of adjustment provided in an embodiment of the present invention;
Fig. 5 is the schematic flow sheet three of another transmission mechanism method of adjustment provided in an embodiment of the present invention;
Fig. 6 is the schematic flow sheet four of another transmission mechanism method of adjustment provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation one of service end provided in an embodiment of the present invention;
Fig. 8 is a kind of structural representation two of service end provided in an embodiment of the present invention;
Fig. 9 is a kind of structural representation of client provided in an embodiment of the present invention;
Figure 10 is the structural representation of another service end provided in an embodiment of the present invention;
Figure 11 is the structural representation of another client provided in an embodiment of the present invention.
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 is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Embodiments of the invention provide a kind of transmission mechanism method of adjustment, as shown in figure 1, based on service side, this method Including:
S101, service end send the first data using Preset Transfer mechanism to client.
Wherein, Preset Transfer mechanism is compressed including the use of the first compression algorithm, entered using the first image buffer storage mechanism Row caching piecemeal, encoded using the first video coding algorithm at least one;First data are to pass through Preset Transfer machine View data after system processing.
S102, client receive the first data after, service end from client receive the first feedback information.
Wherein, the first feedback information is used to indicate disposal ability of the client to the first data, and disposal ability includes receiving Or at least one in decoding speed, bandwidth value or the decoded frame rate during the first data of processing.
S103, service end perform default adjustment operation, the transmission mechanism that service end is used are entered according to the first feedback information Row adjustment.
Wherein, presetting adjustment operation includes:Compression algorithm is adjusted according to decoding speed, image buffer storage is adjusted according to bandwidth value Mechanism, at least one in decoded frame rate adjustment video coding algorithm.
Embodiments of the invention also provide a kind of transmission mechanism method of adjustment, as shown in Fig. 2 based on client-side, the party Method includes:
S201, client receive the first data that service end is sent using Preset Transfer mechanism.
Wherein, Preset Transfer mechanism is compressed including the use of the first compression algorithm, entered using the first image buffer storage mechanism Row caching piecemeal, encoded using the first video coding algorithm at least one;First data are to pass through Preset Transfer machine View data after system processing.
S202, client send the first feedback information, so that service end is to using after the first data are received to service end Transmission mechanism be adjusted.
Wherein, the first feedback information is used to indicate disposal ability of the client to the first data, and disposal ability includes receiving Or at least one in decoding speed, bandwidth value or the decoded frame rate during the first data of processing.
Embodiments of the invention provide a kind of transmission mechanism method of adjustment, by service end with Preset Transfer mechanism to client End sends the view data performed after respective handling, and after the feedback information that client feedback mechanism is sent is received, further according to Feedback information performs corresponding adjustment operation, and the transmission mechanism that service end is used is adjusted.So, solve because of client class Type coordinates not enough with transmission mechanism, and remote desktop realizes the problem of effect is poor, improves Consumer's Experience.
In order that those skilled in the art can be more clearly understood that technical scheme provided in an embodiment of the present invention, lead to below Specific embodiment is crossed, another transmission mechanism method of adjustment provided in an embodiment of the present invention is described in detail, such as Fig. 3 institutes Show, this method includes:
S301, service end send the first data using Preset Transfer mechanism to client.
Specifically, service end uses Preset Transfer mechanism, the first data are sent to client, can be included:
Preset Transfer mechanism is compressed processing to view data for service end using specific compression algorithm, exemplary , service end obtains the first data, and send first number to client using the first compression algorithm compression processing view data According to, wherein, the first compression algorithm is the default compression algorithm that service end default setting is selected;
Or, Preset Transfer mechanism is that service end carries out caching piecemeal using specific image buffer storage mechanism to view data Processing, exemplary, service end obtains the first data with the first image buffer storage piecemeal size caching piecemeal processing view data, And first data are sent to client, wherein, the first image buffer storage piecemeal size is the acquiescence that service end default setting is selected Piecemeal size;
Or, Preset Transfer mechanism is that service end is carried out at coding using specific video coding algorithm to view data Reason, exemplary, service end uses the first video coding algorithm coded treatment view data, obtains the first data, and to client End sends first data, wherein, the first video coding algorithm is the default code algorithm that service end default setting is selected.
S302, client receive the first data, according to first the first feedback information of data acquisition, and should to service end transmission First feedback information.
Specifically, client is after the first data are received, collects and send the first feedback information to service end;Wherein, One feedback information can include the network speed that service end is currently connected with client, the OS Type of client.
And the transmission mechanism used when handling view data according to service end, it can also include corresponding with transmission mechanism Other feedback informations.
It is exemplary, if service end is using the first compression algorithm compression processing view data, obtain the first data, and to visitor Family end sends first data, then the first feedback information also includes:The first solution when client is decoded to first data Code speed;Wherein, the first decoding speed is the decompression time and the calculating of view data size obtained by client according to timestamp Obtain.
If service end obtains the first data using the first image buffer storage mechanism caching piecemeal processing view data, and to visitor Family end sends first data, then the first feedback information also includes:Client receives the first bandwidth value during the first data;Its In, the first bandwidth value is to be monitored acquisition when receiving the first data by client.
If service end uses the first video coding algorithm coded treatment view data, the first data are obtained, and to client First data are sent, then the first feedback information also includes:The first decoded frame rate when client is decoded to the first data; Wherein, the first decoded frame rate is that statistics acquisition is carried out when carrying out decoding process to the first data by client.
S303, the first feedback information sent according to client, service end are adjusted to the transmission mechanism used.
If specifically, service end obtains the first data using the first compression algorithm compression processing view data, and to client End sends first data, then performs S304 and the transmission mechanism used is adjusted.
If service end obtains the first data using the first image buffer storage mechanism caching piecemeal processing view data, and to visitor Family end sends first data, then performs S305 and the transmission mechanism used is adjusted.
If service end uses the first video coding algorithm coded treatment view data, the first data are obtained, and to client First data are sent, then performs S306 and the transmission mechanism used is adjusted.
S304, the first feedback information sent according to client, adjust compression algorithm.
Specifically, the first feedback information sent according to client, adjustment service end is compressed processing to view data When the compression algorithm that uses.Wherein, the first feedback information includes:First decoding speed.Exemplary, as shown in figure 4, adjusting Journey mainly includes:
S3041, according to the first decoding speed, retrieve known client algorithm table, and client is classified.
Specifically, known client algorithm table is default description known compression algorithms, known client type in service end With the corresponding table of decoding speed scope corresponding relation, it can be realized in the form of an algorithm in service end;The known client algorithm Table indicates each known compression algorithms and existed including containing a variety of different known compression algorithms including the first compression algorithm Corresponding decoding speed scope and the corresponding optimal pressure of each known client type under different known client types Compression algorithm.
It is worth mentioning, it is known that the corresponding optimal compression algorithm of known client type recorded in client algorithm table is For the characteristic of different clients type, the compression algorithm of setting is pre-selected, as a rule, is calculated using the optimal compression Method can make the decoding speed of client reach predetermined requirement;Different known client types can be different for hardware condition Client, or the client that hardware condition is identical but operating system is different.It can also include in the first feedback information The OS Type of client, can be by searching the operating system that known client type is marked in known client algorithm table Type information, auxiliary efficiently determines the classification of client.
Known client algorithm table is retrieved, if the first decoding speed falls the first compression algorithm in known client algorithm table Under in the range of a corresponding decoding speed, then be known classification by client-classification.
Or, if the first decoding speed is not in the range of any one corresponding decoding speed of the first compression algorithm, by visitor Family end is categorized as unknown classification.
S3042, the classification according to client, select corresponding adjustable strategies.
If specifically, being known classification by client-classification, selecting to be adjusted using the first adjustable strategies, performing S3043;Or, if being unknown classification by client-classification, select to be adjusted using the second adjustable strategies, perform S3044.
S3043, the first adjustable strategies of execution are adjusted.
Specifically, retrieval known client algorithm table, obtains targeted compression algorithm, and judge targeted compression algorithm and first Whether compression algorithm is identical.If identical, keep constant using the first compression algorithm, and terminate adjustment;Wherein, targeted compression is calculated Method is the corresponding optimal compression algorithm of type of the known classification client in known client algorithm table.
Or, if differing, service end sends the second data to client, and receives the second feedback of client transmission Information.Wherein, the second data are the view data in service end after the processing of targeted compression compression algorithm;Second feedback information The second decoding speed obtained when being decoded for client to the second data.
Known client algorithm table is retrieved again, judges whether the second decoding speed is more than default decoding speed threshold value, its In, default decoding speed threshold value is targeted compression algorithm in known client algorithm table under the type of the known classification client Corresponding decoding speed lower range limit.
If so, then service end is selected carries out the processing of subsequent image data using targeted compression algorithm, and terminate adjustment;Or Person, if it is not, client then is re-classified as into unknown classification, and selects to be adjusted using the second adjustable strategies, performs S3044。
S3044, the second adjustable strategies of execution are adjusted.
Specifically, retrieval known client algorithm table, obtains Optimize Compression Algorithm;
Exemplary, obtaining Optimize Compression Algorithm includes:
Service end obtains Alternative algorithms set, and the Alternative algorithms set includes compressing with first in known client algorithm table Algorithm compression ratio difference is in the first preset range, compression speed difference is in the second preset range, in default client type Lower correspondence decoding speed is more than all known compression algorithms of default decision threshold;Wherein, it is the first compression to preset decision threshold Algorithm corresponding decoding speed under default client type;
Service end is sent at compression using each known compression algorithms in the Alternative algorithms set to client respectively View data after reason, and the corresponding decoding speed of client transmission is received, each correspondence that statistical comparison is received is decoded Speed, it is most fast one to obtain wherein decoding speed, and the corresponding known compression algorithms of the decoding speed are chosen to be into optimization pressure Compression algorithm, performs subsequent operation.
It is worth mentioning, compression ratio, compression speed and the decoding speed of any known compression algorithms can be from known clients Hold in algorithm table and obtain;And first preset range and the second preset range can be system default setting range, or outside Portion's input is given, does not limit herein;Default client type can be window client type.
After Optimize Compression Algorithm is obtained, service end sends the 3rd data to client, and receives the of client transmission Three feedback informations;Wherein, the 3rd data are the view data in service end after Optimize Compression Algorithm compression processing, the 3rd Feedback information includes the 3rd decoding speed obtained when client is decoded to the 3rd data.
Judge whether the 3rd decoding speed is more than the first decoding speed, if being more than, service end is selected to use optimization compression Algorithm, and terminate adjustment;If or, being less than, service end keeps constant using the first compression algorithm, and obtains current from client After bandwidth value, the hierarchy compression that the first compression algorithm is adjusted according to current bandwidth value, terminate adjustment.
Wherein, the hierarchy compression for adjusting the first compression algorithm according to current bandwidth value can include:By current bandwidth value with Pre-set bandwidths threshold value is compared, if current bandwidth value is more than pre-set bandwidths threshold value, shows that current bandwidth burden is heavier, then will The default hierarchy compression of compression quality reduction of first compression algorithm.Pre-set bandwidths are preset can be lacked with default hierarchy compression for system Save setting range, or outside input gives, and does not limit herein.
S305, the first feedback information sent according to client, adjust image buffer storage mechanism.
Specifically, the first feedback information sent according to client, adjustment service end carries out caching piecemeal to view data The image buffer storage mechanism used during processing.Wherein, the first feedback information includes:The network speed that service end is connected with client with And first bandwidth value.
Exemplary, as shown in figure 5, adjustment process mainly includes:
S3051, judged with the first predetermined threshold value with reference to the first bandwidth value.
Specifically, service end is after the first bandwidth value of client feedback is received, according to the first bandwidth value, with reference to first Predetermined threshold value is judged.Wherein, the first predetermined threshold value is the threshold value of client bandwidth value, can be system default arranges value, It can also be an externally input given, not limit herein.
If the first bandwidth value is more than the first predetermined threshold value, performs S2052 and be adjusted, if the first bandwidth value is less than or waited In the first predetermined threshold value, then perform S2053 and be adjusted.
S3052, the first bandwidth value are more than the first predetermined threshold value, service end adjustment image buffer storage mechanism.
If specifically, the first bandwidth value is more than the first predetermined threshold value, showing the bandwidth value of client beyond expection, Ke Nengcun Miss in substantial amounts of image cache, i.e., current image buffer storage piecemeal size is arranged on realization optimization bandwidth, reduces data hair Effect in terms of the amount of sending is poor, then needs to carry out reduction adjustment to image buffer storage piecemeal size.
Exemplary, service end indicates that the image buffer storage capacity in client is adjusted to the second preset capacity by client. Wherein, the second preset capacity is the setting capacity more than or equal to client present image buffer memory capacity, can be system default Set capacity, or outside input gives, and does not limit herein;And if the current image buffer storage capacity and second of client Preset capacity is identical, then without adjustment.
After client terminates to the adjustment of image buffer storage capacity, service end performs the 3rd adjustable strategies adjustment image buffer storage Piecemeal size.Wherein, the 3rd adjustable strategies are specifically included:
Service end gradually reduces current image buffer storage piecemeal size, and reduces preset difference value every time.Wherein, preset difference value The image buffer storage piecemeal magnitude difference of reduction needed for during to reduce every time, can set difference, or outer for system default Portion's input is given, does not limit herein.
Every time reduce image buffer storage piecemeal size after, service end to client transmission handle after view data;Client End counts in the view data after receiving the processing and obtains corresponding bandwidth value again, and by the corresponding bandwidth value Feedback is sent to service end.Service end is compared to the bandwidth value with the first predetermined threshold value.
If bandwidth value is less than or equal to the first predetermined threshold value, preset most or, image buffer storage piecemeal size is less than or equal to Terminate adjustment during small piecemeal size, otherwise repeat the 3rd adjustable strategies and proceed adjustment.Wherein, minimum piecemeal is preset big It is small to cache piecemeal size for the selectable minimum image of service end, can be system default setting value, or outside input It is given, do not limit herein.
S3053, the first bandwidth value are less than or equal to the first predetermined threshold value, service end adjustment image buffer storage mechanism.
If specifically, the first bandwidth value is less than or equal to the first predetermined threshold value, and network speed is more than the second predetermined threshold value, It is expected to require although showing that the bandwidth value of client is met, still suffers from and further optimize bandwidth, reduce data traffic volume aspect Possibility.Wherein, the second predetermined threshold value is the threshold value for the network speed that service end is connected with client, can be system default Arranges value, or outside input gives, and does not limit herein.
Exemplary, image buffer storage piecemeal size is adjusted to default piecemeal size by service end.Wherein, piecemeal size is preset Can be system default setting to cache the setting piecemeal sizes values of piecemeal size more than service end present image, or Outside input gives, and does not limit herein;
Or, service end indicates that the image buffer storage capacity in client is adjusted to the first preset capacity by client.Wherein, First preset capacity is the setting capacity less than client present image buffer memory capacity, can set capacity for system default, It can be an externally input given, not limit herein.
S306, the first feedback information sent according to client, adjust video coding algorithm.
Specifically, the first feedback information sent according to client, adjustment service end carries out coded treatment to view data When the video coding algorithm that uses.Wherein, the first feedback information includes:First decoded frame rate.Exemplary, as shown in fig. 6, adjusting Haveing suffered journey mainly includes:
S3061, according to the first decoded frame rate, retrieve encryption algorithm table, video coding algorithm be adjusted.
Specifically, encryption algorithm table is the list of default description known video encryption algorithm in service end.Retrieve the coding Algorithm table, obtains optimization video coding algorithm;Wherein, optimization video coding algorithm is higher than for image fault degree in encryption algorithm table All targets of the image fault degree difference of first video coding algorithm and the first video coding algorithm in the 3rd preset range Coding rate most fast encryption algorithm in encryption algorithm;And the video coding algorithm that service end is used is adjusted to the optimization video Encryption algorithm.
It is worth mentioning, the image fault degree of any known video encryption algorithm, coding rate can be from encryption algorithm tables It is middle to obtain;And the 3rd preset range be video coding algorithm image fault degree difference range, can for system default set model Enclose, or outside input gives, and does not limit herein.
S3062, adjustment video coding algorithm after, optimize adjustment.
Service end sends the 4th after the video coding algorithm used to be adjusted to optimization video coding algorithm to client Data, and receive the 4th feedback information of client transmission.Wherein, the 4th data are calculated to pass through optimization Video coding in service end View data after method coded treatment;4th feedback information includes the second solution obtained when client is decoded to the 4th data Code frame per second;
Service end is judged according to the second decoded frame rate with reference to the 3rd predetermined threshold value.If the second decoded frame rate is less than the Three predetermined threshold values, then reduce default frame number value by the transmission frame per second of service end, compression quality reduced into predetermined level.Wherein, Three predetermined threshold values are the decoded frame rate for meeting customer experience requirement, and it is the adjusted value that frame per second is sent to service end to preset frame number value, Predetermined level be to server side code credit rating adjust to.Above-mentioned 3rd predetermined threshold value, default frame number value, predetermined level are equal Can be system default arranges value, or outside input gives, and does not limit herein.
Embodiments of the invention provide a kind of transmission mechanism method of adjustment, by service end with Preset Transfer mechanism to client End sends the view data performed after respective handling, and after the feedback information that client feedback mechanism is sent is received, further according to Feedback information performs corresponding adjustment operation, and the transmission mechanism that service end is used is adjusted.So, solve because of client class Type coordinates not enough with transmission mechanism, and remote desktop realizes the problem of effect is poor, improves Consumer's Experience.
Embodiments of the invention provide a kind of service end 00, as shown in fig. 7, the service end 00 includes:
Data transmission unit 001, for sending the first data to client using Preset Transfer mechanism;Preset Transfer mechanism It is compressed, caching piecemeal is carried out using the first image buffer storage mechanism, is compiled using the first video including the use of the first compression algorithm Code algorithm encoded at least one;First data are the view data after the processing of Preset Transfer mechanism;
Feedback unit 002 is received, for after client receives the first data, the first feedback information to be received from client, First feedback information is used to indicate disposal ability of the client to the first data, and disposal ability includes receiving or the first data of processing When decoding speed, bandwidth value or decoded frame rate at least one;
Mechanism adjustment unit 003, for according to the first feedback information, performing default adjustment operation, to the conveyer used System is adjusted;Default adjustment operation includes:Compression algorithm is adjusted according to decoding speed, image buffer storage machine is adjusted according to bandwidth value System, at least one in decoded frame rate adjustment video coding algorithm.
Wherein, as shown in figure 8, mechanism adjustment unit 003 can also include the first adjustment unit 0031, the second adjustment unit 0032nd, the 3rd adjustment unit 0033, the 4th adjustment unit 0034.
Optionally, if service end is using the first compression algorithm compression processing view data, the first feedback information includes visitor The first decoding speed when family end is decoded to the first data;
First adjustment unit 0031, for according to the first decoding speed, the known client algorithm table in retrieval service end, If the first decoding speed falls in the range of the first decoding speed in known client algorithm table under the first compression algorithm, obtain Known client type corresponding with the first decoding speed scope, and the compression algorithm that service end is used is adjusted to known client Hold the corresponding targeted compression algorithm of type.
Optionally, if any decoding speed of first decoding speed not in known client algorithm table under the first compression algorithm In the range of degree, or, being less than using the decoding speed of client feedback after targeted compression algorithm known in known client algorithm table The corresponding default decoding speed threshold value of client type;
Then, the second adjustment unit 0032, for obtaining Optimize Compression Algorithm, and the compression algorithm that service end is used is adjusted For Optimize Compression Algorithm.
Optionally, the second adjustment unit 0032 also particularly useful for:
Alternative algorithms set is obtained, Alternative algorithms set includes compressing with the first compression algorithm in known client algorithm table Than difference in the first preset range, compression speed difference homographic solution in the second preset range, under default client type Code speed is more than all known compression algorithms of default decision threshold;Default decision threshold is the first compression algorithm in default client Hold correspondence decoding speed under type;
The figure after compression processing is sent to client using each known compression algorithms in Alternative algorithms set respectively As data, and receive the decoding speed of client correspondence feedback;By the most fast known compression algorithms choosing of wherein decoding speed It is set to Optimize Compression Algorithm.
Optionally, if service end uses the first image buffer storage mechanism caching piecemeal processing view data, the first feedback letter Breath includes the network speed that the first bandwidth value, service end and client when client receives the first data are currently connected;
3rd adjustment unit 0033, for according to the first feedback information, performing default adjustment operation, is used service end Transmission mechanism is adjusted, and is specifically included:
Judge whether the first bandwidth value is more than the first predetermined threshold value;If being more than, it is big that service end reduces image buffer storage piecemeal It is small, and/or, service end indicates that client increases the image buffer storage capacity of client;
If be not more than, and network speed be more than the second predetermined threshold value, then service end increase image buffer storage piecemeal size, and/ Or, service end indicates that client reduces the image buffer storage capacity of client.
Optionally, if service end uses the first video coding algorithm coded treatment view data, the first feedback information bag Include the first decoded frame rate when client is decoded to the first data;
4th adjustment unit 0034, for according to the first feedback information, performing default adjustment operation, is used service end Transmission mechanism is adjusted, and is specifically included:
If the first decoded frame rate is less than the 3rd predetermined threshold value, encryption algorithm table is retrieved, is determined in encryption algorithm table with the All target code algorithms of the one video coding algorithm image fault degree difference in the 3rd preset range, by all target codes Most fast one of coding rate is used as optimization video coding algorithm in algorithm;The video coding algorithm that service end is used is adjusted to Optimize video coding algorithm.
Optionally, after the video coding algorithm for using service end is adjusted to optimization video coding algorithm, the 4th adjusts Whole unit 0034 is additionally operable to:
If the decoded frame rate of client feedback is less than the 3rd predetermined threshold value, the transmission frame per second of service end is reduced into default frame Numerical value, predetermined level is reduced by compression quality.
Embodiments of the invention provide a kind of service end, and corresponding position is performed by being sent with Preset Transfer mechanism to client View data after reason, and after the feedback information that client feedback mechanism is sent is received, performed further according to feedback information corresponding Adjustment operation, is adjusted to the transmission mechanism used.So, solve because client type and transmission mechanism cooperation are not enough, Remote desktop realizes the problem of effect is poor, improves Consumer's Experience.
Embodiments of the invention also provide a kind of client 01, as shown in figure 9, the client 01 includes:
Data receipt unit 011, for receiving the first data that service end is sent using Preset Transfer mechanism;Preset Transfer Mechanism is compressed including the use of the first compression algorithm, carries out caching piecemeal using the first image buffer storage mechanism, regarded using first Frequency encryption algorithm encoded at least one;First data are the view data after the processing of Preset Transfer mechanism;
Information feedback unit 012, for after the first data are received, the first feedback information being sent to service end, with housecoat Business end is adjusted to the transmission mechanism used;First feedback information is used to indicate disposal ability of the client to the first data, Disposal ability is including receiving or handling at least one in decoding speed, bandwidth value or the decoded frame rate during the first data.
Optionally, information feedback unit 012 is used to send the first feedback information to service end, specifically includes:
If service end is using the first compression algorithm compression processing view data, the first feedback information includes client to the The first decoding speed when one data are decoded;
If service end includes visitor using the first image buffer storage mechanism caching piecemeal processing view data, the first feedback information The network speed that the first bandwidth value, service end and client when family end receives the first data are currently connected;
If service end uses the first video coding algorithm coded treatment view data, the first feedback information includes client The first decoded frame rate when being decoded to the first data.
Optionally, if service end using a kind of compression algorithm compression processing view data, and to client transmission handle after Data, then information feedback unit 012 be additionally operable to service end send feedback information, feedback information includes carrying out data after processing Decoding speed during decoding;
If service end use a kind of video coding algorithm coded treatment view data, and to client transmission handle after number According to then information feedback unit 012 is additionally operable to service end send feedback information, and feedback information includes client to data after processing Decoded frame rate when being decoded.
Embodiments of the invention provide a kind of client, are sent by receiving service end with after the processing of Preset Transfer mechanism View data, obtains corresponding feedback information, and by feedback mechanism to service end send feedback information, so as to service end according to Feedback information performs corresponding adjustment operation, and the transmission mechanism that service end is used is adjusted.So, solve because of client class Type coordinates not enough with transmission mechanism, and remote desktop realizes the problem of effect is poor, improves Consumer's Experience.
The embodiment of the present invention additionally provides a kind of service end 02, as shown in Figure 10, and the service end 02 includes:
Bus 021 and the processor 022, memory 023 and interface 024 for being connected to bus 021, wherein interface 024 are used In realizing the connection communication between service end and client;
The memory 023 is used for store instruction, and the processor 022 performs the instruction specifically for using Preset Transfer mechanism The first data are sent to client;Preset Transfer mechanism is compressed including the use of the first compression algorithm, delayed using the first image Deposit mechanism carry out caching piecemeal, encoded using the first video coding algorithm at least one;First data are by pre- If the view data after transmission mechanism processing
The processor 022 performs the instruction and is additionally operable to after client receives the first data, and it is anti-to receive first from client Feedforward information, the first feedback information is used to indicate disposal ability of the client to the first data, and disposal ability includes receiving or handled At least one in decoding speed, bandwidth value or decoded frame rate during the first data.
The processor 022 performs the instruction and is additionally operable to according to the first feedback information, default adjustment operation is performed, to what is used Transmission mechanism is adjusted;Default adjustment operation includes:Compression algorithm is adjusted according to decoding speed, image is adjusted according to bandwidth value Caching mechanism, at least one in decoded frame rate adjustment video coding algorithm.
In embodiments of the present invention, optionally, if service end handles view data using the compression of the first compression algorithm, the One feedback information includes the first decoding speed when client is decoded to the first data;
The processor 022 performs the instruction can be known in retrieval service end specifically for according to the first decoding speed Client algorithm table, if the first decoding speed falls the first decoding speed under the first compression algorithm in known client algorithm table In the range of, then obtain known client type corresponding with the first decoding speed scope, and the compression algorithm that service end is used It is adjusted to the corresponding targeted compression algorithm of known client type.
In embodiments of the present invention, optionally, if first compression not in known client algorithm table of the first decoding speed In the range of any decoding speed under algorithm, or, being less than using the decoding speed of client feedback after targeted compression algorithm known The corresponding default decoding speed threshold value of known client type in client algorithm table;
Then, the processor 022 perform the instruction can be specifically for obtaining Optimize Compression Algorithm, and service end is used Compression algorithm is adjusted to Optimize Compression Algorithm.
In embodiments of the present invention, optionally, the processor 022 perform the instruction can be specifically for:
Alternative algorithms set is obtained, Alternative algorithms set includes compressing with the first compression algorithm in known client algorithm table Than difference in the first preset range, compression speed difference homographic solution in the second preset range, under default client type Code speed is more than all known compression algorithms of default decision threshold;Default decision threshold is the first compression algorithm in default client Hold correspondence decoding speed under type;
The figure after compression processing is sent to client using each known compression algorithms in Alternative algorithms set respectively As data, and receive the decoding speed of client correspondence feedback;By the most fast known compression algorithms choosing of wherein decoding speed It is set to Optimize Compression Algorithm.
In embodiments of the present invention, optionally, if service end uses the first image buffer storage mechanism caching piecemeal processing image Data, then the first bandwidth value, service end and the client that the first feedback information is included when client receives the first data currently connects The network speed connect;
The processor 022 performs the instruction and can also operated specifically for according to the first feedback information, performing default adjustment, The transmission mechanism that service end is used is adjusted, specifically included:
Judge whether the first bandwidth value is more than the first predetermined threshold value;If being more than, it is big that service end reduces image buffer storage piecemeal It is small, and/or, service end indicates that client increases the image buffer storage capacity of client;
If be not more than, and network speed be more than the second predetermined threshold value, then service end increase image buffer storage piecemeal size, and/ Or, service end indicates that client reduces the image buffer storage capacity of client.
In embodiments of the present invention, optionally, if service end uses the first video coding algorithm coded treatment view data, Then the first feedback information includes the first decoded frame rate when client is decoded to the first data;
The processor 022 performs the instruction and can also operated specifically for according to the first feedback information, performing default adjustment, The transmission mechanism that service end is used is adjusted, specifically included:
If the first decoded frame rate is less than the 3rd predetermined threshold value, encryption algorithm table is retrieved, is determined in encryption algorithm table with the All target code algorithms of the one video coding algorithm image fault degree difference in the 3rd preset range, by all target codes Most fast one of coding rate is used as optimization video coding algorithm in algorithm;The video coding algorithm that service end is used is adjusted to Optimize video coding algorithm.
In embodiments of the present invention, optionally, optimization video is adjusted in the video coding algorithm for using service end to compile After code algorithm, the processor 022 performs the instruction can also be specifically for:
If the decoded frame rate of client feedback is less than the 3rd predetermined threshold value, the transmission frame per second of service end is reduced into default frame Numerical value, predetermined level is reduced by compression quality.
Embodiments of the invention provide a kind of service end, and corresponding position is performed by being sent with Preset Transfer mechanism to client View data after reason, and after the feedback information that client feedback mechanism is sent is received, performed further according to feedback information corresponding Adjustment operation, is adjusted to the transmission mechanism used.So, solve because client type and transmission mechanism cooperation are not enough, Remote desktop realizes the problem of effect is poor, improves Consumer's Experience.
The embodiment of the present invention additionally provides a kind of client 03, as shown in figure 11, and the client 03 includes:
Bus 031 and the processor 032, memory 033 and interface 034 for being connected to bus 031, wherein interface 034 are used In realizing the connection communication between client and service end;
The memory 033 is used for store instruction, and the processor 032 performs the instruction and used in advance specifically for receiving service end If the first data that transmission mechanism is sent;Preset Transfer mechanism is compressed including the use of the first compression algorithm, using the first figure At least one in carrying out caching piecemeal as caching mechanism, encoded using the first video coding algorithm;First data are warp The view data crossed after the processing of Preset Transfer mechanism.
The processor 032 performs the instruction and is additionally operable to after the first data are received, and the first feedback information is sent to service end, So that service end is adjusted to the transmission mechanism used;First feedback information is used to indicate processing of the client to the first data Ability, at least one in decoding speed, bandwidth value or decoded frame rate when disposal ability includes reception or handles the first data It is individual.
In embodiments of the present invention, optionally, the processor 032 performs the instruction and can be used for sending first to service end Feedback information, is specifically included:
If service end is using the first compression algorithm compression processing view data, the first feedback information includes client to the The first decoding speed when one data are decoded;
If service end includes visitor using the first image buffer storage mechanism caching piecemeal processing view data, the first feedback information The network speed that the first bandwidth value, service end and client when family end receives the first data are currently connected;
If service end uses the first video coding algorithm coded treatment view data, the first feedback information includes client The first decoded frame rate when being decoded to the first data.
In embodiments of the present invention, optionally, the processor 032 perform the instruction can also be specifically for:
If service end using a kind of compression algorithm compression processing view data, and to client transmission handle after data, then Information feedback unit is additionally operable to service end send feedback information, solution when feedback information includes decoding data after processing Code speed;
If service end use a kind of video coding algorithm coded treatment view data, and to client transmission handle after number According to then information feedback unit is additionally operable to service end send feedback information, and feedback information enters including client to data after processing Decoded frame rate during row decoding.
Embodiments of the invention provide a kind of client, are sent by receiving service end with after the processing of Preset Transfer mechanism View data, obtains corresponding feedback information, and by feedback mechanism to service end send feedback information, so as to service end according to Feedback information performs corresponding adjustment operation, and the transmission mechanism that service end is used is adjusted.So, solve because of client class Type coordinates not enough with transmission mechanism, and remote desktop realizes the problem of effect is poor, improves Consumer's Experience.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description It is convenient and succinct, can as needed will be upper only with the division progress of above-mentioned each functional module for example, in practical application State function distribution to be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete All or part of function described above.The specific work process of the system, apparatus, and unit of foregoing description, before may be referred to The corresponding process in embodiment of the method is stated, be will not be repeated here.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (18)

1. a kind of transmission mechanism method of adjustment, it is characterised in that methods described includes:
Service end sends the first data using Preset Transfer mechanism to client;The Preset Transfer mechanism is including the use of the first pressure Compression algorithm is compressed, carries out caching piecemeal using the first image buffer storage mechanism, encoded using the first video coding algorithm In at least one;First data are the view data after Preset Transfer mechanism processing;
After the client receives first data, the service end receives the first feedback information, institute from the client Stating the first feedback information is used to indicate disposal ability of the client to first data, and the disposal ability includes receiving Or at least one in decoding speed, bandwidth value or the decoded frame rate during processing first data;
The service end performs default adjustment operation, the conveyer used the service end according to first feedback information System is adjusted;The default adjustment operation includes:Compression algorithm is adjusted according to the decoding speed, adjusted according to the bandwidth value Whole image buffer storage mechanism, at least one in decoded frame rate adjustment video coding algorithm;
If the service end uses first compression algorithm compression processing described image data, the first feedback information bag Include the first decoding speed when the client is decoded to first data;
The service end performs default adjustment operation, the conveyer used the service end according to first feedback information System be adjusted including:
The service end retrieves the known client algorithm table in the service end, if described according to first decoding speed First decoding speed falls in the range of the first decoding speed described in the known client algorithm table under the first compression algorithm, Then obtain known client type corresponding with the first decoding speed scope, and the compression algorithm that the service end is used It is adjusted to the corresponding targeted compression algorithm of the known client type.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
If any decoding of first decoding speed not described in the known client algorithm table under the first compression algorithm In velocity interval, or, being less than the known client using the decoding speed of the client feedback after the targeted compression algorithm Hold the corresponding default decoding speed threshold value of known client type described in algorithm table;Then,
The service end obtains Optimize Compression Algorithm, and the compression algorithm that the service end is used is adjusted to the optimization compression Algorithm.
3. method according to claim 2, it is characterised in that the service end, which obtains Optimize Compression Algorithm, to be included:
The service end obtains Alternative algorithms set, the Alternative algorithms set include in the known client algorithm table with institute State the first compression algorithm compression ratio difference in the first preset range, compression speed difference is in the second preset range, default Correspondence decoding speed is more than all known compression algorithms of default decision threshold under client type;The default decision threshold is First compression algorithm correspondence decoding speed under default client type;
Sent respectively using each known compression algorithms in the Alternative algorithms set to the client after compression processing Described image data, and receive the decoding speed of client correspondence feedback;By wherein described decoding speed most fast one Individual known compression algorithms are chosen to be the Optimize Compression Algorithm.
4. according to the method described in claim 1, it is characterised in that if the service end uses described first image caching mechanism Cache piecemeal processing described image data, then when first feedback information is including client reception first data The network speed that first bandwidth value, the service end are currently connected with the client;
The service end performs default adjustment operation, the conveyer used the service end according to first feedback information System be adjusted including:
Judge whether first bandwidth value is more than the first predetermined threshold value;If being more than, the service end reduces image buffer storage point Block size, and/or, the service end indicates that the client increases the image buffer storage capacity of the client;
It if is not more than, and the network speed is more than the second predetermined threshold value, then the service end increases image buffer storage piecemeal size, And/or, the service end indicates that the client reduces the image buffer storage capacity of the client.
5. according to the method described in claim 1, it is characterised in that if the service end uses first video coding algorithm Coded treatment described image data, then when first feedback information is decoded including the client to first data The first decoded frame rate;
The service end performs default adjustment operation, the conveyer used the service end according to first feedback information System be adjusted including:
If first decoded frame rate is less than the 3rd predetermined threshold value, the service end retrieves encryption algorithm table, determines the volume All target codes in code algorithm table with the first video coding algorithm image fault degree difference in the 3rd preset range Algorithm, using coding rate in all target code algorithms, most fast one is used as optimization video coding algorithm;By the clothes The video coding algorithm that business end is used is adjusted to the optimization video coding algorithm.
6. method according to claim 5, it is characterised in that in the video coding algorithm for using the service end It is adjusted to after the optimization video coding algorithm, methods described also includes:
If the decoded frame rate of client feedback is less than the 3rd predetermined threshold value, the transmission frame per second of the service end is reduced pre- If frame number value, predetermined level is reduced by compression quality.
7. a kind of transmission mechanism method of adjustment, it is characterised in that methods described includes:
Client receives the first data that service end is sent using Preset Transfer mechanism;The Preset Transfer mechanism is including the use of One compression algorithm is compressed, caching piecemeal is carried out using the first image buffer storage mechanism, carried out using the first video coding algorithm At least one in coding;First data are the view data after Preset Transfer mechanism processing;
The client sends the first feedback information, so as to the service after first data are received to the service end Hold and the transmission mechanism used is adjusted;First feedback information is used to indicate the client to first data Disposal ability, the disposal ability includes receiving or handling decoding speed, bandwidth value or the decoding frame during first data At least one in rate;If the service end uses first compression algorithm compression processing described image data, described the One feedback information includes the first decoding speed when the client is decoded to first data.
8. method according to claim 7, it is characterised in that the client is after first data are received, to institute Stating service end the first feedback information of transmission includes:
If the service end is using described first image caching mechanism caching piecemeal processing described image data, described first is anti- The first bandwidth value, the service end and client when feedforward information is including client reception first data is current The network speed of connection;
If the service end uses the first video coding algorithm coded treatment described image data, first feedback letter Breath includes the first decoded frame rate when the client is decoded to first data.
9. method according to claim 7, it is characterised in that methods described also includes:
If the service end using a kind of compression algorithm compression processing described image data, and to the client transmission handle after Data, then the client is to the service end send feedback information, and the feedback information includes entering data after the processing Decoding speed during row decoding;
If the service end uses a kind of video coding algorithm coded treatment described image data, and at the client transmission Data after reason, then the client is to the service end send feedback information, and the feedback information includes the client to institute State decoded frame rate when data are decoded after processing.
10. a kind of service end, it is characterised in that the service end includes:
Data transmission unit, for sending the first data to client using Preset Transfer mechanism;The Preset Transfer mechanism bag Include and be compressed using the first compression algorithm, caching piecemeal carried out using the first image buffer storage mechanism, using the first Video coding Algorithm encoded at least one;First data are the view data after Preset Transfer mechanism processing;
Feedback unit is received, for after the client receives first data, receiving first from the client and feeding back Information, first feedback information is used to indicate disposal ability of the client to first data, the disposal ability Including receiving or handling at least one in decoding speed, bandwidth value or the decoded frame rate during first data;
Mechanism adjustment unit, for according to first feedback information, performing default adjustment operation, enters to the transmission mechanism used Row adjustment;The default adjustment operation includes:Compression algorithm is adjusted according to the decoding speed, is adjusted and schemed according to the bandwidth value At least one in video coding algorithm is adjusted as caching mechanism, according to the decoded frame rate;
If the service end uses first compression algorithm compression processing described image data, the first feedback information bag Include the first decoding speed when the client is decoded to first data;
The mechanism adjustment unit also includes:
First adjustment unit, for according to first decoding speed, retrieving the known client algorithm table in the service end, If first decoding speed falls the first decoding speed under the first compression algorithm described in the known client algorithm table In the range of, then obtain corresponding with the first decoding speed scope known client type, and the service end is used Compression algorithm is adjusted to the corresponding targeted compression algorithm of the known client type.
11. service end according to claim 10, it is characterised in that
If any decoding of first decoding speed not described in the known client algorithm table under the first compression algorithm In velocity interval, or, being less than the known client using the decoding speed of the client feedback after the targeted compression algorithm Hold the corresponding default decoding speed threshold value of known client type described in algorithm table;Then,
The mechanism adjustment unit also includes:
Second adjustment unit, for obtaining Optimize Compression Algorithm, and the compression algorithm that the service end is used is adjusted to described Optimize Compression Algorithm.
12. service end according to claim 11, it is characterised in that second adjustment unit also particularly useful for:
Alternative algorithms set is obtained, the Alternative algorithms set includes compressing with described first in the known client algorithm table Algorithm compression ratio difference is in the first preset range, compression speed difference is in the second preset range, in default client type Lower correspondence decoding speed is more than all known compression algorithms of default decision threshold;The default decision threshold is the described first pressure Compression algorithm correspondence decoding speed under default client type;
Sent respectively using each known compression algorithms in the Alternative algorithms set to the client after compression processing Described image data, and receive the decoding speed of client correspondence feedback;By wherein described decoding speed most fast one Individual known compression algorithms are chosen to be the Optimize Compression Algorithm.
13. service end according to claim 10, it is characterised in that
If the service end is using described first image caching mechanism caching piecemeal processing described image data, described first is anti- The first bandwidth value, the service end and client when feedforward information is including client reception first data is current The network speed of connection;
The mechanism adjustment unit also includes:
3rd adjustment unit, for according to first feedback information, performing default adjustment operation, is used the service end Transmission mechanism is adjusted, and is specifically included:
Judge whether first bandwidth value is more than the first predetermined threshold value;If being more than, the service end reduces image buffer storage point Block size, and/or, the service end indicates that the client increases the image buffer storage capacity of the client;
It if is not more than, and the network speed is more than the second predetermined threshold value, then the service end increases image buffer storage piecemeal size, And/or, the service end indicates that the client reduces the image buffer storage capacity of the client.
14. service end according to claim 10, it is characterised in that
If the service end uses the first video coding algorithm coded treatment described image data, first feedback letter Breath includes the first decoded frame rate when the client is decoded to first data;
The mechanism adjustment unit also includes:
4th adjustment unit, for according to first feedback information, performing default adjustment operation, is used the service end Transmission mechanism is adjusted, and is specifically included:
If first decoded frame rate is less than the 3rd predetermined threshold value, encryption algorithm table is retrieved, is determined in the encryption algorithm table With all target code algorithms of the first video coding algorithm image fault degree difference in the 3rd preset range, incite somebody to action described Most fast one of coding rate is used as optimization video coding algorithm in all target code algorithms;By regarding that the service end is used Frequency encryption algorithm is adjusted to the optimization video coding algorithm.
15. service end according to claim 14, it is characterised in that in the video coding algorithm for using the service end It is adjusted to after the optimization video coding algorithm, the 4th adjustment unit is additionally operable to:
If the decoded frame rate of client feedback is less than the 3rd predetermined threshold value, the transmission frame per second of the service end is reduced pre- If frame number value, predetermined level is reduced by compression quality.
16. a kind of client, it is characterised in that the client includes:
Data receipt unit, for receiving the first data that service end is sent using Preset Transfer mechanism;The Preset Transfer machine System is compressed including the use of the first compression algorithm, caching piecemeal is carried out using the first image buffer storage mechanism, using the first video Encryption algorithm encoded at least one;First data are the picture number after Preset Transfer mechanism processing According to;
Information feedback unit, for after first data are received, the first feedback information being sent to the service end, with toilet Service end is stated to be adjusted the transmission mechanism used;First feedback information is used to indicate the client to described first The disposal ability of data, decoding speed, bandwidth value when the disposal ability includes receiving or handling first data or At least one in decoded frame rate;If the service end is using first compression algorithm compression processing described image data, First feedback information includes the first decoding speed when the client is decoded to first data.
17. client according to claim 16, it is characterised in that described information feedback unit is used for the service end The first feedback information is sent, is specifically included:
If the service end is using described first image caching mechanism caching piecemeal processing described image data, described first is anti- The first bandwidth value, the service end and client when feedforward information is including client reception first data is current The network speed of connection;
If the service end uses the first video coding algorithm coded treatment described image data, first feedback letter Breath includes the first decoded frame rate when the client is decoded to first data.
18. client according to claim 16, it is characterised in that
If the service end using a kind of compression algorithm compression processing described image data, and to the client transmission handle after Data, then described information feedback unit be additionally operable to the service end send feedback information, the feedback information is included to described Decoding speed when data are decoded after processing;
If the service end uses a kind of video coding algorithm coded treatment described image data, and at the client transmission Data after reason, then described information feedback unit be additionally operable to the service end send feedback information, the feedback information includes institute State decoded frame rate when client is decoded to data after the processing.
CN201310754274.5A 2013-12-31 2013-12-31 A kind of transmission mechanism method of adjustment and service end, client Active CN103747077B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310754274.5A CN103747077B (en) 2013-12-31 2013-12-31 A kind of transmission mechanism method of adjustment and service end, client
PCT/CN2014/089641 WO2015101092A1 (en) 2013-12-31 2014-10-28 Transmission mechanism adjusting method, server and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310754274.5A CN103747077B (en) 2013-12-31 2013-12-31 A kind of transmission mechanism method of adjustment and service end, client

Publications (2)

Publication Number Publication Date
CN103747077A CN103747077A (en) 2014-04-23
CN103747077B true CN103747077B (en) 2017-07-14

Family

ID=50504063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310754274.5A Active CN103747077B (en) 2013-12-31 2013-12-31 A kind of transmission mechanism method of adjustment and service end, client

Country Status (2)

Country Link
CN (1) CN103747077B (en)
WO (1) WO2015101092A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103747077B (en) * 2013-12-31 2017-07-14 华为技术有限公司 A kind of transmission mechanism method of adjustment and service end, client
CN106331717B (en) * 2015-06-30 2019-05-07 成都鼎桥通信技术有限公司 Video code rate self-adapting regulation method and sending ending equipment
CN105828072A (en) * 2016-03-25 2016-08-03 乐视控股(北京)有限公司 Image processing method, remote controlled device and virtual reality system
CN105959502A (en) * 2016-04-27 2016-09-21 北京小米移动软件有限公司 Network picture compression method and device
CN108184118A (en) * 2016-12-08 2018-06-19 中兴通讯股份有限公司 Cloud desktop contents encode and coding/decoding method and device, system
CN107317655A (en) * 2017-06-06 2017-11-03 努比亚技术有限公司 Transfer control method, system and the readable storage medium storing program for executing of screen prjection
CN108197168A (en) * 2017-12-18 2018-06-22 中国移动通信集团广东有限公司 A kind of data compression method, equipment and computer readable storage medium
CN109660832B (en) * 2018-11-10 2021-05-18 江苏网进科技股份有限公司 Desktop virtualization system and method
CN112774193A (en) * 2021-01-14 2021-05-11 江苏卫健信息科技有限公司 Image rendering method of cloud game
CN113207016B (en) * 2021-03-29 2022-05-27 新华三大数据技术有限公司 Virtual machine image frame rate control method, network equipment and storage medium
CN113301313B (en) * 2021-04-30 2023-02-03 深圳市度信科技有限公司 Image data processing and transmitting method and system
CN115550690B (en) * 2022-12-02 2023-04-14 腾讯科技(深圳)有限公司 Frame rate adjusting method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552913A (en) * 2009-05-12 2009-10-07 腾讯科技(深圳)有限公司 Multi-channel video communication system and processing method
CN101860733A (en) * 2010-06-11 2010-10-13 深圳市黄河数字技术有限公司 3g network video monitoring system and monitoring method
US7930436B1 (en) * 2009-03-09 2011-04-19 Znosko Dmitry Y System and method for dynamically adjusting data compression parameters
CN102143360A (en) * 2010-06-30 2011-08-03 华为技术有限公司 Image coding method and device
CN103166983A (en) * 2011-12-09 2013-06-19 中国移动通信集团广东有限公司 Network data optimizing method, device and network server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9083986B2 (en) * 2009-05-01 2015-07-14 Broadcom Corporation Method and system for adaptive rate video compression and transmission
CN103747077B (en) * 2013-12-31 2017-07-14 华为技术有限公司 A kind of transmission mechanism method of adjustment and service end, client

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7930436B1 (en) * 2009-03-09 2011-04-19 Znosko Dmitry Y System and method for dynamically adjusting data compression parameters
CN101552913A (en) * 2009-05-12 2009-10-07 腾讯科技(深圳)有限公司 Multi-channel video communication system and processing method
CN101860733A (en) * 2010-06-11 2010-10-13 深圳市黄河数字技术有限公司 3g network video monitoring system and monitoring method
CN102143360A (en) * 2010-06-30 2011-08-03 华为技术有限公司 Image coding method and device
CN103166983A (en) * 2011-12-09 2013-06-19 中国移动通信集团广东有限公司 Network data optimizing method, device and network server

Also Published As

Publication number Publication date
CN103747077A (en) 2014-04-23
WO2015101092A1 (en) 2015-07-09

Similar Documents

Publication Publication Date Title
CN103747077B (en) A kind of transmission mechanism method of adjustment and service end, client
US11595458B2 (en) Adaptive bit rate media streaming based on network conditions received via a network monitor
CN107864084B (en) The transmission method and device of data packet
US7966399B2 (en) Network data transmission method and system
CN102457544B (en) Method and system for acquiring screen image in screen sharing system based on Internet
EP1029264B1 (en) Remote control system which minimizes screen refresh time by selecting compression algorithm
CN107196746A (en) Anti-dropout methods, devices and systems in real-time Communication for Power
CN105262699A (en) Network adaptive coding adjustment method and device
US8724693B2 (en) Mechanism for automatic network data compression on a network connection
CN108989845A (en) A kind of video transmission method based on SPICE protocol
CN111818115B (en) Processing method, device and system
CN108600834A (en) Video transmission system, reception/transmission/transmission method and device
CN105450969B (en) A kind of real time video data transmission method and electronic equipment
CN106534884A (en) Code rate control method and system for video coding
CN104333816B (en) The determination method and device of downloading mode in a kind of P2P networks
CN106572352A (en) Keyframe size control method and device
CN114172874B (en) Adaptive adjustment method and system for video transmission parameters
CN112350998B (en) Video streaming transmission method based on edge calculation
CN108810468B (en) Video transmission device and method for optimizing display effect
CN107566291A (en) Multicast transmission method, device, electronic equipment and storage medium
CN101179727B (en) Compressed encoding control circuit and control method of compressed encoding
CN105450543B (en) Voice data transmission method
CN109218724A (en) A kind of data-encoding scheme, device and storage equipment and terminal device
JP2005051517A (en) Video delivery system coding video signal required by client out of video signals from two or more imaging apparatuses using encoder, and performing its delivery to client connected via communication network
CN111291104A (en) Method and system for transmitting data based on asynchronous response

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220214

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technologies Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right