WO2024078516A1 - Media content display method and apparatus, device, and storage medium - Google Patents

Media content display method and apparatus, device, and storage medium Download PDF

Info

Publication number
WO2024078516A1
WO2024078516A1 PCT/CN2023/123890 CN2023123890W WO2024078516A1 WO 2024078516 A1 WO2024078516 A1 WO 2024078516A1 CN 2023123890 W CN2023123890 W CN 2023123890W WO 2024078516 A1 WO2024078516 A1 WO 2024078516A1
Authority
WO
WIPO (PCT)
Prior art keywords
shared
preset
media
content
shared media
Prior art date
Application number
PCT/CN2023/123890
Other languages
French (fr)
Chinese (zh)
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 WO2024078516A1 publication Critical patent/WO2024078516A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • H04N21/43076Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of the same content streams on multiple devices, e.g. when family members are watching the same movie on different devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content

Definitions

  • the present disclosure relates to the field of Internet technology, for example, to a media content display method, device, equipment and storage medium.
  • the present disclosure provides a media content display method, apparatus, storage medium and device, which can optimize the media content display solution.
  • the present disclosure provides a method for displaying media content, comprising:
  • the shared media stream includes a media stream corresponding to a shared interaction between the first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format;
  • the target page switches from displaying the first shared media stream to displaying a second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
  • the present disclosure further provides a media content display device, including:
  • a shared media stream display module configured to display a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format;
  • the shared media stream switching module is configured to switch, in response to a preset type switching operation, from displaying the first shared media stream to displaying the second shared media stream in the target page, wherein the second shared media stream contains shared media content in a second type of preset media format, and the second type of preset media The format is different from the first type of preset media format.
  • 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 media 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 media 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 media content display method.
  • FIG1 is a scenario architecture diagram of an application scenario applicable to a media content display method provided by an embodiment of the present disclosure
  • FIG2 is a schematic diagram of a flow chart of a media 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 a flow chart of another media content display method 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 schematic diagram of the structure of a media content display device provided by an embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram of the structure of an electronic device provided by 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 media 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 electronic devices can communicate with each other through the electronic device.
  • the installed preset applications can be used for real-time calls, content sharing, and message interactions, etc.
  • 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 are sharing and interacting, each user can control the current shared video stream, such as switching to the previous video or the next video.
  • 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 can also be other types of applications.
  • FIG2 is a flow chart of a media content display method provided by an embodiment of the present disclosure.
  • the present disclosure embodiment is applicable to the case of displaying shared media content.
  • the method can be executed by a media content display device, which can be implemented in the form of software and/or hardware, for example, by an electronic device. As shown in FIG2 , the method includes:
  • Step 201 Display a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format.
  • the first user is the user currently using the preset application, that is, the local user, which can be understood as the account currently logged in in the preset application is the account of the first user.
  • the target page can be a page in the preset application that has the ability to display shared media streams, and the type of the target page is not limited.
  • two or more users can be supported to share a media stream in real time.
  • the second user can be a user who participates in the current media stream sharing with the first user, that is, a peer user.
  • the number of second users can be one or more, and the number of second users is not limited.
  • the shared media stream includes a media stream corresponding to the shared interaction between the first user and at least one second user, that is, each user who participates in the shared interaction can watch the shared media stream through the electronic device used by the user.
  • the source of the shared media stream is not limited.
  • the preset media forms can be divided according to the format of the media data, for example, media forms such as audio, picture and video.
  • the first type of preset media form can be any of the above media forms.
  • the shared media content can be the media content in the shared media stream, corresponding to the media form, such as audio content, picture content and video content.
  • the display method of shared media content in different media forms can be different.
  • the display of shared media content in audio form can include playing the shared audio content, and can also include displaying the associated information of the shared audio content, and the associated information can include, for example, the song name, singer, album name or lyrics;
  • the display of shared media content in video form can include playing the sound in the shared video content, and displaying the video image of the shared video content.
  • the preset media formats may also be divided according to the source of the shared media content, for example, may include content from a work recommendation stream, a live video stream, and a collection of work libraries.
  • the preset media forms can also be divided according to the format of the media data and the source of the shared media content.
  • shared media content with the same format but different sources can correspond to different preset media forms
  • shared media content with the same source but different formats can also correspond to different preset media forms.
  • the first shared media stream includes shared media content in a first preset media format. All or part of the shared media content included in the first shared media stream may be in the first preset media format.
  • the proportion of shared media content of the first type of preset media form in the first shared media stream is greater than or equal to the first preset ratio value.
  • the first preset ratio value can be set according to actual conditions, and the first preset ratio value can be greater than 50%.
  • the first preset ratio value can be 100% or 95%, etc. Assuming that the preset media form with the highest proportion of corresponding shared media content in the shared media stream is recorded as the core media form in the shared media stream, the first type of preset media form can be considered as the core media form in the first shared media stream.
  • a proportion of shared media content in the first preset media format is greater than a proportion of shared media content in the second preset media format.
  • a preset application can pull one or more shared media contents belonging to the shared media stream from the corresponding server at a preset frequency, and the shared media contents pulled by the preset number of pulls can be used as a content set to determine the proportion of shared media contents of different preset media forms in the content set. For example, for the first shared media stream, 5 shared media contents are pulled each time, and the preset number of pulls is 4.
  • the first preset ratio value is 95%
  • there are 19 shared media contents of the first category of preset media forms for another example, in the content set, there are 18 shared media contents of the first category of preset media forms and 2 shared media contents of the second category of preset media forms, or there are 20 shared media contents of the first category of preset media forms and 0 shared media contents of the second category of preset media forms, then in the first shared media stream, the proportion of shared media contents of the first category of preset media forms is greater than the proportion of shared media contents of the second category of preset media forms.
  • Step 202 In response to a preset type switching operation, the target page switches from displaying the first shared media stream to displaying a second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
  • the second type of preset media format may be any of the above media formats that are different from the first type of preset media format.
  • the first type of preset media format is an audio format
  • the second type of preset media format may be a picture format or a video format
  • the first type of preset media format is a video format
  • the second type of preset media format may be an audio format or a picture format, etc.
  • the second shared media stream includes shared media content in the second type of preset media format, and all or part of the shared media content included in the second shared media stream may be in the second type of preset media format.
  • the proportion of shared media content of the second type of preset media format in the second shared media stream is greater than or equal to the second preset ratio value.
  • the second preset ratio value can be set according to actual conditions, and the second preset ratio value can be greater than 50%.
  • the second preset ratio value can be 100% or 95%, etc., so that the second type of preset media format becomes the core media format in the second shared media stream.
  • the first preset ratio value and the second preset ratio value can be equal or different.
  • a proportion of shared media content in the second preset media format is greater than a proportion of shared media content in the first preset media format.
  • switching between shared media streams containing shared media content in different media formats can be supported, and the user can switch by inputting a preset type switching operation.
  • the form of the preset type switching operation is not limited, for example, it can be a trigger operation based on a preset switching control, or a preset gesture operation, such as a double-click operation, a single-finger sliding operation, or a multi-finger sliding operation, or a voice command, etc.
  • the shared media content in the first shared media stream currently being displayed in the target page can be switched to the shared media content in the second shared media stream for display, and can be switched to the shared media content of the second type of preset media format in the second shared media stream for display.
  • the first type of preset media format is an audio format
  • the second type of preset media format can be a video format.
  • the target page 301 the first shared media stream is displayed.
  • the associated information 302 of the song 1 such as the song icon, song name, and dynamic audio waveform, etc.
  • the target page 301 is switched to display the second shared media stream, such as switching from displaying song 1 to displaying the clown video 303 in the second shared media stream.
  • the media content display method displays a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format.
  • the target page switches from displaying the first shared media stream to displaying the second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
  • switching from displaying the first shared media stream to displaying the second shared media stream in the target page includes: displaying a preset switching control corresponding to the second shared media stream in the target page; in response to a triggering operation of a preset switching control corresponding to the second shared media stream, switching from displaying the first shared media stream to displaying the second shared media stream in the target page; The media stream is switched to display the second shared media stream.
  • the preset switching control may be a permanent control in the target page, or may be displayed when a preset display condition is met.
  • the preset display condition may be automatically triggered by a preset application, or may be triggered by a user's operation.
  • the displaying of the preset switching control corresponding to the second shared media stream in the target page includes: in response to a media type switching operation, displaying a media type switching area in the target page, and displaying, in the media type switching area, a preset switching control associated with a content identifier of the shared media content of the second type of preset media format in the second shared media stream.
  • the form of the media type switching operation is not limited, for example, it can be a trigger operation based on a preset media switching control, or a preset gesture operation, such as a double-click operation, a single-finger sliding operation, or a multi-finger sliding operation, or a voice command, etc.
  • a media type switching area is displayed, in which a content identifier of a shared media content of the second type of preset media format can be displayed, and the content identifier can be reused as an associated preset switching control, and an associated preset switching control can also be displayed in an associated area of the content identifier.
  • FIG4 is another interface interaction diagram provided by an embodiment of the present disclosure.
  • the first type of preset media form is a video form
  • the second type of preset media form may be an audio form.
  • a preset media switching control 402 is displayed.
  • a media type switching area 403 is displayed, and a content identifier 404 of the shared media content (song) in audio form is displayed therein.
  • the content identifier may be, for example, a song name, and an associated preset switching control 405 is displayed in the associated area of the content identifier 404 (as shown on the right side of the figure).
  • the content identifier 404 may also be reused as a preset switching control to improve the utilization rate of the page display space.
  • the preset switching control associated with the content identifier of the shared media content of the second type of preset media form in the second shared media stream is displayed in the media type switching area, including: displaying media type options corresponding to multiple shared media streams in the media type switching area, wherein the media type options corresponding to the multiple shared media streams include the media type option corresponding to the second shared media stream; in response to a trigger operation on the media type option corresponding to the second shared media stream, displaying the associated area of the media type option corresponding to the second shared media stream.
  • the method further includes: displaying a preset switching control associated with the content identifier of the shared media content of the second type of preset media format in the second shared media stream in the associated area.
  • the core media formats corresponding to multiple shared media streams may be different, and the text of the media type options may be set according to the corresponding core media formats, so that the user can quickly distinguish them.
  • the associated areas of different media type options may be the same or different. If the associated areas of different media type options are the same, the content identifier displayed in the associated area may be updated when the selected media type option changes. For different media type options, the display method of the content identifier in the associated area may be different, and may be set according to the corresponding preset media format.
  • FIG5 is another interface interaction schematic diagram provided by an embodiment of the present disclosure.
  • a media type switching area 502 is displayed.
  • the media type switching area 502 may include two sub-areas, one of which is used to display media type options 503, such as "recommendation", "collection” and "music” in the figure, and the other sub-area is an associated area 504 of media type options. Different media type options may share the associated area 504.
  • the first media type option may be set to a selected state by default, such as "recommendation" in the figure.
  • a content identifier 505 of a recommended work in the recommended work stream may be displayed, which may be a cover image or video screenshot of the recommended work.
  • the user wants to select a shared media stream with music as the core media form, he may click "music" to change the associated area 504 to display the content identifier 506 of the music in the shared media stream.
  • the content identifier 506 of the music may be different from the content identifier 505 of the recommended work.
  • the content identifier 506 of the music may include a song icon, a song name, a singer name, and a song duration.
  • the target page in response to a triggering operation of a preset switching control corresponding to the second shared media stream, switches from displaying the first shared media stream to displaying the second shared media stream, including: in response to a triggering operation of a preset switching control associated with a target content identifier, the target page switches from displaying the first shared media stream to displaying the shared media content corresponding to the target content identifier in the second shared media stream.
  • the first shared media stream includes at least two media content groups of the first preset media format, a single media content group includes at least two consecutive shared media content of the first preset media format, and there is at least one shared media content of the second preset media format between every two adjacent media content groups.
  • the target page switches from displaying the first shared media stream to displaying the second shared media stream, including: in the case where the target page currently displays the shared media content of the second preset media format in the first shared media stream, in response to the preset type switching operation, the target page switches from displaying the first shared media stream to displaying the second shared media stream.
  • the advantage of such a setting is that shared media content of other preset media formats can be inserted between consecutive shared media content of the same preset media format, which can play a certain prompting role for the user, prompting the user to share more media formats by switching shared media streams, and the shared media content currently viewed by the user corresponds to the core media format of the second shared media stream to be switched, which can reduce the user's shared media stream selection operation.
  • the number of shared media contents of at least two consecutive first-category preset media formats included in a single media content group can be pre-set, such as 10.
  • the 1st to 10th shared media contents and the 12th to 21st shared media contents are shared video contents
  • the 11th shared media content is shared audio content.
  • the target page currently displays the media content of the first type of preset media format in the first shared media stream
  • it is also allowed to switch to the second shared media stream, and different shared media stream switching modes can be set according to the different preset media formats of the media content in the first shared media stream currently displayed.
  • the target page in response to the first preset type switching operation, switches from displaying the first shared media stream to displaying the second shared media stream; in the case where the target page currently displays the shared media content of the first type of preset media format in the first shared media stream, in response to the second preset type switching operation, the target page switches from displaying the first shared media stream to displaying the second shared media stream.
  • the first preset type switching operation and the second preset type switching operation are different.
  • the first preset type switching operation can be a gesture operation such as a long press or a double click
  • the second preset type switching operation can be a triggering operation of a preset switching control corresponding to the second shared media stream.
  • the second shared media stream may also include a media content group, and the media content group in the first shared media stream is recorded as the first media content group.
  • the second shared media stream includes at least two second media content groups in a second type of preset media format, a single second media content group includes at least two consecutive shared media content in the second type of preset media format, and at least one shared media content in the first type of preset media format exists between every two adjacent second media content groups.
  • the preset application has a work publishing function, and users can use the work publishing function to publish their own works, such as video works.
  • the preset media form includes an audio form
  • the shared media content includes shared audio content
  • the shared audio content includes the original audio in the video work published by the user.
  • the advantage of this setting is that it can enrich the source of shared audio content and the display form of video works.
  • users who publish video works can edit or mix audio materials with the full authorization of the audio material holder, and use the processed audio as the background music in their own video works, that is, the original audio. Displaying the original audio in the video work as shared audio content is the independent choice of the publisher of the video work.
  • the preset media form includes an audio form
  • the shared media content includes shared audio content
  • the method further includes: updating the background of the target page according to the preset associated image of the shared audio content currently displayed in the target page.
  • the preset associated images may include, for example, album covers of shared audio content, singer photos, cover images of related video works, or video screenshots, etc.
  • the background of the target page may be directly replaced with the preset associated image; at least one image processing operation of cropping, resizing, color adjustment, and transparency adjustment may be performed on the preset associated image to replace the background of the target page with the image obtained after the above image processing.
  • the shared audio content includes the original audio in the video work released by the user and/or the music in the preset music library; wherein, the background of the target page is updated according to the preset associated image of the shared audio content currently displayed in the target page, including: when the shared audio content currently displayed in the target page includes the original audio, the first background of the target page is displayed in a first preset display method, wherein the first background contains the first preset associated image of the original audio; when the shared audio content currently displayed in the target page does not include the user's original audio but is only the music in the library, the second background of the target page is displayed in a second preset display method, wherein the second background contains the second preset associated image of the music in the library.
  • the advantage of such a setting is that for shared audio content from different sources, different display methods are used to update the background of the target page, enriching the background display method, and facilitating users to easily distinguish the source of the current shared audio content.
  • the preset music library may include music published by professionals (such as singers, musicians or record companies, etc.) for which the preset application has acquired the copyright.
  • This type of music is referred to as in-library music in the present embodiment, and the in-library music can be used as the audio material described above.
  • the difference between the first preset display mode and the second preset display mode can be reflected in the following aspects:
  • the first preset associated image can be the video frame of the video work to which it belongs, and the video frame can be displayed dynamically, such as playing the video work to which the original audio belongs in the first background, and the size of the first background is smaller than the screen size;
  • the second preset associated image can be the album cover, and the size of the second background can be equal to the screen size.
  • the page content in the message interaction page may include the message content and the associated content of the message content, and the associated content may be the object identifier of the message interaction object (such as the user name or user avatar, etc.).
  • the user can view the preset associated image of the shared audio content in full screen (when the target page is in full screen display state) while sending and receiving messages, taking into account both the message interaction and audio sharing functions.
  • the preset media format includes an audio format
  • the shared media content includes shared audio content
  • displaying the shared audio content in the target page includes: displaying the associated information of the shared audio content in a preset control in the target page, and playing the shared audio content in the target page.
  • the preset control may be a preset floating control
  • the floating control may be a control in the form of a floating box.
  • the properties of the preset floating control such as shape, size, color, transparency, and display position, may be set according to actual needs.
  • the preset control may also be a preset strip control, for example, at least one boundary of the preset strip control overlaps with the boundary of the target page to reduce interference with other content in the target page.
  • the preset control can also display shared interactive messages, which can include text messages and picture messages, such as emoticon messages.
  • shared interactive messages can include text messages and picture messages, such as emoticon messages.
  • the first user can view the interactive messages sent by the second user in a timely manner while browsing the target page.
  • the target page at this time can be a preset page, which can include pages other than message interaction pages, such as information pages, product details pages, or personal homepages.
  • FIG6 is a flow chart of another media content display method provided by an embodiment of the present disclosure.
  • the present disclosure embodiment is described based on the scheme in the above embodiment.
  • the first shared media stream represented as shared
  • the proportion of shared audio content in the first shared media stream is greater than the proportion of shared video content
  • the proportion of shared video content in the second shared media stream is greater than the proportion of shared audio content.
  • the method comprises the following steps:
  • Step 601 Receive a trigger operation of a shared interaction in audio format input by a first user based on a first target page.
  • the first target page is a message interaction page.
  • the triggering operation of the sharing interaction may be sending an invitation to the second user for audio sharing interaction, or may be accepting the invitation to the second user for audio sharing interaction.
  • Figure 7 is another interface interaction diagram provided by an embodiment of the present disclosure. As shown in Figure 7, assuming that the first user is user A and the second user is user B, user B sends an invitation to user A for audio sharing interaction. In the message interaction page 701 on the user A side, an invitation control 702 is displayed. After user A clicks the invitation control 702, the audio sharing interaction (also known as listening together) can be entered.
  • Step 602 Display the association information of the current shared media content in the shared audio stream between the first user and the second user in a preset control in the first target page, play the current shared media content in the first target page, and update the background of the first target page according to the preset associated image of the current shared audio content.
  • the associated information of the currently displayed song 1 can be displayed in the play bar control 703 (preset control) in the first target page, and the associated information includes the song icon, song name, and play control buttons (such as previous song, pause, and next song) in the figure, and the sound of song 1 is played in the first target page.
  • the video cover or video screenshot of the video work (such as the landscape image in FIG7 ) can be used as the preset associated image of song 1, and the landscape image is used to replace the original background of the first target page, that is, the landscape image becomes the new current background of the first target page, and the message content and avatars of users A and B are displayed on the upper layer of the landscape image, ensuring the normal message interaction between users A and B, and taking into account the message interaction and audio sharing effects.
  • User B can input the preset type switching operation by triggering the preset control in a first preset triggering manner (for example, the preset control can be reused as a preset switching control), thereby switching from displaying a shared audio stream to displaying a shared video stream in the first target page.
  • a first preset triggering manner for example, the preset control can be reused as a preset switching control
  • User B can input the media type switching operation by triggering the preset control in the second preset trigger mode, displaying the media type switching area in the first target page, and displaying the preset switching control associated with the content identifier of the shared video content in the shared video stream in the media type switching area.
  • Step 603 In response to a preset trigger operation for a preset control, switching to displaying the shared audio content in the shared audio stream in the second target page, and displaying the first user and the second user in the second target page.
  • the first preset switching control corresponding to the user's shared video stream.
  • the display of song 1 continues to be switched to the second target page 704.
  • the second target page may be a shared page with another type of shared interaction.
  • the user IDs of users participating in the shared interaction such as the avatars of user A and user B, may be displayed on the second target page.
  • Associated information of the shared audio content such as the song name, may be displayed.
  • the preset associated image of the current shared audio content may also be used as the background of the second target page.
  • the shared media content can be switched by inputting a specified gesture operation, such as a swipe up operation corresponding to switching to the next shared media content, and a swipe down operation corresponding to switching to the previous shared media content.
  • a specified gesture operation such as a swipe up operation corresponding to switching to the next shared media content, and a swipe down operation corresponding to switching to the previous shared media content.
  • the first preset switch control 705 corresponding to the shared video stream can also be displayed.
  • User A can switch from displaying song 1 to displaying the shared video content in the shared video stream in the second target page by triggering the first preset switch control 705, such as the character video 708 in FIG. 7 .
  • the first preset switching control 705 can be replaced with a preset media switching control.
  • User A can input a media type switching operation by triggering the preset media switching control, and then can select and switch shared media streams corresponding to more media forms.
  • a media type switching operation by triggering the preset media switching control, and then can select and switch shared media streams corresponding to more media forms.
  • Step 604 When the preset switching control is not triggered, continue to display the shared audio content in the shared audio stream in the second target page.
  • the shared audio stream includes multiple audio content groups, a single audio content group includes a preset number (denoted as N) of continuous shared audio content, and there is a shared video content between every two adjacent audio content groups.
  • Step 605 After displaying a preset number of shared audio contents in the shared audio stream in the second target page, display the shared video contents in the shared audio stream, and display a second preset switching control corresponding to the shared video stream in the second target page.
  • the current audio content group is played, and the second target page is automatically switched to play the shared video content in the shared audio stream, such as the clown video 706 in FIG7, and the second preset switching control 707 corresponding to the shared video stream is displayed in the second target page.
  • the texts corresponding to the first preset switching control 705 and the second preset switching control 707 can be the same or different.
  • the texts corresponding to the first preset switching control 705 and the second preset switching control 707 can be different, which are "More Sharing Types" and "Switch to Watch Together", respectively.
  • Step 606 In response to the triggering operation on the second preset switching control, in the second target page, Display the shared audio stream and switch to display the shared video stream.
  • the display of the clown video 706 in the shared audio stream can be switched to the display of the character video 708 in the shared video stream, thereby achieving the switch from the shared audio stream to the shared video stream.
  • the first preset switching control may continue to be displayed in the second target page so that user A can switch back to the shared audio stream.
  • the media content display method provided by the embodiment of the present disclosure can provide two different target pages for displaying shared media content for a shared media stream.
  • Different target pages can correspond to different display methods.
  • the user can flexibly switch from displaying shared media content of different preset media forms in a shared media stream mainly in one media form to displaying a shared media stream mainly in another media form, and provide a variety of switching methods.
  • the page background can be adaptively adjusted in the target page according to the associated image of the currently displayed shared audio content.
  • FIG8 is a schematic diagram of the structure of a media content display device provided by an embodiment of the present disclosure. As shown in FIG8 , the device includes: a shared media stream display module 801 and a shared media stream switching module 802 .
  • a shared media stream display module 801 is configured to display a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format;
  • a shared media stream switching module 802 is configured to switch from displaying the first shared media stream to displaying a second shared media stream in the target page in response to a preset type switching operation, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
  • the media content display device displays a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format.
  • the target page switches from displaying the first shared media stream to displaying the second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
  • the proportion of shared media content in the first preset media format is greater than the proportion of shared media content in the second preset media format; in the second shared media stream, the proportion of shared media content in the second preset media format is greater than the proportion of shared media content in the first preset media format.
  • the shared media stream switching module 802 includes:
  • a switching control display unit is configured to display a preset switching control corresponding to the second shared media stream in the target page; a switching unit is configured to switch from displaying the first shared media stream to displaying the second shared media stream in the target page in response to a triggering operation of the preset switching control corresponding to the second shared media stream.
  • the switching control display unit includes:
  • the area display subunit is configured to display a media type switching area in the target page in response to a media type switching operation; the switching control display subunit is configured to display a preset switching control associated with the content identifier of the shared media content of the second type of preset media form in the second shared media stream in the media type switching area.
  • the switch control display subunit is set to:
  • media type options corresponding to multiple shared media streams are displayed, wherein the media type options corresponding to the multiple shared media streams include the media type option corresponding to the second shared media stream; in response to a triggering operation on the media type option corresponding to the second shared media stream, an associated area for the media type option corresponding to the second shared media stream is displayed.
  • the switching control display subunit is further configured to display, in the associated area, a preset switching control associated with the content identifier of the shared media content of the second preset media format in the second shared media stream.
  • the response switching unit is configured as follows:
  • the target page switches from displaying the first shared media stream to displaying the shared media content corresponding to the target content identifier in a second shared media stream.
  • the first shared media stream includes at least two media content groups in a first preset media format, a single media content group includes at least two consecutive shared media content in the first preset media format, and there is at least one shared media content in the second preset media format between every two adjacent media content groups.
  • the shared media stream switching module 802 is configured as follows:
  • the target page When the target page currently displays the shared media content of the second preset media type in the first shared media stream, in response to a preset type switching operation, the target page switches from displaying the first shared media stream to displaying the second shared media stream.
  • the preset media form includes an audio form, and the shared media content includes shared audio content; the device further includes:
  • the background updating module is configured to update the background of the target page according to a preset associated image of the shared audio content currently displayed in the target page.
  • the target page includes a message interaction page;
  • the background update module includes:
  • a background determination unit is configured to determine a target background image based on a preset associated image of the shared audio content currently displayed in the target page; a background replacement unit is configured to replace the current background of the target page with the target background image so that the page content of the message interaction page is displayed on an upper layer of the target background image, wherein the page content includes message content and/or associated content of the message content.
  • the preset media format includes an audio format, and the shared media content includes shared audio content; wherein, when the shared media stream display module performs the operation of displaying the shared audio content in the target page, it is configured to: display the associated information of the shared audio content in a preset control in the target page, and play the shared audio content in the target page.
  • the preset media format includes an audio format
  • the shared media content includes shared audio content
  • the shared audio content includes the original audio in the video work released by the user.
  • the shared audio content includes the original audio in the video work released by the user and/or the music in the preset music library; wherein the background update module includes:
  • the first background updating unit is configured to display the first background of the target page in a first preset display mode when the shared audio content currently displayed in the target page includes the original audio, wherein the first background includes a first preset associated image of the original audio; and the second background updating unit is configured to display the second background of the target page in a second preset display mode when the shared audio content currently displayed in the target page is the music in the library, wherein the second background includes a second preset associated image of the music in the library.
  • the media content display device provided in the embodiments of the present disclosure can execute the media 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.
  • FIG9 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure.
  • a schematic diagram of the structure of an electronic device e.g., a terminal device or server in FIG9
  • the terminal device in the embodiment of the present disclosure may include mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDA), tablet computers (Portable Android Device, PAD), portable multimedia players (PMP), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), etc., and fixed terminals such as digital televisions (TV), desktop computers, etc.
  • PDA personal digital assistants
  • PAD Portable Android Device
  • PMP portable multimedia players
  • vehicle-mounted terminals e.g., vehicle-mounted navigation terminals
  • fixed terminals such as digital televisions (TV), desktop computers, etc.
  • TV digital televisions
  • the electronic device 900 shown in FIG9 is merely an example and should not bring any limitations to the functions and scope of use of the embodiments of the present disclosure.
  • the electronic device 900 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 to a random access memory (RAM) 903.
  • 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 900 are also stored.
  • the processing device 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904.
  • An input/output (I/O) interface 905 is also connected to the bus 904.
  • the following devices may be connected to the I/O interface 905: input devices 906 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 908 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 909.
  • the communication device 909 may allow the electronic device 900 to communicate with other devices wirelessly or by wire to exchange data.
  • FIG. 9 shows an electronic device 900 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 a network through a communication device 909, or installed from a storage device 908, or installed from a ROM 902.
  • the processing device 901 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 media 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 media content display method provided in 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 computer-readable medium carries one or more programs.
  • the electronic device displays a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format; in response to a preset type switching operation, the target page switches from displaying the first shared media stream to displaying a second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
  • the media formats are different.
  • Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages.
  • the program code may 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 may be connected to the user's computer through any type of network, including a LAN or WAN, or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
  • each square 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 square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and/or flow chart, and the combination of the square 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 by hardware.
  • the name of the module does not limit the module itself in one case.
  • the shared media stream display module may also be described as "displaying a first shared media stream module in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format".
  • 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 can contain or store information for use by or in connection with an instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • the machine-readable medium may include an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any suitable combination of the foregoing.
  • Examples of machine-readable storage media may include an electrical connection based on one or more wires, a portable computer disk, a hard disk, RAM, ROM, EPROM or flash memory, optical fiber, CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
  • a media content display method including:
  • the shared media stream includes a media stream corresponding to a shared interaction between the first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format;
  • the target page switches from displaying the first shared media stream to displaying a second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
  • the proportion of shared media content in the first preset media form is greater than the proportion of shared media content in the second preset media form; in the second shared media stream, the proportion of shared media content in the second preset media form is greater than the proportion of shared media content in the first preset media form.
  • switching from displaying the first shared media stream to displaying the second shared media stream in the target page includes:
  • the target page switches from displaying the first shared media stream to displaying the second shared media stream.
  • displaying a preset switching control corresponding to the second shared media stream in the target page includes:
  • a media type switching area is displayed in the target page, and a preset switching control associated with the content identifier of the shared media content of the second preset media format in the second shared media stream is displayed in the media type switching area.
  • displaying, in the media type switching area, a preset switching control associated with a content identifier of the shared media content of the second type of preset media format in the second shared media stream includes:
  • media type options corresponding to multiple shared media streams are displayed.
  • the media type options corresponding to the multiple shared media streams include a media type option corresponding to the second shared media stream;
  • an associated area of the media type option corresponding to the second shared media stream is displayed.
  • the present invention further includes:
  • a preset switching control associated with the content identifier of the shared media content of the second preset media format in the second shared media stream is displayed in the associated area.
  • switching from displaying the first shared media stream to displaying the second shared media stream in the target page includes:
  • the target page switches from displaying the first shared media stream to displaying the shared media content corresponding to the target content identifier in a second shared media stream.
  • the first shared media stream includes at least two media content groups of the first preset media format, a single media content group includes at least two consecutive shared media content of the first preset media format, and there is at least one shared media content of the second preset media format between every two adjacent media content groups.
  • switching from displaying the first shared media stream to displaying the second shared media stream in the target page includes:
  • the target page When the target page currently displays the shared media content of the second preset media type in the first shared media stream, in response to a preset type switching operation, the target page switches from displaying the first shared media stream to displaying the second shared media stream.
  • the preset media form includes an audio form, and the shared media content includes shared audio content; the method further includes:
  • the background of the target page is updated according to a preset associated image of the shared audio content currently displayed in the target page.
  • the target page includes a message interaction page; and updating the background of the target page according to a preset associated image of the shared audio content currently displayed in the target page includes:
  • the page content of the page is displayed on the upper layer of the target background image, wherein the page content includes message content and/or associated content of the message content.
  • the preset media form includes an audio form, and the shared media content includes shared audio content;
  • the step of displaying the shared audio content in the target page includes:
  • the associated information of the shared audio content is displayed in a preset control in the target page, and the shared audio content is played in the target page.
  • the preset media form includes an audio form
  • the shared media content includes shared audio content
  • the shared audio content includes background music in a video work published by a user.
  • the shared audio content includes the original audio in the video work released by the user and the music in the preset music library
  • updating the background of the target page according to the preset associated image of the shared audio content currently displayed in the target page includes:
  • a first background of the target page is displayed in a first preset display manner, wherein the first background includes a first preset associated image of the original audio;
  • a second background of the target page is displayed in a second preset display manner, wherein the second background includes a second preset associated image of the music in the library.
  • a media content presentation device including:
  • a shared media stream display module configured to display a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format;
  • the shared media stream switching module is configured to switch from displaying the first shared media stream to displaying the second shared media stream in the target page in response to a preset type switching operation, wherein the second shared media stream contains shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
  • 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 media 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 media content presentation 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 media content presentation method provided by the embodiments of the present disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A media content display method and apparatus, a device, and a storage medium. The media content display method comprises: displaying a first shared media stream on a target page, wherein the shared media stream comprises a media stream used for corresponding to shared interaction between a first user and at least one second user, the first shared media stream containing shared media content in a first type of preset media form (201); and, in response to a preset type switching operation, switching from displaying on the target page the first shared media stream to displaying a second shared media stream, wherein the second shared media stream contains shared media content in a second type of preset media form, the second type of preset media form being different from the first type of preset media form (202).

Description

媒体内容展示方法、装置、设备及存储介质Media content display method, device, equipment and storage medium
本申请要求在2022年10月13日提交中国专利局、申请号为202211254768.2的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on October 13, 2022, with application number 202211254768.2, the entire contents of which are incorporated by reference into this application.
技术领域Technical Field
本公开涉及互联网技术领域,例如涉及媒体内容展示方法、装置、设备及存储介质。The present disclosure relates to the field of Internet technology, for example, to a media content display method, device, equipment and storage medium.
背景技术Background technique
随着互联网技术和终端技术的快速发展,用户之间的交互越来越便利,多个用户之间可以共享同一媒体流内容,从而实现基于共享媒体内容的共享互动。With the rapid development of Internet technology and terminal technology, interaction between users is becoming more and more convenient. Multiple users can share the same media stream content, thereby realizing shared interaction based on shared media content.
发明内容Summary of the invention
本公开提供了媒体内容展示方法、装置、存储介质及设备,可以优化媒体内容展示方案。The present disclosure provides a media content display method, apparatus, storage medium and device, which can optimize the media content display solution.
第一方面,本公开提供了媒体内容展示方法,包括:In a first aspect, the present disclosure provides a method for displaying media content, comprising:
在目标页面中展示第一共享媒体流,其中,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容;Displaying a first shared media stream in the target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between the first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format;
响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,其中,所述第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,所述第二类预设媒体形式与所述第一类预设媒体形式不同。In response to a preset type switching operation, the target page switches from displaying the first shared media stream to displaying a second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
第二方面,本公开还提供了媒体内容展示装置,包括:In a second aspect, the present disclosure further provides a media content display device, including:
共享媒体流展示模块,设置为在目标页面中展示第一共享媒体流,其中,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容;a shared media stream display module, configured to display a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format;
共享媒体流切换模块,设置为响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,其中,所述第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,所述第二类预设媒体 形式与所述第一类预设媒体形式不同。The shared media stream switching module is configured to switch, in response to a preset type switching operation, from displaying the first shared media stream to displaying the second shared media stream in the target page, wherein the second shared media stream contains shared media content in a second type of preset media format, and the second type of preset media The format is different from the first type of preset media format.
第三方面,本公开还提供了一种电子设备,所述电子设备包括:In a third aspect, the present disclosure further provides an electronic device, the electronic device comprising:
一个或多个处理器;one or more processors;
存储装置,设置为存储一个或多个程序;a storage device configured to store one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述的媒体内容展示方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned media content display method.
第四方面,本公开还提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行上述的媒体内容展示方法。In a fourth aspect, the present disclosure further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute the above-mentioned media content display method when executed by a computer processor.
第五方面,本公开还提供了一种计算机程序产品,包括承载在非暂态计算机可读介质上的计算机程序,所述计算机程序包含用于执行上述的媒体内容展示方法的程序代码。In a fifth aspect, 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 media content display method.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本公开实施例提供的一种媒体内容展示方法所适用的应用场景的场景架构图;FIG1 is a scenario architecture diagram of an application scenario applicable to a media content display method provided by an embodiment of the present disclosure;
图2为本公开实施例所提供的一种媒体内容展示方法的流程示意图;FIG2 is a schematic diagram of a flow chart of a media content display method provided by an embodiment of the present disclosure;
图3为本公开实施例所提供的一种界面交互示意图;FIG3 is a schematic diagram of an interface interaction provided by an embodiment of the present disclosure;
图4为本公开实施例所提供的另一种界面交互示意图;FIG4 is another schematic diagram of an interface interaction provided by an embodiment of the present disclosure;
图5为本公开实施例所提供的又一种界面交互示意图;FIG5 is a schematic diagram of another interface interaction provided by an embodiment of the present disclosure;
图6为本公开实施例所提供的另一种媒体内容展示方法的流程示意图;FIG6 is a schematic diagram of a flow chart of another media content display method provided by an embodiment of the present disclosure;
图7为本公开实施例所提供的再一种界面交互示意图;FIG7 is a schematic diagram of another interface interaction provided by an embodiment of the present disclosure;
图8为本公开实施例所提供的一种媒体内容展示装置的结构示意图;FIG8 is a schematic diagram of the structure of a media content display device provided by an embodiment of the present disclosure;
图9为本公开实施例所提供的一种电子设备的结构示意图。FIG. 9 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将参照附图描述本公开的实施例。虽然附图中显示了本公开的一些实施例,本公开可以通过多种形式来实现,提供这些实施例是为了理解本公开。本公开的附图及实施例仅用于示例性作用。Embodiments of the present disclosure will be described below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the accompanying drawings, the present disclosure can be implemented in various forms, and these embodiments are provided for understanding the present disclosure. The accompanying drawings and embodiments of the present disclosure are for exemplary purposes only.
本公开的方法实施方式中记载的多个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。 本公开的范围在此方面不受限制。The multiple steps described in the method implementation of the present disclosure can be performed in different orders and/or in parallel. In addition, the method implementation can include additional steps and/or omit the steps shown. The scope of the present disclosure is not limited in this regard.
本文使用的术语“包括”及其变形是开放性包括,即“包括”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。As used herein, 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 concepts of “first”, “second”, etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。The modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
在使用本公开实施例公开的技术方案之前,均应当依据相关法律法规通过恰当的方式对本公开所涉及个人信息的类型、使用范围、使用场景等告知用户并获得用户的授权。Before using the technical solutions disclosed in the embodiments of this disclosure, 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.
例如,在响应于接收到用户的主动请求时,向用户发送提示信息,以明确地提示用户,其请求执行的操作将需要获取和使用到用户的个人信息。从而,使得用户可以根据提示信息来自主地选择是否向执行本公开技术方案的操作的电子设备、应用程序、服务器或存储介质等软件或硬件提供个人信息。For example, in response to receiving an active request from a user, 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. Thus, 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.
作为一种实现方式,响应于接收到用户的主动请求,向用户发送提示信息的方式例如可以是弹窗的方式,弹窗中可以以文字的方式呈现提示信息。此外,弹窗中还可以承载供用户选择“同意”或者“不同意”向电子设备提供个人信息的选择控件。As an implementation method, in response to receiving an active request from the user, the prompt information 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. In addition, 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 above notification and the process of obtaining user authorization are merely illustrative and do not limit the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.
本技术方案所涉及的数据(包括数据本身、数据的获取或使用)应当遵循相应法律法规及相关规定的要求。The data involved in this technical solution (including the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
图1为本公开实施例所提供的一种媒体内容展示方法所适用的应用场景的场景架构图。参考图1,该应用场景中可以包括服务器100、第一电子设备101和第二电子设备102。电子设备的数量可以更多,对电子设备的数量不做限定,图1仅作为示意性说明。多个电子设备与服务器建立通信连接,实现信息交互。所述电子设备可以为手机、智能手表、平板电脑以及个人数字助理等移动设备;也可为台式计算机等其他设备。使用电子设备的用户之间可以通过电子设备上 安装的预设应用程序进行实时通话、内容共享以及消息交互等,内容共享可包括媒体流共享(以下简称共享互动)。其中,服务器可以为预设应用程序提供支持。示例性的,多个用户进行共享互动时,每个用户可对当前的共享视频流进行控制,例如切换上一个视频或下一个视频等。本公开实施例中,对预设应用程序的类型不做限定,例如可以是视频类应用程序、直播类应用程序或资讯类应用程序等,还可以是其他类型的应用程序。FIG1 is a scenario architecture diagram of an application scenario applicable to a media content display method provided by an embodiment of the present disclosure. Referring to FIG1 , 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 electronic devices can communicate with each other through the electronic device. The installed preset applications can be used for real-time calls, content sharing, and message interactions, etc. Content sharing may include media stream sharing (hereinafter referred to as shared interaction). Among them, the server can provide support for preset applications. Exemplarily, when multiple users are sharing and interacting, each user can control the current shared video stream, such as switching to the previous video or the next video. In the embodiments of the present disclosure, 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 can also be other types of applications.
图2为本公开实施例所提供的一种媒体内容展示方法的流程示意图,本公开实施例适用于对共享媒体内容进行展示的情形,该方法可以由媒体内容展示装置来执行,该装置可以通过软件和/或硬件的形式实现,例如,通过电子设备来实现。如图2所示,所述方法包括:FIG2 is a flow chart of a media content display method provided by an embodiment of the present disclosure. The present disclosure embodiment is applicable to the case of displaying shared media content. The method can be executed by a media content display device, which can be implemented in the form of software and/or hardware, for example, by an electronic device. As shown in FIG2 , the method includes:
步骤201、在目标页面中展示第一共享媒体流,其中,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容。Step 201: Display a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format.
本公开实施例中,第一用户为当前使用预设应用程序的用户,也即本端用户,可理解为该预设应用程序中当前处于登录状态的账号为第一用户的账号。目标页面可以为预设应用程序中具备展示共享媒体流能力的页面,对目标页面的类型不做限定。In the embodiment of the present disclosure, the first user is the user currently using the preset application, that is, the local user, which can be understood as the account currently logged in in the preset application is the account of the first user. The target page can be a page in the preset application that has the ability to display shared media streams, and the type of the target page is not limited.
在本公开实施例中,可以支持两个或更多用户进行实时的媒体流共享,第二用户可以为与第一用户共同参与当前媒体流共享的用户,也即对端用户,第二用户的数量可以是一个或多个,对第二用户的数量不做限定。共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,也即,对于参与共享互动的每个用户来说,能够通过自己使用的电子设备来观看共享媒体流。其中,对共享媒体流的来源不做限定。In the disclosed embodiments, two or more users can be supported to share a media stream in real time. The second user can be a user who participates in the current media stream sharing with the first user, that is, a peer user. The number of second users can be one or more, and the number of second users is not limited. The shared media stream includes a media stream corresponding to the shared interaction between the first user and at least one second user, that is, each user who participates in the shared interaction can watch the shared media stream through the electronic device used by the user. The source of the shared media stream is not limited.
在本公开实施例中,预设媒体形式可依据媒体数据的格式进行划分,例如可以包括音频、图片以及视频等媒体形式。第一类预设媒体形式可以是上述任意一种媒体形式。共享媒体内容可以为共享媒体流中的媒体内容,与媒体形式相对应,如音频内容、图片内容和视频内容等。不同媒体形式的共享媒体内容的展示方式可以不同。如音频形式的共享媒体内容的展示,可以包括播放共享音频内容,还可以包括显示共享音频内容的关联信息,关联信息例如可包括歌曲名称、歌手、专辑名称或歌词等;又如视频形式的共享媒体内容的展示,可以包括播放共享视频内容中的声音,以及显示共享视频内容的视频图像。In the embodiments of the present disclosure, the preset media forms can be divided according to the format of the media data, for example, media forms such as audio, picture and video. The first type of preset media form can be any of the above media forms. The shared media content can be the media content in the shared media stream, corresponding to the media form, such as audio content, picture content and video content. The display method of shared media content in different media forms can be different. For example, the display of shared media content in audio form can include playing the shared audio content, and can also include displaying the associated information of the shared audio content, and the associated information can include, for example, the song name, singer, album name or lyrics; for another example, the display of shared media content in video form can include playing the sound in the shared video content, and displaying the video image of the shared video content.
在本公开实施例中,预设媒体形式还可依据共享媒体内容的来源进行划分,例如可以包括来自作品推荐流、来自视频直播流以及来自收藏作品库等。 In the embodiment of the present disclosure, the preset media formats may also be divided according to the source of the shared media content, for example, may include content from a work recommendation stream, a live video stream, and a collection of work libraries.
预设媒体形式还可依据媒体数据的格式以及共享媒体内容的来源划分,例如,同一格式不同来源的共享媒体内容可以对应不同的预设媒体形式,同一来源不同格式的共享媒体内容也可以对应不同的预设媒体形式。The preset media forms can also be divided according to the format of the media data and the source of the shared media content. For example, shared media content with the same format but different sources can correspond to different preset media forms, and shared media content with the same source but different formats can also correspond to different preset media forms.
第一共享媒体流中包含第一类预设媒体形式的共享媒体内容,可以为第一共享媒体流中包含的全部或部分的共享媒体内容为第一类预设媒体形式。The first shared media stream includes shared media content in a first preset media format. All or part of the shared media content included in the first shared media stream may be in the first preset media format.
第一共享媒体流中第一类预设媒体形式的共享媒体内容的占比大于或等于第一预设比例值。其中,第一预设比例值可根据实际情况设置,第一预设比例值可以大于50%,例如,第一预设比例值可以是100%或95%等,假设将共享媒体流中对应共享媒体内容占比最高的预设媒体形式记为该共享媒体流中的核心媒体形式,则可以认为第一类预设媒体形式为第一共享媒体流中的核心媒体形式。The proportion of shared media content of the first type of preset media form in the first shared media stream is greater than or equal to the first preset ratio value. The first preset ratio value can be set according to actual conditions, and the first preset ratio value can be greater than 50%. For example, the first preset ratio value can be 100% or 95%, etc. Assuming that the preset media form with the highest proportion of corresponding shared media content in the shared media stream is recorded as the core media form in the shared media stream, the first type of preset media form can be considered as the core media form in the first shared media stream.
所述第一共享媒体流中,第一类预设媒体形式的共享媒体内容的占比,大于第二类预设媒体形式的共享媒体内容的占比。In the first shared media stream, a proportion of shared media content in the first preset media format is greater than a proportion of shared media content in the second preset media format.
示例性的,针对一个共享媒体流,预设应用程序可以预设频率从对应的服务端拉取属于该共享媒体流的一个或多个共享媒体内容,可将预设拉取次数所拉取到的共享媒体内容作为一个内容集合,来确定不同预设媒体形式的共享媒体内容在该内容集合中的占比。例如,针对第一共享媒体流,每次拉取5个共享媒体内容,预设拉取次数为4,则该内容集合中有20个共享媒体内容,第一预设比例值为95%,则第一类预设媒体形式的共享媒体内容为19个;又如,该内容集合中,第一类预设媒体形式的共享媒体内容为18个,第二类预设媒体形式的共享媒体内容为2个,或者,第一类预设媒体形式的共享媒体内容为20个,第二类预设媒体形式的共享媒体内容为0个,则第一共享媒体流中,第一类预设媒体形式的共享媒体内容的占比大于第二类预设媒体形式的共享媒体内容的占比。Exemplarily, for a shared media stream, a preset application can pull one or more shared media contents belonging to the shared media stream from the corresponding server at a preset frequency, and the shared media contents pulled by the preset number of pulls can be used as a content set to determine the proportion of shared media contents of different preset media forms in the content set. For example, for the first shared media stream, 5 shared media contents are pulled each time, and the preset number of pulls is 4. Then there are 20 shared media contents in the content set, and the first preset ratio value is 95%, then there are 19 shared media contents of the first category of preset media forms; for another example, in the content set, there are 18 shared media contents of the first category of preset media forms and 2 shared media contents of the second category of preset media forms, or there are 20 shared media contents of the first category of preset media forms and 0 shared media contents of the second category of preset media forms, then in the first shared media stream, the proportion of shared media contents of the first category of preset media forms is greater than the proportion of shared media contents of the second category of preset media forms.
步骤202、响应于预设类型切换操作,在目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,其中,所述第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,所述第二类预设媒体形式与所述第一类预设媒体形式不同。Step 202: In response to a preset type switching operation, the target page switches from displaying the first shared media stream to displaying a second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
示例性的,第二类预设媒体形式可以是上述任意一种与第一类预设媒体形式不同的媒体形式。例如,第一类预设媒体形式为音频形式,第二类预设媒体形式可以是图片形式或视频形式;又如,第一类预设媒体形式为视频形式,第二类预设媒体形式可以是音频形式或图片形式等。第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,可以为第二共享媒体流中包含的全部或部分的共享媒体内容为第二类预设媒体形式。 Exemplarily, the second type of preset media format may be any of the above media formats that are different from the first type of preset media format. For example, the first type of preset media format is an audio format, and the second type of preset media format may be a picture format or a video format; for another example, the first type of preset media format is a video format, and the second type of preset media format may be an audio format or a picture format, etc. The second shared media stream includes shared media content in the second type of preset media format, and all or part of the shared media content included in the second shared media stream may be in the second type of preset media format.
所述第二共享媒体流中第二类预设媒体形式的共享媒体内容的占比大于或等于第二预设比例值。其中,第二预设比例值可根据实际情况设置,第二预设比例值可以大于50%,例如,第二预设比例值可以是100%或95%等,使得第二类预设媒体形式成为第二共享媒体流中的核心媒体形式。第一预设比例值和第二预设比例值可以相等或不等。The proportion of shared media content of the second type of preset media format in the second shared media stream is greater than or equal to the second preset ratio value. The second preset ratio value can be set according to actual conditions, and the second preset ratio value can be greater than 50%. For example, the second preset ratio value can be 100% or 95%, etc., so that the second type of preset media format becomes the core media format in the second shared media stream. The first preset ratio value and the second preset ratio value can be equal or different.
所述第二共享媒体流中,第二类预设媒体形式的共享媒体内容的占比,大于第一类预设媒体形式的共享媒体内容的占比。In the second shared media stream, a proportion of shared media content in the second preset media format is greater than a proportion of shared media content in the first preset media format.
本公开实施例中,可以支持包含不同媒体形式的共享媒体内容的共享媒体流之间的切换,用户可以通过输入预设类型切换操作来进行切换。对预设类型切换操作的形式不做限定,例如可以是基于预设切换控件的触发操作,还可以是预设手势操作,如双击操作、单指滑动操作或多指滑动操作等,还可以是语音指令等。在接收到预设类型切换操作后,可以将目标页面中当前正在展示的第一共享媒体流中的共享媒体内容,切换为第二共享媒体流中的共享媒体内容进行展示,可以切换为第二共享媒体流中的第二类预设媒体形式的共享媒体内容进行展示。In the disclosed embodiment, switching between shared media streams containing shared media content in different media formats can be supported, and the user can switch by inputting a preset type switching operation. The form of the preset type switching operation is not limited, for example, it can be a trigger operation based on a preset switching control, or a preset gesture operation, such as a double-click operation, a single-finger sliding operation, or a multi-finger sliding operation, or a voice command, etc. After receiving the preset type switching operation, the shared media content in the first shared media stream currently being displayed in the target page can be switched to the shared media content in the second shared media stream for display, and can be switched to the shared media content of the second type of preset media format in the second shared media stream for display.
图3为本公开实施例所提供的一种界面交互示意图。例如,第一类预设媒体形式为音频形式,第二类预设媒体形式可以是视频形式,在目标页面301中,展示第一共享媒体流,假设当前正在展示的为第一共享媒体流中的歌曲1,可以在目标页面301中的预设区域显示歌曲1的关联信息302,如歌曲图标、歌曲名称以及动态音频波形图等,同时通过扬声器或听筒等声音播放器件播放歌曲1的声音,在接收到预设类型切换操作后,在目标页面301中切换为展示第二共享媒体流,如由展示歌曲1切换为展示第二共享媒体流中的小丑视频303。3 is a schematic diagram of an interface interaction provided by an embodiment of the present disclosure. For example, the first type of preset media format is an audio format, and the second type of preset media format can be a video format. In the target page 301, the first shared media stream is displayed. Assuming that the song 1 in the first shared media stream is currently being displayed, the associated information 302 of the song 1, such as the song icon, song name, and dynamic audio waveform, etc., can be displayed in the preset area in the target page 301. At the same time, the sound of the song 1 is played through a sound playing device such as a speaker or a receiver. After receiving the preset type switching operation, the target page 301 is switched to display the second shared media stream, such as switching from displaying song 1 to displaying the clown video 303 in the second shared media stream.
本公开实施例提供的媒体内容展示方法,在目标页面中展示第一共享媒体流,其中,共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,第一共享媒体流中包含第一类预设媒体形式的共享媒体内容,响应于预设类型切换操作,在目标页面中由展示第一共享媒体流,切换为展示第二共享媒体流,其中,第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,第二类预设媒体形式与第一类预设媒体形式不同。通过采用上述技术方案,可以为用户提供不同媒体形式的共享媒体流的展示功能,并可灵活地在不同媒体形式的共享媒体流之间进行展示的切换。The media content display method provided by the embodiment of the present disclosure displays a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format. In response to a preset type switching operation, the target page switches from displaying the first shared media stream to displaying the second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format. By adopting the above technical solution, the display function of shared media streams of different media formats can be provided to users, and the display can be flexibly switched between shared media streams of different media formats.
在一些实施例中,所述响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,包括:在所述目标页面中显示所述第二共享媒体流对应的预设切换控件;响应于针对所述第二共享媒体流对应的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享 媒体流,切换为展示第二共享媒体流。这样设置的好处在于,通过对目标页面中显示的预设切换控件的触发,可以便捷地实现不同媒体形式的共享媒体流之间进行展示的切换。In some embodiments, in response to a preset type switching operation, switching from displaying the first shared media stream to displaying the second shared media stream in the target page includes: displaying a preset switching control corresponding to the second shared media stream in the target page; in response to a triggering operation of a preset switching control corresponding to the second shared media stream, switching from displaying the first shared media stream to displaying the second shared media stream in the target page; The media stream is switched to display the second shared media stream. The advantage of such a setting is that by triggering the preset switching control displayed in the target page, the display switching between shared media streams of different media forms can be conveniently realized.
示例性的,预设切换控件可以是目标页面中的常驻控件,还可以是在满足预设显示条件的情况下进行显示,该预设显示条件可以由预设应用程序自动触发,也可以在用户的操作下触发。Exemplarily, the preset switching control may be a permanent control in the target page, or may be displayed when a preset display condition is met. The preset display condition may be automatically triggered by a preset application, or may be triggered by a user's operation.
在一些实施例中,所述在所述目标页面中显示所述第二共享媒体流对应的预设切换控件,包括:响应于媒体类型切换操作,在所述目标页面中显示媒体类型切换区域,并在所述媒体类型切换区域中,显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件。这样设置的好处在于,将预设切换控件与第二共享媒体流中的第二类预设媒体形式的共享媒体内容的内容标识相关联,可以让用户更加直观地查看若切换至第二共享媒体流,可以展示哪些共享媒体内容,方便用户根据自身意愿决定是否进行共享媒体流的切换。In some embodiments, the displaying of the preset switching control corresponding to the second shared media stream in the target page includes: in response to a media type switching operation, displaying a media type switching area in the target page, and displaying, in the media type switching area, a preset switching control associated with a content identifier of the shared media content of the second type of preset media format in the second shared media stream. The advantage of such a setting is that associating the preset switching control with the content identifier of the shared media content of the second type of preset media format in the second shared media stream allows the user to more intuitively view which shared media content can be displayed if switching to the second shared media stream, so that the user can decide whether to switch the shared media stream according to his or her own wishes.
示例性的,对媒体类型切换操作的形式不做限定,例如可以是基于预设媒体切换控件的触发操作,还可以是预设手势操作,如双击操作、单指滑动操作或多指滑动操作等,还可以是语音指令等。在接收到媒体类型切换操作后,显示媒体类型切换区域,该区域中可以显示第二类预设媒体形式的共享媒体内容的内容标识,可以将该内容标识复用为相关联的预设切换控件,还可以在内容标识的关联区域显示相关联的预设切换控件。Exemplarily, the form of the media type switching operation is not limited, for example, it can be a trigger operation based on a preset media switching control, or a preset gesture operation, such as a double-click operation, a single-finger sliding operation, or a multi-finger sliding operation, or a voice command, etc. After receiving the media type switching operation, a media type switching area is displayed, in which a content identifier of a shared media content of the second type of preset media format can be displayed, and the content identifier can be reused as an associated preset switching control, and an associated preset switching control can also be displayed in an associated area of the content identifier.
图4为本公开实施例所提供的另一种界面交互示意图,例如,第一类预设媒体形式为视频形式,第二类预设媒体形式可以是音频形式,如图4所示,在目标页面401中播放小丑视频的过程中,显示预设媒体切换控件402,用户点击预设媒体切换控件402后,显示媒体类型切换区域403,并在其中显示音频形式的共享媒体内容(歌曲)的内容标识404,内容标识例如可以是歌曲名称,并在内容标识404的关联区域(如图中的右侧)显示相关联的预设切换控件405。也可将内容标识404复用为预设切换控件,提高页面显示空间的利用率。FIG4 is another interface interaction diagram provided by an embodiment of the present disclosure. For example, the first type of preset media form is a video form, and the second type of preset media form may be an audio form. As shown in FIG4, during the process of playing the Joker video in the target page 401, a preset media switching control 402 is displayed. After the user clicks the preset media switching control 402, a media type switching area 403 is displayed, and a content identifier 404 of the shared media content (song) in audio form is displayed therein. The content identifier may be, for example, a song name, and an associated preset switching control 405 is displayed in the associated area of the content identifier 404 (as shown on the right side of the figure). The content identifier 404 may also be reused as a preset switching control to improve the utilization rate of the page display space.
在一些实施例中,所述在所述媒体类型切换区域中,显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件,包括:在所述媒体类型切换区域中,显示多个共享媒体流对应的媒体类型选项,其中,所述多个共享媒体流对应的媒体类型选项中包括所述第二共享媒体流对应的媒体类型选项;响应于针对所述第二共享媒体流对应的媒体类型选项的触发操作,显示所述第二共享媒体流对应的媒体类型选项的关联区域。这样设置的好处在于,可以提供更多的共享媒体流供用户选择,提升共享 媒体流切换的灵活性。In some embodiments, the preset switching control associated with the content identifier of the shared media content of the second type of preset media form in the second shared media stream is displayed in the media type switching area, including: displaying media type options corresponding to multiple shared media streams in the media type switching area, wherein the media type options corresponding to the multiple shared media streams include the media type option corresponding to the second shared media stream; in response to a trigger operation on the media type option corresponding to the second shared media stream, displaying the associated area of the media type option corresponding to the second shared media stream. The advantage of such a setting is that more shared media streams can be provided for users to choose from, thereby improving sharing. Flexibility in media stream switching.
在一些实施例中,还包括:在所述关联区域显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件。这样设置的好处在于,对同一媒体类型选项对应的与内容标识相关联的预设切换控件在关联区域中集中显示,方便用户快速找到想要切换的共享媒体内容,进而触发切换。In some embodiments, the method further includes: displaying a preset switching control associated with the content identifier of the shared media content of the second type of preset media format in the second shared media stream in the associated area. The advantage of such a setting is that the preset switching controls associated with the content identifier corresponding to the same media type option are centrally displayed in the associated area, which facilitates the user to quickly find the shared media content to be switched, thereby triggering the switch.
示例性的,多个共享媒体流对应的核心媒体形式可以各不相同,媒体类型选项的文案可以根据对应的核心媒体形式来设定,以便于用户快速进行区分。不同媒体类型选项的关联区域可以相同或不同,若不同媒体类型选项的关联区域相同,则可以在处于选中状态的媒体类型选项发生变化时,更新关联区域中显示的内容标识。对于不同媒体类型选项,关联区域中的内容标识的显示方式可以不同,可以根据对应的预设媒体形式设定。Exemplarily, the core media formats corresponding to multiple shared media streams may be different, and the text of the media type options may be set according to the corresponding core media formats, so that the user can quickly distinguish them. The associated areas of different media type options may be the same or different. If the associated areas of different media type options are the same, the content identifier displayed in the associated area may be updated when the selected media type option changes. For different media type options, the display method of the content identifier in the associated area may be different, and may be set according to the corresponding preset media format.
图5为本公开实施例所提供的又一种界面交互示意图,如图5所示,用户点击预设媒体切换控件501后,显示媒体类型切换区域502,媒体类型切换区域502可以包含两个子区域,一个子区域用于显示媒体类型选项503,如图中的“推荐”、“收藏”和“音乐”,另一个子区域为媒体类型选项的关联区域504,不同媒体类型选项可以共用该关联区域504。在初始显示媒体类型切换区域502时,可以默认将第一个媒体类型选项设定为选中状态,如图中的“推荐”,在关联区域504中可以显示推荐作品流中的推荐作品的内容标识505,可以是推荐作品的封面图或视频截图等。当用户想要选择音乐为核心媒体形式的共享媒体流时,可以点击“音乐”,在关联区域504中变更为显示该共享媒体流中的音乐的内容标识506,如图5中,音乐的内容标识506与推荐作品的内容标识505可以不同,音乐的内容标识506可以包括歌曲图标、歌曲名称、歌手名称以及歌曲时长等。FIG5 is another interface interaction schematic diagram provided by an embodiment of the present disclosure. As shown in FIG5, after the user clicks the preset media switching control 501, a media type switching area 502 is displayed. The media type switching area 502 may include two sub-areas, one of which is used to display media type options 503, such as "recommendation", "collection" and "music" in the figure, and the other sub-area is an associated area 504 of media type options. Different media type options may share the associated area 504. When the media type switching area 502 is initially displayed, the first media type option may be set to a selected state by default, such as "recommendation" in the figure. In the associated area 504, a content identifier 505 of a recommended work in the recommended work stream may be displayed, which may be a cover image or video screenshot of the recommended work. When the user wants to select a shared media stream with music as the core media form, he may click "music" to change the associated area 504 to display the content identifier 506 of the music in the shared media stream. As shown in FIG5, the content identifier 506 of the music may be different from the content identifier 505 of the recommended work. The content identifier 506 of the music may include a song icon, a song name, a singer name, and a song duration.
在一些实施例中,所述响应于针对所述第二共享媒体流对应的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,包括:响应于针对与目标内容标识相关联的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流中所述目标内容标识对应的共享媒体内容。这样设置的好处在于,用户可以通过触发与目标内容标识相关联的预设切换控件的方式,便捷地选择切换后的第二共享媒体流中首个展示的共享媒体内容,提升共享媒体流切换的灵活性。In some embodiments, in response to a triggering operation of a preset switching control corresponding to the second shared media stream, the target page switches from displaying the first shared media stream to displaying the second shared media stream, including: in response to a triggering operation of a preset switching control associated with a target content identifier, the target page switches from displaying the first shared media stream to displaying the shared media content corresponding to the target content identifier in the second shared media stream. The advantage of such a setting is that the user can conveniently select the first shared media content displayed in the switched second shared media stream by triggering the preset switching control associated with the target content identifier, thereby improving the flexibility of switching shared media streams.
如图5所示,假设将音乐的内容标识506复用为关联的预设切换控件,若用户想要切换至歌曲2,则可以通过点击歌曲2的内容标识的方式,切换至音频为核心媒体形式的共享媒体流,并直接展示歌曲2。 As shown in Figure 5, assuming that the music content identifier 506 is reused as an associated preset switching control, if the user wants to switch to song 2, he can switch to the shared media stream with audio as the core media format by clicking the content identifier of song 2, and directly display song 2.
在一些实施例中,所述第一共享媒体流中包括至少两个第一类预设媒体形式的媒体内容组,单个媒体内容组中包括至少两个连续的所述第一类预设媒体形式的共享媒体内容,每两个相邻的媒体内容组之间存在至少一个所述第二类预设媒体形式的共享媒体内容。其中,所述响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,包括:在所述目标页面中当前展示所述第一共享媒体流中的所述第二类预设媒体形式的共享媒体内容的情况下,响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流。这样设置的好处在于,可以在连续的同一预设媒体形式的共享媒体内容之间***其他预设媒体形式的共享媒体内容,可以对用户起到一定的提示作用,提示用户可以通过切换共享媒体流来共享更多媒体形式的内容,且当前用户所查看的共享媒体内容对应于即将切换的第二共享媒体流的核心媒体形式,可减少用户的共享媒体流选择操作。In some embodiments, the first shared media stream includes at least two media content groups of the first preset media format, a single media content group includes at least two consecutive shared media content of the first preset media format, and there is at least one shared media content of the second preset media format between every two adjacent media content groups. Wherein, in response to the preset type switching operation, the target page switches from displaying the first shared media stream to displaying the second shared media stream, including: in the case where the target page currently displays the shared media content of the second preset media format in the first shared media stream, in response to the preset type switching operation, the target page switches from displaying the first shared media stream to displaying the second shared media stream. The advantage of such a setting is that shared media content of other preset media formats can be inserted between consecutive shared media content of the same preset media format, which can play a certain prompting role for the user, prompting the user to share more media formats by switching shared media streams, and the shared media content currently viewed by the user corresponds to the core media format of the second shared media stream to be switched, which can reduce the user's shared media stream selection operation.
示例性的,单个媒体内容组中包括的至少两个连续的第一类预设媒体形式的共享媒体内容的数量可以预先设定,如10个,例如21个共享媒体内容中,第1至第10个共享媒体内容、以及第12至第21个共享媒体内容为共享视频内容,第11个共享媒体内容为共享音频内容。Exemplarily, the number of shared media contents of at least two consecutive first-category preset media formats included in a single media content group can be pre-set, such as 10. For example, among 21 shared media contents, the 1st to 10th shared media contents and the 12th to 21st shared media contents are shared video contents, and the 11th shared media content is shared audio content.
在目标页面中当前展示第一共享媒体流中的第一类预设媒体形式的媒体内容的情况下,也可以允许切换至第二共享媒体流,可以根据当前展示的第一共享媒体流中的媒体内容的预设媒体形式的不同,而设定不同的共享媒体流切换方式。例如,在所述目标页面中当前展示所述第一共享媒体流中的所述第二类预设媒体形式的共享媒体内容的情况下,响应于第一预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流;在所述目标页面中当前展示所述第一共享媒体流中的所述第一类预设媒体形式的共享媒体内容的情况下,响应于第二预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流。其中,第一预设类型切换操作和第二预设类型切换操作不同,例如第一预设类型切换操作可以是长按或者双击等手势操作,第二预设类型切换操作可以是对第二共享媒体流对应的预设切换控件的触发操作。In the case where the target page currently displays the media content of the first type of preset media format in the first shared media stream, it is also allowed to switch to the second shared media stream, and different shared media stream switching modes can be set according to the different preset media formats of the media content in the first shared media stream currently displayed. For example, in the case where the target page currently displays the shared media content of the second type of preset media format in the first shared media stream, in response to the first preset type switching operation, the target page switches from displaying the first shared media stream to displaying the second shared media stream; in the case where the target page currently displays the shared media content of the first type of preset media format in the first shared media stream, in response to the second preset type switching operation, the target page switches from displaying the first shared media stream to displaying the second shared media stream. The first preset type switching operation and the second preset type switching operation are different. For example, the first preset type switching operation can be a gesture operation such as a long press or a double click, and the second preset type switching operation can be a triggering operation of a preset switching control corresponding to the second shared media stream.
在一些实施例中,第二共享媒体流中也可包括媒体内容组,将第一共享媒体流中的媒体内容组记为第一媒体内容组。所述第二共享媒体流中包括至少两个第二类预设媒体形式的第二媒体内容组,单个第二媒体内容组中包括至少两个连续的所述第二类预设媒体形式的共享媒体内容,每两个相邻的第二媒体内容组之间存在至少一个所述第一类预设媒体形式的共享媒体内容。 In some embodiments, the second shared media stream may also include a media content group, and the media content group in the first shared media stream is recorded as the first media content group. The second shared media stream includes at least two second media content groups in a second type of preset media format, a single second media content group includes at least two consecutive shared media content in the second type of preset media format, and at least one shared media content in the first type of preset media format exists between every two adjacent second media content groups.
在一些实施例中,预设应用程序中具备作品发布功能,用户可以通过作品发布功能来发布自己创作的作品,如视频作品。所述预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容,所述共享音频内容包括用户发布的视频作品中的原声音频。这样设置的好处在于,可以丰富共享音频内容的来源,也可丰富视频作品的展示形式。发布视频作品的用户,在创作视频作品时,可以在得到音频素材持有者的充分授权的情况下,对音频素材进行剪辑或混编等处理,将处理后得到的音频作为自己视频作品中的背景音乐,也即原声音频。将视频作品中的原声音频作为共享音频内容进行展示是视频作品的发布者自主选择的。In some embodiments, the preset application has a work publishing function, and users can use the work publishing function to publish their own works, such as video works. The preset media form includes an audio form, and the shared media content includes shared audio content, and the shared audio content includes the original audio in the video work published by the user. The advantage of this setting is that it can enrich the source of shared audio content and the display form of video works. When creating video works, users who publish video works can edit or mix audio materials with the full authorization of the audio material holder, and use the processed audio as the background music in their own video works, that is, the original audio. Displaying the original audio in the video work as shared audio content is the independent choice of the publisher of the video work.
在一些实施例中,所述预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容;所述方法还包括:根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景。这样设置的好处在于,对于共享音频内容,可以动态地根据当前播放音频的关联图像有针对性地更新目标页面的背景,使得用户查看到的背景与音频更加匹配。In some embodiments, the preset media form includes an audio form, and the shared media content includes shared audio content; the method further includes: updating the background of the target page according to the preset associated image of the shared audio content currently displayed in the target page. The advantage of such a setting is that for shared audio content, the background of the target page can be dynamically updated according to the associated image of the currently playing audio, so that the background viewed by the user is more consistent with the audio.
预设关联图像例如可以包括共享音频内容的专辑封面、歌手照片、所属视频作品的封面图或视频截图等。可以直接将目标页面的背景更换为预设关联图像;还可以在预设关联图像基础上进行裁剪、尺寸比例调整、色彩调整、以及透明度调整中的至少一项图像处理操作,将目标页面的背景更换为上述图像处理后得到的图像。The preset associated images may include, for example, album covers of shared audio content, singer photos, cover images of related video works, or video screenshots, etc. The background of the target page may be directly replaced with the preset associated image; at least one image processing operation of cropping, resizing, color adjustment, and transparency adjustment may be performed on the preset associated image to replace the background of the target page with the image obtained after the above image processing.
在一些实施例中,所述共享音频内容包括用户发布的视频作品中的原声音频和/或预设曲库中的库内音乐;其中,所述根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景,包括:在所述目标页面中当前展示的共享音频内容包括所述原声音频的情况下,采用第一预设展示方式展示所述目标页面的第一背景,其中,所述第一背景中包含所述原声音频的第一预设关联图像;在所述目标页面中当前展示的共享音频内容不包含用户原声、仅为所述库内音乐的情况下,采用第二预设展示方式展示所述目标页面的第二背景,其中,所述第二背景中包含所述库内音乐的第二预设关联图像。这样设置的好处在于,对于不同来源的共享音频内容,采用不同的展示方式进行目标页面的背景更新,丰富背景展示方式,且方便用户便捷地区分当前的共享音频内容的来源。In some embodiments, the shared audio content includes the original audio in the video work released by the user and/or the music in the preset music library; wherein, the background of the target page is updated according to the preset associated image of the shared audio content currently displayed in the target page, including: when the shared audio content currently displayed in the target page includes the original audio, the first background of the target page is displayed in a first preset display method, wherein the first background contains the first preset associated image of the original audio; when the shared audio content currently displayed in the target page does not include the user's original audio but is only the music in the library, the second background of the target page is displayed in a second preset display method, wherein the second background contains the second preset associated image of the music in the library. The advantage of such a setting is that for shared audio content from different sources, different display methods are used to update the background of the target page, enriching the background display method, and facilitating users to easily distinguish the source of the current shared audio content.
示例性的,预设曲库中可以包括预设应用程序已获取到版权的由专业人员(如歌手、音乐人或唱片公司等)发表的音乐,这类音乐在本公开实施例中称为库内音乐,库内音乐可以作为上文所述的音频素材。Exemplarily, the preset music library may include music published by professionals (such as singers, musicians or record companies, etc.) for which the preset application has acquired the copyright. This type of music is referred to as in-library music in the present embodiment, and the in-library music can be used as the audio material described above.
示例性的,第一预设展示方式和第二预设展示方式的不同可以体现于如背 景尺寸、背景透明度和背景亮度等等。例如,对于原声音频,第一预设关联图像可以为所属视频作品的视频帧,可以动态展示视频帧,如在第一背景中播放原声音频所属的视频作品,第一背景的尺寸小于屏幕尺寸;对于库内音乐,第二预设关联图像可以为专辑封面,第二背景的尺寸可以等于屏幕尺寸。For example, the difference between the first preset display mode and the second preset display mode can be reflected in the following aspects: For example, for original audio, the first preset associated image can be the video frame of the video work to which it belongs, and the video frame can be displayed dynamically, such as playing the video work to which the original audio belongs in the first background, and the size of the first background is smaller than the screen size; for music in the library, the second preset associated image can be the album cover, and the size of the second background can be equal to the screen size.
在一些实施例中,所述目标页面包括消息交互页面;所述根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景,包括:根据所述目标页面中当前展示的共享音频内容的预设关联图像,确定目标背景图像;将所述目标页面的当前背景替换为所述目标背景图像,以使所述消息交互页面的页面内容显示于所述目标背景图像的上层,其中,所述页面内容包括消息内容和/或所述消息内容的关联内容。这样设置的好处在于,可以使用户在消息交互页面中获得更加沉浸的音频共享互动效果。In some embodiments, the target page includes a message interaction page; the updating of the background of the target page according to the preset associated image of the shared audio content currently displayed in the target page includes: determining the target background image according to the preset associated image of the shared audio content currently displayed in the target page; replacing the current background of the target page with the target background image so that the page content of the message interaction page is displayed on the upper layer of the target background image, wherein the page content includes the message content and/or the associated content of the message content. The advantage of such a setting is that it allows users to obtain a more immersive audio sharing interaction effect in the message interaction page.
示例性的,消息交互页面中的页面内容可以包括消息内容以及消息内容的关联内容,关联内容可以是消息交互对象的对象标识(如用户名称或用户头像等)等。这样,用户可以边收发消息边全屏(目标页面处于全屏显示状态的情况)查看共享音频内容的预设关联图像,兼顾消息交互和音频共享功能。Exemplarily, the page content in the message interaction page may include the message content and the associated content of the message content, and the associated content may be the object identifier of the message interaction object (such as the user name or user avatar, etc.). In this way, the user can view the preset associated image of the shared audio content in full screen (when the target page is in full screen display state) while sending and receiving messages, taking into account both the message interaction and audio sharing functions.
在一些实施例中,所述预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容;其中,在所述目标页面中展示共享音频内容,包括:在所述目标页面中的预设控件中显示所述共享音频内容的关联信息,并在所述目标页面中播放所述共享音频内容。这样设置的好处在于,将共享音频内容的关联信息显示于预设控件中,减少关联信息对目标页面的显示空间的占用,使用户可以获得更加沉浸的音频共享互动效果。In some embodiments, the preset media format includes an audio format, and the shared media content includes shared audio content; wherein displaying the shared audio content in the target page includes: displaying the associated information of the shared audio content in a preset control in the target page, and playing the shared audio content in the target page. The advantage of such a setting is that the associated information of the shared audio content is displayed in the preset control, which reduces the occupation of the display space of the target page by the associated information, so that the user can obtain a more immersive audio sharing interactive effect.
示例性的,预设控件可以是预设悬浮控件,悬浮控件可以是悬浮框形态的控件,预设悬浮控件的属性,如形状、尺寸、颜色、透明度以及显示位置等,可根据实际需求设置。预设控件还可以是预设条状控件,例如该预设条状控件的至少一个边界与目标页面的边界重合,以减少对目标页面中的其他内容的干扰。Exemplarily, the preset control may be a preset floating control, and the floating control may be a control in the form of a floating box. The properties of the preset floating control, such as shape, size, color, transparency, and display position, may be set according to actual needs. The preset control may also be a preset strip control, for example, at least one boundary of the preset strip control overlaps with the boundary of the target page to reduce interference with other content in the target page.
预设控件中还可以显示共享交互消息,该共享交互消息中可以包括文字类消息,还可以包括图片类消息,如表情类消息等。这样,第一用户在浏览目标页面的过程中,还可以及时查看第二用户发送的交互消息。其中,此时的目标页面可以是预设页面,预设页面可包括消息交互页面之外的页面,如资讯类页面、商品详情页或个人主页等。The preset control can also display shared interactive messages, which can include text messages and picture messages, such as emoticon messages. In this way, the first user can view the interactive messages sent by the second user in a timely manner while browsing the target page. The target page at this time can be a preset page, which can include pages other than message interaction pages, such as information pages, product details pages, or personal homepages.
图6为本公开实施例所提供的另一种媒体内容展示方法的流程示意图,本公开实施例以上述实施例中的方案为基础进行说明,以第一类预设媒体形式为音频形式,第二类预设媒体形式为视频形式为例,第一共享媒体流(记为共享 音频流)中的共享音频内容的占比大于共享视频内容的占比,第二共享媒体流(记为共享视频流)中的共享视频内容的占比大于共享音频内容的占比。FIG6 is a flow chart of another media content display method provided by an embodiment of the present disclosure. The present disclosure embodiment is described based on the scheme in the above embodiment. Taking the first type of preset media format as an audio format and the second type of preset media format as a video format as an example, the first shared media stream (represented as shared The proportion of shared audio content in the first shared media stream (recorded as the shared audio stream) is greater than the proportion of shared video content, and the proportion of shared video content in the second shared media stream (recorded as the shared video stream) is greater than the proportion of shared audio content.
该方法包括如下步骤:The method comprises the following steps:
步骤601、接收第一用户基于第一目标页面输入的音频形式的共享互动的触发操作。Step 601: Receive a trigger operation of a shared interaction in audio format input by a first user based on a first target page.
示例性的,以第一目标页面为消息交互页面。共享互动的触发操作可以是向第二用户发出音频共享互动的邀请,也可以是接受第二用户发出的音频共享互动的邀请。Exemplarily, the first target page is a message interaction page. The triggering operation of the sharing interaction may be sending an invitation to the second user for audio sharing interaction, or may be accepting the invitation to the second user for audio sharing interaction.
图7为本公开实施例所提供的再一种界面交互示意图,如图7所示,假设第一用户为用户A,第二用户为用户B,用户B向用户A发出音频共享互动的邀请,在用户A侧的消息交互页面701中,显示邀请控件702,用户A点击邀请控件702之后,可进入音频共享互动(也可称为一起听)。Figure 7 is another interface interaction diagram provided by an embodiment of the present disclosure. As shown in Figure 7, assuming that the first user is user A and the second user is user B, user B sends an invitation to user A for audio sharing interaction. In the message interaction page 701 on the user A side, an invitation control 702 is displayed. After user A clicks the invitation control 702, the audio sharing interaction (also known as listening together) can be entered.
步骤602、在第一目标页面中预设控件中,显示第一用户与第二用户的共享音频流中的当前共享媒体内容的关联信息,在第一目标页面中播放当前共享媒体内容,并根据当前共享音频内容的预设关联图像,更新第一目标页面的背景。Step 602: Display the association information of the current shared media content in the shared audio stream between the first user and the second user in a preset control in the first target page, play the current shared media content in the first target page, and update the background of the first target page according to the preset associated image of the current shared audio content.
如图7所示,在进入音频共享互动后,可以在第一目标页面中的播放条控件703(预设控件)中显示当前展示的歌曲1(共享音频内容)的关联信息,关联信息如图中的歌曲图标、歌曲名称以及播放控制按钮(如上一曲、暂停以及下一曲),并在第一目标页面中播放歌曲1的声音。假设歌曲1是一个用户发布的视频作品中的背景音乐,可以将该视频作品的视频封面或视频截图(如图7中的风景图像)作为歌曲1的预设关联图像,并采用该风景图像替换第一目标页面的原背景,也即该风景图像成为第一目标页面的新的当前背景,并将用户A和用户B的消息内容以及头像等关联内容显示于风景图像的上层,保证用户A和用户B之间的正常消息交互,兼顾消息交互和音频共享效果。As shown in FIG7 , after entering the audio sharing interaction, the associated information of the currently displayed song 1 (shared audio content) can be displayed in the play bar control 703 (preset control) in the first target page, and the associated information includes the song icon, song name, and play control buttons (such as previous song, pause, and next song) in the figure, and the sound of song 1 is played in the first target page. Assuming that song 1 is the background music in a video work published by a user, the video cover or video screenshot of the video work (such as the landscape image in FIG7 ) can be used as the preset associated image of song 1, and the landscape image is used to replace the original background of the first target page, that is, the landscape image becomes the new current background of the first target page, and the message content and avatars of users A and B are displayed on the upper layer of the landscape image, ensuring the normal message interaction between users A and B, and taking into account the message interaction and audio sharing effects.
用户B可以通过以第一预设触发方式触发预设控件的方式(例如可以将预设控件复用为预设切换控件),实现预设类型切换操作的输入,从而可以在第一目标页面中由展示共享音频流切换为展示共享视频流。User B can input the preset type switching operation by triggering the preset control in a first preset triggering manner (for example, the preset control can be reused as a preset switching control), thereby switching from displaying a shared audio stream to displaying a shared video stream in the first target page.
用户B可以通过以第二预设触发方式触发预设控件的方式输入媒体类型切换操作,在第一目标页面中显示媒体类型切换区域,并在媒体类型切换区域中显示与共享视频流中的共享视频内容的内容标识相关联的预设切换控件,细节可参考图4和图5的相关描述,此处不再赘述。User B can input the media type switching operation by triggering the preset control in the second preset trigger mode, displaying the media type switching area in the first target page, and displaying the preset switching control associated with the content identifier of the shared video content in the shared video stream in the media type switching area. For details, please refer to the relevant descriptions of Figures 4 and 5, which will not be repeated here.
步骤603、响应于针对预设控件的预设触发操作,切换至在第二目标页面中展示共享音频流中的共享音频内容,并在第二目标页面中显示第一用户与第二 用户的共享视频流对应的第一预设切换控件。Step 603: In response to a preset trigger operation for a preset control, switching to displaying the shared audio content in the shared audio stream in the second target page, and displaying the first user and the second user in the second target page. The first preset switching control corresponding to the user's shared video stream.
示例性的,如图7所示,当用户A针对播放条控件703输入长按或点击等预设触发操作后,切换至第二目标页面704中继续展示歌曲1,第二目标页面可以为具备另一种共享互动的共享页面,在第二目标页面中可以显示参与共享互动的用户的用户标识,如用户A和用户B的头像,可以显示共享音频内容的关联信息,如歌曲名称等,也可以将当前共享音频内容的预设关联图像作为第二目标页面的背景。Exemplarily, as shown in Figure 7, after user A inputs a preset trigger operation such as a long press or click on the play bar control 703, the display of song 1 continues to be switched to the second target page 704. The second target page may be a shared page with another type of shared interaction. The user IDs of users participating in the shared interaction, such as the avatars of user A and user B, may be displayed on the second target page. Associated information of the shared audio content, such as the song name, may be displayed. The preset associated image of the current shared audio content may also be used as the background of the second target page.
在第二目标页面中,可以通过输入指定手势操作来实现共享媒体内容的切换,如向上滑动操作对应切换下一个共享媒体内容,向下滑动操作对应切换上一个共享媒体内容。In the second target page, the shared media content can be switched by inputting a specified gesture operation, such as a swipe up operation corresponding to switching to the next shared media content, and a swipe down operation corresponding to switching to the previous shared media content.
示例性的,如图7所示,在第二目标页面中,还可显示共享视频流对应的第一预设切换控件705,用户A可以通过触发第一预设切换控件705的方式在第二目标页面中由展示歌曲1切换为展示共享视频流中的共享视频内容,如图7中的人物视频708。Exemplarily, as shown in FIG. 7 , in the second target page, the first preset switch control 705 corresponding to the shared video stream can also be displayed. User A can switch from displaying song 1 to displaying the shared video content in the shared video stream in the second target page by triggering the first preset switch control 705, such as the character video 708 in FIG. 7 .
可以将第一预设切换控件705替换为预设媒体切换控件,用户A可以通过触发预设媒体切换控件来输入媒体类型切换操作,进而可以进行对应更多媒体形式的共享媒体流的选择和切换,细节可参考前文中图4和图5的相关描述,此处不再赘述。The first preset switching control 705 can be replaced with a preset media switching control. User A can input a media type switching operation by triggering the preset media switching control, and then can select and switch shared media streams corresponding to more media forms. For details, please refer to the relevant descriptions of Figures 4 and 5 in the previous text, which will not be repeated here.
步骤604、在预设切换控件未被触发的情况下,继续在第二目标页面中展示共享音频流中的共享音频内容。Step 604: When the preset switching control is not triggered, continue to display the shared audio content in the shared audio stream in the second target page.
示例性的,共享音频流中包括多个音频内容组,单个音频内容组中包括预设数量(记为N)个连续的共享音频内容,每两个相邻的音频内容组之间存在一个共享视频内容。Exemplarily, the shared audio stream includes multiple audio content groups, a single audio content group includes a preset number (denoted as N) of continuous shared audio content, and there is a shared video content between every two adjacent audio content groups.
步骤605、在第二目标页面中展示共享音频流中预设数量的共享音频内容之后,展示共享音频流中的共享视频内容,并在第二目标页面中显示共享视频流对应的第二预设切换控件。Step 605: After displaying a preset number of shared audio contents in the shared audio stream in the second target page, display the shared video contents in the shared audio stream, and display a second preset switching control corresponding to the shared video stream in the second target page.
如图7所示,在连续播放N个共享音频内容后,当前音频内容组播放完毕,在第二目标页面中自动切换为播放共享音频流中的共享视频内容,如图7中的小丑视频706,并且,在第二目标页面中显示共享视频流对应的第二预设切换控件707。其中,第一预设切换控件705和第二预设切换控件707对应的文案可以相同或不同,如图7所示,第一预设切换控件705和第二预设切换控件707对应的文案可以不同,分别为“更多共享类型”和“切换一起看”。As shown in FIG7, after playing N shared audio contents continuously, the current audio content group is played, and the second target page is automatically switched to play the shared video content in the shared audio stream, such as the clown video 706 in FIG7, and the second preset switching control 707 corresponding to the shared video stream is displayed in the second target page. Among them, the texts corresponding to the first preset switching control 705 and the second preset switching control 707 can be the same or different. As shown in FIG7, the texts corresponding to the first preset switching control 705 and the second preset switching control 707 can be different, which are "More Sharing Types" and "Switch to Watch Together", respectively.
步骤606、响应于针对第二预设切换控件的触发操作,在第二目标页面中由 展示共享音频流,切换为展示共享视频流。Step 606: In response to the triggering operation on the second preset switching control, in the second target page, Display the shared audio stream and switch to display the shared video stream.
示例性的,如图7所示,当用户A触发第二预设切换控件707后,可以由展示共享音频流中的小丑视频706切换至展示共享视频流中的人物视频708,从而实现从共享音频流到共享视频流的切换。Exemplarily, as shown in FIG. 7 , when user A triggers the second preset switching control 707 , the display of the clown video 706 in the shared audio stream can be switched to the display of the character video 708 in the shared video stream, thereby achieving the switch from the shared audio stream to the shared video stream.
在第二目标页面中切换至共享视频流后,还可以在第二目标页面中继续显示第一预设切换控件,以便用户A切换回共享音频流。After switching to the shared video stream in the second target page, the first preset switching control may continue to be displayed in the second target page so that user A can switch back to the shared audio stream.
示例性的,如图7所示,若在播放小丑视频706时,用户A仍然想要继续共享音频,可以通过输入向上滑动操作来切换至展示下一个音频内容组,如歌曲N+1,并且,第二目标页面中的背景可以切换为歌曲N+1的预设关联图像,如图中的星星图片。Exemplarily, as shown in FIG7 , if user A still wants to continue sharing audio while playing the clown video 706, he can switch to displaying the next audio content group, such as song N+1, by inputting an upward swipe operation, and the background in the second target page can be switched to a preset associated image of song N+1, such as the star picture in the figure.
本公开实施例提供的媒体内容展示方法,对于共享媒体流可以提供两种不同的用于展示共享媒体内容的目标页面,不同目标页面可以对应不同的展示方式,在目标页面中可以允许用户在展示以一媒体形式为主的共享媒体流中的不同预设媒体形式的共享媒体内容的情况下,灵活地切换至以另一媒体形式为主的共享媒体流的展示,并提供多样的切换方式,并且,在展示共享音频内容时,在目标页面中可以根据当前展示的共享音频内容的关联图像适应性地调整页面背景。The media content display method provided by the embodiment of the present disclosure can provide two different target pages for displaying shared media content for a shared media stream. Different target pages can correspond to different display methods. In the target page, the user can flexibly switch from displaying shared media content of different preset media forms in a shared media stream mainly in one media form to displaying a shared media stream mainly in another media form, and provide a variety of switching methods. Moreover, when displaying shared audio content, the page background can be adaptively adjusted in the target page according to the associated image of the currently displayed shared audio content.
图8为本公开实施例所提供的一种媒体内容展示装置的结构示意图,如图8所示,所述装置包括:共享媒体流展示模块801以及共享媒体流切换模块802。FIG8 is a schematic diagram of the structure of a media content display device provided by an embodiment of the present disclosure. As shown in FIG8 , the device includes: a shared media stream display module 801 and a shared media stream switching module 802 .
共享媒体流展示模块801,设置为在目标页面中展示第一共享媒体流,其中,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容;共享媒体流切换模块802,设置为响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,其中,所述第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,所述第二类预设媒体形式与所述第一类预设媒体形式不同。A shared media stream display module 801 is configured to display a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format; a shared media stream switching module 802 is configured to switch from displaying the first shared media stream to displaying a second shared media stream in the target page in response to a preset type switching operation, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
本公开实施例所提供的媒体内容展示装置,在目标页面中展示第一共享媒体流,其中,共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,第一共享媒体流中包含第一类预设媒体形式的共享媒体内容,响应于预设类型切换操作,在目标页面中由展示第一共享媒体流,切换为展示第二共享媒体流,其中,第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,第二类预设媒体形式与第一类预设媒体形式不同。通过采用上述技术方案,可以为用户提供不同媒体形式的共享媒体流的展示功能,并可 灵活地在不同媒体形式的共享媒体流之间进行展示的切换。The media content display device provided by the embodiment of the present disclosure displays a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format. In response to a preset type switching operation, the target page switches from displaying the first shared media stream to displaying the second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format. By adopting the above technical solution, the display function of shared media streams in different media formats can be provided to users, and Flexibly switch between shared media streams of different media formats.
所述第一共享媒体流中,第一类预设媒体形式的共享媒体内容的占比,大于第二类预设媒体形式的共享媒体内容的占比;所述第二共享媒体流中,第二类预设媒体形式的共享媒体内容的占比,大于第一类预设媒体形式的共享媒体内容的占比。In the first shared media stream, the proportion of shared media content in the first preset media format is greater than the proportion of shared media content in the second preset media format; in the second shared media stream, the proportion of shared media content in the second preset media format is greater than the proportion of shared media content in the first preset media format.
所述共享媒体流切换模块802包括:The shared media stream switching module 802 includes:
切换控件显示单元,设置为在所述目标页面中显示所述第二共享媒体流对应的预设切换控件;切换单元,设置为响应于针对所述第二共享媒体流对应的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流。A switching control display unit is configured to display a preset switching control corresponding to the second shared media stream in the target page; a switching unit is configured to switch from displaying the first shared media stream to displaying the second shared media stream in the target page in response to a triggering operation of the preset switching control corresponding to the second shared media stream.
所述切换控件显示单元包括:The switching control display unit includes:
区域显示子单元,设置为响应于媒体类型切换操作,在所述目标页面中显示媒体类型切换区域;切换控件显示子单元,设置为在所述媒体类型切换区域中,显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件。The area display subunit is configured to display a media type switching area in the target page in response to a media type switching operation; the switching control display subunit is configured to display a preset switching control associated with the content identifier of the shared media content of the second type of preset media form in the second shared media stream in the media type switching area.
所述切换控件显示子单元设置为:The switch control display subunit is set to:
在所述媒体类型切换区域中,显示多个共享媒体流对应的媒体类型选项,其中,所述多个共享媒体流对应的媒体类型选项中包括所述第二共享媒体流对应的媒体类型选项;响应于针对所述第二共享媒体流对应的媒体类型选项的触发操作,显示所述第二共享媒体流对应的媒体类型选项的关联区域。In the media type switching area, media type options corresponding to multiple shared media streams are displayed, wherein the media type options corresponding to the multiple shared media streams include the media type option corresponding to the second shared media stream; in response to a triggering operation on the media type option corresponding to the second shared media stream, an associated area for the media type option corresponding to the second shared media stream is displayed.
所述切换控件显示子单元还设置为:在所述关联区域显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件。The switching control display subunit is further configured to display, in the associated area, a preset switching control associated with the content identifier of the shared media content of the second preset media format in the second shared media stream.
所述响切换单元设置为:The response switching unit is configured as follows:
响应于针对与目标内容标识相关联的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流中所述目标内容标识对应的共享媒体内容。In response to a triggering operation on a preset switching control associated with a target content identifier, the target page switches from displaying the first shared media stream to displaying the shared media content corresponding to the target content identifier in a second shared media stream.
所述第一共享媒体流中包括至少两个第一类预设媒体形式的媒体内容组,单个媒体内容组中包括至少两个连续的所述第一类预设媒体形式的共享媒体内容,每两个相邻的媒体内容组之间存在至少一个所述第二类预设媒体形式的共享媒体内容。The first shared media stream includes at least two media content groups in a first preset media format, a single media content group includes at least two consecutive shared media content in the first preset media format, and there is at least one shared media content in the second preset media format between every two adjacent media content groups.
所述共享媒体流切换模块802设置为: The shared media stream switching module 802 is configured as follows:
在所述目标页面中当前展示所述第一共享媒体流中的所述第二类预设媒体形式的共享媒体内容的情况下,响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流。When the target page currently displays the shared media content of the second preset media type in the first shared media stream, in response to a preset type switching operation, the target page switches from displaying the first shared media stream to displaying the second shared media stream.
所述预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容;所述装置还包括:The preset media form includes an audio form, and the shared media content includes shared audio content; the device further includes:
背景更新模块,设置为根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景。The background updating module is configured to update the background of the target page according to a preset associated image of the shared audio content currently displayed in the target page.
所述目标页面包括消息交互页面;所述背景更新模块包括:The target page includes a message interaction page; the background update module includes:
背景确定单元,设置为根据所述目标页面中当前展示的共享音频内容的预设关联图像,确定目标背景图像;背景替换单元,设置为将所述目标页面的当前背景替换为所述目标背景图像,以使所述消息交互页面的页面内容显示于所述目标背景图像的上层,其中,所述页面内容包括消息内容和/或所述消息内容的关联内容。A background determination unit is configured to determine a target background image based on a preset associated image of the shared audio content currently displayed in the target page; a background replacement unit is configured to replace the current background of the target page with the target background image so that the page content of the message interaction page is displayed on an upper layer of the target background image, wherein the page content includes message content and/or associated content of the message content.
所述预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容;其中,共享媒体流展示模块执行在所述目标页面中展示共享音频内容的操作时,设置为:在所述目标页面中的预设控件中显示所述共享音频内容的关联信息,并在所述目标页面中播放所述共享音频内容。The preset media format includes an audio format, and the shared media content includes shared audio content; wherein, when the shared media stream display module performs the operation of displaying the shared audio content in the target page, it is configured to: display the associated information of the shared audio content in a preset control in the target page, and play the shared audio content in the target page.
所述预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容,所述共享音频内容包括用户发布的视频作品中的原声音频。The preset media format includes an audio format, the shared media content includes shared audio content, and the shared audio content includes the original audio in the video work released by the user.
所述共享音频内容包括用户发布的视频作品中的原声音频和/或预设曲库中的库内音乐;其中,背景更新模块,包括:The shared audio content includes the original audio in the video work released by the user and/or the music in the preset music library; wherein the background update module includes:
第一背景更新单元,设置为在所述目标页面中当前展示的共享音频内容包括所述原声音频的情况下,采用第一预设展示方式展示所述目标页面的第一背景,其中,所述第一背景中包含所述原声音频的第一预设关联图像;第二背景更新单元,设置为在所述目标页面中当前展示的共享音频内容为所述库内音乐的情况下,采用第二预设展示方式展示所述目标页面的第二背景,其中,所述第二背景中包含所述库内音乐的第二预设关联图像。The first background updating unit is configured to display the first background of the target page in a first preset display mode when the shared audio content currently displayed in the target page includes the original audio, wherein the first background includes a first preset associated image of the original audio; and the second background updating unit is configured to display the second background of the target page in a second preset display mode when the shared audio content currently displayed in the target page is the music in the library, wherein the second background includes a second preset associated image of the music in the library.
本公开实施例所提供的媒体内容展示装置可执行本公开任意实施例所提供的媒体内容展示方法,具备执行方法相应的功能模块和效果。The media content display device provided in the embodiments of the present disclosure can execute the media 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.
图9为本公开实施例所提供的一种电子设备的结构示意图。下面参考图9,其示出了适于用来实现本公开实施例的电子设备(例如图9中的终端设备或服务器)900的结构示意图。本公开实施例中的终端设备可以包括诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(Portable Android Device,PAD)、便携式多媒体播放器(Portable Media Player,PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字电视(Television,TV)、台式计算机等等的固定终端。图9示出的电子设备900仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。FIG9 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. Referring to FIG9 below, a schematic diagram of the structure of an electronic device (e.g., a terminal device or server in FIG9 ) 900 suitable for implementing an embodiment of the present disclosure is shown. The terminal device in the embodiment of the present disclosure may include mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDA), tablet computers (Portable Android Device, PAD), portable multimedia players (PMP), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), etc., and fixed terminals such as digital televisions (TV), desktop computers, etc. The electronic device 900 shown in FIG9 is merely an example and should not bring any limitations to the functions and scope of use of the embodiments of the present disclosure.
如图9所示,电子设备900可以包括处理装置(例如中央处理器、图形处理器等)901,其可以根据存储在只读存储器(Read-Only Memory,ROM)902中的程序或者从存储装置908加载到随机访问存储器(Random Access Memory,RAM)903中的程序而执行多种适当的动作和处理。在RAM 903中,还存储有电子设备900操作所需的多种程序和数据。处理装置901、ROM 902以及RAM 903通过总线904彼此相连。输入/输出(Input/Output,I/O)接口905也连接至总线904。As shown in FIG9 , the electronic device 900 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 to a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the electronic device 900 are also stored. The processing device 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input/output (I/O) interface 905 is also connected to the bus 904.
通常,以下装置可以连接至I/O接口905:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置906;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置907;包括例如磁带、硬盘等的存储装置908;以及通信装置909。通信装置909可以允许电子设备900与其他设备进行无线或有线通信以交换数据。虽然图9示出了具有多种装置的电子设备900,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices may be connected to the I/O interface 905: input devices 906 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 908 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 909. The communication device 909 may allow the electronic device 900 to communicate with other devices wirelessly or by wire to exchange data. Although FIG. 9 shows an electronic device 900 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.
根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置909从网络上被下载和安装,或者从存储装置908被安装,或者从ROM 902被安装。在该计算机程序被处理装置901执行时,执行本公开实施例的方法中限定的上述功能。According to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, 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. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 909, or installed from a storage device 908, or installed from a ROM 902. When the computer program is executed by the processing device 901, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
本公开实施例提供的电子设备与上述实施例提供的媒体内容展示方法属于同一构思,未在本实施例中详尽描述的技术细节可参见上述实施例,并且本实施例与上述实施例具有相同的效果。 The electronic device provided by the embodiment of the present disclosure and the media 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. When the program is executed by a processor, the media content display method provided in the above embodiments is implemented.
本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是电、磁、光、电磁、红外线、或半导体的***、装置或器件,或者任意以上的组合。计算机可读存储介质的例子可以包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、ROM、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行***、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行***、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。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. In the present disclosure, 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. In the present disclosure, 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.
在一些实施方式中,客户端、服务器可以利用诸如超文本传输协议(HyperText Transfer Protocol,HTTP)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(Local Area Network,LAN),广域网(Wide Area Network,WAN),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, 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). 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 computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: displays a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format; in response to a preset type switching operation, the target page switches from displaying the first shared media stream to displaying a second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format. The media formats are different.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括LAN或WAN—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may 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. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a LAN or WAN, or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
附图中的流程图和框图,图示了按照本公开多种实施例的***、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的***来实现,或者可以用专用硬件与计算机指令的组合来实现。The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square 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. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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. It should also be noted that each square box in the block diagram and/or flow chart, and the combination of the square 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 by hardware. The name of the module does not limit the module itself in one case. For example, the shared media stream display module may also be described as "displaying a first shared media stream module in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format".
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Parts,ASSP)、片上***(System on Chip,SOC)、复杂可编程逻辑设备(Complex Programming Logic Device,CPLD)等等。The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Parts (ASSP), System on Chip (SOC), Complex Programming Logic Device (CPLD), etc.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行***、装置或设备使用或与指令执行***、装置或设备结合地 使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括电子的、磁性的、光学的、电磁的、红外的、或半导体***、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、RAM、ROM、EPROM或快闪存储器、光纤、CD-ROM、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that can contain or store information for use by or in connection with an instruction execution system, apparatus, or device. The program used. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any suitable combination of the foregoing. Examples of machine-readable storage media may include an electrical connection based on one or more wires, a portable computer disk, a hard disk, RAM, ROM, EPROM or flash memory, optical fiber, CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
根据本公开的一个或多个实施例,提供了一种媒体内容展示方法,包括:According to one or more embodiments of the present disclosure, a media content display method is provided, including:
在目标页面中展示第一共享媒体流,其中,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容;Displaying a first shared media stream in the target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between the first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format;
响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,其中,所述第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,所述第二类预设媒体形式与所述第一类预设媒体形式不同。In response to a preset type switching operation, the target page switches from displaying the first shared media stream to displaying a second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
根据本公开的一个或多个实施例,所述第一共享媒体流中,第一类预设媒体形式的共享媒体内容的占比,大于第二类预设媒体形式的共享媒体内容的占比;所述第二共享媒体流中,第二类预设媒体形式的共享媒体内容的占比,大于第一类预设媒体形式的共享媒体内容的占比。According to one or more embodiments of the present disclosure, in the first shared media stream, the proportion of shared media content in the first preset media form is greater than the proportion of shared media content in the second preset media form; in the second shared media stream, the proportion of shared media content in the second preset media form is greater than the proportion of shared media content in the first preset media form.
根据本公开的一个或多个实施例,所述响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,包括:According to one or more embodiments of the present disclosure, in response to the preset type switching operation, switching from displaying the first shared media stream to displaying the second shared media stream in the target page includes:
在所述目标页面中显示所述第二共享媒体流对应的预设切换控件;Displaying a preset switching control corresponding to the second shared media stream in the target page;
响应于针对所述第二共享媒体流对应的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流。In response to a triggering operation of a preset switching control corresponding to the second shared media stream, the target page switches from displaying the first shared media stream to displaying the second shared media stream.
根据本公开的一个或多个实施例,所述在所述目标页面中显示所述第二共享媒体流对应的预设切换控件,包括:According to one or more embodiments of the present disclosure, displaying a preset switching control corresponding to the second shared media stream in the target page includes:
响应于媒体类型切换操作,在所述目标页面中显示媒体类型切换区域,并在所述媒体类型切换区域中,显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件。In response to the media type switching operation, a media type switching area is displayed in the target page, and a preset switching control associated with the content identifier of the shared media content of the second preset media format in the second shared media stream is displayed in the media type switching area.
根据本公开的一个或多个实施例,所述在所述媒体类型切换区域中,显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件,包括:According to one or more embodiments of the present disclosure, displaying, in the media type switching area, a preset switching control associated with a content identifier of the shared media content of the second type of preset media format in the second shared media stream includes:
在所述媒体类型切换区域中,显示多个共享媒体流对应的媒体类型选项, 其中,所述多个共享媒体流对应的媒体类型选项中包括所述第二共享媒体流对应的媒体类型选项;In the media type switching area, media type options corresponding to multiple shared media streams are displayed. The media type options corresponding to the multiple shared media streams include a media type option corresponding to the second shared media stream;
响应于针对所述第二共享媒体流对应的媒体类型选项的触发操作,显示所述第二共享媒体流对应的媒体类型选项的关联区域。In response to a triggering operation on a media type option corresponding to the second shared media stream, an associated area of the media type option corresponding to the second shared media stream is displayed.
根据本公开的一个或多个实施例,还包括:According to one or more embodiments of the present disclosure, the present invention further includes:
在所述关联区域显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件。A preset switching control associated with the content identifier of the shared media content of the second preset media format in the second shared media stream is displayed in the associated area.
根据本公开的一个或多个实施例,所述响应于针对所述第二共享媒体流对应的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,包括:According to one or more embodiments of the present disclosure, in response to a triggering operation of a preset switching control corresponding to the second shared media stream, switching from displaying the first shared media stream to displaying the second shared media stream in the target page includes:
响应于针对与目标内容标识相关联的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流中所述目标内容标识对应的共享媒体内容。In response to a triggering operation on a preset switching control associated with a target content identifier, the target page switches from displaying the first shared media stream to displaying the shared media content corresponding to the target content identifier in a second shared media stream.
根据本公开的一个或多个实施例,所述第一共享媒体流中包括至少两个第一类预设媒体形式的媒体内容组,单个媒体内容组中包括至少两个连续的所述第一类预设媒体形式的共享媒体内容,每两个相邻的媒体内容组之间存在至少一个所述第二类预设媒体形式的共享媒体内容。According to one or more embodiments of the present disclosure, the first shared media stream includes at least two media content groups of the first preset media format, a single media content group includes at least two consecutive shared media content of the first preset media format, and there is at least one shared media content of the second preset media format between every two adjacent media content groups.
根据本公开的一个或多个实施例,所述响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,包括:According to one or more embodiments of the present disclosure, in response to a preset type switching operation, switching from displaying the first shared media stream to displaying the second shared media stream in the target page includes:
在所述目标页面中当前展示所述第一共享媒体流中的所述第二类预设媒体形式的共享媒体内容的情况下,响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流。When the target page currently displays the shared media content of the second preset media type in the first shared media stream, in response to a preset type switching operation, the target page switches from displaying the first shared media stream to displaying the second shared media stream.
根据本公开的一个或多个实施例,所述预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容;所述方法还包括:According to one or more embodiments of the present disclosure, the preset media form includes an audio form, and the shared media content includes shared audio content; the method further includes:
根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景。The background of the target page is updated according to a preset associated image of the shared audio content currently displayed in the target page.
根据本公开的一个或多个实施例,所述目标页面包括消息交互页面;所述根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景,包括:According to one or more embodiments of the present disclosure, the target page includes a message interaction page; and updating the background of the target page according to a preset associated image of the shared audio content currently displayed in the target page includes:
根据所述目标页面中当前展示的共享音频内容的预设关联图像,确定目标背景图像;Determining a target background image according to a preset associated image of the shared audio content currently displayed in the target page;
将所述目标页面的当前背景替换为所述目标背景图像,以使所述消息交互 页面的页面内容显示于所述目标背景图像的上层,其中,所述页面内容包括消息内容和/或所述消息内容的关联内容。Replace the current background of the target page with the target background image to make the message interactive The page content of the page is displayed on the upper layer of the target background image, wherein the page content includes message content and/or associated content of the message content.
根据本公开的一个或多个实施例,所述预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容;According to one or more embodiments of the present disclosure, the preset media form includes an audio form, and the shared media content includes shared audio content;
其中,在所述目标页面中展示共享音频内容,包括:The step of displaying the shared audio content in the target page includes:
在所述目标页面中的预设控件中显示所述共享音频内容的关联信息,并在所述目标页面中播放所述共享音频内容。The associated information of the shared audio content is displayed in a preset control in the target page, and the shared audio content is played in the target page.
根据本公开的一个或多个实施例,所述预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容,所述共享音频内容包括用户发布的视频作品中的背景音乐。According to one or more embodiments of the present disclosure, the preset media form includes an audio form, the shared media content includes shared audio content, and the shared audio content includes background music in a video work published by a user.
根据本公开的一个或多个实施例,所述共享音频内容包括用户发布的视频作品中的原声音频和预设曲库中的库内音乐;According to one or more embodiments of the present disclosure, the shared audio content includes the original audio in the video work released by the user and the music in the preset music library;
其中,所述根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景,包括:Wherein, updating the background of the target page according to the preset associated image of the shared audio content currently displayed in the target page includes:
在所述目标页面中当前展示的共享音频内容包括所述原声音频的情况下,采用第一预设展示方式展示所述目标页面的第一背景,其中,所述第一背景中包含所述原声音频的第一预设关联图像;In a case where the shared audio content currently displayed in the target page includes the original audio, a first background of the target page is displayed in a first preset display manner, wherein the first background includes a first preset associated image of the original audio;
在所述目标页面中当前展示的共享音频内容为所述库内音乐的情况下,采用第二预设展示方式展示所述目标页面的第二背景,其中,所述第二背景中包含所述库内音乐的第二预设关联图像。In a case where the shared audio content currently displayed in the target page is the music in the library, a second background of the target page is displayed in a second preset display manner, wherein the second background includes a second preset associated image of the music in the library.
根据本公开的一个或多个实施例,提供了媒体内容展示装置,包括:According to one or more embodiments of the present disclosure, a media content presentation device is provided, including:
共享媒体流展示模块,设置为在目标页面中展示第一共享媒体流,其中,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容;a shared media stream display module, configured to display a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format;
共享媒体流切换模块,设置为响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,其中,所述第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,所述第二类预设媒体形式与所述第一类预设媒体形式不同。The shared media stream switching module is configured to switch from displaying the first shared media stream to displaying the second shared media stream in the target page in response to a preset type switching operation, wherein the second shared media stream contains shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
根据本公开的一个或多个实施例,提供了一种电子设备,所述电子设备包括:According to one or more embodiments of the present disclosure, an electronic device is provided, the electronic device comprising:
一个或多个处理器; one or more processors;
存储装置,设置为存储一个或多个程序;a storage device configured to store one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本公开实施例提供的媒体内容展示方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the media content display method provided by the embodiment of the present disclosure.
根据本公开的一个或多个实施例,提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行本公开实施例提供的媒体内容展示方法。According to one or more embodiments of the present disclosure, a storage medium containing computer executable instructions is provided. When the computer executable instructions are executed by a computer processor, they are used to execute the media content presentation method provided by the embodiments of the present disclosure.
根据本公开的一个或多个实施例,提供了一种计算机程序产品,包括承载在非暂态计算机可读介质上的计算机程序,所述计算机程序包含用于执行本公开实施例提供的媒体内容展示方法的程序代码。According to one or more embodiments of the present disclosure, a computer program product is provided, including a computer program carried on a non-transitory computer-readable medium, wherein the computer program contains program code for executing the media content presentation method provided by the embodiments of the present disclosure.
此外,虽然采用特定次序描绘了多个操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了多个实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的一些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的多种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。 In addition, although a plurality of operations are described in a particular order, this should not be construed as requiring these operations to be performed in the particular order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although a plurality of implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination.

Claims (19)

  1. 一种媒体内容展示方法,包括:A media content display method, comprising:
    在目标页面中展示第一共享媒体流,其中,共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容;Displaying a first shared media stream in the target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between the first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format;
    响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,其中,所述第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,所述第二类预设媒体形式与所述第一类预设媒体形式不同。In response to a preset type switching operation, the target page switches from displaying the first shared media stream to displaying a second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
  2. 根据权利要求1所述的方法,其中,所述第一共享媒体流中,所述第一类预设媒体形式的共享媒体内容的占比,大于所述第二类预设媒体形式的共享媒体内容的占比;所述第二共享媒体流中,所述第二类预设媒体形式的共享媒体内容的占比,大于所述第一类预设媒体形式的共享媒体内容的占比。According to the method according to claim 1, wherein, in the first shared media stream, the proportion of shared media content in the first category of preset media form is greater than the proportion of shared media content in the second category of preset media form; in the second shared media stream, the proportion of shared media content in the second category of preset media form is greater than the proportion of shared media content in the first category of preset media form.
  3. 根据权利要求1所述的方法,其中,所述响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,包括:The method according to claim 1, wherein, in response to the preset type switching operation, switching from displaying the first shared media stream to displaying the second shared media stream in the target page comprises:
    在所述目标页面中显示所述第二共享媒体流对应的预设切换控件;Displaying a preset switching control corresponding to the second shared media stream in the target page;
    响应于针对所述第二共享媒体流对应的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示所述第二共享媒体流。In response to a triggering operation of a preset switching control corresponding to the second shared media stream, the target page switches from displaying the first shared media stream to displaying the second shared media stream.
  4. 根据权利要求3所述的方法,其中,所述在所述目标页面中显示所述第二共享媒体流对应的预设切换控件,包括:The method according to claim 3, wherein displaying a preset switching control corresponding to the second shared media stream in the target page comprises:
    响应于媒体类型切换操作,在所述目标页面中显示媒体类型切换区域,并在所述媒体类型切换区域中,显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件。In response to the media type switching operation, a media type switching area is displayed in the target page, and a preset switching control associated with the content identifier of the shared media content of the second preset media format in the second shared media stream is displayed in the media type switching area.
  5. 根据权利要求4所述的方法,其中,所述在所述媒体类型切换区域中,显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件,包括:The method according to claim 4, wherein displaying, in the media type switching area, a preset switching control associated with a content identifier of the shared media content of the second type of preset media format in the second shared media stream comprises:
    在所述媒体类型切换区域中,显示多个共享媒体流对应的媒体类型选项,其中,所述多个共享媒体流对应的媒体类型选项中包括所述第二共享媒体流对应的媒体类型选项;In the media type switching area, displaying media type options corresponding to a plurality of shared media streams, wherein the media type options corresponding to the plurality of shared media streams include a media type option corresponding to the second shared media stream;
    响应于针对所述第二共享媒体流对应的媒体类型选项的触发操作,显示所述第二共享媒体流对应的媒体类型选项的关联区域。 In response to a triggering operation on a media type option corresponding to the second shared media stream, an associated area of the media type option corresponding to the second shared media stream is displayed.
  6. 根据权利要求5所述的方法,还包括:The method according to claim 5, further comprising:
    在所述关联区域显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件。A preset switching control associated with the content identifier of the shared media content of the second preset media format in the second shared media stream is displayed in the associated area.
  7. 根据权利要求4所述的方法,其中,所述响应于针对所述第二共享媒体流对应的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示所述第二共享媒体流,包括:The method according to claim 4, wherein, in response to a triggering operation of a preset switching control corresponding to the second shared media stream, switching from displaying the first shared media stream to displaying the second shared media stream in the target page comprises:
    响应于针对与目标内容标识相关联的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示所述第二共享媒体流中所述目标内容标识对应的共享媒体内容。In response to a triggering operation on a preset switching control associated with a target content identifier, the target page switches from displaying the first shared media stream to displaying the shared media content corresponding to the target content identifier in the second shared media stream.
  8. 根据权利要求1所述的方法,其中,所述第一共享媒体流中包括至少两个第一类预设媒体形式的媒体内容组,单个媒体内容组中包括至少两个连续的第一类预设媒体形式的共享媒体内容,每两个相邻的媒体内容组之间存在至少一个第二类预设媒体形式的共享媒体内容。According to the method of claim 1, the first shared media stream includes at least two media content groups of the first type of preset media format, a single media content group includes at least two consecutive shared media content of the first type of preset media format, and there is at least one shared media content of the second type of preset media format between every two adjacent media content groups.
  9. 根据权利要求8所述的方法,其中,所述响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,包括:The method according to claim 8, wherein, in response to the preset type switching operation, switching from displaying the first shared media stream to displaying the second shared media stream in the target page comprises:
    在所述目标页面中当前展示所述第一共享媒体流中的所述第二类预设媒体形式的共享媒体内容的情况下,响应于所述预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示所述第二共享媒体流。When the target page currently displays the shared media content of the second preset media type in the first shared media stream, in response to the preset type switching operation, the target page switches from displaying the first shared media stream to displaying the second shared media stream.
  10. 根据权利要求1所述的方法,其中,预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容;所述方法还包括:The method according to claim 1, wherein the preset media form includes an audio form, and the shared media content includes shared audio content; the method further comprises:
    根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景。The background of the target page is updated according to a preset associated image of the shared audio content currently displayed in the target page.
  11. 根据权利要求10所述的方法,其中,所述目标页面包括消息交互页面;所述根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景,包括:The method according to claim 10, wherein the target page comprises a message interaction page; and updating the background of the target page according to a preset associated image of the shared audio content currently displayed in the target page comprises:
    根据所述目标页面中当前展示的共享音频内容的预设关联图像,确定目标背景图像;Determining a target background image according to a preset associated image of the shared audio content currently displayed in the target page;
    将所述目标页面的当前背景替换为所述目标背景图像,以使所述消息交互页面的页面内容显示于所述目标背景图像的上层,其中,所述页面内容包括消息内容和所述消息内容的关联内容中的至少之一。The current background of the target page is replaced with the target background image so that the page content of the message interaction page is displayed on the upper layer of the target background image, wherein the page content includes at least one of the message content and the associated content of the message content.
  12. 根据权利要求1所述的方法,其中,预设媒体形式包括音频形式,所 述共享媒体内容包括共享音频内容;The method according to claim 1, wherein the preset media form includes an audio form, The shared media content includes shared audio content;
    在所述目标页面中展示共享音频内容,包括:Displaying the shared audio content in the target page includes:
    在所述目标页面中的预设控件中显示所述共享音频内容的关联信息,并在所述目标页面中播放所述共享音频内容。The associated information of the shared audio content is displayed in a preset control in the target page, and the shared audio content is played in the target page.
  13. 根据权利要求1所述的方法,其中,预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容,所述共享音频内容包括用户发布的视频作品中的原声音频。The method according to claim 1, wherein the preset media form includes an audio form, the shared media content includes shared audio content, and the shared audio content includes the original audio in the video work released by the user.
  14. 根据权利要求10所述的方法,其中,所述共享音频内容包括用户发布的视频作品中的原声音频和预设曲库中的库内音乐中的至少之一;The method according to claim 10, wherein the shared audio content includes at least one of the original audio in the video work released by the user and the music in the library of the preset music library;
    所述根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景,包括:The updating of the background of the target page according to the preset associated image of the shared audio content currently displayed in the target page includes:
    在所述目标页面中当前展示的共享音频内容包括所述原声音频的情况下,采用第一预设展示方式展示所述目标页面的第一背景,其中,所述第一背景中包含所述原声音频的第一预设关联图像;In a case where the shared audio content currently displayed in the target page includes the original audio, a first background of the target page is displayed in a first preset display manner, wherein the first background includes a first preset associated image of the original audio;
    在所述目标页面中当前展示的共享音频内容为所述库内音乐的情况下,采用第二预设展示方式展示所述目标页面的第二背景,其中,所述第二背景中包含所述库内音乐的第二预设关联图像。In a case where the shared audio content currently displayed in the target page is the music in the library, a second background of the target page is displayed in a second preset display manner, wherein the second background includes a second preset associated image of the music in the library.
  15. 一种媒体内容展示装置,包括:A media content display device, comprising:
    共享媒体流展示模块,设置为在目标页面中展示第一共享媒体流,其中,共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容;a shared media stream display module, configured to display a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format;
    共享媒体流切换模块,设置为响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,其中,所述第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,所述第二类预设媒体形式与所述第一类预设媒体形式不同。The shared media stream switching module is configured to switch from displaying the first shared media stream to displaying the second shared media stream in the target page in response to a preset type switching operation, wherein the second shared media stream contains shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
  16. 根据权利要求15所述的装置,还包括:设置为执行如权利要求2-14任一项所述的方法的模块。The apparatus according to claim 15, further comprising: a module configured to execute the method according to any one of claims 2-14.
  17. 一种电子设备,包括:An electronic device, comprising:
    至少一个处理器;at least one processor;
    存储装置,设置为存储至少一个程序;a storage device configured to store at least one program;
    当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理 器实现如权利要求1-14中任一所述的媒体内容展示方法。When the at least one program is executed by the at least one processor, the at least one processor The device implements the media content display method as described in any one of claims 1-14.
  18. 一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-14中任一所述的媒体内容展示方法。A storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute the media content presentation method as described in any one of claims 1 to 14 when executed by a computer processor.
  19. 一种计算机程序产品,包括承载在非暂态计算机可读介质上的计算机程序,所述计算机程序包含用于执行如权利要求1-14中任一所述的媒体内容展示方法的程序代码。 A computer program product comprises a computer program carried on a non-transitory computer-readable medium, wherein the computer program contains program codes for executing the media content presentation method as claimed in any one of claims 1 to 14.
PCT/CN2023/123890 2022-10-13 2023-10-11 Media content display method and apparatus, device, and storage medium WO2024078516A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211254768.2A CN115633206A (en) 2022-10-13 2022-10-13 Media content display method, device, equipment and storage medium
CN202211254768.2 2022-10-13

Publications (1)

Publication Number Publication Date
WO2024078516A1 true WO2024078516A1 (en) 2024-04-18

Family

ID=84905126

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/123890 WO2024078516A1 (en) 2022-10-13 2023-10-11 Media content display method and apparatus, device, and storage medium

Country Status (2)

Country Link
CN (1) CN115633206A (en)
WO (1) WO2024078516A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115633206A (en) * 2022-10-13 2023-01-20 北京字跳网络技术有限公司 Media content display method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160381106A1 (en) * 2015-06-24 2016-12-29 Spotify Ab Method and an electronic device for performing playback and sharing of streamed media
CN112417182A (en) * 2019-08-23 2021-02-26 阿里巴巴集团控股有限公司 Interaction method, interaction device, electronic equipment and computer storage medium
CN113721810A (en) * 2021-09-08 2021-11-30 北京字跳网络技术有限公司 Display method, device, equipment and storage medium
CN114911399A (en) * 2022-05-06 2022-08-16 北京字跳网络技术有限公司 Information display method, device, equipment and storage medium
CN115113790A (en) * 2022-07-15 2022-09-27 北京字跳网络技术有限公司 Interaction method, interaction device, electronic equipment and storage medium
CN115633206A (en) * 2022-10-13 2023-01-20 北京字跳网络技术有限公司 Media content display method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160381106A1 (en) * 2015-06-24 2016-12-29 Spotify Ab Method and an electronic device for performing playback and sharing of streamed media
CN112417182A (en) * 2019-08-23 2021-02-26 阿里巴巴集团控股有限公司 Interaction method, interaction device, electronic equipment and computer storage medium
CN113721810A (en) * 2021-09-08 2021-11-30 北京字跳网络技术有限公司 Display method, device, equipment and storage medium
CN114911399A (en) * 2022-05-06 2022-08-16 北京字跳网络技术有限公司 Information display method, device, equipment and storage medium
CN115113790A (en) * 2022-07-15 2022-09-27 北京字跳网络技术有限公司 Interaction method, interaction device, electronic equipment and storage medium
CN115633206A (en) * 2022-10-13 2023-01-20 北京字跳网络技术有限公司 Media content display method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN115633206A (en) 2023-01-20

Similar Documents

Publication Publication Date Title
WO2021073315A1 (en) Video file generation method and device, terminal and storage medium
EP4343514A1 (en) Display method and apparatus, and device and storage medium
WO2020233142A1 (en) Multimedia file playback method and apparatus, electronic device, and storage medium
WO2022007722A1 (en) Display method and apparatus, and device and storage medium
WO2020259130A1 (en) Selected clip processing method and device, electronic equipment and readable medium
WO2023011181A1 (en) Landscape screen interaction method and apparatus, electronic device, and storage medium
EP4124052A1 (en) Video production method and apparatus, and device and storage medium
WO2021218555A1 (en) Information display method and apparatus, and electronic device
US11652763B2 (en) Information display method and apparatus, and electronic device
WO2020220773A1 (en) Method and apparatus for displaying picture preview information, electronic device and computer-readable storage medium
WO2020220776A1 (en) Picture comment data presentation method and apparatus, device and medium
WO2024078516A1 (en) Media content display method and apparatus, device, and storage medium
WO2022193867A1 (en) Video processing method and apparatus, and electronic device and storage medium
WO2023051293A1 (en) Audio processing method and apparatus, and electronic device and storage medium
WO2023116479A1 (en) Video publishing method and apparatus, electronic device, storage medium and program product
WO2024002120A1 (en) Media content display method and apparatus, device, and storage medium
WO2023216936A1 (en) Video playing method and apparatus, electronic device, storage medium and program product
WO2024078486A1 (en) Content presentation method and apparatus, and device and storage medium
WO2023030287A1 (en) Information publishing method and apparatus, information display method and apparatus, electronic device, and medium
WO2023116480A1 (en) Multimedia content publishing method and apparatus, and device, medium and program product
WO2023143299A1 (en) Message display method and apparatus, device, and storage medium
CN112000267A (en) Information display method, device, equipment and storage medium
WO2024099275A1 (en) Media content processing method and apparatus, device, readable storage medium, and product
WO2024114513A1 (en) Media content display method and apparatus, electronic device and storage medium
WO2024094130A1 (en) Content sharing method and apparatus, and device, computer-readable storage medium and product

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: 23876717

Country of ref document: EP

Kind code of ref document: A1