US 12,293,063 B2
Display orientation locking method, electronic device, and medium
Song Luo, Beijing (CN)
Assigned to BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD., Beijing (CN)
Filed by Beijing Zitiao Network Technology Co., Ltd., Beijing (CN)
Filed on Jun. 17, 2024, as Appl. No. 18/745,566.
Application 18/745,566 is a continuation of application No. PCT/CN2023/070747, filed on Jan. 5, 2023.
Claims priority of application No. 202210043681.4 (CN), filed on Jan. 14, 2022.
Prior Publication US 2024/0338111 A1, Oct. 10, 2024
Int. Cl. G06F 3/0484 (2022.01)
CPC G06F 3/0484 (2013.01) [G06F 2200/1614 (2013.01); G06F 2200/1637 (2013.01); G09G 2340/0492 (2013.01)] 14 Claims
OG exemplary drawing
 
1. A locking method, applied to an application program on an electronic device, wherein the method comprises:
displaying, in response to the electronic device meeting a set condition, a setting control in a current display interface of the application program, wherein the setting control is configured to control a locking status of a display orientation of media data played by the application program;
changing, in response to the setting control being triggered, the locking status of the display orientation, wherein the current display interface comprises the media data and an attribute control of the media data, the setting control comprises a lock control and an unlock control, the lock control is configured to lock the display orientation, and the unlock control is configured to unlock the display orientation; and
displaying, in response to the electronic device meeting the set condition, indication information for a first set duration, wherein the indication information indicates information related to the setting control, and the indication information and the setting control are both displayed in the current display interface of the application program,
wherein the method further comprises:
determining, in response to the display orientation being locked and a duration between a moment when switching the display orientation of the media data from a first orientation to a second orientation and a moment when switching the display orientation of the media data from the second orientation back to the first orientation being less than a second set duration, that the indication information is not displayed; and
determining, in response to the display orientation being unlocked and the duration between the moment when switching the display orientation of the media data from the first orientation to the second orientation and the moment when switching the display orientation of the media data from the second orientation back to the first orientation being less than the second set duration, that the indication information is displayed.