Summary of the invention
It can in view of the above-mentioned problems, throwing screen method, apparatus, equipment and computer the purpose of the present invention is to provide a kind of desktopStorage medium is read, dynamic adjusts screenshotss frequency, meets the demand of the throwing screen content of different attribute.
In a first aspect, the embodiment of the invention provides a kind of desktops to throw screen method, comprising:
Start desktop and throws screen setting;
According to the first screenshotss frequency, screenshotss are carried out to the throwing screen content that current desktop is shown, generate the first screenshotss content;
According to the first screenshotss content, the attribute for throwing screen content is determined;
According to the attribute for throwing screen content, current screenshotss frequency is adjusted to the second screenshotss frequency;
According to the second screenshotss frequency, screenshotss are carried out to throwing screen content, generate the second screenshotss content;
The second screenshotss content is sent to display terminal to be used to show.
It is described according to the first screenshotss content in the first implementation of first aspect, it determines in the throwing screenThe attribute of appearance, specifically:
According to the residual error of adjacent at least two interframe of the first screenshotss content, the attribute for throwing screen content is determined.
It is described according to institute in second of implementation of first aspect according to the first implementation of first aspectThe residual error for stating adjacent at least two interframe of the first screenshotss content determines the attribute for throwing screen content, specifically:
When the residual error of adjacent at least two interframe of the first screenshotss content is greater than preset threshold values, the throwing screen is determinedContent is that dynamic throws screen content;
When the residual error of adjacent at least two interframe of the first screenshotss content is less than preset threshold values, the throwing screen is determinedContent is that static throw shields content.
It is described according to the attribute for throwing screen content in the third implementation of first aspect, by current screenshotssFrequency is adjusted to the second screenshotss frequency, specifically:
According to the attribute for throwing screen content, the time interval of adjacent screenshotss twice is adjusted.
Second aspect, the embodiment of the invention provides a kind of desktops to throw screen method, comprising:
Start desktop and throws screen setting;
According to the first screenshotss frequency, screenshotss are carried out to the throwing screen content that current desktop is shown, generate the first screenshotss content;
When the residual error of adjacent at least two interframe of the first screenshotss content is greater than preset threshold values, the throwing screen is determinedContent is that dynamic throws screen content;
Screen content is thrown to the dynamic and carries out screenshotss according to the second screenshotss frequency, generates the second screenshotss content;
The second screenshotss content is sent to display terminal to be used to show;
When the residual error of adjacent at least two interframe of the first screenshotss content is less than preset threshold values, the throwing screen is determinedContent is that static throw shields content;
To the static screen content of throwing according to third screenshotss frequency progress screenshotss, third screenshotss content is generated;Wherein, describedThird screenshotss frequency is less than the second screenshotss frequency;
The third screenshotss content is sent to display terminal to be used to show.
In the first implementation of second aspect, further includes:
It receives for the endorsement information for throwing screen content;Wherein, the endorsement information is to be operated by input equipmentIt generates;
With the 4th screenshotss frequency, screenshotss are carried out to the throwing screen content through annotating, generate the 4th screenshotss content;
The 4th screenshotss content is sent to display terminal to be used to show.
In the third implementation of second aspect, the second screenshotss frequency is 20 frames/- 30 frames of second/second.
In the 4th kind of implementation of second aspect, the third screenshotss frequency is 5 frames/- 20 frames of second/second.
The third aspect, the embodiment of the invention provides a kind of desktops to throw screen device, comprising:
Screen starting module is thrown, throws screen setting for starting desktop;
First screenshotss content generating module, for according to the first screenshotss frequency, throwing screen content that current desktop is shown intoRow screenshotss generate the first screenshotss content;
Screen contents attribute determining module is thrown, for determining the attribute for throwing screen content according to the first screenshotss content;
Screenshotss frequency regulation block, for according to the attribute for throwing screen content, current screenshotss frequency to be adjusted to theTwo screenshotss frequencies;
Second screenshotss content generating module, for carrying out screenshotss to throwing screen content according to the second screenshotss frequency,Generate the second screenshotss content;
Second screenshotss content transmission module is used to show for the second screenshotss content to be sent to display terminal.
In the first implementation of the third aspect, the throwing screen contents attribute determining module is specifically included:
Contents attribute determines submodule, for the residual error according to adjacent at least two interframe of the first screenshotss content, reallyThe fixed attribute for throwing screen content.
According to the first implementation of the third aspect, in second of implementation of the third aspect, the content categoryProperty determines submodule, specifically includes:
Dynamic content determination unit, the residual error for adjacent at least two interframe when the first screenshotss content are greater than defaultThreshold values when, determine that throwing screen content throws screen content for dynamic;
Static content determination unit, the residual error for adjacent at least two interframe when the first screenshotss content are less than defaultThreshold values when, determine that throwing screen content shields content for static throw.
In the 4th kind of implementation of the third aspect, the screenshotss frequency regulation block is specifically included:
According to the attribute for throwing screen content, the time interval of adjacent screenshotss twice is adjusted.
Fourth aspect, the embodiment of the invention provides a kind of desktops to throw screen device, comprising:
Screen starting module is thrown, throws screen setting for starting desktop;
First screenshotss content generating module, for according to the first screenshotss frequency, throwing screen content that current desktop is shown intoRow screenshotss generate the first screenshotss content;
Dynamic content determining module, the residual error for adjacent at least two interframe when the first screenshotss content are greater than defaultThreshold values when, determine that throwing screen content throws screen content for dynamic;
Second screenshotss content generating module carries out screenshotss according to the second screenshotss frequency for throwing screen content to the dynamic,Generate the second screenshotss content;
Second screenshotss content transmission module is used to show for the second screenshotss content to be sent to display terminal;
Static content determining module, the residual error for adjacent at least two interframe when the first screenshotss content are less than defaultThreshold values when, determine that throwing screen content shields content for static throw;
Third screenshotss content generating module, for carrying out screenshotss according to third screenshotss frequency to the static throwing screen content,Generate third screenshotss content;Wherein, the third screenshotss frequency is less than the second screenshotss frequency;
Third screenshotss content transmission module is used to show for the third screenshotss content to be sent to display terminal.
In the first implementation of fourth aspect, further includes:
Endorsement information receiving module, for receiving for the endorsement information for throwing screen content;Wherein, the endorsement informationFor what is generated by input equipment operation;
4th screenshotss information generating module, it is raw for carrying out screenshotss to the throwing screen content through annotating with the 4th screenshotss frequencyAt the 4th screenshotss content;
4th screenshotss information transmission modular is used to show for the 4th screenshotss content to be sent to display terminal.
In second of implementation of fourth aspect, the second screenshotss frequency is 20 frames/- 30 frames of second/second.
In the third implementation of fourth aspect, the third screenshotss frequency is 5 frames/- 20 frames of second/second.
5th aspect, the embodiment of the invention provides a kind of desktops to throw screen equipment, including processor, memory and storageIn the memory and it is configured as the computer program executed by the processor, the processor executes the computerRealize that desktop described in any one of first aspect throws screen method when program.
6th aspect, the embodiment of the invention provides a kind of desktops to throw screen equipment, including processor, memory and storageIn the memory and it is configured as the computer program executed by the processor, the processor executes the computerRealize that desktop described in any one of second aspect throws screen method when program.
7th aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storageMedium includes the computer program of storage, wherein controls the computer-readable storage medium in computer program operationEquipment where matter executes the desktop as described in any one of first aspect and throws screen method.
Eighth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storageMedium includes the computer program of storage, wherein controls the computer-readable storage medium in computer program operationEquipment where matter executes the desktop as described in any one of second aspect and throws screen method.
Above one embodiment has the following beneficial effects:
During desktop is thrown and shielded, starting desktop throws screen setting, it is first determined the attribute for throwing screen content, then according toThe attribute for throwing screen content, adjusts current screenshotss frequency, carries out screenshotss to throwing screen content with screenshotss frequency adjusted, thenContent after screenshotss is sent to display terminal, the present invention carries out dynamic adjustment to screenshotss frequency according to the attribute for throwing screen content,To realize the dynamic adjustment of frame per second, the throwing shown on display terminal screen content is showed based on self attributesDisplay effect improves the usage experience of user, while also avoiding unreasonable because of screenshotss set of frequency, causes to cut using fixedShield the throwing screen content of frequency interception the poor display of receiving end the case where, to improve the good applicability for throwing screen technology.
To throw screen equipment as mobile terminal of giving lessons in embodiment, receiving device is for interactive intelligent tablet computer.Come to thisInvention carries out exemplary description.
Specifically, referring to Fig. 1, the desktop that first embodiment of the invention provides throws screen method, comprising:
S11, starting desktop throw screen setting.
In embodiments of the present invention, the movement is given lessons to be equipped with desktop in terminal and/or intelligent interaction plate and throw screen and be setIt sets, which, which throws screen setting and can be pre-installed in the movement, gives lessons in terminal and/or intelligent interaction plate, is also possible toThe movement is given lessons when starting desktop in terminal and/or intelligent interaction plate and throwing screen setting, from third party device or serverIt is downloaded and installs and uses.Wherein, third party device is not construed as limiting in embodiment.The movement give lessons terminal desktop throwScreen setting throws screen content for obtaining, and will throw screen content and be directly or indirectly sent to intelligent interaction plate.If it is a sending and receivingIf sending, movement terminal of giving lessons can be sent to the intelligent interaction plate by relay device, which can be withIt is wireless screen transmission device, is also possible to that there are the other equipment of data relay/processing function.The desktop of intelligent interaction plate throws screenSetting throws screen content for receiving, and shows convenient for intelligent interaction plate to received throwing screen content.It needs to pass through in userThe movement give lessons terminal carry out desktop throw screen operation when, assign first throwing screen enabled instruction so that the movement is given lessons terminal rootScreen setting is thrown according to enabled instruction starting desktop, specific instruction type may be set according to actual conditions, such as describedMobile terminal of giving lessons detects that triggering key (can be physical button either virtual key) is clicked, is double-clicked or long-pressingEtc., then the movement is given lessons, and terminal is determining to receive throwing screen enabled instruction, and shields enabled instruction according to the throwing and start desktopThrow screen setting.
S12 carries out screenshotss to the throwing screen content that current desktop is shown, generates in the first screenshotss according to the first screenshotss frequencyHold.
In embodiments of the present invention, the movement gives lessons terminal after starting desktop throws screen setting, calls screenshotss threadObtain current desktop, the current desktop is that the movement is given lessons the display interface of terminal, then by the screenshotss thread withFirst screenshotss frequency carries out screenshotss to the throwing screen content that shows on current desktop, to the throwing screen content of interception by software mode orPerson's hardware mode encodes, to generate the first screenshotss content of picture format, it should be noted that the first screenshotss frequencySpecific value can be that user is pre-set, be also possible to the screenshotss frequency for the default that the screenshotss thread uses, such asIt is 20 frames/second etc. that the first screenshotss frequency, which is arranged,.
S13 determines the attribute for throwing screen content according to the first screenshotss content.
In embodiments of the present invention, the movement gives lessons terminal according to adjacent at least two interframe of the first screenshotss contentResidual error, determine it is described throw screen content attribute, it is described throw screen content attribute be specially it is described throw screen content dynamic attributeOr static attribute, the throwing screen content includes dynamic throwing screen content such as video, dynamic picture (GIF picture etc.) etc., and staticScreen content such as document, PowerPoint, static images, various graphical user interface displays contents etc. is thrown, specifically, the movement is awardedClass terminal carries out intra prediction, to obtain predicted pixel values, then obtains actual pixel value, root according to the first screenshotss contentAccording to the difference of the actual pixel value and the predicted pixel values, residual error is obtained, then the residual error is converted and quantified, thusThe attribute for throwing screen content is determined according to the value of the residual error.
In embodiments of the present invention, further, when movement terminal of giving lessons judges the first screenshotss contentWhen the residual error of adjacent at least two interframe is greater than preset threshold values, determine that the throwing screen content throws screen content for dynamic, when the shiftingWhen dynamic terminal of giving lessons judges that the residual error of adjacent at least two interframe of the first screenshotss content is less than preset threshold values, described in determinationIt is static throwing screen content that content is shielded in throwing, it should be noted that the present invention sets not the specific value of the preset threshold valueAny restrictions are done, can be specifically arranged according to actual conditions.
Current screenshotss frequency is adjusted to the second screenshotss frequency according to the attribute for throwing screen content by S14.
In embodiments of the present invention, the movement gives lessons terminal according to the attribute dynamic adjustment screenshotss frequency for throwing screen contentRate, thus change it is described throw display frame rate of the screen content in the interactive intelligent tablet computer, specifically, the movement is given lessons terminalAccording to the attribute for throwing screen content, the time interval of the adjacent screenshotss twice of adjustment screenshotss thread, movement terminal of giving lessons is logicalThe setting of the sleeping time of screenshotss twice adjacent to screenshotss thread is crossed to adjust the time interval of adjacent screenshotss twice, to will work asPreceding screenshotss frequency is adjusted to the second screenshotss frequency;Wherein, when the attribute for throwing screen content is that dynamic throws screen content, then instituteThe time interval that mobile terminal of giving lessons shortens the adjacent screenshotss twice of screenshotss thread is stated, that is, reduces the adjacent screenshotss twice of screenshotss threadSleeping time, so that screenshotss frequency is improved, so that the second screenshotss frequency adjusted is higher than the first screenshotss frequency, the tuneThe second screenshotss frequency after whole is 20 frames/- 30 frames of second/second;When the attribute for throwing screen content be it is static throw screen content when, then instituteThe time interval that mobile terminal of giving lessons increases the adjacent screenshotss twice of screenshotss thread is stated, that is, increases the adjacent screenshotss twice of screenshotss threadSleeping time, so that screenshotss frequency is reduced, so that the second screenshotss frequency adjusted is lower than the first screenshotss frequency, the tuneThe second screenshotss frequency after whole is 5 frames/- 20 frames of second/second.
S15 carries out screenshotss to throwing screen content, generates the second screenshotss content according to the second screenshotss frequency.
In embodiments of the present invention, the movement gives lessons terminal according to the Attribute tuning screenshotss thread for throwing screen contentScreenshotss frequency after, by the screenshotss thread with the second screenshotss frequency adjusted to the throwing screen content of current desktopScreenshotss are carried out, the throwing screen content of interception is encoded by software mode or hardware mode, to generate the of picture formatTwo screenshotss contents.
The second screenshotss content is sent to display terminal and is used to show by S16.
In embodiments of the present invention, the movement gives lessons terminal after generating the second screenshotss content, by directOr the second screenshotss content is sent to display terminal by round-about way, so that the display terminal receives described secondIt is decoded and shows after screenshotss content, said so that the display terminal is interactive intelligent tablet computer as an example in the present embodimentIt is bright, it should be noted that when the display terminal is interactive intelligent tablet computer, the display terminal can be conference scenario useLarge scale interactive intelligent tablet computer, be also possible to educate the large scale interactive intelligent tablet computer that uses of scene.When second screenshotssWhen content is that dynamic throws screen content, since the movement gives lessons terminal to be higher than the second screenshotss frequency of the first screenshotss frequencyRate carries out screenshotss to throwing screen content, has correspondingly improved the compression ratio of every frame data, in the case where code rate is fixed, codeRate=frame per second × every frame data volume size, the compression ratio of every frame data improve, i.e., frame per second improves, and accordingly decreases every frameThe size of data volume, so that the interactive intelligent tablet computer is more smooth when showing that the dynamic throws screen content;When described secondWhen screenshotss content is static throwing screen content, since the movement gives lessons terminal to be lower than the second screenshotss of the first screenshotss frequencyFrequency carries out screenshotss to throwing screen content, correspondingly reduces the compression ratio of every frame data, in the case where code rate is fixed,Code rate=frame per second × every frame data volume size, the compression ratio of every frame data reduce, i.e., frame per second reduces, and correspondingly improve everyThe size of frame data amount optimizes user so that the interactive intelligent tablet computer is more clear when showing the static throwing screen contentUsage experience.
In conclusion first embodiment of the invention provides a kind of desktop throwing screen method, and during desktop is thrown and is shielded, startingDesktop throws screen setting, it is first determined throws the attribute of screen content, then according to the attribute for throwing screen content, adjusts current screenshotssFrequency carries out screenshotss to throwing screen content with screenshotss frequency adjusted, then the content after screenshotss is sent to display terminal,The present invention carries out dynamic adjustment to screenshotss frequency according to the attribute for throwing screen content, thus realize the dynamic adjustment of frame per second, so thatThe throwing screen content shown on display terminal can show the display effect based on self attributes, improve the usage experience of user,It also avoids simultaneously unreasonable because of screenshotss set of frequency, causes the throwing screen content intercepted using fixed screenshotss frequency in receiving endThe case where poor display, to improve the good applicability for throwing screen technology.
Referring to Fig. 2, second embodiment of the invention provides a kind of desktop throwing screen method, comprising:
S21, starting desktop throw screen setting.
In embodiments of the present invention, the movement is given lessons to be equipped with desktop in terminal and/or intelligent interaction plate and throw screen and be setIt sets, which, which throws screen setting and can be pre-installed in the movement, gives lessons in terminal and/or intelligent interaction plate, is also possible toThe movement is given lessons when starting desktop in terminal and/or intelligent interaction plate and throwing screen setting, from third party device or serverIt is downloaded and installs and uses.Wherein, third party device is not construed as limiting in embodiment.The movement give lessons terminal desktop throwScreen setting throws screen content for obtaining, and will throw screen content and be directly or indirectly sent to intelligent interaction plate.If it is a sending and receivingIf sending, movement terminal of giving lessons can be sent to the intelligent interaction plate by relay device, which can be withIt is wireless screen transmission device, is also possible to that there are the other equipment of data relay/processing function.The desktop of intelligent interaction plate throws screenSetting throws screen content for receiving, and shows convenient for intelligent interaction plate to received throwing screen content.It needs to pass through in userThe movement give lessons terminal carry out desktop throw screen operation when, assign first throwing screen enabled instruction so that the movement is given lessons terminal rootScreen setting is thrown according to enabled instruction starting desktop, specific instruction type may be set according to actual conditions, such as describedMobile terminal of giving lessons detects that triggering key (can be physical button either virtual key) is clicked, is double-clicked or long-pressingEtc., then the movement is given lessons, and terminal is determining to receive throwing screen enabled instruction, and shields enabled instruction according to the throwing and start desktopThrow screen setting.
S22 carries out screenshotss to the throwing screen content that current desktop is shown, generates in the first screenshotss according to the first screenshotss frequencyHold.
In embodiments of the present invention, the movement gives lessons terminal after starting desktop throws screen setting, calls screenshotss threadObtain current desktop, the current desktop is that the movement is given lessons the display interface of terminal, then by the screenshotss thread withFirst screenshotss frequency carries out screenshotss to the throwing screen content that shows on current desktop, to the throwing screen content of interception by software mode orPerson's hardware mode encodes, to generate the first screenshotss content of picture format, it should be noted that the first screenshotss frequencySpecific value can be that user is pre-set, be also possible to the screenshotss frequency for the default that the screenshotss thread uses, such asIt is 20 frames/second etc. that the first screenshotss frequency, which is arranged,.
S23, when the residual error of adjacent at least two interframe of the first screenshotss content is greater than preset threshold values, described in determinationThrowing screen content is that dynamic throws screen content.
In embodiments of the present invention, the movement give lessons terminal calculate the first screenshotss content adjacent at least two frames itBetween residual error, judge that size between the adjacent at least residual error of two interframe of the first screenshotss content and preset threshold value is closedSystem, when the residual error of adjacent at least two interframe of the first screenshotss content is greater than preset threshold values, the movement is given lessons terminalDetermine that the throwing screen content throws screen content, such as video, dynamic picture for dynamic, it should be noted that the application is for threshold valueSetting do not do any restrictions, can be specifically arranged according to actual conditions.
S24 throws screen content to the dynamic and carries out screenshotss according to the second screenshotss frequency, generates the second screenshotss content.
In embodiments of the present invention, the movement gives lessons terminal according to dynamic throwing screen content, adjusts screenshotss thread phaseThe time interval of adjacent screenshotss twice, the movement give lessons terminal by shorten the sleeping time of the adjacent screenshotss twice of screenshotss thread comeThe time interval of adjacent screenshotss twice is adjusted, to improve screenshotss frequency, current screenshotss frequency is adjusted to the second screenshotss frequencyRate is cut by the screenshotss thread with the throwing screen content of the second screenshotss frequency adjusted to current desktopScreen, is encoded the throwing screen content of interception, by software mode or hardware mode to generate the second screenshotss of picture formatContent, wherein the second screenshotss frequency is 20 frames/- 30 frames of second/second.
The second screenshotss content is sent to display terminal and is used to show by S25.
In embodiments of the present invention, the movement gives lessons terminal after generating the second screenshotss content, by directOr the second screenshotss content is sent to display terminal by round-about way, so that the display terminal receives described secondIt is decoded and shows after screenshotss content, said so that the display terminal is interactive intelligent tablet computer as an example in the present embodimentIt is bright, it should be noted that when the display terminal is interactive intelligent tablet computer, the display terminal can be conference scenario useLarge scale interactive intelligent tablet computer, be also possible to educate the large scale interactive intelligent tablet computer that uses of scene, since the movement is awardedClass terminal correspondingly improves throwing screen content progress screenshotss with the second screenshotss frequency for being higher than the first screenshotss frequencyThe compression ratio of every frame data, in the case where code rate is fixed, code rate=frame per second × every frame data volume size, every frame dataCompression ratio improves, i.e., frame per second improves, and accordingly decreases the size of every frame data amount, so that the interactive intelligent tablet computer is aobviousShow more smooth when the dynamic throws screen content, optimizes user experience.
S26, when the residual error of adjacent at least two interframe of the first screenshotss content is less than preset threshold values, described in determinationThrowing screen content is that static throw shields content.
In embodiments of the present invention, the movement give lessons terminal calculate the first screenshotss content adjacent at least two frames itBetween residual error, judge that size between the adjacent at least residual error of two interframe of the first screenshotss content and preset threshold value is closedSystem, when the residual error of adjacent at least two interframe of the first screenshotss content is less than preset threshold values, the movement is given lessons terminalDetermine that the throwing screen content shields content for static throw, such as document, PowerPoint, picture, various graphical user interface displays contentsDeng, it should be noted that the application does not do any restrictions for the setting of threshold value, can be specifically arranged according to actual conditions.
S27 generates third screenshotss content to the static screen content of throwing according to third screenshotss frequency progress screenshotss;Wherein,The third screenshotss frequency is less than the second screenshotss frequency.
In embodiments of the present invention, the movement gives lessons terminal according to the static throwing screen content, adjusts screenshotss thread phaseThe time interval of adjacent screenshotss twice, the movement give lessons terminal by increase the sleeping time of the adjacent screenshotss twice of screenshotss thread comeThe time interval of adjacent screenshotss twice is adjusted, to reduce screenshotss frequency, current screenshotss frequency is adjusted to third screenshotss frequencyRate is cut by the screenshotss thread with the throwing screen content of the third screenshotss frequency adjusted to current desktopScreen, is encoded the throwing screen content of interception, by software mode or hardware mode to generate the third screenshotss of picture formatContent, wherein the third screenshotss frequency is 5 frames/- 20 frames of second/second.
The third screenshotss content is sent to display terminal and is used to show by S28.
In embodiments of the present invention, in embodiments of the present invention, the movement gives lessons terminal in the generation third screenshotssAfter content, the third screenshotss content is sent to by display terminal by directly or indirectly method, so that described aobviousIt is decoded and shows after showing the terminal reception third screenshotss content, be in the present embodiment interaction intelligence with the display terminalIt can be illustrated for plate, since the movement gives lessons terminal to be lower than the third screenshotss frequency of the first screenshotss frequency,Screenshotss are carried out to throwing screen content, correspondingly reduce the compression ratio of every frame data, in the case where code rate is fixed, code rate=Frame per second × every frame data volume size, the compression ratio of every frame data reduce, i.e., frame per second reduces, and correspondingly improves every frame dataThe size of amount optimizes the use of user so that the interactive intelligent tablet computer is more clear when showing the static throwing screen contentExperience.
In conclusion second embodiment of the invention provides a kind of desktop throwing screen method, and during desktop is thrown and is shielded, startingDesktop throws screen setting, it is first determined the attribute for throwing screen content, when the attribute for throwing screen content is that dynamic throws screen content, and adjustmentCurrent screenshotss frequency is the second screenshotss frequency, carries out screenshotss to throwing screen content with the second screenshotss frequency adjusted, whenWhen the attribute for throwing screen content is static throwing screen content, adjusting current screenshotss frequency is third screenshotss frequency, after adjustmentThird screenshotss frequency screenshotss are carried out to throwing screen content, the third screenshotss frequency finally will less than the second screenshotss frequencyContent after screenshotss is sent to display terminal, and the present invention carries out dynamic adjustment to screenshotss frequency according to the attribute for throwing screen content, fromAnd realize the dynamic adjustment of frame per second, the throwing screen content shown on display terminal is showed aobvious based on self attributesShow effect, improve the usage experience of user, while also avoiding unreasonable because of screenshotss set of frequency, causes using fixed screenshotssThe throwing screen content of frequency interception is the poor display of receiving end the case where, to improve the good applicability for throwing screen technology.
In an alternative embodiment of the invention:
On the basis of the second embodiment, the desktop throws screen method further include:
It receives for the endorsement information for throwing screen content;Wherein, the endorsement information is to be operated by input equipmentIt generates.
With the 4th screenshotss frequency, screenshotss are carried out to the throwing screen content through annotating, generate the 4th screenshotss content.
The 4th screenshotss content is sent to display terminal to be used to show.
In embodiments of the present invention, when the interactive intelligent tablet computer as receiving end detects user to being shown in the interactionWhen throwing screen content on the display interface of Intelligent flat carries out annotation operation, the interactive intelligent tablet computer is operated according to the annotationEndorsement information is generated, and the endorsement information is thrown into screen setting by desktop and is sent to the movement in a manner of directly or indirectlyIt gives lessons terminal, it should be noted that the endorsement information is to pass through input equipment operation to generate, the interactive intelligent tablet computerReceive the movement give lessons terminal transmission throwing screen content and after being shown, when the interactive intelligent tablet computer detectsInput equipment is clicked, is double-clicked or be long pressed, slided etc., then the interactive intelligent tablet computer determination is received for instituteState the annotation operation for throwing screen content.When throwing screen content is that dynamic throws screen content, such as video, the annotation operates can be withIt is the operation such as broadcasting, pause, F.F., slow play, dragging to video;When throwing screen content is that static throw shields content, exampleSuch as document, the annotation operation can be modification, deletion, increase, dragging to document, open the operation such as document.The movementTerminal of giving lessons is believed after throwing screen setting by desktop and receiving for the endorsement information for throwing screen content according to the annotationBreath carries out corresponding operating to throwing screen content, while adjusting the time interval of the adjacent screenshotss twice of screenshotss thread, the movementTerminal of giving lessons adjusts the time of adjacent screenshotss twice by the setting of the sleeping time of the adjacent screenshotss twice of shortening screenshotss threadInterval, so that current screenshotss frequency is adjusted to the 4th screenshotss frequency, the 4th screenshotss frequency is greater than first screenshotssFrequency carries out screenshotss to the throwing screen content through annotating then with the 4th screenshotss frequency, passes through software side to the throwing screen content of interceptionFormula or hardware mode are encoded, to generate the 4th screenshotss content of picture format, the movement give lessons terminal pass through it is directOr the 4th screenshotss content is sent to interactive intelligent tablet computer by round-about way, so that the interactive intelligent tablet computer receivesIt is decoded and shows after the 4th screenshotss content, since the movement gives lessons terminal to be higher than the first screenshotss frequency4th screenshotss frequency carries out screenshotss to throwing screen content, has correspondingly improved the compression ratio of every frame data, fixed in code rateIn the case of, code rate=frame per second × every frame data volume size, the compression ratio of every frame data improves, i.e., frame per second improves, accordinglyGround reduces the size of every frame data amount, so that the interactive intelligent tablet computer is more smooth when showing the 4th screenshotss content,It gives user a kind of feeling that operation is smooth, improves operation fluency, optimize the usage experience of user.
Referring to Fig. 3, third embodiment of the invention provides a kind of desktop throwing screen device, comprising:
Screen starting module 11 is thrown, throws screen setting for starting desktop.
First screenshotss content generating module 12 is used for according to the first screenshotss frequency, the throwing screen content shown to current desktopScreenshotss are carried out, the first screenshotss content is generated.
Screen contents attribute determining module 13 is thrown, for determining the category for throwing screen content according to the first screenshotss contentProperty.
Screenshotss frequency regulation block 14, for according to the attribute for throwing screen content, current screenshotss frequency to be adjusted toSecond screenshotss frequency.
Second screenshotss content generating module 15, for being cut to throwing screen content according to the second screenshotss frequencyScreen generates the second screenshotss content.
Second screenshotss content transmission module 16 is used to show for the second screenshotss content to be sent to display terminal.
In the first implementation of 3rd embodiment, the throwing screen contents attribute determining module 13 is specifically included:
Contents attribute determines submodule, for the residual error according to adjacent at least two interframe of the first screenshotss content, reallyThe fixed attribute for throwing screen content.
The first implementation according to the third embodiment, it is described interior in second of implementation of 3rd embodimentHold attribute and determine submodule, specifically includes:
Dynamic content determination unit, the residual error for adjacent at least two interframe when the first screenshotss content are greater than defaultThreshold values when, determine that throwing screen content throws screen content for dynamic.
Static content determination unit, the residual error for adjacent at least two interframe when the first screenshotss content are less than defaultThreshold values when, determine that throwing screen content shields content for static throw.
In the 4th kind of implementation of 3rd embodiment, the screenshotss frequency regulation block 14 is specifically included:
According to the attribute for throwing screen content, the time interval of adjacent screenshotss twice is adjusted.
Referring to Fig. 4, fourth embodiment of the invention provides a kind of desktop throwing screen device, comprising:
Screen starting module 21 is thrown, throws screen setting for starting desktop.
First screenshotss content generating module 22 is used for according to the first screenshotss frequency, the throwing screen content shown to current desktopScreenshotss are carried out, the first screenshotss content is generated.
Dynamic content determining module 23, the residual error for adjacent at least two interframe when the first screenshotss content are greater than pre-If threshold values when, determine that throwing screen content throws screen content for dynamic.
Second screenshotss content generating module 24 is cut for throwing screen content to the dynamic according to the second screenshotss frequencyScreen generates the second screenshotss content.
Second screenshotss content transmission module 25 is used to show for the second screenshotss content to be sent to display terminal.
Static content determining module 26, the residual error for adjacent at least two interframe when the first screenshotss content are less than pre-If threshold values when, determine that throwing screen content shields content for static throw.
Third screenshotss content generating module 27, for being cut to the static throwing screen content according to third screenshotss frequencyScreen generates third screenshotss content;Wherein, the third screenshotss frequency is less than the second screenshotss frequency.
Third screenshotss content transmission module 28 is used to show for the third screenshotss content to be sent to display terminal.
In the first implementation of fourth embodiment, further includes:
Endorsement information receiving module, for receiving for the endorsement information for throwing screen content;Wherein, the endorsement informationFor what is generated by input equipment operation.
4th screenshotss information generating module, it is raw for carrying out screenshotss to the throwing screen content through annotating with the 4th screenshotss frequencyAt the 4th screenshotss content.
4th screenshotss information transmission modular is used to show for the 4th screenshotss content to be sent to display terminal.
In second of implementation of fourth embodiment, the second screenshotss frequency is 20 frames/- 30 frames of second/second.
In the third implementation of fourth embodiment, the third screenshotss frequency is 5 frames/- 20 frames of second/second.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separation unitThe unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be withIt is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actualIt needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the inventionIn embodiment attached drawing, the connection relationship between module indicate between them have communication connection, specifically can be implemented as one orA plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, it can understandAnd implement.
Referring to Fig. 5, fifth embodiment of the invention, which provides a kind of desktop, throws screen equipment, the embodiment it is same based on desktopStep display adjustment terminal device include: processor 51, memory 52, the display screen 53 with touch function, input unit 54,Output device 55, communication device 56 and it is stored in the computer that can be run in the memory 52 and on the processor 51Program, such as desktop throw screen program.The processor 41 realizes the desktop in first embodiment when executing the computer programThe step of throwing screen embodiment.Alternatively, the processor 51 realizes that the device of 3rd embodiment is real when executing the computer programApply the function of each module/unit in example.The quantity that the desktop throws processor 51 in screen equipment can be one or more, Fig. 5In by taking a processor 51 as an example.The desktop, which throws the quantity of memory 52 in screen equipment, can be one or more, in Fig. 5 withFor one memory 52.Processor 51, the memory 52, display screen based on the synchronous display adjustment terminal device of desktop53, input unit 54, output device 55 and communication device 56 can be connected by bus or other modes, with logical in Fig. 5It crosses for bus connection.In embodiment, desktop, which throws screen equipment, can be computer, mobile phone, plate, mobile terminal or the interaction intelligence of giving lessonsEnergy plate etc..In embodiment, by taking desktop throws screen equipment as mobile terminal of giving lessons as an example, it is described.
Illustratively, the computer program can be divided into one or more module/units, one or moreA module/unit is stored in the memory 52, and is executed by the processor 51, to complete the present invention.It is oneOr multiple module/units can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for retouchingIt states the computer program and throws the implementation procedure in screen equipment in the desktop.
The desktop throws screen equipment, but is not limited only to, processor 51, memory 52.Those skilled in the art canTo understand, the schematic diagram is only the example that desktop throws screen equipment, does not constitute the restriction for throwing desktop screen equipment, can wrapIt includes than illustrating more or fewer components, perhaps combines certain components or different components, such as the desktop throws screen equipmentIt can also include input-output equipment, network access equipment, bus etc..
Alleged processor 51 can be central processing unit (Central Processing Unit, CPU), can also beOther general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processorIt is the control centre that the desktop throws screen equipment Deng, the processor 51, various interfaces and the entire desktop of connection is utilized to throwThe various pieces of screen equipment.
The memory 52 can be used for storing the computer program and/or module, the processor 51 by operation orThe computer program and/or module being stored in the memory 52 are executed, and calls the data being stored in memory 52,Realize that the desktop throws the various functions of screen equipment.The memory 52 can mainly include storing program area and storage data area,Wherein, storing program area can application program needed for storage program area, at least one function etc.;Storage data area can store rootCreated data etc. are used according to mobile phone.In addition, memory 52 may include high-speed random access memory, can also includeNonvolatile memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), safetyDigital (Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device orOther volatile solid-state parts.
The display screen 53 is the display screen with touch function, can be capacitance plate, electromagnetic screen or infrared screen.OneAs for, display screen 53 is used to show data according to the instruction of processor 51, is also used to receive and acts on the touch of display screen 53Operation, and corresponding signal is sent to processor 51 or other devices.Optionally, when display screen 53 is infrared screen, alsoIncluding infrared touch frame, which is arranged in the surrounding of display screen 53, can be also used for receiving infrared signal, and willThe infrared signal is sent to processor 51 or other equipment.
The communication device 56, for other equipment establish communicate to connect, can be wire communication device 56 and/orWireless communication device 56.The input unit 54 can be used for receiving the number or character information of input, and generation and desktopThe user setting and function control related key signals input for throwing screen equipment, can also be the camera for obtaining image withAnd obtain the pick up facility of audio data.The output device 55 may include the audio frequency apparatuses such as loudspeaker.It should be noted thatThe concrete composition of input unit 54 and output device 55 may be set according to actual conditions.
Sixth embodiment of the invention provides a kind of computer readable storage medium, and the desktop in the 5th embodiment is thrownIf the integrated module/unit of screen equipment is realized in the form of SFU software functional unit and sells or use as independent productWhen, it can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-described embodiment sideAll or part of the process in method can also instruct relevant hardware to complete, the computer by computer programProgram can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned eachThe step of a embodiment of the method.Wherein, the computer program includes computer program code, and the computer program code canThink source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can be withIt include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, light that can carry the computer program codeDisk, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computerThe content that readable medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such asIt does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium in certain jurisdictions.
Seventh embodiment of the invention provides a kind of desktop throwing screen equipment, the display tune synchronous based on desktop of the embodimentWhole terminal device includes: processor, memory, the display screen with touch function, input unit, output device, communication deviceAnd the computer program that can be run in the memory and on the processor is stored, such as desktop throws screen program.InstituteState the step of desktop realized in second embodiment when processor executes the computer program throws screen embodiment.Alternatively, describedProcessor realizes the function of each module/unit in the Installation practice of fourth embodiment when executing the computer program.The tableThe quantity that processor in screen equipment is thrown in face can be one or more.The quantity that the desktop throws memory in screen equipment can beOne or more.The processor based on the synchronous display adjustment terminal device of desktop, memory, display screen, input unit,Output device and communication device can be connected by bus or other modes.In embodiment, desktop is thrown screen equipment and be can beComputer, mobile phone, plate, mobile give lessons terminal or interactive intelligent tablet computer etc..In embodiment, throwing screen equipment with desktop is that movement is given lessonsFor terminal, it is described.
Illustratively, the computer program can be divided into one or more module/units, one or moreA module/unit is stored in the memory, and is executed by the processor, to complete the present invention.It is one or moreA module/unit can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing instituteIt states computer program and throws the implementation procedure in screen equipment in the desktop.
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be itHis general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processorIt is the control centre that the desktop throws screen equipment Deng, the processor, various interfaces and the entire desktop of connection is utilized to throw screenThe various pieces of equipment.
The memory can be used for storing the computer program and/or module, and the processor is by operation or executesComputer program in the memory and/or module are stored, and calls the data being stored in memory, described in realizationThe various functions of desktop throwing screen equipment.The memory can mainly include storing program area and storage data area, wherein storage journeyIt sequence area can application program needed for storage program area, at least one function etc.;Storage data area can be stored to be made according to mobile phoneWith the data etc. created.In addition, memory may include high-speed random access memory, it can also include non-volatile memoriesDevice, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (SecureDigital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatibility are solidState memory device.
The display screen is the display screen with touch function, can be capacitance plate, electromagnetic screen or infrared screen.GenerallyFor, display screen is used to show data according to the instruction of processor, is also used to receive the touch operation for acting on display screen, and willCorresponding signal is sent to processor or other devices.It optionally, further include infrared touch when display screen is infrared screenThe surrounding of display screen is arranged in frame, the infrared touch frame, can be also used for receiving infrared signal, and the infrared signal is sentTo processor or other equipment.
The communication device is communicated to connect for establishing with other equipment, can be wire communication device and/or wirelessCommunication device.The input unit can be used for receiving the number or character information of input, and generates and throw screen equipment with desktopUser setting and function control related key signals input, can also be the camera for obtaining image and obtain soundThe pick up facility of frequency evidence.The output device may include the audio frequency apparatuses such as loudspeaker.It should be noted that input unit andThe concrete composition of output device may be set according to actual conditions.
Eighth embodiment of the invention provides a kind of computer readable storage medium, and the desktop in the 7th embodiment is thrownIf the integrated module/unit of screen equipment is realized in the form of SFU software functional unit and sells or use as independent productWhen, it can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-described embodiment sideAll or part of the process in method can also instruct relevant hardware to complete, the computer by computer programProgram can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned eachThe step of a embodiment of the method.Wherein, the computer program includes computer program code, and the computer program code canThink source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can be withIt include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, light that can carry the computer program codeDisk, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computerThe content that readable medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such asIt does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium in certain jurisdictions.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the artFor, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered asProtection scope of the present invention.