Cloud application screen display jitter optimization method and device, electronic device and storage medium

By calculating the sum of the framing, decoding and rendering time of the cloud application screen as the target delay, setting the cloud application screen playback delay, and delaying decoding at the terminal, the problem of cloud application screen jitter in the existing technology when the packet loss rate is high is solved. Achieve smooth display under high packet loss rate.

CN118646744BActive Publication Date: 2024-10-29HAIMA CLOUD TIANJIN INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411123479.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-10-29
Estimated Expiration
2044-08-15

AI Technical Summary

Technical Problem

Existing network anti-shake algorithms cannot effectively reduce cloud application screen display jitter when the packet loss rate is high, resulting in poor user experience.

Method used

By calculating the sum of the framing time, decoding time and rendering time of the cloud application screen as the target delay, set the maximum and minimum values ​​of the cloud application screen playback delay, and package it and send it to the terminal. After receiving it, the terminal will calculate the target delay according to the target time. Delay decoding and wait, delay decoding to reduce jitter.

Benefits of technology

When the packet loss rate is high, it effectively reduces cloud application screen display jitter without significantly increasing the somatosensory delay of cloud application screen display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118646744B_ABST
    Figure CN118646744B_ABST
Patent Text Reader

Abstract

The present application provides a method and device for optimizing display jitter of a cloud application screen, an electronic device and a storage medium. The method is applied to a cloud server, comprising: calculating the delay required for smoothing jitter according to the framing time of at least one frame of a cloud application screen in a time window, and calculating the target delay according to the delay required for smoothing jitter; setting the maximum and minimum values ​​of the cloud application screen playback delay to the target delay, and packaging the cloud application screen into at least one data packet, sending the data packet to a terminal so that the terminal frames the at least one data packet into a cloud application screen, determining a decoding waiting time according to the maximum and minimum values, and decoding the framed cloud application screen after delaying the decoding waiting time, wherein at least one of the data packets carries the maximum and minimum values, which can effectively reduce the display jitter of the cloud application screen when the packet loss rate is high, and does not significantly increase the somatic delay of the cloud application screen display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to a method and device for optimizing jitter in display of a cloud application screen, an electronic device, and a storage medium. Background Art

[0002] With the continuous development of cloud application technology (such as cloud gaming), this application operation mode with low consumption of user terminal performance is becoming more and more popular among application companies, platforms and users. The smoothness of cloud application screen is a very important performance indicator in cloud application system. Clear and smooth cloud application screen is an important prerequisite for players to have a good application experience.

[0003] At present, the network anti-shake algorithm of WebRTC (Web Real Time Communication) can be used to reduce the jitter of cloud application screens. This algorithm mainly opens a network jitter buffer at the receiving end, calculates the network jitter according to the arrival time interval of the cloud application screen, and adjusts the buffer size, which can be used to smooth the jitter caused by network delay changes. However, in the case of network packet loss, some RTP (Real-time Transport Protocol) packets will request retransmission or recovery based on FEC (forward error correction) packets after being lost, and the receiving end needs to wait for all RTP packets of the cloud application screen to arrive before completing the framing. Therefore, packet loss will cause a delay in the framing time. Since the cloud application screen containing retransmission packets or recovery packets will not be used to calculate network jitter, the current network anti-shake algorithm cannot effectively reduce the display jitter of the cloud application screen when the packet loss rate is high.

[0004] Therefore, how to provide a solution for optimizing the jitter of cloud application screen display so as to effectively reduce the jitter of cloud application screen display when the packet loss rate is high has become a technical problem that needs to be solved urgently. Summary of the invention

[0005] In view of the technical problems existing in the prior art, the embodiments of the present application provide a method and device for optimizing the display jitter of a cloud application screen, an electronic device, and a storage medium.

[0006] In a first aspect, an embodiment of the present application provides a cloud application screen display jitter optimization method, which is applied to a cloud server, comprising:

[0007] The delay required for smoothing jitter is calculated according to the framing time of at least one frame of the cloud application screen in the time window, and the target delay is calculated according to the delay required for smoothing jitter, wherein the framing time of the cloud application screen is the time interval between the time when the framing of the cloud application screen is completed and the acquisition time, and the target delay is the sum of the delay required for smoothing jitter, the decoding delay and the rendering delay;

[0008] The maximum and minimum values ​​of the cloud application screen playback delay are set as the target delay, and the cloud application screen is packaged into at least one data packet, and the data packet is sent to the terminal so that the terminal frames the at least one data packet into a cloud application screen, determines the decoding waiting time according to the maximum and minimum values, and decodes the framed cloud application screen after delaying the decoding waiting time, wherein at least one of the data packets carries the maximum and minimum values.

[0009] In a second aspect, the embodiment of the present application further provides a cloud application screen display jitter optimization device, which is applied to a cloud server, comprising:

[0010] a calculation unit, configured to calculate the delay required for smoothing jitter according to the framing time of at least one frame of the cloud application screen in the time window, and calculate the target delay according to the delay required for smoothing jitter, wherein the framing time of the cloud application screen is the time interval between the time when the framing of the cloud application screen is completed and the acquisition time, and the target delay is the sum of the delay required for smoothing jitter, the decoding delay and the rendering delay;

[0011] A sending unit is used to set the maximum and minimum values ​​of the cloud application screen playback delay as the target delay, and pack the cloud application screen into at least one data packet, and send the data packet to the terminal so that the terminal frames the at least one data packet into a cloud application screen, determines the decoding waiting time according to the maximum and minimum values, and decodes the framed cloud application screen after delaying the decoding waiting time, wherein at least one of the data packets carries the maximum and minimum values.

[0012] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the cloud application screen display jitter optimization method as described in the first aspect are executed.

[0013] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the cloud application screen display jitter optimization method as described in the first aspect.

[0014] Through the above scheme, the delay required for smoothing jitter is calculated according to the framing time of the cloud application screen, the sum of the delay required for smoothing jitter, decoding delay and rendering delay is used as the target delay, and the maximum and minimum values ​​of the playback delay of the cloud application screen frame are set to the target delay. Therefore, when the terminal uses the existing network anti-jitter algorithm for processing, it will use the decoding waiting time calculated according to the target delay as the delayed decoding time after framing, that is, after the cloud application screen framing is completed, the decoding will be delayed for the decoding waiting time before decoding. The whole scheme can effectively reduce the display jitter of the cloud application screen when the packet loss rate is high, and does not significantly increase the somatic delay of the cloud application screen display. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A flowchart of an embodiment of a method for optimizing jitter in a cloud application screen display provided in an embodiment of the present application;

[0016] Figure 2 A schematic diagram of the structure of an embodiment of a cloud application screen display jitter optimization device provided in an embodiment of the present application;

[0017] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0018] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0019] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0020] Reference Figure 1 FIG. 1 is a flow chart of a method for optimizing jitter of a cloud application screen display provided by an embodiment of the present application. The method is applied to a cloud server and includes:

[0021] S10, calculating the delay required for smoothing jitter according to the framing time of at least one frame of the cloud application screen in the time window, and calculating the target delay according to the delay required for smoothing jitter, wherein the framing time of the cloud application screen is the time interval between the time when the framing of the cloud application screen is completed and the acquisition time, and the target delay is the sum of the delay required for smoothing jitter, the decoding delay and the rendering delay;

[0022] In this embodiment, it should be noted that the current rtcp-transport-feedback package of WebRTC cannot effectively feedback the time information involved in the framing, decoding, display and other processes of each frame of the cloud application screen, so it is necessary to design a new feedback package: rtcp-video-feedback, whose content can include the identifier of the cloud application screen (such as RTP timestamp), framing completion time, decoding start time and decoding completion time. The terminal feeds back the rtcp-video-feedback package according to the preset rules (such as after receiving a certain number of data packets or after a certain interval). After the cloud server receives the rtcp-video-feedback package, for each frame of the cloud application screen involved in the rtcp-video-feedback package, it will calculate the framing time and decoding time of the frame of the cloud application screen, save the acquisition time, framing time and decoding time of the frame of the cloud application screen, and slide the time window (the size of the time window can be set to 1s), calculate the delay required for smoothing jitter according to the framing time of at least one frame of the cloud application screen in the time window, and calculate the target delay according to the delay required for smoothing jitter. It should be noted that the time in the rtcp-video-feedback packet can be the difference between the NTP (Network Time Protocol) time and the NTP time difference, where the NTP time difference is the deviation of the NTP time after the NTP clock calibration between the terminal and the cloud server. The decoding delay can be calculated based on the decoding time of at least one frame of the cloud application screen within the time window or set as needed. The rendering delay can be set as needed.

[0023] S11. Set the maximum and minimum values ​​of the cloud application screen playback delay as the target delay, and pack the cloud application screen into at least one data packet, and send the data packet to the terminal so that the terminal frames the at least one data packet into a cloud application screen, determines the decoding waiting time according to the maximum and minimum values, and decodes the framed cloud application screen after delaying the decoding waiting time, wherein at least one of the data packets carries the maximum and minimum values.

[0024] In this embodiment, it should be noted that the terminal still uses the existing network anti-shake algorithm, but because the maximum and minimum values ​​of the cloud application screen playback delay (i.e., playout-delay) are set to the target delay, this causes the existing network anti-shake algorithm to no longer use the delayed decoding time calculated by itself, but to calculate the decoding waiting time based on the target delay, and use the decoding waiting time as the delayed decoding time after framing, that is, the cloud application screen is decoded after the delayed decoding waiting time after framing, where the decoding waiting time = target delay - decoding delay obtained by the terminal - rendering delay obtained by the terminal, the decoding delay obtained by the terminal can be the decoding delay calculated by the terminal based on the decoding time of at least one frame of the cloud application screen within the time window, and the rendering delay obtained by the terminal can be the rendering delay used by the cloud server when calculating the target delay. When setting the maximum and minimum values ​​of the cloud application screen playback delay, it can be set through the playout-delay extension field.

[0025] The cloud application screen display jitter optimization method provided in the embodiment of the present application calculates the delay required for smooth jitter according to the framing time of the cloud application screen, takes the sum of the delay required for smooth jitter, decoding delay and rendering delay as the target delay, and sets the maximum and minimum values ​​of the playback delay of the cloud application screen frame to the target delay. Therefore, when the terminal uses the existing network anti-jitter algorithm for processing, it will use the decoding waiting time calculated according to the target delay as the delayed decoding time after framing, that is, after the cloud application screen framing is completed, the decoding will be delayed for the decoding waiting time before decoding. The whole scheme can effectively reduce the cloud application screen display jitter when the packet loss rate is high, and does not significantly increase the somatic delay of the cloud application screen display.

[0026] Based on the foregoing method embodiment, the calculation of the delay required for smoothing jitter according to the framing time of at least one frame of the cloud application screen in the time window may include:

[0027] Sort the frame times of all cloud application screens in the time window from small to large, and score each frame of cloud application screen corresponding to the frame time starting from the N1% quantile or the first framing time after the N1% quantile in the sorted sequence, and take the cloud application screen with the highest score as the target cloud application screen, where N1 is a positive integer, and the score value of the cloud application screen is used to evaluate the experience effect after jitter optimization of the cloud application screen;

[0028] The difference between the frame time corresponding to the target cloud application screen and the smallest frame time in the sequence is calculated, and the difference is used as the delay required for smoothing jitter.

[0029] In this embodiment, it should be noted that N1 can be set as needed, for example, to 50, 75, etc. The jitter optimization (i.e., smoothing) is for the cloud application screens corresponding to all the frame times starting from the N1% quantile or from the first frame time after the N1% quantile in the sorted sequence. For each of these cloud application screens, it is necessary to score the frame of cloud application screen. The score of the frame of cloud application screen represents the overall experience effect from the first frame of cloud application screen to the frame of cloud application screen in the sequence obtained by sorting after smoothing the frame of cloud application screen. The overall experience effect is the comprehensive effect of balancing the display delay and display smoothness of the cloud application screen. The higher the score of the cloud application screen, the better the experience effect (i.e., the cloud application screen displays more smoothly and the cloud application screen display delay is smaller).

[0030] Based on the above method embodiment, the scoring formula may be:

[0031] Score2=Score1+AvgFrameIntervalMs×Pweight1-DelayIncreased1×Tweight1, where Score2 and Score1 represent the score of the current cloud application screen and the score of the previous cloud application screen, respectively. AvgFrameIntervalMs represents the average frame interval. Pweight1 represents the position weight. DelayIncreased1 represents the difference between the framing time of the current cloud application screen and the framing time of the previous cloud application screen. Tweight1 represents the time weight.

[0032] In this embodiment, it should be noted that in the scoring formula, AvgFrameIntervalMs represents the average frame interval, AvgFrameIntervalMs = (Tend-T1) / (N-1), Tend represents the acquisition time of the last frame of the cloud application screen in the time window, T1 represents the acquisition time of the first frame of the cloud application screen in the time window, N represents the total number of cloud application screens in the time window, AvgFrameIntervalMs is a plus point item, and DelayIncreased1 represents the difference between the framing time of the current cloud application screen and the framing time of the previous cloud application screen, which is a minus point item. Because AvgFrameIntervalMs and DelayIncreased1 belong to different data dimensions, in order to calculate the two, it is necessary to set a weight for AvgFrameIntervalMs and DelayIncreased1, namely Pweight1 and Tweight1.

[0033] Pweight1 can be negatively correlated with the distance corresponding to the cloud application screen. The distance corresponding to the cloud application screen is the distance between the cloud application screen and the first frame of the cloud application screen that needs to be scored in the time window. For example, the calculation formula of Pweight1 can be Pweight1=PweightFactor a , a=CurrentPos-StartPos, where PweightFactor represents the position weight coefficient, which is a positive number less than 1, CurrentPos represents the position of the current cloud application screen (such as the sequence number of the current cloud application screen), and StartPos represents the position of the first frame of the cloud application screen that needs to be scored within the time window.

[0034] Tweight1 represents the time weight, and Tweight1 may be positively correlated with the time interval corresponding to the cloud application screen. The time interval corresponding to the cloud application screen is the time interval between the current time and the acquisition time of the cloud application screen. For example, the calculation formula of Tweight1 may be Tweight1=DelayFactor×Tweight, where DelayFactor represents the delay coefficient, DelayFactor=SmoothTimeLeft / DelayIncreaseLeft, where SmoothTimeLeft is the product of the number of cloud application screens that need to be scored in the time window and AvgFrameIntervalMs, DelayIncreaseLeft=DelayIncreaseLimit-DelayIncreased, DelayIncreaseLeft represents the remaining delay that can be increased, DelayIncreaseLimit represents the delay that can be increased, and DelayIncreased represents the delay that has been increased. , DelayIncreaseLimit = AvgRtt2 × RttMult, AvgRtt2 represents the round-trip delay, AvgRtt2 can be the round-trip delay rtt or the result of smoothing the round-trip delay rtt, the smoothing formula is AvgRtt2 = filt_factor × AvgRtt1 + (1-filt_factor) × rtt, AvgRtt1 is the average round-trip delay calculated based on the round-trip delay rtt, filt_factor is the weight coefficient (the value range is between 0 and 1, which can be set as needed), RttMult is the RTT multiple (can be set as needed, such as 1, etc.), DelayIncreased represents the difference between the framing time of the previous frame of the cloud application screen that needs to be scored in the sorted sequence and the minimum framing time in the time window. The smoothing formula is just an example, and there can be other variations. The calculation formula for Tweight can be Tweight = TweightFactor b , where TweightFactor represents the time weight coefficient, which is a positive number less than 1, and b is the ratio of the difference between the acquisition time of the current cloud application screen and the minimum acquisition time in the time window to AvgFrameIntervalMs.

[0035] In addition, it should be noted that Score1 in the score of the first frame of the cloud application screen that needs to be scored can be set to a fixed value.

[0036] Based on the above method embodiment, the scoring formula can be transformed into:

[0037] Score3=AvgFrameIntervalMs×N2×Pweight2-DelayIncreased2×Tweight2, wherein Score3 represents the score of the current cloud application screen, AvgFrameIntervalMs represents the average frame interval, N2 represents the number of all cloud application screens from the first cloud application screen to the current cloud application screen in the sorted sequence, Pweight2 represents the position weight, DelayIncreased2 represents the difference between the framing time of the current cloud application screen and the framing time of the first cloud application screen in the sorted sequence, and Tweight2 represents the time weight.

[0038] In this embodiment, it should be noted that Pweight2 can be consistent with the form of Pweight1 in the previous embodiment, and Tweight2 can be consistent with the form of Tweight1 in the previous embodiment.

[0039] Based on the aforementioned method embodiment, the decoding delay may be the N3% quantile of a sequence obtained by sorting the decoding time of all cloud application screens in the time window in ascending order, or the first decoding time after the N3% quantile in the sequence, where N3 is a positive integer.

[0040] In this embodiment, it should be noted that N3 can be set as needed, for example, to 90, 95, etc.

[0041] Reference Figure 2 FIG. 1 is a schematic diagram of a structure of a cloud application screen display jitter optimization device provided in an embodiment of the present application. The device is applied to a cloud server and includes:

[0042] A calculation unit 20 is used to calculate the delay required for smoothing jitter according to the framing time of at least one frame of the cloud application screen in the time window, and calculate the target delay according to the delay required for smoothing jitter, wherein the framing time of the cloud application screen is the time interval between the time when the framing of the cloud application screen is completed and the acquisition time, and the target delay is the sum of the delay required for smoothing jitter, the decoding delay and the rendering delay;

[0043] The sending unit 21 is used to set the maximum and minimum values ​​of the cloud application screen playback delay as the target delay, and pack the cloud application screen into at least one data packet, and send the data packet to the terminal so that the terminal frames the at least one data packet into a cloud application screen, determines the decoding waiting time according to the maximum and minimum values, and decodes the framed cloud application screen after delaying the decoding waiting time, wherein at least one of the data packets carries the maximum and minimum values.

[0044] The cloud application screen display jitter optimization device provided in the embodiment of the present application calculates the delay required for smooth jitter according to the framing time of the cloud application screen, takes the sum of the delay required for smooth jitter, decoding delay and rendering delay as the target delay, and sets the maximum and minimum values ​​of the playback delay of the cloud application screen frame as the target delay. Therefore, when the terminal uses the existing network anti-jitter algorithm for processing, it will use the decoding waiting time calculated according to the target delay as the delayed decoding time after framing, that is, after the cloud application screen framing is completed, the decoding will be delayed for the decoding waiting time before decoding. The whole scheme can effectively reduce the cloud application screen display jitter when the packet loss rate is high, and does not significantly increase the somatic delay of the cloud application screen display.

[0045] Based on the above device embodiment, the computing unit may be used for:

[0046] Sort the frame times of all cloud application screens in the time window from small to large, and score each frame of cloud application screen corresponding to the frame time starting from the N1% quantile or the first framing time after the N1% quantile in the sorted sequence, and take the cloud application screen with the highest score as the target cloud application screen, where N1 is a positive integer, and the score value of the cloud application screen is used to evaluate the experience effect after jitter optimization of the cloud application screen;

[0047] The difference between the frame time corresponding to the target cloud application screen and the smallest frame time in the sequence is calculated, and the difference is used as the delay required for smoothing jitter.

[0048] Based on the aforementioned device embodiment, the decoding delay may be the N3% quantile of a sequence obtained by sorting the decoding time of all cloud application screens in the time window in ascending order, or the first decoding time after the N3% quantile in the sequence, where N3 is a positive integer.

[0049] The cloud application screen display jitter optimization device provided in the embodiment of the present application has an implementation process that is consistent with the cloud application screen display jitter optimization method provided in the embodiment of the present application, and the effect that can be achieved is also the same as the cloud application screen display jitter optimization method provided in the embodiment of the present application, and will not be repeated here.

[0050] like Figure 3 As shown, an electronic device provided by an embodiment of the present application includes: a processor 30, a memory 31 and a bus 32, wherein the memory 31 stores machine-readable instructions executable by the processor 30, and when the electronic device is running, the processor 30 communicates with the memory 31 through the bus 32, and the processor 30 executes the machine-readable instructions to perform the steps of the above-mentioned cloud application screen display jitter optimization method.

[0051] Specifically, the above-mentioned memory 31 and processor 30 can be general-purpose memory and processor, which are not specifically limited here. When the processor 30 runs the computer program stored in the memory 31, it can execute the above-mentioned cloud application screen display jitter optimization method.

[0052] Corresponding to the above-mentioned cloud application screen display jitter optimization method, an embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned cloud application screen display jitter optimization method are executed.

[0053] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A cloud application screen display jitter optimization method, applied to a cloud server, characterized in that: include: The delay required for smoothing jitter is calculated according to the framing time of at least one frame of the cloud application screen in the time window, and the target delay is calculated according to the delay required for smoothing jitter, wherein the framing time of the cloud application screen is the time interval between the time when the framing of the cloud application screen is completed and the acquisition time, and the target delay is the sum of the delay required for smoothing jitter, the decoding delay and the rendering delay; The maximum value and the minimum value of the cloud application screen playback delay are set as the target delay, and the cloud application screen is packaged into at least one data packet, and the data packet is sent to the terminal, so that the terminal frames the at least one data packet into a cloud application screen, determines the decoding waiting time according to the maximum value and the minimum value, and decodes the framed cloud application screen after delaying the decoding waiting time, wherein at least one of the data packets carries the maximum value and the minimum value, and the decoding waiting time = target delay - decoding delay obtained by the terminal - rendering delay obtained by the terminal; The step of calculating the delay required for smoothing jitter according to the framing time of at least one frame of the cloud application screen in the time window includes: Sort the frame times of all cloud application screens in the time window from small to large, and score each frame of cloud application screen corresponding to the frame time starting from the N1% quantile or the first framing time after the N1% quantile in the sorted sequence, and take the cloud application screen with the highest score as the target cloud application screen, where N1 is a positive integer, and the score value of the cloud application screen is used to evaluate the experience effect after jitter optimization of the cloud application screen; The difference between the frame time corresponding to the target cloud application screen and the smallest frame time in the sequence is calculated, and the difference is used as the delay required for smoothing jitter.

2. The method according to claim 1, characterized in that The scoring formula used is: Score2=Score1+AvgFrameIntervalMs×Pweight1-DelayIncreased1×Tweight1, where Score2 and Score1 represent the score of the current cloud application screen and the score of the previous frame of the cloud application screen, respectively. AvgFrameIntervalMs represents the average frame interval, Pweight1 represents the position weight, DelayIncreased1 represents the difference between the framing time of the current cloud application screen and the framing time of the previous frame of the cloud application screen, and Tweight1 represents the time weight. Pweight1 is negatively correlated with the distance corresponding to the cloud application screen. The distance corresponding to the cloud application screen is the distance between the cloud application screen and the first frame of the cloud application screen that needs to be scored in the time window. Tweight1 is positively correlated with the time interval corresponding to the cloud application screen. The time interval corresponding to the cloud application screen is the time interval between the current time and the acquisition time of the cloud application screen.

3. The method according to claim 1, characterized in that The scoring formula used is: Score3=AvgFrameIntervalMs×N2×Pweight2-DelayIncreased2×Tweight2, wherein Score3 represents the score of the current cloud application screen, AvgFrameIntervalMs represents the average frame interval, N2 represents the number of all cloud application screens in the sorted sequence from the first frame of the cloud application screen to the current cloud application screen, Pweight2 represents the position weight, DelayIncreased2 represents the difference between the framing time of the current cloud application screen and the framing time of the first frame of the cloud application screen in the sorted sequence, Tweight2 represents the time weight, Pweight2 is negatively correlated with the distance corresponding to the cloud application screen, and the distance corresponding to the cloud application screen is the distance between the cloud application screen and the first frame of the cloud application screen that needs to be scored in the time window, and Tweight2 is positively correlated with the time interval corresponding to the cloud application screen, and the time interval corresponding to the cloud application screen is the time interval between the current time and the acquisition time of the cloud application screen.

4. The method according to any one of claims 1 to 3, characterized in that: The decoding delay is the N3% quantile of a sequence obtained by sorting the decoding time of all cloud application screens in the time window in ascending order or the first decoding time after the N3% quantile in the sequence, where N3 is a positive integer.

5. A cloud application screen display jitter optimization device, applied to a cloud server, characterized in that: include: a calculation unit, configured to calculate the delay required for smoothing jitter according to the framing time of at least one frame of the cloud application screen in the time window, and calculate the target delay according to the delay required for smoothing jitter, wherein the framing time of the cloud application screen is the time interval between the time when the framing of the cloud application screen is completed and the acquisition time, and the target delay is the sum of the delay required for smoothing jitter, the decoding delay and the rendering delay; A sending unit, configured to set the maximum value and the minimum value of the cloud application screen playback delay as the target delay, and to package the cloud application screen into at least one data packet, and to send the data packet to the terminal, so that the terminal frames the at least one data packet into a cloud application screen, determines a decoding waiting time according to the maximum value and the minimum value, and decodes the framed cloud application screen after delaying the decoding waiting time, wherein at least one of the data packets carries the maximum value and the minimum value, and the decoding waiting time = the target delay - the decoding delay obtained by the terminal - the rendering delay obtained by the terminal; The computing unit is used for: Sort the frame times of all cloud application screens in the time window from small to large, and score each frame of cloud application screen corresponding to the frame time starting from the N1% quantile or the first framing time after the N1% quantile in the sorted sequence, and take the cloud application screen with the highest score as the target cloud application screen, where N1 is a positive integer, and the score value of the cloud application screen is used to evaluate the experience effect after jitter optimization of the cloud application screen; The difference between the frame time corresponding to the target cloud application screen and the smallest frame time in the sequence is calculated, and the difference is used as the delay required for smoothing jitter.

6. The device according to claim 5, characterized in that The decoding delay is the N3% quantile of a sequence obtained by sorting the decoding time of all cloud application screens in the time window in ascending order or the first decoding time after the N3% quantile in the sequence, where N3 is a positive integer.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the cloud application screen display jitter optimization method as described in any one of claims 1 to 4 are executed.

8. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the cloud application screen display jitter optimization method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Cloud application picture display jitter optimization method and device

    CN118338065A

  • Network jitter smoothing with reduced delay

    US20080069127A1