WO2024037563A1 - 内容展示方法、装置、设备及存储介质 - Google Patents
内容展示方法、装置、设备及存储介质 Download PDFInfo
- Publication number
- WO2024037563A1 WO2024037563A1 PCT/CN2023/113323 CN2023113323W WO2024037563A1 WO 2024037563 A1 WO2024037563 A1 WO 2024037563A1 CN 2023113323 W CN2023113323 W CN 2023113323W WO 2024037563 A1 WO2024037563 A1 WO 2024037563A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- floating control
- media content
- display
- control
- target page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0485—Scrolling or panning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04886—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04803—Split screen, i.e. subdividing the display area or the window area into separate subareas
Definitions
- the embodiments of the present disclosure relate to the field of computer technology, such as content display methods, devices, equipment and storage media.
- Embodiments of the present disclosure provide content display methods, devices, storage media, and equipment, which can optimize content display solutions based on suspension controls in related technologies.
- embodiments of the present disclosure provide a content display method, including:
- embodiments of the present disclosure also provide a content display device, including:
- a suspension control display module is configured to display the suspension control in the target page and display the media stream in the suspension control
- a gesture operation detection module configured to determine the touch position in response to detecting that the user touches the floating control, and detect the current gesture operation starting from the touch position;
- the floating control control module is configured to determine the current operation type of the detected current gesture operation according to the target area where the touch position is located in the floating control, and determine the current operation type based on the current operation type and the current gesture operation. , perform corresponding control on the suspension control, where different operation types correspond to different areas in the suspension control.
- embodiments of the present disclosure also provide an electronic device, including:
- a storage device arranged to store at least one program
- the at least one processor When the at least one program is executed by the at least one processor, the at least one processor is caused to implement the content display method provided by the embodiment of the present disclosure.
- embodiments of the present disclosure also provide a storage medium containing computer-executable instructions that, when executed by a computer processor, execute the content display method provided by embodiments of the present disclosure.
- Figure 1 is a schematic flowchart of a content display method provided by an embodiment of the present disclosure
- Figure 2 is a schematic diagram of an interface provided by an embodiment of the present disclosure
- Figure 3 is a schematic flowchart of a content display method provided by an embodiment of the present disclosure.
- Figure 4 is a schematic diagram of an interface interaction provided by an embodiment of the present disclosure.
- Figure 5 is a schematic diagram of another interface interaction provided by an embodiment of the present disclosure.
- Figure 6 is a schematic structural diagram of a content display device provided by an embodiment of the present disclosure.
- FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
- the term “include” and its variations are open-ended, ie, “including but not limited to.”
- the term “based on” means “based at least in part on.”
- the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; and the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
- a prompt message is sent to the user to clearly remind the user that the operation requested by the user will require the acquisition and use of the user's personal information. Therefore, users can autonomously choose whether to provide personal information to software or hardware such as electronic devices, applications, servers or storage media that perform the operations of the technical solution of the present disclosure based on the prompt information.
- the method of sending prompt information to the user may be, for example, a pop-up window, and the prompt information may be presented in the form of text in the pop-up window.
- the pop-up window can also contain a selection control for the user to choose "agree” or "disagree” to provide personal information to the electronic device.
- Figure 1 is a schematic flowchart of a content display method provided by an embodiment of the present disclosure.
- the embodiment of the present disclosure is applicable to the situation of content display.
- the method can be executed by a content display device, and the device can use at least one of software and hardware. It can be implemented in one form, optionally, through electronic equipment.
- the electronic equipment can be mobile terminals such as mobile phones, smart watches, tablets, and personal digital assistants, or it can also be a personal computer (Personal Computer, PC) or server, etc. equipment.
- the method includes:
- Step 101 Display a floating control in the target page, and display the media stream in the floating control.
- the target page may be a page in a default application.
- the type of the default application is not limited.
- it may be a video application, a live broadcast application, a shopping application or an information application. etc., it can also be other types of applications.
- the target page can be any page in the default application, and the page type and page content it contains are not limited.
- it can be a message interaction page, a media content display page, a product details page, or an information information display page.
- the floating control can be understood as a view element, and displaying the floating control on the target page can be understood as overlaying and displaying the view element on the target page.
- the properties of the floating control such as shape, size, color, transparency, display position, etc., can be set according to actual needs.
- the floating control can be a control in the form of a floating box.
- the media stream is displayed in the floating control, and the media content contained in the media stream may include images, graphics, audio or video, etc.
- the media stream displayed in the floating control may be a media stream pushed to the current user.
- a corresponding media stream determination method is generated according to the current user, and a personalized media stream for the current user is determined based on the media stream determination method.
- the disclosed embodiments may also be applied to In the content sharing scenario, that is, the current user can share the media stream with at least one peer user, the media stream displayed in the floating control can also be a shared media stream.
- FIG 2 is a schematic diagram of an interface provided by an embodiment of the present disclosure.
- a floating control 202 is displayed on the target page 201.
- the floating control 202 is located in the upper left corner of the target page 201. Display the media stream in the floating control 202.
- Step 102 In response to detecting that the user touches the floating control, determine the touch position, and detect the current gesture operation starting from the touch position.
- the user can touch the screen (touch screen) of the electronic device with a body part such as a finger or an object such as a stylus (hereinafter collectively referred to as a touch object).
- a touch object For example, the user can touch a floating box displayed on the target page.
- the touch position of the touch object can be detected through the touch screen, and the touch screen continues to detect a gesture operation starting from the touch position.
- the gesture operation can be, for example, sliding or long pressing. Or drag etc.
- Step 103 Determine the current operation type of the detected current gesture operation according to the target area where the touch position is located in the floating control, and based on the current operation type and the current gesture operation, perform The suspension control performs corresponding control, wherein different operation types correspond to different areas in the suspension control.
- the floating control can be divided into at least two areas.
- the exemplary division method is not limited, such as two upper and lower areas, two left and right areas, or a central area and a surrounding area.
- the floating control 202 is divided into two left and right areas, which are a first area 203 and a second area 204 respectively.
- the operation type may include moving the floating control (denoted as the first operation type), switching the media content currently displayed in the floating control (denoted as the second operation type), and adjusting the size of the floating frame (denoted as the third operation type). ) at least one.
- Moving the floating control can be understood as adjusting the display position of the floating control in the target page; switching the media content currently displayed in the floating control can be understood as replacing the media content currently displayed in the floating control with another media content in the media stream (such as the previous media content or the next media content), etc.; adjust the floating box Size can be understood as adjusting the width, height or aspect ratio of the floating frame, etc.
- the first area 203 corresponds to the first operation type
- the second area 204 corresponds to the second operation type.
- the current operation type of the current gesture operation can be determined according to the area where the touch position falls (recorded as the target area), and then based on the current operation type and the current gesture operation, the floating control Carry out corresponding control.
- the target area is the first area 203
- the corresponding operation type is the first operation type
- the movement of the floating control is controlled according to the current gesture operation.
- the touch position of the user's finger touching the floating control falls into the second area 204
- the target area is the second area 204
- the corresponding operation type is the second operation type. Then the media content currently displayed in the floating control is switched according to the current gesture operation.
- the content display method provided by the embodiment of the present disclosure displays a floating control in the target page, and displays the media stream in the floating control.
- the touch position is determined, and the touch position is detected as the starting point.
- the current gesture operation determines the current operation type of the detected current gesture operation based on the target area of the touch position in the floating control, and controls the floating control accordingly based on the current operation type and the current gesture operation, where, Different operation types correspond to different areas in the floating control.
- the current operation type is a first operation type
- performing corresponding control on the floating control based on the current operation type and the current gesture operation includes: based on the first operation At least one of the type, the action direction of the current gesture operation, and the action distance and speed of the current gesture operation, and move the floating control to the corresponding display position in the target page.
- the current gesture operation may be a sliding operation.
- the action direction can be sliding
- the moving direction corresponds to the moving direction of the floating control, and the two can be in the same direction
- the action distance can be the sliding distance, corresponding to the moving distance of the floating control, and the two can be equal or positively correlated
- the action speed can be the sliding speed, corresponding to The two can be equal to or positively correlated with the moving speed of the floating control.
- the target page includes a preset page
- the method further includes: in the target page, it is detected that the background play mode is triggered, and the first media content currently displayed in the floating control is Display as the background of the target page, and cancel the display of the floating control.
- the background playback mode can be understood as a mode in which the media content in the floating control is played as the background of the preset page.
- the preset pages may include pages in which the ratio of the display area of the page content to the total display area of the page is less than the preset ratio threshold, and the area used to display the page content may reveal background content.
- the default page may include, for example, a message interaction page (such as a chat page or a message list page, etc.), and may also include pages such as a personal homepage.
- the target page includes a message interaction page
- displaying the first media content currently displayed in the floating control as the background of the target page includes: using the background of the target page Replace with the first media content currently displayed in the floating control, so that the page content of the message interaction page is displayed on the upper layer of the first media content, wherein the page content includes message content and the message content At least one of the associated contents.
- the page content may include message content and associated content of the message content.
- the associated content may be the object identifier of the message interaction object (such as user name or user avatar, etc.).
- users can view media content in full screen (when the target page is in full screen display) while sending and receiving messages, taking into account both the message interaction experience and the media content viewing experience.
- detecting that the background play mode is triggered in the target page includes: receiving a preset gesture operation in the target page, then determining that the background play mode is triggered, wherein , the preset gesture operation is set to trigger the background play mode.
- the preset gesture operation may be, for example, a two-finger zoom-in operation on the floating control, that is, two fingers touch the floating control and move in opposite directions.
- the operation type includes a first operation type, and the first operation type is to move the suspended control; wherein the current operation type is the first operation type, and the operation type is based on the current operation type. and the current gesture operation, performing corresponding control on the floating control, including: based on the first operation type and the current gesture operation, moving the floating control to the corresponding display position in the target page; Wherein, in the target page, detecting that the background play mode is triggered includes: detecting that the user stops touching the screen, determining whether the current display position of the floating control is the target display position; responding to the floating control The current display position of the control is the target display position, and it is determined that the background playback mode is detected and triggered.
- the advantage of this setting is that the first operation type can be reused, and the background playback mode can be easily triggered during the process of moving the floating frame.
- the target display position can be set according to actual needs.
- the target display position includes a position within a preset range in the target page.
- the preset range includes the center point of the target page.
- at least one boundary of the preset range coincides with a boundary of the target page.
- determining whether the current display position of the floating control is the target display position, and if the current display position of the floating control is the target display position, determining that the background playback mode is triggered may include: determining whether the background playback mode is triggered. Whether the current display position of the floating control is the target display position, and if the current display position of the floating control is the target display position, continue to determine whether the duration of the current display position remaining at the target display position is greater than the preset duration threshold , if it is greater than the preset duration threshold, it is determined that the background playback mode is detected to be triggered.
- the advantage of this setting is that it can make the user's operation of moving the floating control smoother. When there is no need to display media content in the background, there is no need to avoid the preset range of the target display position, which can prevent misoperations.
- the method includes: checking When it is detected that the current media content has been played, it will automatically switch to display the next media content in the media stream, or automatically repeat the current media content.
- the advantage of this setting is that it can reduce the user's active operations and automatically perform continuous playback or loop playback.
- the automatic playback method can be set independently by the user in advance.
- the method includes: responding to the user The first preset operation acting on the target page is to switch to a hidden state playback mode to display the first media content, wherein in the hidden state playback mode, the target page in the background playback mode is hidden.
- the page content displayed above the background is that by hiding the display of page content, you can quickly switch to full-screen display of media content, thereby obtaining a purer media content viewing experience.
- the page content that needs to be hidden may include the message content described above and associated content of the message content.
- the first preset operation may be a triggering operation on a preset hidden button, or may be a sliding operation.
- the sliding operation generally has a different direction from the sliding operation used for browsing message content.
- the up and down swipe operation can be set to browse the message content
- the left swipe operation or right swipe operation can be set to hide the page content.
- the method further includes: in response to a second preset operation performed by the user on the target page, switching the target The media content currently displayed on the page.
- the advantage of this setting is that during the process of displaying the media content in the hidden play mode, the user can be allowed to switch the media content by inputting the second preset operation, thereby improving the viewing experience.
- the second preset operation may be, for example, a sliding operation, such as sliding up or sliding down.
- the method further includes: in response to a third preset operation performed by the user on the target page, switching to the background media content. scene playback mode.
- the advantage of this setting is that you can easily switch back to the display of page content, such as restoring the display of chat content.
- the third preset operation may be a triggering operation on a preset display button, or may be a sliding operation.
- the sliding operation may be in the opposite direction to the first preset operation.
- the first preset operation is sliding to the right, and the third preset operation may be a sliding operation.
- the default action can be swipe left.
- the method further includes: displaying a preset control in the target page.
- the preset control is configured to perform at least one of the following: control the media content displayed on the target page; interact with the media content displayed on the target page; and trigger the display of the floating control And switch the media content displayed on the target page to the floating control for display.
- the number of preset controls may be at least one, and the display modes of different preset controls may be different.
- the first preset control may be automatically displayed after hiding the page content
- the second preset control may be displayed in response to the user targeting the target. Displayed when the page triggers an operation (such as clicking on the target page, etc.).
- controlling the media content may include switching the media content, pausing the playback of the media content, or blocking the sound of the media content, etc.
- Interacting with the media content displayed on the target page may include inputting a like operation, inputting a favorite operation, inputting a forwarding operation, or inputting comment content, etc.
- the current operation type is a second operation type
- performing corresponding control on the floating control based on the current operation type and the current gesture operation includes: based on the second operation
- the type and the action direction of the current gesture operation are used to switch the second media content currently displayed in the floating control to the third media content, where the third media content is the second media in the media stream.
- the previous media content or the next media content of the content is the advantage of this setting.
- the media content to be switched can be quickly determined based on the direction of the gesture operation, improving content switching efficiency.
- the second media content may be the same as or different from the first media content.
- Figure 3 is a schematic flowchart of a content display method provided by an embodiment of the present disclosure.
- the embodiment of the present disclosure is optimized based on multiple optional solutions in the above embodiments.
- the method includes the following steps:
- Step 301 Display the floating control in the target page, and display the media stream in the floating control.
- FIG 4 is a schematic diagram of an interface interaction provided by an embodiment of the present disclosure.
- a floating control 402 is displayed in the target page 401.
- the target page 401 can be, for example, a message interaction page, and a video stream can be displayed in the floating control 402.
- the bottom of the target page 401 can display relevant controls for triggering message input, such as the microphone control, input box control and expression control in the figure.
- the video stream can include video works published by different users.
- Step 302 When it is detected that the user touches the floating control, determine the touch position, and detect a gesture operation starting from the touch position.
- the user can touch the screen with a finger.
- the touch position of the finger is determined, and a gesture operation starting from the touch position is continued.
- the gesture operation may be a sliding operation, for example.
- Step 303 Determine the current operation type of the detected current gesture operation according to the target area of the touch position in the floating control.
- the floating control 402 can be divided into two areas, the first area 403 and the second area (which can be areas in the floating control 402 except the first area 403).
- the area identifier can be displayed in the first area 403, such as the horizontal line in Figure 4.
- the first area 403 corresponds to the first operation type
- the second area corresponds to the second operation type
- the first operation type is moving the suspension control
- the second operation type is switching the media content currently displayed in the suspension control. Assuming that the touch position falls within the first area 403, it is determined that the current detected gesture operation is the first operation type.
- Step 304 Determine whether the current operation type is the first operation type. If the current operation type is the first operation type, perform step 305; if the current operation type is not the first operation type, perform step 310.
- Step 305 Based on at least one of the first operation type, the action direction of the current gesture operation, the action distance and the action speed of the current gesture operation, move the floating control to the corresponding display position in the target page.
- the current operation type is the first operation type
- the current gesture operation dynamically moves the floating control to the corresponding display position in the target page.
- Step 306 It is detected that the user stops touching the screen, and determines whether the current display position of the floating control is the target display position. If the current display position of the floating control is the target display position, perform step 307; if the current display position of the floating control is not the target display position, position to end the process.
- the current display position of the floating control is the target display position. If the floating control is If the current display position is the target display position, prompt information can be displayed.
- the prompt information is set to prompt the current user to let go of the media content in the floating control in the background.
- the current display position can be considered as the target display position, and the prompt message "Release to play in the background" 404 can be displayed on the floating control.
- Step 307 Determine that the background play mode is detected to be triggered, display the first media content currently displayed in the floating control as the background of the target page, and cancel the display of the floating control.
- the media content in the floating control can continue to be displayed in the background of the target page.
- the scenery video (first media content) is playing in the floating control. After the user lets go, the scenery video can continue to play in the background of the target page, and the floating control disappears.
- Step 308 In response to the user's first preset operation on the target page, switch to the hidden state playback mode to display the first media content, hide the page content displayed on the upper layer of the background in the background playback mode, and display the preset media content on the target page. Set controls.
- the first preset operation may be a sliding operation.
- the user can browse the message content by sliding up and down, and the first preset operation can be sliding left and right.
- the page content such as the message content and related controls used to trigger the message input are hidden.
- the preset controls may include at least one interactive control, such as the four interactive controls 405 in the figure.
- the preset controls may also include a floating control, for example. Switch control, such as switch button 406 in the figure.
- Step 309 In response to the user's second preset operation on the target page, switch the media content currently displayed in the target page.
- the user can switch the media content in the target page.
- the user can switch the video content by inputting an upward sliding operation, switching the landscape video to a clown video.
- the user can also trigger the display of the floating box by triggering the switch button 406 and switch the clown video currently displayed on the target page to the floating control to continue playing.
- Step 310 Based on the second operation type and the action direction of the current gesture operation, switch the second media content currently displayed in the floating control to the third media content.
- the third media content is the previous media content or the next media content of the second media content in the media stream.
- FIG. 5 is a schematic diagram of another interface interaction provided by an embodiment of the present disclosure.
- the user inputs a downward sliding operation to switch the landscape video (second media content) currently displayed in the floating control to a character video. (Third media content).
- the content display method provided by the embodiment of the present disclosure displays a floating control for displaying media content in a message interaction page, which can realize chatting and viewing media content, and can accurately identify the operation type of the user's gesture operation, and according to different operation types Move the floating control used to display the media stream or switch the media content, making the control of the floating control more flexible.
- a variety of preset controls are provided to facilitate users to control or interact based on media content. They can switch back to floating controls for playback, making the display of media content more flexible, meeting users' diverse media content viewing needs, and improving user experience.
- displaying the first media content currently displayed in the floating control as the background of the target page and canceling the display of the floating control includes: removing the canvas switching component from the Unbind from the floating control, and bind the canvas switching component to the background view of the target page, where the canvas switching component contains multiple canvases, and the canvas is configured with a media player.
- the player is set to play the first media content currently displayed in the floating control; obtains the association information of the first media content from the preset database, and switches based on the canvas in the background view based on the association information
- the component continues to display the first media content and cancels the display of the floating control, wherein the associated information includes at least one of media identification, playback progress, and playback status.
- the canvas switching component is also called a page switching component or a view switching component (ViewPager).
- the canvas switching component contains multiple canvases.
- the canvases are also called view holders (ViewHolder).
- Each canvas can be set to cache a media. content. Among them, multiple media contents can be pulled from the server in batches through the canvas switching component. The number of media contents pulled at one time can be consistent with the number of canvases in the canvas switching component. For example, if 5 videos are pulled at one time, there can be 5 canvases.
- the canvas is configured with a media player, and the media player is set to play the media content currently displayed in the floating control.
- Each canvas can be configured with a media player independently, or multiple canvases can share a media player, which is not limited here.
- both the floating control and the background view can be regarded as containers of the canvas switching component.
- the canvas switching component can be removed from the canvas switching component. Take it out from the floating control (for example, you can call the remove view function) and put it into the background view.
- the process of taking it out can be regarded as unbinding (for example, you can call the addview function), and the process of putting it in can be regarded as binding.
- the associated information of the currently displayed media content can be stored in the preset database in real time. identity, its form is not limited), playback At least one of progress and playback status (can include playing, paused playback, etc.).
- the latest association information can be obtained from the preset database, and based on the obtained association information Continue to display media content through the canvas switching component in the background view.
- the preset parameters of the media player can be reconfigured to adapt to the background view.
- the preset parameters may include, for example, the size of the media player.
- a canvas switching component is bound to the floating control, and the canvas switching component contains multiple canvases.
- the canvas is configured with a media player, and the media player is set to play the content loaded in the corresponding canvas.
- media content to display the media content in the floating control; wherein, based on the second operation type and the action direction of the current gesture operation, the second media content currently displayed in the floating control is Switching to the third media content includes: based on the second operation type, passing the current gesture operation to the canvas switching component, so that the canvas switching component operates according to the action direction of the current gesture operation and the The first content identifier of the second media content currently displayed in the floating control determines the second content identifier of the third media content to be switched; the second content identifier is broadcast to multiple canvases through the canvas switching component, so that The canvas matching the second content identifier plays the second media content through a corresponding media player.
- the advantage of this setting is that it can accurately switch media content within the floating control.
- the media content loaded in multiple canvases can be numbered, which can be recorded as a content identifier.
- Determine the second content identifier and apply the observer mode of the event bus (EventBus, which can be understood as a broadcast mechanism)
- notify all canvases in the canvas switching component and match the content identifier of its own cached video with the second content identifier , to determine whether it should be handled by itself.
- EventBus which can be understood as a broadcast mechanism
- Figure 6 is a schematic structural diagram of a content display device provided by an embodiment of the present disclosure. As shown in Figure 6, the device includes: a floating control display module 601, a gesture operation detection module 602, and a floating control control module 603.
- the suspension control display module 601 is configured to display the suspension control in the target page and display the media stream in the suspension control;
- the gesture operation detection module 602 is configured to determine the touch position in response to detecting that the user touches the floating control, and detect the current gesture operation starting from the touch position;
- the floating control control module 603 is configured to determine the current operation type of the detected current gesture operation according to the target area where the touch position is located in the floating control, and based on the current operation type and the current gesture Operation, perform corresponding control on the suspension control, where different operation types correspond to different areas in the suspension control.
- the content display device displays the floating control in the target page and displays the media stream in the floating control.
- the touch position is determined and the touch position is used as the starting point.
- the current gesture operation determine the current operation type of the detected current gesture operation according to the target area of the touch position in the floating control, and perform corresponding control on the floating control based on the current operation type and the current gesture operation, where , different operation types correspond to different areas in the floating control.
- the operation type includes at least one of a first operation type and a second operation type.
- the first operation type is to move the suspension control
- the second operation type is to switch the current one in the suspension control.
- the action direction of the current gesture operation and at least one of the action distance and action speed of the current gesture operation, move the floating control to the corresponding display position in the target page .
- the target page includes a preset page; the device further includes:
- the background play mode triggering module is configured to detect that the background play mode is triggered in the target page, display the first media content currently displayed in the floating control as the background of the target page, and cancel the Describes the display of floating controls.
- detecting that the background play mode is triggered in the target page includes: receiving a preset gesture operation in the target page, then determining that the background play mode is triggered, wherein the The preset gesture operation is set to trigger the background play mode.
- the operation type includes a first operation type, and the first operation type is to move the suspension control;
- the suspension control control module in response to the current operation type being the first operation type, executes the Based on the current operation type and the current gesture operation, when performing corresponding control on the floating control, it is set to: based on the first operation type and the current gesture operation, move the floating control to the The corresponding display position in the target page;
- the background play mode is triggered, including:
- the target display position includes a position within a preset range in the target page, and the preset range contains the center point of the target page.
- the target page includes a message interaction page; and displaying the first media content currently displayed in the floating control as the background of the target page includes:
- the device may also include:
- the hidden state playback mode switching module is configured to switch to the hidden state playback mode to display the first media content in response to the user's first preset operation on the target page, wherein, In the hidden state playback mode, the page content displayed on the upper layer of the background in the background playback mode is hidden.
- the device may also include:
- a content switching module configured to, after switching to the hidden state playback mode to display the first media content, switch the current content in the target page in response to the user's second preset operation on the target page. Media content displayed.
- the device may also include:
- the default control display module is configured to display the default control in the target page after switching to the hidden state play mode to display the first media content; wherein the default control is configured to perform at least the following: One item: controlling the media content displayed on the target page; interacting with the media content displayed on the target page; and triggering the display of the floating control and switching the media content displayed on the target page to the floating control for display.
- the background display module displays the first media content currently displayed in the floating control as the background of the target page and cancels the display of the floating control, it is set to:
- the associated information of the first media content from the preset database, continue to display the first media content based on the canvas switching component in the background view based on the associated information, and cancel the display of the floating control.
- the associated information includes at least one of media identification, playback progress and playback status.
- the floating control control module performs corresponding control on the floating control based on the current operation type and the current gesture operation. ,Set as:
- the second media content currently displayed in the floating control is switched to a third media content, wherein the third media content is the media stream The previous media content or the next media content of the second media content described in .
- a canvas switching component is bound to the floating control.
- the canvas switching component contains multiple canvases.
- the canvas is configured with a media player, and the media player is set to play media loaded in the corresponding canvas. content to display media content in the floating control;
- switching the second media content currently displayed in the floating control to the third media content includes:
- the current gesture operation is transferred to the canvas switching component, so that the canvas switching component operates according to the action direction of the current gesture operation and the second media currently displayed in the floating control.
- the first content identifier of the content determines the second content identifier of the third media content to be switched;
- the second content identification is broadcast to multiple canvases through the canvas switching component, so that the canvas matching the second content identification plays the second media content through the corresponding media player.
- the content display device provided by the embodiments of the present disclosure can execute the content display method provided by any embodiment of the present disclosure, and has corresponding functional modules and effects for executing the method.
- FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
- FIG. 7 shows a schematic structural diagram of an electronic device (such as the terminal device or server in FIG. 7 ) 700 suitable for implementing embodiments of the present disclosure.
- Terminal devices in embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistants, PDAs), tablet computers (PAD), portable multimedia players (Portable Media Players), etc. , PMP), mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs, desktop computers, etc.
- PDAs Personal Digital Assistants
- PAD tablet computers
- PMP portable multimedia players
- mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals)
- fixed terminals such as digital TVs, desktop computers, etc.
- the electronic device shown in Figure 7 is only an example and should not be used in this disclosure. There are no limitations on
- the electronic device 700 may include a processor (such as a central processing unit, a graphics processor, etc.) 701.
- the processor 701 may be configured according to a program stored in a read-only memory (Read-Only Memory, ROM) 702 or from a program.
- the storage device 708 loads the program in the random access memory (Random Access Memory, RAM) 703 to perform various appropriate actions and processes.
- RAM Random Access Memory
- various programs and data required for the operation of the electronic device 700 are also stored.
- the processor 701, ROM 702 and RAM 703 are connected to each other through a bus 704.
- An input/output (I/O) interface 705 is also connected to bus 704.
- input devices 706 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a Liquid Crystal Display (LCD) , an output device 707 such as a speaker, a vibrator, etc.; a storage device 708 including a magnetic tape, a hard disk, etc.; and a communication device 709.
- Communication device 709 may allow electronic device 700 to communicate wirelessly or wiredly with other devices to exchange data.
- FIG. 7 illustrates an electronic device 700 having various means, it should be understood that implementation or availability of all illustrated means is not required. More or fewer means may alternatively be implemented or provided.
- embodiments of the present disclosure include a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
- the computer program may be downloaded and installed from the network via communication device 709, or from storage device 708, or from ROM 702.
- the processor 701 When the computer program is executed by the processor 701, the above functions defined in the method of the embodiment of the present disclosure are performed.
- the electronic device provided by the embodiments of the present disclosure and the content display method provided by the above embodiments belong to the same concept.
- Technical details that are not described in detail in this embodiment can be referred to the above embodiments, and this embodiment has the same effect as the above embodiments. .
- Embodiments of the present disclosure provide a computer-readable storage medium with a computer program stored thereon, When the program is executed by the processor, the content display method provided in the above embodiment is implemented.
- the computer-readable storage medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
- the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof.
- Examples of computer readable storage media may include, but are not limited to: an electrical connection having at least one conductor, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), erasable programmable read only memory ( Erasable Programmable Read-Only Memory (EPROM), flash memory, optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
- a computer-readable signal medium may also be any computer-readable storage medium other than a computer-readable storage medium that can be sent, propagated, or transmitted for use by or in connection with an instruction execution system, apparatus, or device program.
- Program code contained on a computer-readable storage medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
- the client and server can communicate using any currently known or future developed network protocol, such as HyperText Transfer Protocol (HTTP), and can communicate with digital data in any form or medium.
- HTTP HyperText Transfer Protocol
- Communications e.g., communications network
- Examples of communication networks include Local Area Networks (LANs), Wide Area Networks (WANs), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any current network for knowledge or future research and development.
- LANs Local Area Networks
- WANs Wide Area Networks
- the Internet e.g., the Internet
- end-to-end networks e.g., ad hoc end-to-end networks
- the above-mentioned computer-readable storage medium may be included in the above-mentioned electronic device; it may also be a separate exists without being incorporated into the electronic device.
- the computer-readable storage medium carries at least one program.
- the electronic device displays a floating control in the target page and displays the media stream in the floating control; upon detection When the user touches the floating control, the touch position is determined, and the current gesture operation starting from the touch position is detected; according to the target area where the touch position is located in the floating control, the detected The current operation type of the current gesture operation, and based on the current operation type and the current gesture operation, perform corresponding control on the floating control, where different operation types correspond to different areas in the floating control.
- Computer program code for performing the operations of the present disclosure may be written in at least one programming language, including but not limited to object-oriented programming languages such as Java, Smalltalk, C++, and conventional programming languages, or a combination thereof.
- a procedural programming language such as "C” or a similar programming language.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as an Internet service provider through Internet connection).
- LAN local area network
- WAN wide area network
- Internet service provider such as an Internet service provider through Internet connection
- each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains at least one operable function for implementing the specified logical function.
- Execute instructions may also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
- each block in the block diagrams and flowchart illustrations, and combinations of blocks in the block diagrams and flowchart illustrations can be implemented by special purpose hardware-based systems that perform the specified functions or operations, or may be implemented by special purpose hardware-based systems that perform the specified functions or operations.
- the units involved in the embodiments of the present disclosure can be implemented in software or hardware.
- the name of the module does not constitute a limitation on the module itself.
- the suspension control display module can also be described as "a module that displays a suspension control in the target page and displays the media stream in the suspension control.”
- exemplary types of hardware logic components include: field programmable gate array (Field Programmable Gate Array, FPGA), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), application specific standard product (Application Specific Standard Parts (ASSP), System on Chip (SOC), Complex Programmable Logic Device (CPLD), etc.
- a machine-readable storage medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
- the machine-readable storage medium may be a machine-readable signal medium or a machine-readable storage medium.
- Machine-readable storage media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing.
- machine-readable storage media include an electrical connection based on at least one wire, a portable computer disk, a hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM), flash memory Flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- RAM random access memory
- ROM read only memory
- EPROM erasable programmable read only memory
- flash memory Flash memory flash memory Flash memory
- optical fiber portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- a content display method including:
- the suspension control is controlled accordingly, where different operation types correspond to different areas in the suspension control.
- the operation type includes at least one of a first operation type and a second operation type.
- the first operation type is to move the suspension control
- the second operation type is Switch the media content currently displayed in the floating control.
- the current operation type is a first operation type
- performing corresponding control on the floating control based on the current operation type and the current gesture operation includes:
- the action direction of the current gesture operation and at least one of the action distance and action speed of the current gesture operation, move the floating control to the corresponding display position in the target page .
- the target page includes a preset page; the method further includes:
- the background playback mode is triggered, the first media content currently displayed in the floating control is displayed as the background of the target page, and the display of the floating control is cancelled.
- detecting that the background play mode is triggered in the target page includes:
- a preset gesture operation is received, it is determined that the background play mode is detected to be triggered, wherein the preset gesture operation is set to trigger the background play mode.
- the operation type includes a first operation type, and the first operation type is moving the suspension control;
- the current operation type is the first operation type
- performing corresponding control on the floating control based on the current operation type and the current gesture operation includes:
- the background play mode is triggered, including:
- the current display position of the floating control is the target display position, it is determined that the background playback mode is detected to be triggered.
- the target display position includes a position within a preset range in the target page, and the preset range contains a center point of the target page.
- the target page includes a message interaction page, and displaying the first media content currently displayed in the floating control as the background of the target page includes:
- the method after displaying the first media content currently displayed in the floating control as the background of the target page and canceling the display of the floating control, the method includes:
- the method after switching to the hidden state play mode to display the first media content, the method further includes:
- the media content currently displayed in the target page is switched.
- the method after switching to the hidden state play mode to display the first media content, the method further includes:
- the preset control is set to at least one of the following:
- displaying the first media content currently displayed in the floating control as the background of the target page and canceling the display of the floating control includes:
- the associated information of the first media content from the preset database, continue to display the first media content based on the canvas switching component in the background view based on the associated information, and cancel the display of the floating control.
- the associated information includes at least one of media identification, playback progress and playback status.
- the current operation type is a second operation type
- performing corresponding control on the floating control based on the current operation type and the current gesture operation includes:
- the second media content currently displayed in the floating control is switched to a third media content, wherein the third media content is the media stream The previous media content or the next media content of the second media content described in .
- a canvas switching component is bound to the floating control, the canvas switching component contains multiple canvases, the canvas is configured with a media player, and the media player is set to Play the media content loaded in the corresponding canvas to display the media content in the floating control;
- switching the second media content currently displayed in the floating control to the third media content includes:
- the current gesture operation is transferred to the canvas switching component, so that the canvas switching component operates according to the action direction of the current gesture operation and the second media currently displayed in the floating control.
- the first content identifier of the content determines the second content identifier of the third media content to be switched;
- the second content identification is broadcast to multiple canvases through the canvas switching component, so that the canvas matching the second content identification plays the second media content through the corresponding media player.
- a content display device including:
- a suspension control display module is configured to display the suspension control in the target page and display the media stream in the suspension control
- a gesture operation detection module configured to determine the touch position in response to detecting that the user touches the floating control, and detect the current gesture operation starting from the touch position;
- the floating control control module is configured to determine the current operation type of the detected current gesture operation according to the target area where the touch position is located in the floating control, and determine the current operation type based on the current operation type and the current gesture operation. , perform corresponding control on the suspension control, where different operation types correspond to different areas in the suspension control.
- an electronic device including:
- a storage device arranged to store at least one program
- the at least one processor When the at least one program is executed by the at least one processor, the at least one processor is caused to implement the content display method provided by the embodiment of the present disclosure.
- a storage medium containing computer-executable instructions is provided.
- the computer-executable instructions when executed by a computer processor, perform the content display method provided by the embodiment of the present disclosure.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
- Position Input By Displaying (AREA)
- Stored Programmes (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
Claims (18)
- 一种内容展示方法,包括:在目标页面中显示悬浮控件,并在所述悬浮控件中展示媒体流;响应于检测到用户触摸所述悬浮控件,确定触摸位置,并检测以所述触摸位置为起点的当前手势操作;根据所述触摸位置在所述悬浮控件中所处的目标区域,确定所检测到的当前手势操作的当前操作类型,并基于所述当前操作类型和所述当前手势操作,对所述悬浮控件进行相应的控制,其中,不同操作类型对应所述悬浮控件中的不同区域。
- 根据权利要求1所述的方法,其中,所述操作类型包括第一操作类型和第二操作类型中至少之一,所述第一操作类型为移动所述悬浮控件,所述第二操作类型为切换所述悬浮控件中当前展示的媒体内容。
- 根据权利要求2所述的方法,其中,所述当前操作类型为第一操作类型,所述基于所述当前操作类型和所述当前手势操作,对所述悬浮控件进行相应的控制,包括:基于所述第一操作类型、所述当前手势操作的作用方向、以及所述当前手势操作的作用距离和作用速度中至少之一,将所述悬浮控件移动至所述目标页面中相应的显示位置。
- 根据权利要求1所述的方法,其中,所述目标页面包括预设页面;所述方法还包括:在所述目标页面中,检测到背景播放模式被触发,将所述悬浮控件中当前展示的第一媒体内容,作为所述目标页面的背景进行展示,并取消所述悬浮控件的显示。
- 根据权利要求4所述的方法,其中,所述在所述目标页面中,检测到背景播放模式被触发,包括:在所述目标页面中,响应于接收到预设手势操作,确定检测到背景播放模式被触发,其中,所述预设手势操作设置为触发所述背景播放模式。
- 根据权利要求4所述的方法,其中,所述操作类型包括第一操作类型,所述第一操作类型为移动所述悬浮控件;其中,所述当前操作类型为第一操作类型,所述基于所述当前操作类型和所述当前手势操作,对所述悬浮控件进行相应的控制,包括:基于所述第一操作类型和所述当前手势操作,将所述悬浮控件移动至所述目标页面中相应的显示位置;其中,所述在所述目标页面中,检测到背景播放模式被触发,包括:检测到所述用户停止触摸屏幕,判断所述悬浮控件的当前显示位置是否为目标显示位置;响应于所述悬浮控件的当前显示位置是目标显示位置,确定检测到背景播放模式被触发。
- 根据权利要求6所述的方法,其中,所述目标显示位置包括所述目标页面中的预设范围内的位置,所述预设范围含有所述目标页面的中心点。
- 根据权利要求4所述的方法,其中,所述目标页面包括消息交互页面,所述将所述悬浮控件中当前展示的第一媒体内容,作为所述目标页面的背景进行展示,包括:将所述目标页面的背景替换为所述悬浮控件中当前展示的第一媒体内容,以使所述消息交互页面的页面内容显示于所述第一媒体内容的上层,其中,所述页面内容包括消息内容和所述消息内容的关联内容中至少之一。
- 根据权利要求4所述的方法,其中,在所述将所述悬浮控件中当前展示的第一媒体内容,作为所述目标页面的背景进行展示,并取消所述悬浮控件的显示之后,包括:响应于所述用户作用于所述目标页面的第一预设操作,切换至隐藏状态播放模式以展示所述第一媒体内容,其中,在所述隐藏状态播放模式下,隐藏所述背景播放模式中显示于所述第一媒体内容上层的页面内容。
- 根据权利要求9所述的方法,其中,在所述切换至隐藏状态播放模式 以展示所述第一媒体内容之后,还包括:响应于所述用户作用于所述目标页面的第二预设操作,切换所述目标页面中当前展示的媒体内容。
- 根据权利要求9所述的方法,其中,在所述切换至隐藏状态播放模式以展示所述第一媒体内容之后,还包括:在所述目标页面中显示预设控件;其中,所述预设控件设置为执行以下至少一项:对所述目标页面中展示的媒体内容进行控制;针对所述目标页面中展示的媒体内容进行交互;以及,触发所述悬浮控件的显示并将所述目标页面中展示的媒体内容切换至所述悬浮控件中进行展示。
- 根据权利要求4-11任一所述的方法,其中,所述将所述悬浮控件中当前展示的第一媒体内容,作为所述目标页面的背景进行展示,并取消所述悬浮控件的显示,包括:将画布切换组件从所述悬浮控件中解绑,并将所述画布切换组件绑定至所述目标页面的背景视图上,其中,所述画布切换组件中包含多个画布,所述画布配置有媒体播放器,所述媒体播放器设置为播放所述悬浮控件中当前展示的第一媒体内容;从预设数据库中获取所述第一媒体内容的关联信息,基于所述关联信息在所述背景视图中基于所述画布切换组件继续展示所述第一媒体内容,并取消所述悬浮控件的显示,其中,所述关联信息包括媒体标识、播放进度和播放状态中的至少一种。
- 根据权利要求2所述的方法,其中,所述当前操作类型为第二操作类型,所述基于所述当前操作类型和所述当前手势操作,对所述悬浮控件进行相应的控制,包括:基于所述第二操作类型和所述当前手势操作的作用方向,将所述悬浮控件 中当前展示的第二媒体内容切换为第三媒体内容,其中,所述第三媒体内容为所述媒体流中所述第二媒体内容的上一个媒体内容或下一个媒体内容。
- 根据权利要求13所述的方法,其中,所述悬浮控件中绑定有画布切换组件,所述画布切换组件中包含多个画布,所述画布配置有媒体播放器,所述媒体播放器设置为播放对应画布中加载的媒体内容,以实现在所述悬浮控件中展示媒体内容;其中,所述基于所述第二操作类型和所述当前手势操作的作用方向,将所述悬浮控件中当前展示的第二媒体内容切换为第三媒体内容,包括:基于所述第二操作类型,将所述当前手势操作传递至所述画布切换组件,以使所述画布切换组件根据所述当前手势操作的作用方向以及所述悬浮控件中当前展示的第二媒体内容的第一内容标识,确定待切换的第三媒体内容的第二内容标识;通过所述画布切换组件向多个画布广播所述第二内容标识,以使与所述第二内容标识相匹配的画布通过对应的媒体播放器播放所述第二媒体内容。
- 一种内容展示装置,包括:悬浮控件显示模块(601),设置为在目标页面中显示悬浮控件,并在所述悬浮控件中展示媒体流;手势操作检测模块(602),设置为响应于检测到用户触摸所述悬浮控件,确定触摸位置,并检测以所述触摸位置为起点的当前手势操作;悬浮控件控制模块(603),设置为根据所述触摸位置在所述悬浮控件中所处的目标区域,确定所检测到的当前手势操作的当前操作类型,并基于所述当前操作类型和所述当前手势操作,对所述悬浮控件进行相应的控制,其中,不同操作类型对应所述悬浮控件中的不同区域。
- 根据权利要求15所述的装置,其中,包括:用于执行如权利要求2-14任一项所述的方法的模块。
- 一种电子设备,包括:至少一个处理器;存储装置,设置为存储至少一个程序,当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如权利要求1-14中任一所述的内容展示方法。
- 一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时执行如权利要求1-14中任一所述的内容展示方法。
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2024574662A JP2025522504A (ja) | 2022-08-19 | 2023-08-16 | コンテンツ表示方法、装置、機器、記憶媒体及びプログラム |
| EP23854463.9A EP4524733A4 (en) | 2022-08-19 | 2023-08-16 | CONTENT DISPLAY METHOD AND APPARATUS, AND STORAGE DEVICE AND MEDIUM |
| US18/991,251 US20250123693A1 (en) | 2022-08-19 | 2024-12-20 | Content display method and apparatus, and device and storage medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210999813.0 | 2022-08-19 | ||
| CN202210999813.0A CN115269105A (zh) | 2022-08-19 | 2022-08-19 | 内容展示方法、装置、设备及存储介质 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US18/991,251 Continuation US20250123693A1 (en) | 2022-08-19 | 2024-12-20 | Content display method and apparatus, and device and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024037563A1 true WO2024037563A1 (zh) | 2024-02-22 |
Family
ID=83753750
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/113323 Ceased WO2024037563A1 (zh) | 2022-08-19 | 2023-08-16 | 内容展示方法、装置、设备及存储介质 |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US20250123693A1 (zh) |
| EP (1) | EP4524733A4 (zh) |
| JP (1) | JP2025522504A (zh) |
| CN (1) | CN115269105A (zh) |
| WO (1) | WO2024037563A1 (zh) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115269105A (zh) * | 2022-08-19 | 2022-11-01 | 北京字跳网络技术有限公司 | 内容展示方法、装置、设备及存储介质 |
| CN116360655A (zh) * | 2023-04-04 | 2023-06-30 | 北京字跳网络技术有限公司 | 内容展示方法、装置、设备、计算机可读存储介质及产品 |
| CN116627562B (zh) * | 2023-05-15 | 2024-07-19 | 重庆赛力斯凤凰智创科技有限公司 | 悬浮窗口的切换方法、装置、电子设备及计算机可读存储介质 |
| CN119854558B (zh) * | 2024-08-30 | 2025-10-28 | 聚好看科技股份有限公司 | 一种显示设备及推荐媒资显示方法 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2016023319A1 (zh) * | 2014-08-12 | 2016-02-18 | 广州华多网络科技有限公司 | 控制多媒体播放器的方法、装置及终端 |
| CN106980441A (zh) * | 2017-03-29 | 2017-07-25 | 杭州弗凡科技有限公司 | 车载导航终端的悬浮窗口交互方法及车载导航终端 |
| US20210149535A1 (en) * | 2019-11-20 | 2021-05-20 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and device for displaying interface of multimedia information application, user equipment, and storage medium |
| CN113126839A (zh) * | 2021-03-16 | 2021-07-16 | 北京达佳互联信息技术有限公司 | 一种对象播放方法、装置、电子设备及存储介质 |
| CN115269105A (zh) * | 2022-08-19 | 2022-11-01 | 北京字跳网络技术有限公司 | 内容展示方法、装置、设备及存储介质 |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6262724B1 (en) * | 1999-04-15 | 2001-07-17 | Apple Computer, Inc. | User interface for presenting media information |
| KR102057629B1 (ko) * | 2013-02-19 | 2020-01-22 | 엘지전자 주식회사 | 이동 단말기 및 이동 단말기의 제어 방법 |
| CN105554553B (zh) * | 2015-12-15 | 2019-02-15 | 腾讯科技(深圳)有限公司 | 通过悬浮窗口播放视频的方法及装置 |
| CN105867762A (zh) * | 2015-12-31 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | 播放中视频的显示方法及装置 |
| US10397632B2 (en) * | 2016-02-16 | 2019-08-27 | Google Llc | Touch gesture control of video playback |
| CN108228020B (zh) * | 2016-12-12 | 2021-09-07 | 腾讯科技(深圳)有限公司 | 一种信息处理方法及终端 |
| CN108089786B (zh) * | 2017-12-14 | 2019-12-31 | Oppo广东移动通信有限公司 | 用户界面显示方法、装置、设备及存储介质 |
| AU2018415397B2 (en) * | 2018-03-28 | 2022-04-21 | Huawei Technologies Co., Ltd. | Video preview method and electronic device |
| CN109445572B (zh) * | 2018-09-10 | 2023-12-08 | 华为技术有限公司 | 全屏显示视频中快速调出小窗口的方法、图形用户接口及终端 |
| CN111176506A (zh) * | 2019-12-25 | 2020-05-19 | 华为技术有限公司 | 一种屏幕显示方法及电子设备 |
| CN112346639B (zh) * | 2020-11-04 | 2023-01-10 | 北京小米移动软件有限公司 | 一种显示应用界面的方法、装置、设备及存储介质 |
| CN112584224B (zh) * | 2020-12-08 | 2024-01-02 | 北京字节跳动网络技术有限公司 | 信息显示及处理方法、装置、设备、介质 |
-
2022
- 2022-08-19 CN CN202210999813.0A patent/CN115269105A/zh active Pending
-
2023
- 2023-08-16 EP EP23854463.9A patent/EP4524733A4/en active Pending
- 2023-08-16 JP JP2024574662A patent/JP2025522504A/ja active Pending
- 2023-08-16 WO PCT/CN2023/113323 patent/WO2024037563A1/zh not_active Ceased
-
2024
- 2024-12-20 US US18/991,251 patent/US20250123693A1/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2016023319A1 (zh) * | 2014-08-12 | 2016-02-18 | 广州华多网络科技有限公司 | 控制多媒体播放器的方法、装置及终端 |
| CN106980441A (zh) * | 2017-03-29 | 2017-07-25 | 杭州弗凡科技有限公司 | 车载导航终端的悬浮窗口交互方法及车载导航终端 |
| US20210149535A1 (en) * | 2019-11-20 | 2021-05-20 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and device for displaying interface of multimedia information application, user equipment, and storage medium |
| CN113126839A (zh) * | 2021-03-16 | 2021-07-16 | 北京达佳互联信息技术有限公司 | 一种对象播放方法、装置、电子设备及存储介质 |
| CN115269105A (zh) * | 2022-08-19 | 2022-11-01 | 北京字跳网络技术有限公司 | 内容展示方法、装置、设备及存储介质 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4524733A4 |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4524733A4 (en) | 2025-07-30 |
| EP4524733A1 (en) | 2025-03-19 |
| CN115269105A (zh) | 2022-11-01 |
| US20250123693A1 (en) | 2025-04-17 |
| JP2025522504A (ja) | 2025-07-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7585517B2 (ja) | コントロールの表示方法、装置、電子機器および記憶媒体 | |
| JP7597314B2 (ja) | 動画共有方法、装置、機器及び媒体 | |
| WO2024037563A1 (zh) | 内容展示方法、装置、设备及存储介质 | |
| US12353704B2 (en) | Page display method and apparatus, electronic device, storage medium and program product | |
| CN114168250B (zh) | 页面显示方法、装置、电子设备和存储介质 | |
| US20250130695A1 (en) | Interaction method and apparatus, electronic device, and storage medium | |
| EP4125274A1 (en) | Method and apparatus for playing videos | |
| WO2022077994A1 (zh) | 信息处理方法、装置及介质 | |
| WO2023216936A1 (zh) | 视频播放方法、装置、电子设备、存储介质和程序产品 | |
| CN118042205A (zh) | 界面交互方法、装置、介质、电子设备及程序产品 | |
| CN114968038A (zh) | 多媒体内容显示方法、装置、设备及介质 | |
| US20250156042A1 (en) | Method and apparatus, electronic device, and storage medium for object interaction | |
| WO2024061063A1 (zh) | 通知消息的显示方法、装置、电子设备和存储介质 | |
| WO2024060942A1 (zh) | 会话列表的显示方法、装置、电子设备和存储介质 | |
| WO2023174139A1 (zh) | 作品的显示方法、装置、电子设备、存储介质和程序产品 | |
| JP7613676B2 (ja) | 作品の展示方法、装置、電子機器および記憶媒体 | |
| US12248672B2 (en) | Progress adjustment method and apparatus, electronic device and storage medium | |
| US20240411438A1 (en) | Display method and apparatus, electronic device, and storage medium | |
| JP2026500199A (ja) | プッシュ処理方法と装置、機器、コンピュータ可読記憶媒体及びコンピュータプログラム | |
| CN114489457B (zh) | 虚拟对象的控制方法、装置、可读介质和电子设备 | |
| US20230289051A1 (en) | Interacting method and apparatus, device and medium | |
| CN113342440A (zh) | 一种拼屏方法、装置、电子设备和存储介质 | |
| CN111294656A (zh) | 用于调节视频播放的方法、装置和电子设备 | |
| US20240106928A1 (en) | Media content sharing method, apparatus, electronic device and storage medium | |
| WO2024051601A1 (zh) | 多媒体组件触发方法、装置、电子设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23854463 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2023854463 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 2023854463 Country of ref document: EP Effective date: 20241211 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2024574662 Country of ref document: JP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |