Method and apparatus for displaying activity entrance, electronic device and storage medium
AssigneeBeijing Bytedance Network Technology Co., Ltd.
InventorsMeijuan Lin, Fengbo Yuan, Zifeng Zhao
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure provide a method and apparatus for displaying an activity entrance, an electronic device and a storage medium, where the method is applied in a client, including: receiving an activity promotion video, playing the activity promotion video, and pausing the activity promotion video when the playing reaches a preset image frame; switching from a current playing interface to a mask interface, and displaying the activity entrance in the mask interface.
Claims15
A method for displaying an activity entrance, wherein the method is applied in a client, and the method comprises:
- receiving an activity promotion video, playing the activity promotion video, and pausing the activity promotion video when the playing reaches a preset image frame;
- switching from a current playing interface to a mask interface, and displaying the activity entrance in the mask interface;
- after the displaying the activity entrance in the mask interface, in response to a trigger instruction of the activity entrance, switching from the mask interface to an activity interface;
- and
- after the switching from the mask interface to the activity interface:
- in response to a trigger instruction of a sub-activity interface link in the activity interface, switching from the activity interface to a sub-activity interface,
- in response to an exit instruction of the activity interface, displaying a pop-up window interface that displays an activity interface route, and
- in response to a confirm instruction of the activity interface route, closing the pop-up window interface and exiting the activity interface;
- wherein the displaying the activity entrance in the mask interface comprises letting the pop-up window interface containing an entrance prop enter the mask interface with a preset animation effect, and making the pop-up window interface stay in a center position of the mask interface, wherein the entrance prop is an element model diagram relating to an activity;
- wherein the preset animation effect is repeatedly performed for several times, and the preset animation effect is one of flying in from the side, appearing from small to large, and appearing from fuzzy to clear;
- wherein after the exiting the activity interface, the method further comprises continuing playing the activity promotion video, until the activity promotion video ends;
- wherein in a process of continuing playing the activity promotion video, the method further comprises keeping displaying an activity pendant in a preset area of the activity promotion video, wherein the activity pendant is taken as the activity entrance to re-enter the activity interface;
- and
- wherein after the keeping displaying the activity pendant in the preset area of the activity promotion video, in response to the client playing the activity promotion video again, the method further comprises playing the activity promotion video without pausing and without switching from the current playing interface to the mask interface when the playing reaches the preset image frame.
An apparatus for displaying an activity entrance, wherein the apparatus is integrated in a client, and the apparatus comprises:
- one or more processors, and
- a storage apparatus, configured to store one or more programs,
- wherein when the one or more programs are executed by the one or more processors, the one or more processors are caused to:
- receive an activity promotion video, play the activity promotion video, and pause the activity promotion video when the playing reaches a preset image frame;
- switch from a current playing interface to a mask interface, and display the activity entrance in the mask interface;
- after displaying the activity entrance in the mask interface, in response to a trigger instruction of the activity entrance, switch from the mask interface to an activity interface;
- after switching from the mask interface to the activity interface:
- in response to a trigger instruction of a sub-activity interface link in the activity interface, switch from the activity interface to a sub-activity interface,
- in response to an exit instruction of the activity interface, displaying a pop-up window interface that displays an activity interface route, and
- in response to a confirm instruction of the activity interface route, closing the pop-up window interface and exiting the activity interface;
- let the pop-up window interface containing an entrance prop enter the mask interface with a preset animation effect, and make the pop-up window interface stay in a center position of the mask interface, wherein the entrance prop is an element model diagram relating to an activity;
- wherein the preset animation effect is repeatedly performed for several times, and the preset animation effect is one of flying in from the side, appearing from small to large, and appearing from fuzzy to clear;
- after exiting the activity interface continue playing the activity promotion video, until the activity promotion video ends;
- wherein in a process of continuing playing the activity promotion video, the one or more processors is further configured to keep display an activity pendant in a preset area of the activity promotion video, wherein the activity pendant is taken as the activity entrance to re-enter the activity interface;
- and
- wherein after the keep displaying the activity pendant in the preset area of the activity promotion video, in response to the client playing the activity promotion video again, the one or more processors is further configured to play the activity promotion video without pausing and without switching from the current playing interface to the mask interface when the playing reaches the preset image frame.
A non-transitory storage medium comprising computer-executable instructions, wherein when the computer-executable instructions are executed by a computer processor, the following method is performed:
- receiving an activity promotion video, playing the activity promotion video, and pausing the activity promotion video when the playing reaches a preset image frame;
- and
- switching from a current playing interface to a mask interface, and displaying an activity entrance in the mask interface;
- after the displaying the activity entrance in the mask interface, in response to a trigger instruction of the activity entrance, switching from the mask interface to an activity interface;
- after the switching from the mask interface to the activity interface:
- in response to a trigger instruction of a sub-activity interface link in the activity interface, switching from the activity interface to a sub-activity interface,
- in response to an exit instruction of the activity interface, displaying a pop-up window interface that displays an activity interface route, and
- in response to a confirm instruction of the activity interface route, closing the pop-up window interface and exiting the activity interface;
- wherein the displaying the activity entrance in the mask interface comprises letting the pop-up window interface containing an entrance prop enter the mask interface with a preset animation effect, and making the pop-up window interface stay in a center position of the mask interface, wherein the entrance prop is an element model diagram relating to an activity;
- wherein the preset animation effect is repeatedly performed for several times, and the preset animation effect is one of flying in from the side, appearing from small to large, and appearing from fuzzy to clear;
- wherein after the exiting the activity interface, the method further comprises continuing playing the activity promotion video, until the activity promotion video ends;
- wherein in a process of continuing playing the activity promotion video, the method further comprises keeping displaying an activity pendant in a preset area of the activity promotion video, wherein the activity pendant is taken as the activity entrance to re-enter the activity interface;
- wherein after the keeping displaying the activity pendant in the preset area of the activity promotion video, in response to a client playing the activity promotion video again, the method further comprises playing the activity promotion video without pausing and without switching from the current playing interface to the mask interface when the playing reaches the preset image frame.
Dependencies are inferred from the claim text.