US2025123693A1PendingUtilityA1

Content display method and apparatus, and device and storage medium

Assignee: BEIJING ZITIAO NETWORK TECHNOLOGY CO LTDPriority: Aug 19, 2022Filed: Dec 20, 2024Published: Apr 17, 2025
Est. expiryAug 19, 2042(~16.1 yrs left)· nominal 20-yr term from priority
G06F 9/451G06F 3/017G06F 3/0486G06F 2203/04803G06F 3/04886G06F 3/04883G06F 3/0482G06F 3/04842G06F 3/0485
53
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

Embodiments of the present disclosure provide a method and apparatus for content presentation, a device and a storage medium, and relate to the computer technology field. The method comprises: displaying a floating control in a target interface and presenting a media stream in the floating control; in response to the floating control being triggered, determining a trigger position and a current gesture operation starting from the trigger position; determining a current operation type of the current gesture operation in accordance with a target region where the trigger position is located in the floating control; and correspondingly controlling the floating control based on the current operation type and the current gesture operation, wherein different operation types correspond to different regions in the floating control.

Claims

exact text as granted — not AI-modified
I/We claim: 
     
         1 . A method for content presentation, comprising:
 displaying a floating control in a target interface and presenting a media stream in the floating control;   in response to the floating control being triggered, determining a trigger position and a current gesture operation starting from the trigger position; and   determining a current operation type of the current gesture operation in accordance with a target region where the trigger position is located in the floating control; and correspondingly controlling the floating control based on the current operation type and the current gesture operation, wherein different operation types correspond to different regions in the floating control.   
     
     
         2 . The method of  claim 1 , wherein the operation type includes at least one of a first operation type and a second operation type, the first operation type is moving the floating control and the second operation type is switching a media content currently presented in the floating control. 
     
     
         3 . The method of  claim 2 , wherein the current operation type is the first operation type; and the correspondingly controlling the floating control based on the current operation type and the current gesture operation comprises:
 moving the floating control to a corresponding display position in the target interface based on at least one of the first operation type, an action direction of the current gesture operation, and an action distance and an action speed of the current gesture operation.   
     
     
         4 . The method of  claim 1 , wherein the target interface includes a preset interface; and the method further comprises:
 in response to a background play mode being triggered in the target interface, presenting a first media content currently presented in the floating control as a background of the target interface and cancelling display of the floating control.   
     
     
         5 . The method of  claim 4 , wherein a background play mode being triggered in the target interface comprises:
 in response to receiving a preset gesture operation in the target interface, determining that the background play mode is triggered, wherein the preset gesture operation is configured as triggering the background play mode.   
     
     
         6 . The method of  claim 4 , wherein the operation type includes a first operation type and the first operation type is moving the floating control; and
 wherein the current operation type is the first operation type; and the correspondingly controlling the floating control based on the current operation type and the current gesture operation comprises:   moving the floating control to a corresponding display position in the target interface based on the first operation type and the current gesture operation; and   wherein a background play mode being triggered in the target interface comprises:   in response to the triggering on the target interface being stopped, determining whether a current display position of the floating control is a target display position; and   in response to the current display position of the floating control being a target display position, determining that the triggering of a background play mode is detected.   
     
     
         7 . The method of  claim 6 , wherein the target display position includes a position within a preset range in the target interface, and the preset range contains a center point of the target interface. 
     
     
         8 . The method of  claim 4 , wherein the target interface includes a message exchange interface, and the presenting a first media content currently presented in the floating control as a background of the target interface comprises:
 replacing a background of the target interface with a first media content currently presented in the floating control, to cause an interface content of the message exchange interface to be displayed on an upper layer of the first media content, wherein the interface content includes at least one of a message content and an associated content of the message content.   
     
     
         9 . The method of  claim 4 , wherein the method comprises, after presenting a first media content currently presented in the floating control as a background of the target interface and cancelling display of the floating control,
 in response to a first preset operation on the target interface, switching to a hidden state play mode to present the first media content, wherein an interface content displayed on an upper layer of the first media content in the background play mode is hidden under the hidden state play mode.   
     
     
         10 . The method of  claim 9 , wherein the method further comprises, after the switching to a hidden state play mode to present the first media content:
 in response to a second preset operation on the target interface, switching a media content currently presented in the target interface.   
     
     
         11 . The method of  claim 9 , wherein the method further comprises, after the switching to a hidden state play mode to present the first media content:
 displaying a preset control in the target interface; and   wherein the preset control is configured to execute at least one of:   controlling a media content presented in the target interface;   interacting with respect to the media content presented in the target interface; or,   triggering the display of the floating control and switching a media content presented in the target interface to be presented in the floating control.   
     
     
         12 . The method of  claim 4 , wherein the presenting a first media content currently presented in the floating control as a background of the target interface and cancelling display of the floating control comprise:
 unbinding a canvas switching component from the floating control and binding the canvas switching component to a background view of the target interface, wherein the canvas switching component contains a plurality of canvases, the canvas is provided with a media player, and media player is configured to play a first media content currently presented in the floating control; and   obtaining associated information of the first media content from a preset database, continuing to present the first media content via the canvas switching component in the background view based on the associated information, and cancelling the display of the floating control, wherein the associated information includes at least one of a media identifier, play progress and a play state.   
     
     
         13 . The method of  claim 2 , wherein the current operation type is a second operation type; and the correspondingly controlling the floating control based on the current operation type and the current gesture operation comprises:
 switching from a second media content currently presented in the floating control to a third media content based on the second operation type and an action direction of the current gesture operation, wherein the third media content is a previous media content or a next media content of the second media content in the media stream.   
     
     
         14 . The method of  claim 13 , wherein the floating control is bound with a canvas switching component, the canvas switching component includes a plurality of canvases, the canvas is provided with a media player, and the media player is configured to play media contents loaded in corresponding canvases, to cause media contents to be presented in the floating control; and
 wherein the switching from a second media content currently presented in the floating control to a third media content based on the second operation type and an action direction of the current gesture operation comprises:   delivering the current gesture operation to the canvas switching component based on the second operation type, such that the canvas switching component determines a second content identifier of a third media content to be switched in accordance with an action direction of the current gesture operation and a first content identifier of a second media content currently presented in the floating control; and   broadcasting the second content identifier to the plurality of canvases via the canvas switching component, such that a canvas matching with the second content identifier plays the second media content via a corresponding media player.   
     
     
         15 . An electronic device, comprising:
 at least one processor; and   a memory device configured to store at least one program which, when executed by the at least one processor, causes the at least one processor to implement the method for content presentation comprising:   displaying a floating control in a target interface and presenting a media stream in the floating control;   in response to the floating control being triggered, determining a trigger position and a current gesture operation starting from the trigger position; and   determining a current operation type of the current gesture operation in accordance with a target region where the trigger position is located in the floating control; and correspondingly controlling the floating control based on the current operation type and the current gesture operation, wherein different operation types correspond to different regions in the floating control.   
     
     
         16 . The electronic device of  claim 15 , wherein the operation type includes at least one of a first operation type and a second operation type, the first operation type is moving the floating control and the second operation type is switching a media content currently presented in the floating control. 
     
     
         17 . The electronic device of  claim 16 , wherein the current operation type is the first operation type; and the correspondingly controlling the floating control based on the current operation type and the current gesture operation comprises:
 moving the floating control to a corresponding display position in the target interface based on at least one of the first operation type, an action direction of the current gesture operation, and an action distance and an action speed of the current gesture operation.   
     
     
         18 . The electronic device of  claim 15 , wherein the target interface includes a preset interface; and the method further comprises:
 in response to a background play mode being triggered in the target interface, presenting a first media content currently presented in the floating control as a background of the target interface and cancelling display of the floating control.   
     
     
         19 . The electronic device of  claim 18 , wherein a background play mode being triggered in the target interface comprises:
 in response to receiving a preset gesture operation in the target interface, determining that the background play mode is triggered, wherein the preset gesture operation is configured as triggering the background play mode.   
     
     
         20 . A non-transitory storage medium containing computer-executable instructions which, when executed by a computer processor, implement the method for content presentation comprising:
 displaying a floating control in a target interface and presenting a media stream in the floating control;   in response to the floating control being triggered, determining a trigger position and a current gesture operation starting from the trigger position; and   determining a current operation type of the current gesture operation in accordance with a target region where the trigger position is located in the floating control; and correspondingly controlling the floating control based on the current operation type and the current gesture operation, wherein different operation types correspond to different regions in the floating control.

Join the waitlist — get patent alerts

Track US2025123693A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.