WO2024078486A1 - 内容展示方法、装置、设备及存储介质 - Google Patents

内容展示方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2024078486A1
WO2024078486A1 PCT/CN2023/123752 CN2023123752W WO2024078486A1 WO 2024078486 A1 WO2024078486 A1 WO 2024078486A1 CN 2023123752 W CN2023123752 W CN 2023123752W WO 2024078486 A1 WO2024078486 A1 WO 2024078486A1
Authority
WO
WIPO (PCT)
Prior art keywords
display mode
target
target page
user
media content
Prior art date
Application number
PCT/CN2023/123752
Other languages
English (en)
French (fr)
Inventor
周子君
Original Assignee
北京字跳网络技术有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2024078486A1 publication Critical patent/WO2024078486A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets

Definitions

  • the present disclosure relates to the field of computer technology, for example, to a content display method, device, equipment and storage medium.
  • the present disclosure provides a content display method, apparatus, storage medium and device, which can optimize the display scheme of shared media content.
  • the present disclosure provides a content display method, comprising:
  • Target page Displaying a target page in a first display mode, and displaying target shared media content in a first manner in the target page, wherein the target page is used to display shared media content in a shared media stream, and the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user;
  • a current display mode of the target page is a second display mode, wherein the second display mode is different from the first display mode
  • the target shared media content is displayed in the target page in a second manner, wherein the second manner is different from the first manner.
  • the present disclosure further provides a content display device, including:
  • a first display module is configured to display a target page in a first display mode and to display target shared media content in a first manner in the target page, wherein the target page is used to display shared media content in a shared media stream, and the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user;
  • a display mode determination module configured to determine that the current display mode of the target page is a second display mode, wherein the second display mode is different from the first display mode
  • the second display module is configured to display the target shared media content in the target page in a second manner, wherein the second manner is different from the first manner.
  • the present disclosure further provides an electronic device, the electronic device comprising:
  • processors one or more processors
  • a storage device configured to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned content display method.
  • the present disclosure further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute the above-mentioned content display method when executed by a computer processor.
  • the present disclosure further provides a computer program product, including a computer program carried on a non-transitory computer-readable medium, wherein the computer program contains program codes for executing the above-mentioned content display method.
  • FIG1 is a scenario architecture diagram of an application scenario applicable to a content display method provided by an embodiment of the present disclosure
  • FIG2 is a flow chart of a content display method provided by an embodiment of the present disclosure.
  • FIG3 is a schematic diagram of an interface interaction provided by an embodiment of the present disclosure.
  • FIG4 is another schematic diagram of an interface interaction provided by an embodiment of the present disclosure.
  • FIG5 is a schematic diagram of another interface interaction provided by an embodiment of the present disclosure.
  • FIG6 is a schematic diagram of another interface interaction provided by an embodiment of the present disclosure.
  • FIG7 is a schematic diagram of another interface interaction provided by an embodiment of the present disclosure.
  • FIG8 is a flow chart of another content display method provided by an embodiment of the present disclosure.
  • FIG9 is a schematic diagram of another interface interaction provided by an embodiment of the present disclosure.
  • FIG10 is a schematic diagram of the structure of a content display device provided by an embodiment of the present disclosure.
  • FIG. 11 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure.
  • the term “including” and its variations are open inclusions, i.e., “comprising”.
  • 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”; the term “some embodiments” means “at least some embodiments”.
  • the relevant definitions of other terms will be given in the following description.
  • the types, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
  • a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information.
  • the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
  • the prompt information in response to receiving an active request from the user, may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form.
  • the pop-up window may also carry a selection control for the user to choose "agree” or “disagree” to provide personal information to the electronic device.
  • the data involved in this technical solution shall comply with the requirements of relevant laws, regulations and relevant provisions.
  • FIG1 is a scenario architecture diagram of an application scenario applicable to a content display method provided by an embodiment of the present disclosure.
  • the application scenario may include a server 100, a first electronic device 101, and a second electronic device 102.
  • the number of electronic devices may be greater, and the number of electronic devices is not limited.
  • FIG1 is only used as a schematic illustration. Multiple electronic devices establish communication connections with the server to achieve information exchange.
  • the electronic device may be a mobile device such as a mobile phone, a smart watch, a tablet computer, and a personal digital assistant; it may also be other devices such as a desktop computer. Users of the electronic device can make real-time calls, share content, and interact with messages through preset applications installed on the electronic device.
  • Content sharing may include media stream sharing (hereinafter referred to as shared interaction).
  • the server can provide support for preset applications.
  • preset applications when multiple users perform shared interaction, each user can control the shared media stream, such as switching videos.
  • the type of preset application is not limited. For example, it can be a video application, a live broadcast application, an information application, etc., and it can also be other types of applications.
  • Figure 2 is a flow chart of a content display method provided by an embodiment of the present disclosure.
  • the embodiment of the present disclosure is applicable to the scenario of content display.
  • the method can be executed by a content display device, which can be implemented in the form of software and/or hardware, for example, by an electronic device, which can be an electronic device used by any user participating in the shared interaction.
  • the method includes:
  • Step 201 display a target page in a first display mode, and display target shared media content in a first manner in the target page, wherein the target page is used to display shared media content in a shared media stream, and the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user.
  • two or more users can be supported to share a media stream in real time.
  • the first user is the user who is currently using a preset application, that is, the local user. It can be understood that the account currently logged in in the preset application is the account of the first user.
  • the second user can be a user who participates in the same media stream sharing with the first user, that is, the opposite user.
  • the number of second users can be one or more, and there is no limit on the number of second users.
  • the target page can be a page in the preset application for displaying the shared media content in the shared media stream. For each user participating in the shared interaction, the shared media stream can be viewed through the electronic device used by the user.
  • the source of the shared media stream is not limited, and the shared media content contained in the shared media stream may include images, graphics, or videos.
  • the target page may have a variety of display modes, and the display modes may be divided according to the page form, for example, including a horizontal display mode, a vertical display mode, or a floating display mode.
  • the horizontal display mode may be a horizontal maximized display mode, in which the target page may occupy the display interface of a preset application. If the preset application is in full-screen operation in the electronic device, the target page may occupy the screen of the electronic device.
  • the width of the target page is greater than the height of the target page.
  • the display mode may also be divided according to the type of shared media content displayed by the target page.
  • image content it may include a single display mode and a multiple display mode; for graphic content, it may include a mixed graphic mode and a graphic separation mode; for video content, such as a live stream, it may include a bullet screen display mode and a non-bullet screen display mode.
  • the display mode can also be divided according to a variety of factors, such as the page format and the type of shared media content. Taking live streaming as an example, it can include horizontal screen barrage display mode, vertical screen barrage display mode, horizontal screen no barrage display mode, and vertical screen no barrage display mode, etc.
  • the display modes of the target page displayed on the local side may be independent of each other, that is, the display mode of the target page displayed on the local side may be the same as or different from the display mode of the target page displayed on other user sides.
  • the display mode of the target page on the first user side is the horizontal display mode; the display mode of the target page on the second user side may be the vertical display mode or the horizontal display mode.
  • the way of displaying the shared media content may be different, and the differences may be reflected in, for example, the screen direction, font size, and whether to display the associated information, associated controls or associated display area of the shared media content.
  • the first display mode may be the current display mode of the target page, which may be any of the above display modes, and the first mode may be the display mode corresponding to the first display mode.
  • the target shared media content may be any shared media content currently required to be displayed in the target page.
  • Step 202 Determine that the current display mode of the target page is a second display mode, wherein the second display mode is different from the first display mode.
  • the display mode of the target page can support switching, and the display mode can be detected at a preset frequency or in real time, or a display mode switching event can be detected to determine the current display mode of the target page. Assuming that the current display mode of the target page is determined to be a second display mode different from the first display mode, it can be determined that the current display mode of the target page has changed.
  • Step 203 Display the target shared media content in the target page in a second manner, wherein the second manner is different from the first manner.
  • the display method of the target shared media content needs to be changed accordingly, from displaying the target shared media content in the first manner to displaying the target shared media content in a second manner different from the first manner.
  • the first mode is a portrait mode
  • the second display mode is a landscape screen display mode
  • the second mode is a landscape mode
  • the vertical mode can be that the height direction of the picture in the target shared media content is consistent with the height direction of the target page in the vertical screen display mode
  • the horizontal mode can be that the width direction of the picture in the target shared media content is consistent with the width direction of the target page in the horizontal screen display mode
  • FIG3 is a schematic diagram of an interface interaction provided by an embodiment of the present disclosure.
  • the current display mode of the target page 301 is the vertical screen display mode.
  • the width of the target page 301 is smaller than the height.
  • the target shared media content in the shared media stream is displayed in a vertical manner, such as the landscape video in the figure, and the height direction of the screen is consistent with the height direction of the target page 301, such as the vertical direction in the figure.
  • the display mode of the target page 301 is changed to the horizontal screen display mode, as shown in Figure 3, and the target page 302 is the target page whose current display mode is the horizontal screen display mode after the change.
  • the width of the target page 302 is greater than the height.
  • the target shared media content in the shared media stream is displayed in a horizontal manner, such as the landscape video in the figure, and the width direction of the screen is consistent with the width direction of the target page 302, such as the horizontal direction in the figure.
  • content related to shared interaction can also be displayed, such as the user identifications of the first user and the second user, such as the user avatars in Figure 3, and can also include a sharing invitation control in the lower left corner, and an expression control, a volume adjustment control, and a microphone control in the lower right corner.
  • the content display method of the disclosed embodiment displays a target page in a first display mode, and displays target shared media content in the target page in a first manner, wherein the target page is used to display shared media content in a shared media stream, and the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, determines that the current display mode of the target page is a second display mode, and displays the target shared media content in the target page in a second manner.
  • the target page used to display the shared media content has the ability to switch the display mode, thereby allowing the first user to view the shared media content displayed in different ways, thereby enriching the display form of the shared media content.
  • the second display mode includes a horizontal display mode
  • the second mode includes a transverse mode
  • the method before determining that the current display mode of the target page is the horizontal display mode, the method further includes: in response to the horizontal display mode being triggered, switching the current display mode of the target page from the first display mode to the horizontal display mode.
  • the first display mode may include modes other than the horizontal display mode, such as a vertical display mode or a floating display mode.
  • the horizontal screen display mode of the target page can be triggered by the operation of the first user, for example, the horizontal screen switching control corresponding to the horizontal screen display mode is displayed, and in response to the first trigger operation input by the first user for the horizontal screen switching control, the current display mode of the target page is switched from the first display mode to the horizontal screen display mode; the horizontal screen display mode of the target page can also be automatically triggered when it is detected that a preset horizontal screen display condition is met.
  • an automatic flip function can be provided in a preset application. After the first user turns on the automatic flip function, when it is detected that the preset horizontal screen display condition is met, the target page is triggered to enter the horizontal screen display mode.
  • the preset horizontal screen display condition for example, can be detecting that the first user is holding the electronic device horizontally.
  • the first trigger operation can, for example, be a click operation or a long press operation.
  • the method may further include: in response to the first display mode being triggered, switching the target page to the horizontal screen display mode; The current display mode of the target page is switched from the horizontal display mode to the first display mode.
  • a return control is displayed in the target page in the horizontal display mode, and after the user clicks the return control, the display mode can be switched back to the first display mode.
  • switching the current display mode of the target page from the first display mode to the horizontal screen display mode includes: if the target shared media content is a preset type of media content, displaying a horizontal screen switching control corresponding to the horizontal screen display mode, wherein the preset type of media content supports horizontal screen display; in response to a first trigger operation input by the first user for the horizontal screen switching control, switching the current display mode of the target page from the first display mode to the horizontal screen display mode.
  • the advantage of such a setting is that the horizontal screen switching control can be automatically displayed when the currently displayed shared media content supports horizontal screen display, so that the user can quickly switch the horizontal display mode.
  • the preset type of media content may include horizontal media content, and the horizontal media content may be the media content whose display width of the included screen is greater than the display height, and the vertical media content may be the media content whose display width of the included screen is less than the display height.
  • the preset type of media content may also include media content that supports switching to horizontal media content, wherein the switching method may include adjusting the display ratio of the screen, etc.
  • the publisher of shared media content may publish a horizontal version and a vertical version of the same theme of media content, so that the server can obtain the corresponding version of the media content for display according to the actual display mode.
  • the horizontal screen switching control may be, for example, a "full screen play" button or a "horizontal screen play” button, etc.
  • the first trigger operation may be, for example, a click operation.
  • FIG4 is another interface interaction schematic diagram provided by an embodiment of the present disclosure.
  • the target page 401 in the portrait display mode is playing a vertical media content (such as the clown video in the figure).
  • the horizontal screen switching control may not be displayed.
  • the horizontal media content such as the landscape video in the figure
  • the landscape video supports horizontal screen playback, and the horizontal screen switching control 402 may be displayed.
  • the target page 401 in the portrait display mode is switched to the target page 403 in the horizontal screen display mode, and the landscape video is displayed in a horizontal manner in the target page 403 in the horizontal screen display mode.
  • the second display mode includes a horizontal screen display mode
  • the second mode includes a transverse mode
  • after the target shared media content is displayed in the horizontal mode in the target page the method further includes: in response to the floating display mode being triggered, switching the current display mode of the target page from the horizontal screen display mode to the transverse display mode; and continuing to display the target shared media content in the horizontal mode in the target page displayed in the form of a transverse floating control.
  • the floating control can be a view element, and the properties of the floating control, such as shape, color, transparency, and display position, can be set according to actual needs.
  • the floating control can be in the form of a floating box.
  • a horizontal floating control may be a floating control whose width is greater than its height. At least one border or at least two borders of a horizontal floating control overlap with the interface boundary of a preset application. For example, three borders of a horizontal floating control overlap with the interface boundary of a preset application.
  • the method of triggering the floating display mode may be to trigger a floating switching control.
  • the method may further include: displaying a preset page.
  • the size of the horizontal floating control is smaller than the interface size of the preset application, and the preset page can be displayed in the preset application, and the horizontal floating control is displayed on the upper layer of the preset page.
  • the preset page can be any page other than the target page, such as a message page, a video call page, or a personal media stream page, wherein the personal media stream page can be used to display the media stream corresponding to the first user, and the media stream corresponding to the first user can be a media stream pushed to the first user.
  • the method further includes: displaying the preset page in the vertical display mode.
  • the advantage of such a setting is that the vertical viewing requirement of the user when viewing the preset page is met.
  • FIG5 is another interface interaction diagram provided by an embodiment of the present disclosure.
  • the target page 501 is currently in the horizontal screen display mode. After the first user clicks the floating switch button 502, the target page 501 switches to the floating display mode, and the target page 503 is displayed in the form of a horizontal floating control, and the landscape video continues to be displayed in a horizontal manner.
  • a preset page 504 is displayed in the preset application, and the preset page 504 can be a personal media stream page corresponding to the first user.
  • the second display mode includes a horizontal display mode
  • the second mode includes a transverse mode
  • after displaying the target shared media content in the horizontal mode in the target page it further includes: in response to a second trigger operation input by the first user for the session interaction control corresponding to the shared interaction, switching the current display mode of the target page from the horizontal display mode to the suspended display mode; displaying the session interaction page corresponding to the shared interaction; and continuing to display the target shared media content in the target page displayed in the form of a suspended control.
  • the session interaction page may include a session information viewing page, and may also include a session information input page, etc., in which an input control may be displayed, such as an input panel or a virtual keyboard, etc.
  • the second trigger operation may be, for example, a click operation or a long press operation.
  • displaying the session interaction page corresponding to the shared interaction includes: displaying the session interaction page corresponding to the shared interaction in a vertical screen display mode; wherein, in the target page displayed in the form of a floating control, continuing to display the target shared media content includes: in the target page displayed in the form of a horizontal floating control, continuing to display the target shared media content in a horizontal manner; The target shared media content.
  • the method further includes: receiving first session information input by the first user based on the session interaction page.
  • FIG6 is another interface interaction diagram provided by an embodiment of the present disclosure.
  • the target page 601 is currently in a horizontal display mode. After the first user clicks the session interaction control 602, the target page 601 switches to a floating display mode, and a target page 603 is displayed in the form of a horizontal floating control, and the landscape video continues to be displayed in a horizontal manner.
  • a session interaction page 604 is displayed in a preset application, and the first user can view the session information record between himself and the second user in the shared interaction. If the first user wants to send session information, the session input control 605 can be triggered, and an input panel pops up for input.
  • An input control may also be automatically displayed after the conversation interaction page is displayed, so as to facilitate the first user to input a conversation message.
  • the second display mode includes a horizontal display mode
  • the second mode includes a transverse mode
  • the method further includes: in response to a preset operation input by the first user, implementing a first preset function on the target page, wherein the preset operation is used to implement a second preset function when the target page is in a vertical display mode.
  • the preset operation may be a trigger operation of the user ID.
  • the preset operation may be used to send a conversation message to the second user corresponding to the triggered user ID.
  • the preset operation may be used to switch to the video call screen of the second user corresponding to the triggered user ID.
  • implementing the first preset function on the target page includes: in response to the preset switching operation input by the first user, switching the current display mode of the target page from the landscape display mode to the portrait display mode, wherein the preset switching operation is used to switch the shared media content displayed on the target page when the target page is in the portrait display mode.
  • the shared media content can be switched by sliding, such as sliding up to switch to the next shared media content, sliding down to switch to the previous shared media content.
  • the target page can be switched to the vertical screen display mode.
  • the target shared media content includes a live stream in a live broadcast room
  • the second display mode includes a bullet screen display mode
  • displaying the target shared media content in the target page in a second manner includes: displaying the target shared media content and a bullet screen information area corresponding to the target shared media content in the target page.
  • the barrage display mode may include a vertical barrage display mode and a horizontal barrage display mode.
  • the barrage information area may be an area for displaying barrage information.
  • the barrage information may be a real-time message posted by an audience user in the live broadcast room, and may also be referred to as comment information or speech information.
  • the first display mode is a horizontal screen without barrage display mode
  • the second display mode is a horizontal screen barrage display mode; when the first display mode is a vertical screen without barrage display mode, the second display mode is a vertical screen barrage display mode.
  • the target shared media content and the bullet-screen information area corresponding to the target shared media content in the target page after displaying the target shared media content and the bullet-screen information area corresponding to the target shared media content in the target page, it also includes: receiving a first target message input by the first user, wherein the first target message includes a conversation message for the participating users of the shared interaction to view; and/or, receiving a second target message input by the first user, wherein the second target message includes bullet-screen information for the audience in the live broadcast room to view.
  • the advantage of such a setting is that it allows the first user to input messages for different types of users to view.
  • the users participating in the shared interaction include the first user and the second user; the audience in the live broadcast room includes the first user, the second user, and the audience users in the live broadcast room who do not participate in the shared interaction.
  • the first user may use different input methods to input the first target message and the second target message, so as to clarify the viewable users of the target message to be sent.
  • the difference between different input methods may be reflected in different input entrances or different sending controls for confirming sending.
  • the method further includes: in response to a bullet screen hiding operation input by the first user, canceling the display of the bullet screen information area.
  • canceling the display of the bullet screen information area includes: in response to the first user inputting a third trigger operation for a preset area in the target page, canceling the display of the bullet screen information area, wherein the preset area and the bullet screen information area do not have an intersection.
  • the advantage of such a setting is that the bullet screen area hiding operation is improved.
  • the third trigger operation may be, for example, a click operation or a long press operation.
  • FIG. 7 is a schematic diagram of another interface interaction provided by an embodiment of the present disclosure, in which the target page 701 is currently in a vertical screen display mode, and is displaying a live stream in a live broadcast room, while displaying a bullet screen information area 702. Assume that the first user clicks on a preset area outside the bullet screen information area 702 to cancel the display of the bullet screen information area.
  • the method further includes: in response to a fourth trigger operation input by the first user for a bullet screen publishing control, displaying a preset input control in the target page; and receiving the first bullet screen information input by the first user based on the preset input control.
  • the barrage publishing control can be a "send barrage" button
  • the fourth trigger operation can be, for example, a click operation or a long press operation
  • the user can trigger the display of a preset input control by clicking the barrage publishing control.
  • the preset input control can be, for example, an input panel or a virtual keyboard, and the user can input the barrage content he wants to publish through the preset input control.
  • Displaying a preset input control in the target page includes: switching a current display mode of the target page from the horizontal display mode to the vertical display mode, and displaying the preset input control in the target page in the vertical display mode.
  • the target shared media content and the barrage information area corresponding to the target shared media content in the target page after displaying the target shared media content and the barrage information area corresponding to the target shared media content in the target page, it also includes: in response to receiving the second barrage information posted by the second user, displaying the second barrage information in the barrage information area in a first preset display mode, wherein the third barrage information in the barrage information area is displayed in a second preset display mode, and the third barrage information is posted by a third user in the live broadcast room who does not participate in the shared interaction, and the first preset display mode is different from the second preset display mode.
  • the advantage of such a setting is that the barrage posted by ordinary viewers in the live broadcast room and the barrage posted by users participating in the shared interaction can be displayed differently, so that the first user can quickly find the barrage information posted by the second user, thereby improving the live broadcast shared interaction effect.
  • the difference between the first preset display mode and the second preset display mode may include, for example, different display positions, different display sizes, different display styles, etc.
  • the different styles may include, for example, different user logos, different barrage information fonts or colors, etc.
  • the method further includes: in response to the publishing operation of the first bullet screen information, displaying the first bullet screen information in the bullet screen information area in a first preset display mode.
  • the display mode of the bullet screen information published by the first user may also be different from the display mode of the bullet screen information published by ordinary viewers.
  • Displaying the first barrage information in the barrage information area in a first preset display mode includes: switching the current display mode of the target page from the vertical screen display mode to the horizontal screen display mode, and displaying the first barrage information in the first preset display mode in the barrage information area in the target page in the horizontal screen display mode.
  • the method further includes: in response to receiving the second session information based on the shared interaction sent by the second user, displaying the second session information in the target associated area of the user ID corresponding to the second user in the target page, wherein the target associated area is different from the bullet message information area.
  • the method further includes: in response to the sending operation of the first session information, displaying the first session information in a target associated area of the user identifier corresponding to the first user in the target page.
  • FIG8 is a flow chart of another content display method provided by an embodiment of the present disclosure.
  • the present disclosure embodiment is described based on the solution in the above embodiment, and the method includes the following steps:
  • Step 801 Display a target page in a vertical screen display mode, and display target shared media content in a vertical manner on the target page.
  • the vertical screen display mode is the first display mode, and the vertical mode is the first mode.
  • Step 802 If the target shared media content currently being displayed is a live stream in a live broadcast room that supports horizontal screen display, the bullet screen information area corresponding to the live stream is displayed, and the horizontal screen switching control corresponding to the horizontal screen display mode is displayed.
  • FIG9 is a schematic diagram of another interface interaction provided by an embodiment of the present disclosure.
  • a live stream is displayed in a target page 901 in a vertical screen display mode, and a bullet message area 902 corresponding to the live stream is displayed.
  • a horizontal screen switching control 903 corresponding to the horizontal screen display mode is displayed.
  • user identifiers of users participating in the shared interaction such as avatars of the first user and the second user, can also be displayed in the target page.
  • Step 803 In response to a trigger operation input by the first user for the horizontal screen switching control, the current display mode of the target page is switched from the preset display mode to the horizontal screen display mode.
  • the target page switches to the horizontal screen display mode.
  • Step 804 Determine that the current display mode of the target page is the horizontal screen display mode, and display the live stream in the horizontal manner on the target page.
  • the horizontal screen display mode is the second display mode, and the horizontal mode is the second mode.
  • the live stream is displayed in a horizontal manner on the target page, and the bullet screen information area continues to be displayed on the target page.
  • Step 805 In response to a trigger operation input by the first user to a bullet-screen publishing control, a preset input control is displayed in the target page, and first bullet-screen information input by the first user is received based on the preset input control.
  • the target page can be switched to a vertical screen display mode and a preset input control 905 can be displayed.
  • the preset input control can also be displayed while maintaining the horizontal screen display mode of the target page.
  • the first bullet-screen information input by the first user is received based on the preset input control 905, such as “XX” in the figure.
  • Step 806 In response to the publishing operation of the first bullet screen information, the first bullet screen information is displayed in the bullet screen information area in a first preset display mode.
  • the second preset display mode of the third barrage information released by the third user in the live broadcast room in the barrage information area is different from the first preset display mode.
  • the first bullet screen information 906 is displayed in the bullet screen information area in the first preset display mode.
  • the first bullet screen information 906 corresponds to the display of the first user's avatar, and the first bullet screen information is displayed with a border, so that the first user can quickly find the bullet screen information he has published.
  • the display mode of the first bullet screen information is also the first preset display mode.
  • Step 807 In response to receiving the second bullet screen information posted by the second user, display the second bullet screen information in the bullet screen information area in a first preset display mode.
  • the second barrage information 907 is displayed in the barrage information area in the first preset display mode, that is, the avatar of the second user is displayed correspondingly, and the second barrage information is displayed with a border, so that the first user can quickly find the barrage information posted by the second user.
  • Step 808 In response to a trigger operation input by the first user for the session interaction control corresponding to the shared interaction, the current display mode of the target page is switched from the horizontal screen display mode to the floating display mode.
  • Step 809 Display the conversation interaction page corresponding to the shared interaction in a vertical screen display mode, and continue to display the live stream in a horizontal manner in the target page displayed in the form of a horizontal floating control.
  • Step 810 receiving first session information input by a first user based on the session interaction page, and displaying the first session information in a first target associated area of a first user identifier in a target page in response to a sending operation of the first session information.
  • the interface interaction method for the first user to input the first conversation information is similar to Figure 6, and reference may be made to Figure 6.
  • the first user identifier is the user identifier corresponding to the first user, and the first target association area is different from the bullet message area.
  • the first conversation information 908 is displayed in the form of a bubble below the first user identifier.
  • Step 811 In response to receiving second session information based on shared interaction sent by a second user, display the second session information in a second target associated area of a user identifier corresponding to the second user in a target page.
  • the second user ID is a user ID corresponding to the second user, and the second target associated area is different from the bullet message area.
  • the second session information 909 is displayed in the form of a bubble below the second user ID. The first user can view the bullet message information and session information sent by the second user in the bullet message area and the second target associated area of the second user ID, respectively.
  • the content display method provided by the disclosed embodiment can display barrage information at the same time when sharing and interacting with the media stream, if the live stream currently being displayed is in the live broadcast room, so that the user can view more comprehensive live broadcast room related information, and provide a trigger control for the horizontal screen display mode when the live stream supports horizontal screen display, which can conveniently switch to the horizontal screen display mode for watching the shared live stream.
  • the user can also post barrage information.
  • the barrage information posted by the users participating in the shared interaction is displayed differently from the barrage information of ordinary viewers, which is convenient for searching.
  • the session interaction function is retained, and the session messages are displayed outside the barrage information area, which is convenient for users to distinguish between the barrage information and the session information.
  • FIG10 is a schematic diagram of the structure of a content display device provided by an embodiment of the present disclosure. As shown in FIG10 , the device includes:
  • the first display module 1001 is configured to display a target page in a first display mode and to display target shared media content in a first manner in the target page, wherein the target page is used to display shared media content in a shared media stream, and the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user;
  • the display mode determination module 1002 is configured to determine that the current display mode of the target page is a second display mode, wherein the second display mode is different from the first display mode;
  • the second display module 1003 is configured to display the target shared media content in a second manner in the target page, wherein the second manner is different from the first manner.
  • the content display device displays a target page in a first display mode, and displays the target shared media content in the target page in a first manner, wherein the target page is used to display the shared media content in a shared media stream, and the shared media stream includes a media stream corresponding to the shared interaction between a first user and at least one second user, determines that the current display mode of the target page is a second display mode, and displays the target shared media content in the target page in the second manner.
  • the target page for displaying the shared media content has the ability to switch the display mode, thereby enabling the first user You can view shared media content displayed in different ways, enriching the display form of shared media content.
  • the second display mode includes a horizontal screen display mode, the second mode includes a horizontal mode, and the device further includes:
  • the first switching module is configured to switch the current display mode of the target page from the first display mode to the horizontal display mode in response to the horizontal display mode being triggered before determining that the current display mode of the target page is the horizontal display mode.
  • the first switching module includes:
  • a switching control display unit is configured to display a horizontal screen switching control corresponding to the horizontal screen display mode if the target shared media content is a preset type of media content, wherein the preset type of media content supports horizontal screen display; a first switching unit is configured to switch the current display mode of the target page from the first display mode to the horizontal screen display mode in response to a first trigger operation input by the first user for the horizontal screen switching control.
  • the second display mode includes a horizontal screen display mode, the second mode includes a horizontal mode, and the device further includes:
  • the second switching module is configured to, after displaying the target shared media content in a horizontal manner in the target page, switch the current display mode of the target page from the horizontal screen display mode to the floating display mode in response to the floating display mode being triggered; the first floating display module is configured to continue to display the target shared media content in a horizontal manner in the target page displayed in the form of a horizontal floating control.
  • the device also includes:
  • the preset page display module is configured to display the preset page in the vertical display mode after the current display mode of the target page is switched from the horizontal display mode to the floating display mode in response to the floating display mode being triggered.
  • the second display mode includes a horizontal screen display mode, the second mode includes a horizontal mode, and the device further includes:
  • a third switching module is configured to, after displaying the target shared media content in a horizontal manner in the target page, switch the current display mode of the target page from the horizontal screen display mode to the floating display mode in response to a second trigger operation input by the first user for the session interaction control corresponding to the shared interaction; an interaction page display module is configured to display the session interaction page corresponding to the shared interaction; and a second floating display module is configured to continue displaying the target shared media content in the target page displayed in the form of a floating control.
  • the interactive page display module is configured to display the shared interaction corresponding to the Conversation interaction page; wherein the second floating display module is configured to: continue to display the target shared media content in a horizontal manner in the target page displayed in the form of a horizontal floating control.
  • the device also includes:
  • the first session information receiving module is configured to, after displaying the session interaction page corresponding to the shared interaction, further include: receiving the first session information input by the first user based on the session interaction page.
  • the second display mode includes a horizontal screen display mode, the second mode includes a horizontal mode, and the device further includes:
  • the preset function implementation module is configured to implement a first preset function on the target page in response to a preset operation input by the first user after the target shared media content is displayed in a horizontal manner on the target page, wherein the preset operation is used to implement a second preset function when the target page is in a vertical screen display mode.
  • the preset function implementation module is set to:
  • the current display mode of the target page is switched from the horizontal display mode to the vertical display mode, wherein the preset switching operation is used to switch the shared media content displayed in the target page when the target page is in the vertical display mode.
  • the target shared media content includes a live stream in a live broadcast room, and the second display mode includes a bullet screen display mode; wherein the second display module is configured as:
  • the target shared media content and a bullet screen information area corresponding to the target shared media content are displayed in the target page.
  • the device also includes a first receiving module and/or a second receiving module:
  • the first receiving module is configured to receive a first target message input by the first user after the target shared media content and the barrage information area corresponding to the target shared media content are displayed in the target page, wherein the first target message includes a session message for viewing by users participating in the shared interaction;
  • the second receiving module is configured to receive a second target message input by the first user after the target shared media content and the barrage information area corresponding to the target shared media content are displayed in the target page, wherein the second target message includes barrage information for viewing by viewers in the live broadcast room.
  • the device also includes:
  • the bullet screen canceling display module is configured to, after displaying the target shared media content and the bullet screen information area corresponding to the target shared media content in the target page, cancel the display of the bullet screen in response to the first user input.
  • the barrage hiding operation entered will cancel the display of the barrage information area.
  • the bullet screen cancellation display module is set to:
  • the device also includes:
  • An input control display module is configured to display the target shared media content and the barrage information area corresponding to the target shared media content in the target page, and then, in response to a fourth trigger operation input by the first user for the barrage publishing control, display a preset input control in the target page; a first barrage information receiving module is configured to receive the first barrage information input by the first user based on the preset input control.
  • the device also includes:
  • the second barrage information display module is configured to display the target shared media content and the barrage information area corresponding to the target shared media content in the target page, and then, in response to receiving the second barrage information posted by the second user, display the second barrage information in the barrage information area in a first preset display mode, wherein the third barrage information in the barrage information area is displayed in a second preset display mode, and the third barrage information is posted by a third user in the live broadcast room who does not participate in the shared interaction, and the first preset display mode is different from the second preset display mode.
  • the device also includes:
  • the second session information display module is configured to display the second session information in a target associated area of a user identifier corresponding to the second user in the target page in response to receiving the second session information based on the shared interaction sent by the second user, wherein the target associated area is different from the barrage information area.
  • the content display device provided in the embodiments of the present disclosure can execute the content display method provided in any embodiment of the present disclosure, and has functional modules and effects corresponding to the execution method.
  • the multiple units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be realized; in addition, the names of multiple functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
  • FIG11 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Referring to FIG11 below, it shows a schematic diagram of the structure of an electronic device (e.g., a terminal device or server in FIG11) 1100 suitable for implementing an embodiment of the present disclosure.
  • the terminal device in the embodiment of the present disclosure may include, for example, a mobile phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA), Tablet computers (Portable Android Device, PAD), portable multimedia players (Portable Media Player, PMP), vehicle terminals (such as vehicle navigation terminals) and other mobile terminals and digital televisions (Television, TV), desktop computers and other fixed terminals.
  • PDA personal digital assistant
  • PMP portable multimedia players
  • vehicle terminals such as vehicle navigation terminals
  • digital televisions Television, TV
  • the electronic device 1100 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage device 1108 to a random access memory (RAM) 1103.
  • a processing device e.g., a central processing unit, a graphics processing unit, etc.
  • RAM random access memory
  • various programs and data required for the operation of the electronic device 1100 are also stored.
  • the processing device 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104.
  • An input/output (I/O) interface 1105 is also connected to the bus 1104.
  • the following devices may be connected to the I/O interface 1105: input devices 1106 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 1107 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1108 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1109.
  • the communication device 1109 may allow the electronic device 1100 to communicate with other devices wirelessly or by wire to exchange data.
  • FIG. 11 shows an electronic device 1100 having a variety of devices, it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
  • an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program can be downloaded and installed from the network through the communication device 1109, or installed from the storage device 1108, or installed from the ROM 1102.
  • the processing device 1101 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the electronic device provided by the embodiment of the present disclosure and the content display method provided by the above embodiment belong to the same concept.
  • the technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same effect as the above embodiment.
  • the embodiments of the present disclosure provide a computer storage medium on which a computer program is stored.
  • the program is executed by a processor, the content display method provided by the above embodiments is implemented.
  • the computer-readable 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, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above.
  • Examples of computer-readable storage media may include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a RAM, a ROM, an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device or device.
  • a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including electromagnetic signals, optical signals, or any suitable combination of the above.
  • Computer readable signal media may also be any computer readable medium other than computer readable storage media, which can send, propagate or transmit programs for use by or in conjunction with an instruction execution system, apparatus or device.
  • the program code contained on the computer readable medium may be transmitted using any appropriate medium, including: wires, optical cables, radio frequency (RF), etc., or any suitable combination of the above.
  • the client and the server may communicate using any currently known or future developed network protocol such as HyperText Transfer Protocol (HTTP), and may be interconnected with any form or medium of digital data communication (e.g., a communication network).
  • HTTP HyperText Transfer Protocol
  • Examples of communication networks include a local area network (LAN), a wide area network (WAN), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
  • the computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs.
  • the electronic device displays a target page in a first display mode, and displays target shared media content in a first manner in the target page, wherein the target page is used to display shared media content in a shared media stream, and the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user; determines that the current display mode of the target page is a second display mode, wherein the second display mode is different from the first display mode; and displays the target shared media content in a second manner in the target page, wherein the second manner is different from the first manner.
  • Programmable programs for performing operations of the present disclosure may be written in one or more programming languages, or a combination thereof.
  • Computer program code the above programming language includes object-oriented programming languages such as Java, Smalltalk, C++, and also includes conventional procedural programming languages such as "C" language or similar programming languages.
  • the program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server.
  • the remote computer can be connected to the user's computer through any type of network, including a LAN or WAN, or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
  • each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function.
  • the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved.
  • each box in the block diagram and/or flow chart, and the combination of the boxes in the block diagram and/or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure may be implemented by software or hardware.
  • the name of a module does not limit the module itself in one case.
  • the second display module may also be described as "a module for displaying the target shared media content in a second manner in the target page, wherein the second manner is different from the first manner".
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specific Standard Parts
  • SOC System on Chip
  • CPLD Complex Programming Logic Device
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Examples of machine-readable storage media may include electrical connections based on one or more wires, a portable computer disk, a hard disk, RAM, ROM, EPROM or flash memory, optical fiber, CD-ROM, optical storage device, magnetic storage device, or any suitable combination of the above.
  • a content display method including:
  • Target page Displaying a target page in a first display mode, and displaying target shared media content in a first manner in the target page, wherein the target page is used to display shared media content in a shared media stream, and the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user;
  • a current display mode of the target page is a second display mode, wherein the second display mode is different from the first display mode
  • the target shared media content is displayed in the target page in a second manner, wherein the second manner is different from the first manner.
  • the second display mode includes a horizontal screen display mode
  • the second mode includes a horizontal mode.
  • the method further includes:
  • the current display mode of the target page is switched from the first display mode to the horizontal screen display mode.
  • switching the current display mode of the target page from the first display mode to the horizontal screen display mode includes:
  • the target shared media content is a preset type of media content, displaying a horizontal screen switching control corresponding to the horizontal screen display mode, wherein the preset type of media content supports horizontal screen display;
  • a current display mode of the target page is switched from the first display mode to the horizontal screen display mode.
  • the second display mode includes a horizontal screen display mode
  • the second mode includes a horizontal mode
  • the method further includes:
  • the target shared media content continues to be displayed in a horizontal manner.
  • the second display mode includes a horizontal screen display mode
  • the second mode includes a horizontal mode
  • the method further includes:
  • the target shared media content continues to be displayed.
  • the displaying the session interaction page corresponding to the shared interaction includes:
  • the step of continuing to display the target shared media content in the target page displayed in the form of a floating control includes:
  • the target shared media content continues to be displayed in a horizontal manner.
  • the method after displaying the session interaction page corresponding to the shared interaction, the method further includes:
  • First session information input by the first user is received based on the session interaction page.
  • the second display mode includes a horizontal screen display mode
  • the second mode includes a horizontal mode
  • the method further includes:
  • a first preset function is implemented on the target page, wherein the preset operation is used to implement a second preset function when the target page is in a vertical screen display mode.
  • implementing a first preset function on the target page includes:
  • the current display mode of the target page is switched from the horizontal screen display mode to the vertical screen display mode, wherein the preset switching operation is used to When the target page is in the vertical screen display mode, the shared media content displayed in the target page is switched.
  • the target shared media content includes a live stream in a live broadcast room, and the second display mode includes a bullet screen display mode;
  • the step of displaying the target shared media content in the target page in a second manner includes:
  • the target shared media content and a bullet screen information area corresponding to the target shared media content are displayed in the target page.
  • the method after displaying the target shared media content and the bullet screen information area corresponding to the target shared media content in the target page, the method further includes:
  • the first target message includes a conversation message for viewing by participating users of the shared interaction
  • the method after displaying the target shared media content and the bullet screen information area corresponding to the target shared media content in the target page, the method further includes:
  • canceling the display of the bullet screen information area includes:
  • the method after displaying the target shared media content and the bullet screen information area corresponding to the target shared media content in the target page, the method further includes:
  • the first bullet screen information input by the first user is received based on the preset input control.
  • the method after displaying the target shared media content and the bullet screen information area corresponding to the target shared media content in the target page, the method further includes:
  • the second bullet screen information is displayed in the bullet screen information area in a first preset display mode, wherein the third bullet screen information in the bullet screen information area is displayed in a second preset display mode, and the third bullet screen information is displayed by the live broadcast room.
  • a third user who does not participate in the sharing interaction publishes that the first preset display mode is different from the second preset display mode.
  • the present invention further includes:
  • the second session information is displayed in a target associated area of the user identifier corresponding to the second user in the target page, wherein the target associated area is different from the barrage information area.
  • a content display device including:
  • a first display module is configured to display a target page in a first display mode and to display target shared media content in a first manner in the target page, wherein the target page is used to display shared media content in a shared media stream, and the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user;
  • a display mode determination module configured to determine that the current display mode of the target page is a second display mode, wherein the second display mode is different from the first display mode
  • the second display module is configured to display the target shared media content in the target page in a second manner, wherein the second manner is different from the first manner.
  • an electronic device comprising:
  • processors one or more processors
  • a storage device configured to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors 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 are executed by a computer processor, they are used to execute the content display method provided by the embodiments of the present disclosure.
  • a computer program product including a computer program carried on a non-transitory computer-readable medium, wherein the computer program contains program code for executing the content presentation method provided by the embodiments of the present disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

内容展示方法、装置、设备及存储介质。该内容展示方法包括:以第一显示模式显示目标页面,并在所述目标页面中以第一方式展示目标共享媒体内容,其中,所述目标页面用于展示共享媒体流中的共享媒体内容,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流(201);确定所述目标页面当前的显示模式为第二显示模式,其中,所述第二显示模式与所述第一显示模式不同(202);在所述目标页面中以第二方式展示目标共享媒体内容,其中,所述第二方式与所述第一方式不同(203)。

Description

内容展示方法、装置、设备及存储介质
本申请要求在2022年10月10日提交中国专利局、申请号为202211234035.2的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本公开涉及计算机技术领域,例如涉及内容展示方法、装置、设备及存储介质。
背景技术
随着互联网技术和终端技术的快速发展,用户之间的交互越来越便利,多个用户之间可以共享同一媒体流内容,从而实现基于共享媒体流的共享互动。
发明内容
本公开提供了内容展示方法、装置、存储介质及设备,可以优化共享媒体内容的展示方案。
第一方面,本公开提供了内容展示方法,包括:
以第一显示模式显示目标页面,并在所述目标页面中以第一方式展示目标共享媒体内容,其中,所述目标页面用于展示共享媒体流中的共享媒体内容,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流;
确定所述目标页面当前的显示模式为第二显示模式,其中,所述第二显示模式与所述第一显示模式不同;
在所述目标页面中以第二方式展示所述目标共享媒体内容,其中,所述第二方式与所述第一方式不同。
第二方面,本公开还提供了内容展示装置,包括:
第一展示模块,设置为以第一显示模式显示目标页面,并在所述目标页面中以第一方式展示目标共享媒体内容,其中,所述目标页面用于展示共享媒体流中的共享媒体内容,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流;
显示模式确定模块,设置为确定所述目标页面当前的显示模式为第二显示模式,其中,所述第二显示模式与所述第一显示模式不同;
第二展示模块,设置为在所述目标页面中以第二方式展示所述目标共享媒体内容,其中,所述第二方式与所述第一方式不同。
第三方面,本公开还提供了一种电子设备,所述电子设备包括:
一个或多个处理器;
存储装置,设置为存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述的内容展示方法。
第四方面,本公开还提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行上述的内容展示方法。
第五方面,本公开还提供了一种计算机程序产品,包括承载在非暂态计算机可读介质上的计算机程序,所述计算机程序包含用于执行上述的内容展示方法的程序代码。
附图说明
图1为本公开实施例提供的一种内容展示方法所适用的应用场景的场景架构图;
图2为本公开实施例所提供的一种内容展示方法的流程示意图;
图3为本公开实施例所提供的一种界面交互示意图;
图4为本公开实施例所提供的另一种界面交互示意图;
图5为本公开实施例所提供的又一种界面交互示意图;
图6为本公开实施例所提供的再一种界面交互示意图;
图7为本公开实施例所提供的再一种界面交互示意图;
图8为本公开实施例所提供的又一种内容展示方法的流程示意图;
图9为本公开实施例所提供的再一种界面交互示意图;
图10为本公开实施例所提供的一种内容展示装置的结构示意图;
图11为本公开实施例所提供的一种电子设备的结构示意图。
具体实施方式
下面将参照附图描述本公开的实施例。虽然附图中显示了本公开的一些实施例,然而本公开可以通过多种形式来实现,提供这些实施例是为了理解本公开。本公开的附图及实施例仅用于示例性作用。
本公开的方法实施方式中记载的多个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
在使用本公开实施例公开的技术方案之前,均应当依据相关法律法规通过恰当的方式对本公开所涉及个人信息的类型、使用范围、使用场景等告知用户并获得用户的授权。
例如,在响应于接收到用户的主动请求时,向用户发送提示信息,以明确地提示用户,其请求执行的操作将需要获取和使用到用户的个人信息。从而,使得用户可以根据提示信息来自主地选择是否向执行本公开技术方案的操作的电子设备、应用程序、服务器或存储介质等软件或硬件提供个人信息。
作为一种实现方式,响应于接收到用户的主动请求,向用户发送提示信息的方式例如可以是弹窗的方式,弹窗中可以以文字的方式呈现提示信息。此外,弹窗中还可以承载供用户选择“同意”或者“不同意”向电子设备提供个人信息的选择控件。
上述通知和获取用户授权过程仅是示意性的,不对本公开的实现方式构成限定,其它满足相关法律法规的方式也可应用于本公开的实现方式中。
本技术方案所涉及的数据(包括数据本身、数据的获取或使用)应当遵循相应法律法规及相关规定的要求。
图1为本公开实施例所提供的一种内容展示方法所适用的应用场景的场景架构图。参考图1,该应用场景中可以包括服务器100、第一电子设备101和第二电子设备102。电子设备的数量可以更多,对电子设备的数量不做限定,图1仅作为示意性说明。多个电子设备与服务器建立通信连接,实现信息交互。所 述电子设备可以为手机、智能手表、平板电脑以及个人数字助理等移动设备;也可为台式计算机等其他设备。使用电子设备的用户之间可以通过电子设备上安装的预设应用程序进行实时通话、内容共享以及消息交互等,内容共享可包括媒体流共享(以下简称共享互动)。其中,服务器可以为预设应用程序提供支持。示例性的,多个用户进行共享互动时,每个用户可对共享媒体流进行控制,例如切换视频等。本公开实施例中,对预设应用程序的类型不做限定,例如可以是视频类应用程序、直播类应用程序或资讯类应用程序等,还可以是其他类型的应用程序。
图2为本公开实施例所提供的一种内容展示方法的流程示意图,本公开实施例适用于内容展示的情形,该方法可以由内容展示装置来执行,该装置可以通过软件和/或硬件的形式实现,例如,通过电子设备来实现,该电子设备可以是参与共享互动的任意用户所使用的电子设备。
如图2所示,所述方法包括:
步骤201、以第一显示模式显示目标页面,并在所述目标页面中以第一方式展示目标共享媒体内容,其中,所述目标页面用于展示共享媒体流中的共享媒体内容,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流。
本公开实施例中,可以支持两个或更多用户进行实时的媒体流共享,第一用户为当前使用预设应用程序的用户,也即本端用户,可理解为该预设应用程序中当前处于登录状态的账号为第一用户的账号,第二用户可以为与第一用户共同参与同一媒体流共享的用户,也即对端用户,第二用户的数量可以是一个或多个,对第二用户的数量不做限定。目标页面可以为预设应用程序中的用于展示共享媒体流中的共享媒体内容的页面。对于参与共享互动的每个用户来说,能够通过自己使用的电子设备来观看共享媒体流。其中,对共享媒体流的来源不做限定,共享媒体流中包含的共享媒体内容可以包括图像、图文、或视频等。
本公开实施例中,目标页面可以具备多种显示模式,显示模式可以根据页面形态来进行划分,例如可包括横屏显示模式、竖屏显示模式或悬浮显示模式等。示例性的,横屏显示模式可以为横向的最大化显示模式,在该模式下,目标页面可以占满预设应用程序的显示界面,若预设应用程序在电子设备中处于全屏运行状态,则目标页面可以占满电子设备的屏幕。其中,目标页面处于横屏显示模式时,目标页面的宽大于目标页面的高。显示模式还可以根据目标页面所展示的共享媒体内容的类型进行划分。例如针对图像内容,可以包括单张显示模式和多张显示模式;针对图文内容,可以包括图文混排模式和图文分离模式;针对视频内容,如直播流,可以包括弹幕显示模式和无弹幕显示模式等。 显示模式还可以根据多种因素进行划分,如结合页面形态和共享媒体内容的类型,以直播流为例,可以包括横屏弹幕显示模式、竖屏弹幕显示模式、横屏无弹幕显示模式以及竖屏无弹幕显示模式等等。
示例性的,对于参与同一共享互动的不同用户来说,本端显示的目标页面的显示模式可以是相互独立的,也即本端显示的目标页面的显示模式可以与其他用户侧显示的目标页面的显示模式相同或不同。例如,第一用户侧的目标页面的显示模式为横屏显示模式;一个第二用户侧的目标页面的显示模式可为竖屏显示模式,也可为横屏显示模式。
本公开实施例中,目标页面在处于不同的显示模式时,展示共享媒体内容的方式可以不同,不同可以体现于如画面方向,字体大小,以及是否展示共享媒体内容的关联信息、关联控件或关联显示区域等。
示例性的,第一显示模式可以为目标页面当前的显示模式,可以是上述任意一种显示模式,第一方式可以为第一显示模式对应的展示方式。目标共享媒体内容可为目标页面中当前需要展示的任意的共享媒体内容。
步骤202、确定所述目标页面当前的显示模式为第二显示模式,其中,所述第二显示模式与所述第一显示模式不同。
示例性的,目标页面的显示模式可以支持切换,可以以预设频率或实时对显示模式进行检测,或检测显示模式的切换事件,进而确定目标页面当前的显示模式。假设确定所述目标页面当前的显示模式为与第一显示模式不同的第二显示模式,则可确定目标页面当前的显示模式发生了变化。
步骤203、在所述目标页面中以第二方式展示所述目标共享媒体内容,其中,所述第二方式与所述第一方式不同。
示例性的,在确定目标页面当前的显示模式从第一显示模式变更为第二显示模式后,需要对目标共享媒体内容的展示方式也进行相应的变更,在目标页面中从以第一方式展示目标共享媒体内容变更为以不同于第一方式的第二方式展示目标共享媒体内容。
示例性的,以第一显示模式为竖屏显示模式为例,第一方式为竖向方式,第二显示模式为横屏显示模式,第二方式为横向方式。
示例性的,竖向方式可以为目标共享媒体内容中的画面的高度方向与处于竖屏显示模式的目标页面的高度方向一致;横向方式可以为目标共享媒体内容中的画面的宽度方向与处于横屏显示模式的目标页面的宽度方向一致。
图3为本公开实施例所提供的一种界面交互示意图,目标页面301当前的显示模式为竖屏显示模式,目标页面301的宽度小于高度,在目标页面301中, 以竖向方式展示共享媒体流中的目标共享媒体内容,如图中的风景视频,画面的高度方向与目标页面301的高度方向一致,如图中的竖直方向。随后,目标页面301的显示方式变更为横屏显示模式,如图3,目标页面302为变更后的当前的显示模式为横屏显示模式的目标页面,目标页面302的宽度大于高度,在目标页面302中,以横向方式展示共享媒体流中的目标共享媒体内容,如图中的风景视频,画面的宽度方向与目标页面302的宽度方向一致,如图中的水平方向。在横屏显示模式的目标页面中,还可以显示与共享互动相关的内容,如第一用户和第二用户的用户标识,如图3中的用户头像,还可以包括如左下角的共享邀请控件,以及右下角的表情控件、音量调节控件以及麦克风控件等。
本公开实施例的内容展示方法,以第一显示模式显示目标页面,并在目标页面中以第一方式展示目标共享媒体内容,其中,目标页面用于展示共享媒体流中的共享媒体内容,共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,确定目标页面当前的显示模式为第二显示模式,在目标页面中以第二方式展示目标共享媒体内容。通过采用上述技术方案,第一用户在与第二用户进行基于共享媒体流的共享互动的过程中,用于展示共享媒体内容的目标页面具备显示模式切换的能力,进而使得第一用户可以观看到不同方式进行展示的共享媒体内容,丰富共享媒体内容的展示形式。
在一些实施例中,所述第二显示模式包括横屏显示模式,所述第二方式包括横向方式,在确定所述目标页面当前的显示模式为横屏显示模式之前,还包括:响应于横屏显示模式被触发,将所述目标页面当前的显示模式从所述第一显示模式切换为横屏显示模式。这样设置的好处在于,可以实现第一显示模式到横屏显示模式的切换。
第一显示模式可以包括除横屏显示模式之外的模式,如竖屏显示模式或悬浮显示模式等。
示例性的,目标页面的横屏显示模式可以在第一用户的操作下触发,例如,显示横屏显示模式对应的横屏切换控件,响应于第一用户针对横屏切换控件输入的第一触发操作,将目标页面当前的显示模式从第一显示模式切换为横屏显示模式;目标页面的横屏显示模式也可以在检测到满足预设横屏显示条件的情况下自动触发,例如,预设应用程序中可以提供自动翻转功能,在第一用户开启该自动翻转功能后,检测到满足预设横屏显示条件的情况下,触发目标页面进入横屏显示模式。其中,预设横屏显示条件,例如可以是检测到第一用户横向握持电子设备。其中,第一触发操作例如可以是点击操作或长按操作等。
在一些实施例中,在将所述目标页面当前的显示模式从所述第一显示模式切换为横屏显示模式之后,还可包括:响应于第一显示模式被触发,将所述目 标页面当前的显示模式从横向显示模式切换为第一显示模式。示例性的,在处于横向显示模式的目标页面中显示返回控件,用户点击返回控件后,可以切换回第一显示模式。
在一些实施例中,所述响应于横屏显示模式被触发,将所述目标页面当前的显示模式从所述第一显示模式切换为横屏显示模式,包括:若所述目标共享媒体内容为预设类型的媒体内容,则显示所述横屏显示模式对应的横屏切换控件,其中,所述预设类型的媒体内容支持横屏展示;响应于所述第一用户针对所述横屏切换控件输入的第一触发操作,将所述目标页面当前的显示模式从所述第一显示模式切换为横屏显示模式。这样设置的好处在于,可以在当前展示的共享媒体内容支持横屏展示的情况下,自动显示横屏切换控件,方便用户快速实现横向显示模式的切换。
预设类型的媒体内容可包括横向媒体内容,横向媒体内容可以为所包含的画面的显示宽度大于显示高度的媒体内容,竖向媒体内容可以为所包含的画面的显示宽度小于显示高度的媒体内容。预设类型的媒体内容还可包括支持切换至横向媒体内容的媒体内容,其中,切换方式可包括调整画面的显示比例等。共享媒体内容的发布者在发布时,可以发布横向版本和竖向版本的主题相同的媒体内容,使得服务端可以根据实际的显示模式获取相应版本的媒体内容进行显示。横屏切换控件例如可以是“全屏播放”按钮或“横屏播放”按钮等。第一触发操作例如可以是点击等操作。
图4为本公开实施例所提供的另一种界面交互示意图,如图4所示,假设第一显示模式包括竖屏显示模式,处于竖屏显示模式的目标页面401正在播放竖向媒体内容(如图中的小丑视频),假设该小丑视频不支持横屏播放,则可以不显示横屏切换控件,而当播放到横向媒体内容(如图中的风景视频)时,该风景视频支持横屏播放,则可以显示横屏切换控件402。当第一用户点击横屏切换控件402后,将处于竖屏显示模式的目标页面401切换为横屏显示模式的目标页面403,并在横屏显示模式的目标页面403中以横向方式展示风景视频。
在一些实施例中,所述第二显示模式包括横屏显示模式,所述第二方式包括横向方式,在所述目标页面中以横向方式展示目标共享媒体内容之后,还包括:响应于悬浮显示模式被触发,将所述目标页面当前的显示模式从所述横屏显示模式切换为悬浮显示模式;在以横向悬浮控件形式进行显示的所述目标页面中,以横向方式继续展示所述目标共享媒体内容。这样设置的好处在于,可以灵活地实现横屏显示模式到悬浮显示模式的切换。
示例性的,悬浮控件可为视图元素,悬浮控件的属性,如形状、颜色、透明度以及显示位置等,可根据实际需求设置,例如悬浮控件可以是悬浮框形态 的控件。横向悬浮控件,可以为控件宽度大于控件高度的悬浮控件。横向悬浮控件的至少一条边框或至少两条边框与预设应用程序的界面边界重合。例如横向悬浮控件的三条边框与预设应用程序的界面边界重合。触发悬浮显示模式的方式可以是触发悬浮切换控件。
在所述响应于悬浮显示模式被触发,将所述目标页面当前的显示模式从所述横屏显示模式切换为悬浮显示模式之后,还可包括:显示预设页面。横向悬浮控件的尺寸小于预设应用程序的界面尺寸,可以在预设应用程序中显示预设页面,并在预设页面上层显示横向悬浮控件。其中,预设页面可以是目标页面以外的任意页面,如消息页面、视频通话页面或个人媒体流页面,其中个人媒体流页面可以用于展示第一用户对应的媒体流,第一用户对应的媒体流可以为向第一用户推送的媒体流。
在一些实施例中,在所述响应于悬浮显示模式被触发,将所述目标页面当前的显示模式从所述横屏显示模式切换为悬浮显示模式之后,还包括:以竖屏显示模式显示预设页面。这样设置的好处在于,满足用户查看预设页面时的竖向查看需求。
图5为本公开实施例所提供的又一种界面交互示意图,目标页面501当前处于横屏显示模式,第一用户点击悬浮切换按钮502后,目标页面501切换为悬浮显示模式,得到以横向悬浮控件形式进行显示的目标页面503,并以横向方式继续展示风景视频。并且,在预设应用程序中显示预设页面504,预设页面504可以是第一用户对应的个人媒体流页面。
在一些实施例中,所述第二显示模式包括横屏显示模式,所述第二方式包括横向方式,在所述目标页面中以横向方式展示目标共享媒体内容之后,还包括:响应于所述第一用户针对所述共享互动对应的会话交互控件输入的第二触发操作,将所述目标页面当前的显示模式从所述横屏显示模式切换为悬浮显示模式;显示所述共享互动对应的会话交互页面;在以悬浮控件形式进行显示的所述目标页面中,继续展示所述目标共享媒体内容。这样设置的好处在于,在横屏显示模式下,兼顾共享互动中的会话互动需求。
会话交互页面可以包括会话信息查看页面,还可以包括会话信息输入页面等,在会话信息输入页面中可以显示输入控件,如输入面板或虚拟键盘等。第二触发操作例如可以是点击操作或长按操作等。
在一些实施例中,所述显示所述共享互动对应的会话交互页面,包括:以竖屏显示模式显示所述共享互动对应的会话交互页面;其中,所述在以悬浮控件形式进行显示的所述目标页面中,继续展示所述目标共享媒体内容,包括:在以横向悬浮控件形式进行显示的所述目标页面中,以横向方式继续展示所述 目标共享媒体内容。这样设置的好处在于,满足用户进行会话交互时的竖向页面查看需求。
在一些实施例中,在所述显示所述共享互动对应的会话交互页面之后,还包括:基于所述会话交互页面接收所述第一用户输入的第一会话信息。这样设置的好处在于,可以满足用户的会话信息输入需求。
图6为本公开实施例所提供的再一种界面交互示意图,目标页面601当前处于横屏显示模式,第一用户点击会话交互控件602后,目标页面601切换为悬浮显示模式,得到以横向悬浮控件形式进行显示的目标页面603,并以横向方式继续展示风景视频。并且,在预设应用程序中显示会话交互页面604,第一用户可以查看自己与第二用户在共享互动中的会话信息记录,若第一用户想要发送会话信息,可以触发会话输入控件605,弹出输入面板进行输入。
也可在显示会话交互页面后,自动显示输入控件,方便第一用户输入会话消息。
在一些实施例中,所述第二显示模式包括横屏显示模式,所述第二方式包括横向方式,在所述目标页面中以横向方式展示所述目标共享媒体内容之后,还包括:响应于所述第一用户输入的预设操作,在所述目标页面实现第一预设功能,其中,所述预设操作用于在所述目标页面处于竖屏显示模式的情况下实现第二预设功能。这样设置的好处在于,对横屏显示模式和竖屏显示模式进行差异化处理,使得同样的预设操作在不同的显示模式下可以实现不同的预设功能。
示例性的,当目标页面中显示有第二用户的用户标识时,预设操作可以是用户标识的触发操作,在竖屏显示模式下,预设操作可以实现向所触发的用户标识对应的第二用户发送会话消息,在横屏显示模式下,预设操作可以实现切换至所触发的用户标识对应的第二用户的视频通话画面。
在一些实施例中,所述响应于所述第一用户输入的预设操作,在所述目标页面实现第一预设功能,包括:响应于所述第一用户输入的预设切换操作,将所述目标页面当前的显示模式从所述横屏显示模式切换为竖屏显示模式,其中,所述预设切换操作用于在所述目标页面处于竖屏显示模式的情况下,切换所述目标页面中展示的共享媒体内容。这样设置的好处在于,在横屏显示模式下输入竖屏显示模式下的预设切换操作时,先切换至竖屏显示模式,而不是直接切换共享媒体内容,避免横屏显示模式下的误操作。
示例性的,竖屏显示模式下,可以通过滑动操作来进行共享媒体内容的切换,如向上滑动切换至下一个共享媒体内容,向下滑动切换至上一个共享媒体 内容。横屏显示模式下,当第一用户输入滑动操作时,可以将目标页面切换至竖屏显示模式。
在一些实施例中,所述目标共享媒体内容包括直播间中的直播流,所述第二显示模式包括弹幕显示模式;其中,在所述目标页面中以第二方式展示所述目标共享媒体内容,包括:在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域。这样设置的好处在于,在进行直播流共享时,可以显示弹幕信息区域,使得参与共享互动的用户能够查看更加全面的直播间相关信息
示例性的,弹幕显示模式例如可包括竖屏弹幕显示模式和横屏弹幕显示模式。弹幕信息区域可以为用于展示弹幕信息的区域。弹幕信息可以为直播间中的观众用户发布的实时消息,也可称为评论信息或发言信息等。第一显示模式为横屏无弹幕显示模式的情况下,第二显示模式为横屏弹幕显示模式;第一显示模式为竖屏无弹幕显示模式的情况下,第二显示模式为竖屏弹幕显示模式。
在一些实施例中,在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域之后,还包括:接收所述第一用户输入的第一目标消息,其中,所述第一目标消息包括供所述共享互动的参与用户查看的会话消息;和/或,接收所述第一用户输入的第二目标消息,其中,所述第二目标消息包括供所述直播间中的观众查看的弹幕信息。这样设置的好处在于,可以允许第一用户输入供不同类型的用户进行查看的消息。
共享互动的参与用户包括第一用户和第二用户;直播间中的观众包括第一用户、第二用户、以及直播间中的未参与所述共享互动的观众用户。
第一用户可以采用不同的输入方式来输入第一目标消息和第二目标消息,以便明确即将发送的目标消息的可查看用户。不同的输入方式的区别例如可以体现于输入入口的不同、或确认发送的发送控件的不同等。
在一些实施例中,在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域之后,还包括:响应于所述第一用户输入的弹幕隐藏操作,取消所述弹幕信息区域的展示。这样设置的好处在于,用户可以根据自己的实际需求选择是否隐藏弹幕信息区域,若需要隐藏弹幕信息区域,可输入弹幕隐藏操作,提升直播观看的沉浸感。
在一些实施例中,所述响应于所述第一用户输入的弹幕隐藏操作,取消所述弹幕信息区域的展示,包括:响应于所述第一用户针对所述目标页面中的预设区域输入的第三触发操作,取消所述弹幕信息区域的展示,其中,所述预设区域与所述弹幕信息区域不存在交集。这样设置的好处在于,提高弹幕区域隐 藏的便捷性。其中,第三触发操作例如可以是点击操作或长按操作等。
图7为本公开实施例所提供的再一种界面交互示意图,目标页面701当前处于竖屏显示模式,正在展示直播间中的直播流,在展示直播流的同时,还显示弹幕信息区域702。假设第一用户点击弹幕信息区域702之外的预设区域后,取消弹幕信息区域的展示。
在一些实施例中,在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域之后,还包括:响应于所述第一用户针对弹幕发布控件输入的第四触发操作,在所述目标页面中显示预设输入控件;基于所述预设输入控件接收所述第一用户输入的第一弹幕信息。这样设置的好处在于,在支持查看弹幕信息的基础上,支持弹幕信息发布功能,提升共享直播流互动效果。
示例性的,弹幕发布控件可以是如“发弹幕”按钮等,第四触发操作例如可以是点击操作或长按操作等,用户可以通过点击弹幕发布控件来触发显示预设输入控件,预设输入控件例如可以是输入面板或虚拟键盘等,通过预设输入控件来输入自己想要发表的弹幕内容。
在所述目标页面中显示预设输入控件,包括:将所述目标页面当前的显示模式从所述横屏显示模式切换为竖屏显示模式,并在处于竖屏显示模式的目标页面中显示预设输入控件。
在一些实施例中,在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域之后,还包括:响应于接收到所述第二用户发布的第二弹幕信息,在所述弹幕信息区域中以第一预设显示方式显示所述第二弹幕信息,其中,所述弹幕信息区域中的第三弹幕信息以第二预设显示方式进行显示,所述第三弹幕信息由所述直播间中未参与所述共享互动的第三用户发布,所述第一预设显示方式与所述第二预设显示方式不同。这样设置的好处在于,可以对直播间普通观众发布的弹幕和参与共享互动的用户发布的弹幕进行差异化显示,使得第一用户可以快速找到第二用户发布的弹幕信息,提升直播共享互动效果。
示例性的,对所述第一预设显示方式与所述第二预设显示方式之间的差异不做限定,例如可包括显示位置不同、显示尺寸不同、显示样式不同等,样式不同例如可以包括用户标识不同、弹幕信息字体或颜色不同等。
在一些实施例中,还包括:响应于第一弹幕信息的发布操作,在所述弹幕信息区域中以第一预设显示方式显示所述第一弹幕信息。这样,第一用户发布的弹幕信息的显示方式也可以与普通观众发布的弹幕信息的显示方式不同。
在所述弹幕信息区域中以第一预设显示方式显示所述第一弹幕信息,包括:将所述目标页面当前的显示模式从所述竖屏显示模式切换为横屏显示模式,并在处于横屏显示模式的目标页面中的弹幕信息区域中以第一预设显示方式显示所述第一弹幕信息。
在一些实施例中,还包括:响应于接收到所述第二用户发送的基于所述共享互动的第二会话信息,在所述目标页面中的所述第二用户对应的用户标识的目标关联区域,显示所述第二会话信息,其中,所述目标关联区域与所述弹幕信息区域不同。这样设置的好处在于,将第二用户发送的会话信息显示在弹幕信息区域之外的与第二用户的用户标识关联的区域中,使得第一用户可以有效区分第二用户发布的弹幕信息和会话信息。
在一些实施例中,还包括:响应于第一会话信息的发送操作,在所述目标页面中的所述第一用户对应的用户标识的目标关联区域,显示所述第一会话信息。
图8为本公开实施例所提供的又一种内容展示方法的流程示意图。本公开实施例以上述实施例中的方案为基础进行说明,该方法包括如下步骤:
步骤801、以竖屏显示模式显示目标页面,并在目标页面中以竖向方式展示目标共享媒体内容。
竖屏显示模式为第一显示模式,竖向方式为第一方式。
步骤802、若当前展示的目标共享媒体内容为支持横屏展示的直播间中的直播流,则展示直播流对应的弹幕信息区域,以及显示横屏显示模式对应的横屏切换控件。
示例性的,图9为本公开实施例所提供的再一种界面交互示意图,如图9所示,在处于竖屏显示模式的目标页面901中展示直播流,并展示直播流对应的弹幕信息区域902,若该直播流支持横屏展示,则显示横屏显示模式对应的横屏切换控件903。此外,还可在目标页面中显示参与共享互动的用户的用户标识,如第一用户和第二用户的头像。
步骤803、响应于第一用户针对横屏切换控件输入的触发操作,将目标页面当前的显示模式从预设显示模式切换为横屏显示模式。
如图9所示,当第一用户点击横屏切换控件903后,目标页面切换至横屏显示模式。
步骤804、确定目标页面当前的显示模式为横屏显示模式,在目标页面中以横向方式展示直播流。
横屏显示模式为第二显示模式,横向方式为第二方式。
如图9所示,在确定目标页面已切换至当前的横屏显示模式,则在目标页面中以横向方式展示直播流,并继续在目标页面中显示弹幕信息区域。
步骤805、响应于第一用户针对弹幕发布控件输入的触发操作,在目标页面中显示预设输入控件,基于预设输入控件接收第一用户输入的第一弹幕信息。
如图9所示,第一用户点击弹幕发布控件904后,为了便于用户进行弹幕信息的输入,可以将目标页面切换为竖屏显示模式,并显示预设输入控件905。也可以在保持目标页面的横屏显示模式的情况下,显示预设输入控件。基于预设输入控件905接收第一用户输入的第一弹幕信息,如图中的“XX”。
步骤806、响应于第一弹幕信息的发布操作,在弹幕信息区域中以第一预设显示方式显示第一弹幕信息。
直播间中的第三用户发布的第三弹幕信息在弹幕信息区域中的第二预设显示方式与第一预设显示方式不同。
如图9所示,当第一用户点击发送按钮后,认为接收到第一弹幕信息的发布操作,在弹幕信息区域中以第一预设显示方式显示第一弹幕信息906。相比于观众b发送的第三弹幕信息来说,第一弹幕信息906对应显示第一用户的头像,且第一弹幕信息显示有边框,从而使得第一用户可以快速找到自己发布的弹幕信息。在第二用户侧的目标页面中,第一弹幕信息的显示方式也为第一预设显示方式。
步骤807、响应于接收到第二用户发布的第二弹幕信息,在弹幕信息区域中以第一预设显示方式显示第二弹幕信息。
如图9所示,若接收到第二用户发布的第二弹幕信息,在弹幕信息区域中以第一预设显示方式显示第二弹幕信息907,也即对应显示第二用户的头像,且第二弹幕信息显示有边框,从而使得第一用户可以快速找到第二用户发布的弹幕信息。
步骤808、响应于第一用户针对共享互动对应的会话交互控件输入的触发操作,将目标页面当前的显示模式从横屏显示模式切换为悬浮显示模式。
步骤809、以竖屏显示模式显示共享互动对应的会话交互页面,在以横向悬浮控件形式进行显示的目标页面中,以横向方式继续展示直播流。
步骤810、基于会话交互页面接收第一用户输入的第一会话信息,响应于第一会话信息的发送操作,在目标页面中的第一用户标识的第一目标关联区域,显示第一会话信息。
第一用户输入第一会话信息的界面交互方式与图6类似,可参考图6。第一用户标识为第一用户对应的用户标识,第一目标关联区域与弹幕信息区域不同。如图9所示,在第一用户标识的下方以气泡形式显示第一会话信息908。
步骤811、响应于接收到第二用户发送的基于共享互动的第二会话信息,在目标页面中的第二用户对应的用户标识的第二目标关联区域,显示第二会话信息。
第二用户标识为第二用户对应的用户标识,第二目标关联区域与弹幕信息区域不同。如图9所示,在第二用户标识的下方以气泡形式显示第二会话信息909。第一用户可以在弹幕信息区域和第二用户标识的第二目标关联区域分别查看第二用户发送的弹幕信息和会话信息。
本公开实施例提供的内容展示方法,在进行媒体流的共享互动时,若当前展示的为直播间中的直播流,则可以同时显示弹幕信息,使得用户可以查看更全面的直播间相关信息,并在直播流支持横屏展示时,提供横屏显示模式的触发控件,可便捷地切换至横屏显示模式进行共享直播流的观看,在观看共享直播流的过程中,用户还可以发布弹幕信息,参与共享互动的用户发布的弹幕信息与普通观众的弹幕信息进行差异化的显示,方便查找,另外,保留会话交互功能,将会话消息显示于弹幕信息区域之外,方便用户区分弹幕信息和会话信息。
图10为本公开实施例所提供的一种内容展示装置的结构示意图,如图10所示,所述装置包括:
第一展示模块1001,设置为以第一显示模式显示目标页面,并在所述目标页面中以第一方式展示目标共享媒体内容,其中,所述目标页面用于展示共享媒体流中的共享媒体内容,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流;显示模式确定模块1002,设置为确定所述目标页面当前的显示模式为第二显示模式,其中,所述第二显示模式与所述第一显示模式不同;第二展示模块1003,设置为在所述目标页面中以第二方式展示所述目标共享媒体内容,其中,所述第二方式与所述第一方式不同。
本公开实施例所提供的内容展示装置,以第一显示模式显示目标页面,并在目标页面中以第一方式展示目标共享媒体内容,其中,目标页面用于展示共享媒体流中的共享媒体内容,共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,确定目标页面当前的显示模式为第二显示模式,在目标页面中以第二方式展示目标共享媒体内容。通过采用上述技术方案,第一用户在与第二用户进行基于共享媒体流的共享互动的过程中,用于展示共享媒体内容的目标页面具备显示模式切换的能力,进而使得第一用户 可以观看到不同方式进行展示的共享媒体内容,丰富共享媒体内容的展示形式。
所述第二显示模式包括横屏显示模式,所述第二方式包括横向方式,该装置还包括:
第一切换模块,设置为在确定所述目标页面当前的显示模式为横屏显示模式之前,响应于横屏显示模式被触发,将所述目标页面当前的显示模式从所述第一显示模式切换为横屏显示模式。
第一切换模块,包括:
切换控件显示单元,设置为若所述目标共享媒体内容为预设类型的媒体内容,则显示所述横屏显示模式对应的横屏切换控件,其中,所述预设类型的媒体内容支持横屏展示;第一切换单元,设置为响应于所述第一用户针对所述横屏切换控件输入的第一触发操作,将所述目标页面当前的显示模式从所述第一显示模式切换为横屏显示模式。
所述第二显示模式包括横屏显示模式,所述第二方式包括横向方式,该装置还包括:
第二切换模块,设置为在所述目标页面中以横向方式展示所述目标共享媒体内容之后,响应于悬浮显示模式被触发,将所述目标页面当前的显示模式从所述横屏显示模式切换为悬浮显示模式;第一悬浮展示模块,设置为在以横向悬浮控件形式进行显示的所述目标页面中,以横向方式继续展示所述目标共享媒体内容。
该装置还包括:
预设页面显示模块,设置为在所述响应于悬浮显示模式被触发,将所述目标页面当前的显示模式从所述横屏显示模式切换为悬浮显示模式之后,以竖屏显示模式显示预设页面。
所述第二显示模式包括横屏显示模式,所述第二方式包括横向方式,该装置还包括:
第三切换模块,设置为在所述目标页面中以横向方式展示所述目标共享媒体内容之后,响应于所述第一用户针对所述共享互动对应的会话交互控件输入的第二触发操作,将所述目标页面当前的显示模式从所述横屏显示模式切换为悬浮显示模式;交互页面显示模块,设置为显示所述共享互动对应的会话交互页面;第二悬浮展示模块,设置为在以悬浮控件形式进行显示的所述目标页面中,继续展示所述目标共享媒体内容。
所述交互页面显示模块设置为:以竖屏显示模式显示所述共享互动对应的 会话交互页面;其中,所述第二悬浮展示模块,设置为:在以横向悬浮控件形式进行显示的所述目标页面中,以横向方式继续展示所述目标共享媒体内容。
该装置还包括:
第一会话信息接收模块,设置为在所述显示所述共享互动对应的会话交互页面之后,还包括:基于所述会话交互页面接收所述第一用户输入的第一会话信息。
所述第二显示模式包括横屏显示模式,所述第二方式包括横向方式,该装置还包括:
预设功能实现模块,设置为在所述目标页面中以横向方式展示所述目标共享媒体内容之后,响应于所述第一用户输入的预设操作,在所述目标页面实现第一预设功能,其中,所述预设操作用于在所述目标页面处于竖屏显示模式的情况下实现第二预设功能。
所述预设功能实现模块设置为:
响应于所述第一用户输入的预设切换操作,将所述目标页面当前的显示模式从所述横屏显示模式切换为竖屏显示模式,其中,所述预设切换操作用于在所述目标页面处于竖屏显示模式的情况下,切换所述目标页面中展示的共享媒体内容。
所述目标共享媒体内容包括直播间中的直播流,所述第二显示模式包括弹幕显示模式;其中,所述第二展示模块设置为:
在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域。
该装置还包括第一接收模块和/或第二接收模块:
第一接收模块,设置为在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域之后,接收所述第一用户输入的第一目标消息,其中,所述第一目标消息包括供所述共享互动的参与用户查看的会话消息;第二接收模块,设置为在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域之后,接收所述第一用户输入的第二目标消息,其中,所述第二目标消息包括供所述直播间中的观众查看的弹幕信息。
该装置还包括:
弹幕取消展示模块,设置为在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域之后,响应于所述第一用户输 入的弹幕隐藏操作,取消所述弹幕信息区域的展示。
所述弹幕取消展示模块设置为:
响应于所述第一用户针对所述目标页面中的预设区域输入的第三触发操作,取消所述弹幕信息区域的展示,其中,所述预设区域与所述弹幕信息区域不存在交集。
该装置还包括:
输入控件显示模块,设置为在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域之后,响应于所述第一用户针对弹幕发布控件输入的第四触发操作,在所述目标页面中显示预设输入控件;第一弹幕信息接收模块,设置为基于所述预设输入控件接收所述第一用户输入的第一弹幕信息。
该装置还包括:
第二弹幕信息显示模块,设置为在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域之后,响应于接收到所述第二用户发布的第二弹幕信息,在所述弹幕信息区域中以第一预设显示方式显示所述第二弹幕信息,其中,所述弹幕信息区域中的第三弹幕信息以第二预设显示方式进行显示,所述第三弹幕信息由所述直播间中未参与所述共享互动的第三用户发布,所述第一预设显示方式与所述第二预设显示方式不同。
该装置还包括:
第二会话信息显示模块,设置为响应于接收到所述第二用户发送的基于所述共享互动的第二会话信息,在所述目标页面中的所述第二用户对应的用户标识的目标关联区域,显示所述第二会话信息,其中,所述目标关联区域与所述弹幕信息区域不同。
本公开实施例所提供的内容展示装置可执行本公开任意实施例所提供的内容展示方法,具备执行方法相应的功能模块和效果。
上述装置所包括的多个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,多个功能单元的名称也只是为了便于相互区分,并不用于限制本公开实施例的保护范围。
图11为本公开实施例所提供的一种电子设备的结构示意图。下面参考图11,其示出了适于用来实现本公开实施例的电子设备(例如图11中的终端设备或服务器)1100的结构示意图。本公开实施例中的终端设备可以包括诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、 平板电脑(Portable Android Device,PAD)、便携式多媒体播放器(Portable Media Player,PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字电视(Television,TV)、台式计算机等等的固定终端。图11示出的电子设备1100仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图11所示,电子设备1100可以包括处理装置(例如中央处理器、图形处理器等)1101,其可以根据存储在只读存储器(Read-Only Memory,ROM)1102中的程序或者从存储装置1108加载到随机访问存储器(Random Access Memory,RAM)1103中的程序而执行多种适当的动作和处理。在RAM 1103中,还存储有电子设备1100操作所需的多种程序和数据。处理装置1101、ROM1102以及RAM 1103通过总线1104彼此相连。输入/输出(Input/Output,I/O)接口1105也连接至总线1104。
通常,以下装置可以连接至I/O接口1105:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置1106;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置1107;包括例如磁带、硬盘等的存储装置1108;以及通信装置1109。通信装置1109可以允许电子设备1100与其他设备进行无线或有线通信以交换数据。虽然图11示出了具有多种装置的电子设备1100,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置1109从网络上被下载和安装,或者从存储装置1108被安装,或者从ROM 1102被安装。在该计算机程序被处理装置1101执行时,执行本公开实施例的方法中限定的上述功能。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
本公开实施例提供的电子设备与上述实施例提供的内容展示方法属于同一构思,未在本实施例中详尽描述的技术细节可参见上述实施例,并且本实施例与上述实施例具有相同的效果。
本公开实施例提供了一种计算机存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述实施例所提供的内容展示方法。
本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的例子可以包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、ROM、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如超文本传输协议(HyperText Transfer Protocol,HTTP)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(Local Area Network,LAN),广域网(Wide Area Network,WAN),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:以第一显示模式显示目标页面,并在所述目标页面中以第一方式展示目标共享媒体内容,其中,所述目标页面用于展示共享媒体流中的共享媒体内容,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流;确定所述目标页面当前的显示模式为第二显示模式,其中,所述第二显示模式与所述第一显示模式不同;在所述目标页面中以第二方式展示所述目标共享媒体内容,其中,所述第二方式与所述第一方式不同。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的 计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括LAN或WAN—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开多种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块的名称在一种情况下并不构成对该模块本身的限定,例如,第二展示模块还可以被描述为“在所述目标页面中以第二方式展示所述目标共享媒体内容的模块,其中,所述第二方式与所述第一方式不同”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Parts,ASSP)、片上系统(System on Chip,SOC)、复杂可编程逻辑设备(Complex Programming Logic Device,CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、RAM、ROM、 EPROM或快闪存储器、光纤、CD-ROM、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,提供了一种内容展示方法,包括:
以第一显示模式显示目标页面,并在所述目标页面中以第一方式展示目标共享媒体内容,其中,所述目标页面用于展示共享媒体流中的共享媒体内容,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流;
确定所述目标页面当前的显示模式为第二显示模式,其中,所述第二显示模式与所述第一显示模式不同;
在所述目标页面中以第二方式展示所述目标共享媒体内容,其中,所述第二方式与所述第一方式不同。
根据本公开的一个或多个实施例,所述第二显示模式包括横屏显示模式,所述第二方式包括横向方式,在确定所述目标页面当前的显示模式为横屏显示模式之前,还包括:
响应于横屏显示模式被触发,将所述目标页面当前的显示模式从所述第一显示模式切换为横屏显示模式。
根据本公开的一个或多个实施例,所述响应于横屏显示模式被触发,将所述目标页面当前的显示模式从所述第一显示模式切换为横屏显示模式,包括:
若所述目标共享媒体内容为预设类型的媒体内容,则显示所述横屏显示模式对应的横屏切换控件,其中,所述预设类型的媒体内容支持横屏展示;
响应于所述第一用户针对所述横屏切换控件输入的第一触发操作,将所述目标页面当前的显示模式从所述第一显示模式切换为横屏显示模式。
根据本公开的一个或多个实施例,所述第二显示模式包括横屏显示模式,所述第二方式包括横向方式,在所述目标页面中以横向方式展示所述目标共享媒体内容之后,还包括:
响应于悬浮显示模式被触发,将所述目标页面当前的显示模式从所述横屏显示模式切换为悬浮显示模式;
在以横向悬浮控件形式进行显示的所述目标页面中,以横向方式继续展示所述目标共享媒体内容。
根据本公开的一个或多个实施例,在所述响应于悬浮显示模式被触发,将所述目标页面当前的显示模式从所述横屏显示模式切换为悬浮显示模式之后, 还包括:
以竖屏显示模式显示预设页面。
根据本公开的一个或多个实施例,所述第二显示模式包括横屏显示模式,所述第二方式包括横向方式,在所述目标页面中以横向方式展示所述目标共享媒体内容之后,还包括:
响应于所述第一用户针对所述共享互动对应的会话交互控件输入的第二触发操作,将所述目标页面当前的显示模式从所述横屏显示模式切换为悬浮显示模式;
显示所述共享互动对应的会话交互页面;
在以悬浮控件形式进行显示的所述目标页面中,继续展示所述目标共享媒体内容。
根据本公开的一个或多个实施例,所述显示所述共享互动对应的会话交互页面,包括:
以竖屏显示模式显示所述共享互动对应的会话交互页面;
其中,所述在以悬浮控件形式进行显示的所述目标页面中,继续展示所述目标共享媒体内容,包括:
在以横向悬浮控件形式进行显示的所述目标页面中,以横向方式继续展示所述目标共享媒体内容。
根据本公开的一个或多个实施例,在所述显示所述共享互动对应的会话交互页面之后,还包括:
基于所述会话交互页面接收所述第一用户输入的第一会话信息。
根据本公开的一个或多个实施例,所述第二显示模式包括横屏显示模式,所述第二方式包括横向方式,在所述目标页面中以横向方式展示所述目标共享媒体内容之后,还包括:
响应于所述第一用户输入的预设操作,在所述目标页面实现第一预设功能,其中,所述预设操作用于在所述目标页面处于竖屏显示模式的情况下实现第二预设功能。
根据本公开的一个或多个实施例,所述响应于所述第一用户输入的预设操作,在所述目标页面实现第一预设功能,包括:
响应于所述第一用户输入的预设切换操作,将所述目标页面当前的显示模式从所述横屏显示模式切换为竖屏显示模式,其中,所述预设切换操作用于在 所述目标页面处于竖屏显示模式的情况下,切换所述目标页面中展示的共享媒体内容。
根据本公开的一个或多个实施例,所述目标共享媒体内容包括直播间中的直播流,所述第二显示模式包括弹幕显示模式;
其中,在所述目标页面中以第二方式展示所述目标共享媒体内容,包括:
在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域。
根据本公开的一个或多个实施例,在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域之后,还包括:
接收所述第一用户输入的第一目标消息,其中,所述第一目标消息包括供所述共享互动的参与用户查看的会话消息;和/或
接收所述第一用户输入的第二目标消息,其中,所述第二目标消息包括供所述直播间中的观众查看的弹幕信息。
根据本公开的一个或多个实施例,在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域之后,还包括:
响应于所述第一用户输入的弹幕隐藏操作,取消所述弹幕信息区域的展示。
根据本公开的一个或多个实施例,所述响应于所述第一用户输入的弹幕隐藏操作,取消所述弹幕信息区域的展示,包括:
响应于所述第一用户针对所述目标页面中的预设区域输入的第三触发操作,取消所述弹幕信息区域的展示,其中,所述预设区域与所述弹幕信息区域不存在交集。
根据本公开的一个或多个实施例,在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域之后,还包括:
响应于所述第一用户针对弹幕发布控件输入的第四触发操作,在所述目标页面中显示预设输入控件;
基于所述预设输入控件接收所述第一用户输入的第一弹幕信息。
根据本公开的一个或多个实施例,在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域之后,还包括:
响应于接收到所述第二用户发布的第二弹幕信息,在所述弹幕信息区域中以第一预设显示方式显示所述第二弹幕信息,其中,所述弹幕信息区域中的第三弹幕信息以第二预设显示方式进行显示,所述第三弹幕信息由所述直播间中 未参与所述共享互动的第三用户发布,所述第一预设显示方式与所述第二预设显示方式不同。
根据本公开的一个或多个实施例,还包括:
响应于接收到所述第二用户发送的基于所述共享互动的第二会话信息,在所述目标页面中的所述第二用户对应的用户标识的目标关联区域,显示所述第二会话信息,其中,所述目标关联区域与所述弹幕信息区域不同。
根据本公开的一个或多个实施例,提供了一种内容展示装置,包括:
第一展示模块,设置为以第一显示模式显示目标页面,并在所述目标页面中以第一方式展示目标共享媒体内容,其中,所述目标页面用于展示共享媒体流中的共享媒体内容,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流;
显示模式确定模块,设置为确定所述目标页面当前的显示模式为第二显示模式,其中,所述第二显示模式与所述第一显示模式不同;
第二展示模块,设置为在所述目标页面中以第二方式展示所述目标共享媒体内容,其中,所述第二方式与所述第一方式不同。
根据本公开的一个或多个实施例,提供了一种电子设备,所述电子设备包括:
一个或多个处理器;
存储装置,设置为存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本公开实施例提供的内容展示方法。
根据本公开的一个或多个实施例,提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行本公开实施例提供的内容展示方法。
根据本公开的一个或多个实施例,提供了一种计算机程序产品,包括承载在非暂态计算机可读介质上的计算机程序,所述计算机程序包含用于执行本公开实施例提供的内容展示方法的程序代码。
此外,虽然采用特定次序描绘了多个操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了多个实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的一些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上 下文中描述的多种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。

Claims (22)

  1. 一种内容展示方法,包括:
    以第一显示模式显示目标页面,并在所述目标页面中以第一方式展示目标共享媒体内容,其中,所述目标页面用于展示共享媒体流中的共享媒体内容,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流;
    确定所述目标页面当前的显示模式为第二显示模式,其中,所述第二显示模式与所述第一显示模式不同;
    在所述目标页面中以第二方式展示所述目标共享媒体内容,其中,所述第二方式与所述第一方式不同。
  2. 根据权利要求1所述的方法,其中,所述第二显示模式包括横屏显示模式,所述第二方式包括横向方式,在确定所述目标页面当前的显示模式为所述横屏显示模式之前,还包括:
    响应于横屏显示模式被触发,将所述目标页面当前的显示模式从所述第一显示模式切换为所述横屏显示模式。
  3. 根据权利要求2所述的方法,其中,所述响应于横屏显示模式被触发,将所述目标页面当前的显示模式从所述第一显示模式切换为所述横屏显示模式,包括:
    在所述目标共享媒体内容为预设类型的媒体内容的情况下,显示所述横屏显示模式对应的横屏切换控件,其中,所述预设类型的媒体内容支持横屏展示;
    响应于所述第一用户针对所述横屏切换控件输入的第一触发操作,将所述目标页面当前的显示模式从所述第一显示模式切换为所述横屏显示模式。
  4. 根据权利要求1所述的方法,其中,所述第二显示模式包括横屏显示模式,所述第二方式包括横向方式,在所述目标页面中以所述横向方式展示所述目标共享媒体内容之后,还包括:
    响应于悬浮显示模式被触发,将所述目标页面当前的显示模式从所述横屏显示模式切换为所述悬浮显示模式;
    在以横向悬浮控件形式进行显示的所述目标页面中,以所述横向方式继续展示所述目标共享媒体内容。
  5. 根据权利要求4所述的方法,在所述响应于悬浮显示模式被触发,将所述目标页面当前的显示模式从所述横屏显示模式切换为所述悬浮显示模式之后,还包括:
    以竖屏显示模式显示预设页面。
  6. 根据权利要求1所述的方法,其中,所述第二显示模式包括横屏显示模式,所述第二方式包括横向方式,在所述目标页面中以所述横向方式展示所述目标共享媒体内容之后,还包括:
    响应于所述第一用户针对所述共享互动对应的会话交互控件输入的第二触发操作,将所述目标页面当前的显示模式从所述横屏显示模式切换为悬浮显示模式;
    显示所述共享互动对应的会话交互页面;
    在以悬浮控件形式进行显示的所述目标页面中,继续展示所述目标共享媒体内容。
  7. 根据权利要求6所述的方法,其中,所述显示所述共享互动对应的会话交互页面,包括:
    以竖屏显示模式显示所述共享互动对应的会话交互页面;
    所述在以悬浮控件形式进行显示的所述目标页面中,继续展示所述目标共享媒体内容,包括:
    在以横向悬浮控件形式进行显示的所述目标页面中,以所述横向方式继续展示所述目标共享媒体内容。
  8. 根据权利要求6所述的方法,在所述显示所述共享互动对应的会话交互页面之后,还包括:
    基于所述会话交互页面接收所述第一用户输入的第一会话信息。
  9. 根据权利要求1所述的方法,其中,所述第二显示模式包括横屏显示模式,所述第二方式包括横向方式,在所述目标页面中以所述横向方式展示所述目标共享媒体内容之后,还包括:
    响应于所述第一用户输入的预设操作,在所述目标页面实现第一预设功能,其中,所述预设操作用于在所述目标页面处于竖屏显示模式的情况下实现第二预设功能。
  10. 根据权利要求9所述的方法,其中,所述响应于所述第一用户输入的预设操作,在所述目标页面实现第一预设功能,包括:
    响应于所述第一用户输入的预设切换操作,将所述目标页面当前的显示模式从所述横屏显示模式切换为所述竖屏显示模式,其中,所述预设切换操作用于在所述目标页面处于所述竖屏显示模式的情况下,切换所述目标页面中展示 的共享媒体内容。
  11. 根据权利要求1所述的方法,其中,所述目标共享媒体内容包括直播间中的直播流,所述第二显示模式包括弹幕显示模式;
    所述在所述目标页面中以第二方式展示所述目标共享媒体内容,包括:
    在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域。
  12. 根据权利要求11所述的方法,在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域之后,还包括以下至少之一:
    接收所述第一用户输入的第一目标消息,其中,所述第一目标消息包括供所述共享互动的参与用户查看的会话消息;
    接收所述第一用户输入的第二目标消息,其中,所述第二目标消息包括供所述直播间中的观众查看的弹幕信息。
  13. 根据权利要求11所述的方法,在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域之后,还包括:
    响应于所述第一用户输入的弹幕隐藏操作,取消所述弹幕信息区域的展示。
  14. 根据权利要求13所述的方法,其中,所述响应于所述第一用户输入的弹幕隐藏操作,取消所述弹幕信息区域的展示,包括:
    响应于所述第一用户针对所述目标页面中的预设区域输入的第三触发操作,取消所述弹幕信息区域的展示,其中,所述预设区域与所述弹幕信息区域不存在交集。
  15. 根据权利要求11所述的方法,在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域之后,还包括:
    响应于所述第一用户针对弹幕发布控件输入的第四触发操作,在所述目标页面中显示预设输入控件;
    基于所述预设输入控件接收所述第一用户输入的第一弹幕信息。
  16. 根据权利要求11所述的方法,在所述目标页面中展示所述目标共享媒体内容以及所述目标共享媒体内容对应的弹幕信息区域之后,还包括:
    响应于接收到所述第二用户发布的第二弹幕信息,在所述弹幕信息区域中以第一预设显示方式显示所述第二弹幕信息,其中,所述弹幕信息区域中的第三弹幕信息以第二预设显示方式进行显示,所述第三弹幕信息由所述直播间中 未参与所述共享互动的第三用户发布,所述第一预设显示方式与所述第二预设显示方式不同。
  17. 根据权利要求11所述的方法,还包括:
    响应于接收到所述第二用户发送的基于所述共享互动的第二会话信息,在所述目标页面中的所述第二用户对应的用户标识的目标关联区域,显示所述第二会话信息,其中,所述目标关联区域与所述弹幕信息区域不同。
  18. 一种内容展示装置,包括:
    第一展示模块,设置为以第一显示模式显示目标页面,并在所述目标页面中以第一方式展示目标共享媒体内容,其中,所述目标页面用于展示共享媒体流中的共享媒体内容,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流;
    显示模式确定模块,设置为确定所述目标页面当前的显示模式为第二显示模式,其中,所述第二显示模式与所述第一显示模式不同;
    第二展示模块,设置为在所述目标页面中以第二方式展示所述目标共享媒体内容,其中,所述第二方式与所述第一方式不同。
  19. 根据权利要求18所述的装置,还包括:设置为执行如权利要求2-17任一项所述的方法的模块。
  20. 一种电子设备,包括:
    至少一个处理器;
    存储装置,设置为存储至少一个程序;
    当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如权利要求1-17中任一所述的内容展示方法。
  21. 一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-17中任一所述的内容展示方法。
  22. 一种计算机程序产品,包括承载在非暂态计算机可读介质上的计算机程序,所述计算机程序包含用于执行如权利要求1-17中任一所述的内容展示方法的程序代码。
PCT/CN2023/123752 2022-10-10 2023-10-10 内容展示方法、装置、设备及存储介质 WO2024078486A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211234035.2 2022-10-10
CN202211234035.2A CN115617436A (zh) 2022-10-10 2022-10-10 内容展示方法、装置、设备及存储介质

Publications (1)

Publication Number Publication Date
WO2024078486A1 true WO2024078486A1 (zh) 2024-04-18

Family

ID=84862504

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/123752 WO2024078486A1 (zh) 2022-10-10 2023-10-10 内容展示方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN115617436A (zh)
WO (1) WO2024078486A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114911399A (zh) * 2022-05-06 2022-08-16 北京字跳网络技术有限公司 信息展示方法、装置、设备及存储介质
CN115617436A (zh) * 2022-10-10 2023-01-17 北京字跳网络技术有限公司 内容展示方法、装置、设备及存储介质
CN117729386A (zh) * 2023-03-27 2024-03-19 书行科技(北京)有限公司 直播评论的展示方法、装置、电子设备和可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073583A (zh) * 2020-09-09 2020-12-11 腾讯科技(深圳)有限公司 多媒体信息展示方法及相关设备
CN113867579A (zh) * 2021-08-05 2021-12-31 北京字跳网络技术有限公司 横屏交互方法、装置、电子设备及存储介质
CN114911399A (zh) * 2022-05-06 2022-08-16 北京字跳网络技术有限公司 信息展示方法、装置、设备及存储介质
WO2022199426A1 (zh) * 2021-03-26 2022-09-29 北京字跳网络技术有限公司 视频的展示方法、装置、电子设备和存储介质
CN115617436A (zh) * 2022-10-10 2023-01-17 北京字跳网络技术有限公司 内容展示方法、装置、设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073583A (zh) * 2020-09-09 2020-12-11 腾讯科技(深圳)有限公司 多媒体信息展示方法及相关设备
WO2022199426A1 (zh) * 2021-03-26 2022-09-29 北京字跳网络技术有限公司 视频的展示方法、装置、电子设备和存储介质
CN113867579A (zh) * 2021-08-05 2021-12-31 北京字跳网络技术有限公司 横屏交互方法、装置、电子设备及存储介质
CN114911399A (zh) * 2022-05-06 2022-08-16 北京字跳网络技术有限公司 信息展示方法、装置、设备及存储介质
CN115617436A (zh) * 2022-10-10 2023-01-17 北京字跳网络技术有限公司 内容展示方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN115617436A (zh) 2023-01-17

Similar Documents

Publication Publication Date Title
US11895426B2 (en) Method and apparatus for capturing video, electronic device and computer-readable storage medium
WO2024078486A1 (zh) 内容展示方法、装置、设备及存储介质
WO2021254186A1 (zh) 一种活动入口的展示方法、装置、电子设备及存储介质
US20240062443A1 (en) Video sharing method and apparatus, device, and medium
WO2022078165A1 (zh) 直播界面交互方法、装置、电子设备及计算机可读介质
WO2023169340A1 (zh) 信息展示方法、装置、电子设备、存储介质和程序产品
WO2020010819A1 (zh) 基于直播间的数据交互方法、装置、终端和存储介质
EP4084488A1 (en) Video interaction method and device, electronic device and storage medium
WO2023213245A1 (zh) 信息展示方法、装置、设备及存储介质
US20220253492A1 (en) Method, an apparatus, an electronic device and a storage medium for multimedia information processing
WO2023160573A1 (zh) 直播画面的展示方法、装置、电子设备及存储介质
WO2023103956A1 (zh) 数据交互方法、装置、电子设备、存储介质和程序产品
EP4432679A1 (en) Video publishing method and apparatus, electronic device, storage medium and program product
CN114679628B (zh) 一种弹幕添加方法、装置、电子设备和存储介质
WO2023143299A1 (zh) 消息展示方法、装置、设备及存储介质
WO2024078516A1 (zh) 媒体内容展示方法、装置、设备及存储介质
WO2023131104A1 (zh) 直播过程中的界面显示方法、装置、设备、介质及产品
JP2024502728A (ja) 未読メッセージの展示方法、装置、電子機器、および記憶媒体
WO2024094130A1 (zh) 内容分享方法、装置、设备、计算机可读存储介质及产品
WO2023098011A1 (zh) 视频播放方法及电子设备
CN115474085A (zh) 媒体内容播放方法、装置、设备、存储介质和程序产品
US20230370686A1 (en) Information display method and apparatus, and device and medium
WO2024002069A1 (zh) 直播页面的显示方法、装置、设备、存储介质和程序产品
WO2024041556A1 (zh) 一种连麦展示方法、装置、电子设备、计算机可读介质
WO2023198033A1 (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: 23876688

Country of ref document: EP

Kind code of ref document: A1