US 11,942,062 B2
Frame rate adjusting method and apparatus for display screen, terminal, and storage medium
Nanyan Huang, Shenzhen (CN)
Assigned to ONEPLUS TECHNOLOGY (SHENZHEN) CO., LTD., Shenzhen (CN)
Filed by ONEPLUS TECHNOLOGY (SHENZHEN) CO., LTD., Shenzhen (CN)
Filed on Jun. 24, 2022, as Appl. No. 17/848,777.
Application 17/848,777 is a continuation of application No. PCT/CN2020/135713, filed on Dec. 11, 2020.
Claims priority of application No. 201911367128.0 (CN), filed on Dec. 26, 2019.
Prior Publication US 2022/0319470 A1, Oct. 6, 2022
Int. Cl. G09G 5/34 (2006.01)
CPC G09G 5/34 (2013.01) [G09G 2340/0435 (2013.01); G09G 2354/00 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A frame rate adjusting method for a display screen, comprising:
obtaining, in response to detecting a swiping operation, a screen scrolling speed corresponding to an end time point of the swiping operation;
in response to the screen scrolling speed satisfying a predetermined frame-rate-adjustment condition, obtaining a current frame rate of a screen, a predetermined target frame rate, and a screen scrolling time length corresponding to the swiping operation;
determining a current frame period based on the current frame rate, and determining a target frame period based on the predetermined target frame rate;
determining a frame period change based on the current frame period, the target frame period, and the screen scrolling time length; and
adjusting the current frame rate of the screen based on the frame period change during a screen scrolling period,
wherein said determining the frame period change based on the current frame period, the target frame period, and the screen scrolling time length comprises:
calculating a difference between a square of the current frame period and a square of the target frame period;
calculating a product of the screen scrolling time length and 2, and subtracting the current frame period and the target frame period from the product to obtain a difference; and
determining a ratio of the difference between the squares to the difference as the frame period change.